jose-compu / jose-compu/edgeshield

feat(observability): analytics hooks for shield decisions

Open
#3 0 comments 0 reactions 0 assignees View on GitHub
enhancement observability v0.4.0
Dominant language
TypeScript
Stars
1
Forks
4
PR merge metrics
No merged PRs in 30d

Description

Goal: expose optional analytics hooks for rate-limit, bot, and csrf decisions.

Scope:
- Add hook callbacks for allow, deny, and challenge events.
- Emit normalized payloads without secrets.
- Keep hooks optional and low overhead.

Acceptance criteria:
- Typed hook payloads.
- Tests for invocation order and payload correctness.
- README examples for basic integration.

Contributor guide

Open the contributing guide

Research direction

The issue does not name files or entry points; start by locating the rate-limit, bot, and CSRF decision paths and the existing test and README structure. Add optional hooks with typed, secret-free payloads, then verify invocation order and payload correctness and document basic integration.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
observability
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.