Skip to content

Document the Fail2BanBlocked and Allow2BanBlocked events - #12

Merged
sascha-egerer merged 1 commit into
mainfrom
docs/blocked-events
Jul 24, 2026
Merged

Document the Fail2BanBlocked and Allow2BanBlocked events#12
sascha-egerer merged 1 commit into
mainfrom
docs/blocked-events

Conversation

@sascha-egerer

Copy link
Copy Markdown
Contributor

No description provided.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Documents the newly added Fail2BanBlocked and Allow2BanBlocked PSR-14 events across the Phirewall documentation, clarifying what fires when a request is blocked due to an already-banned key.

Changes:

  • Update Fail2Ban/Allow2Ban feature docs to describe and link the new “blocked-by-existing-ban” events.
  • Extend observability and notification docs to include the new event classes and properties.
  • Update architecture documentation to reflect the additional event dispatch points.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.

File Description
docs/features/fail2ban.md Adds/links Fail2BanBlocked and Allow2BanBlocked event documentation and updates flow descriptions.
docs/advanced/track-notifications.md Adds the new events to the consolidated event reference table.
docs/advanced/observability.md Adds the new events to the event summary and documents their semantics; updates diagnostics category examples.
docs/advanced/architecture.md Notes event dispatch behavior when requests are blocked due to existing bans.
Comments suppressed due to low confidence (1)

docs/features/fail2ban.md:312

  • Same formatting issue as the Fail2Ban diagram above: this first line no longer has the leading |/indent used by the rest of the ASCII diagram, so the flowchart alignment is off.
Request --> Is key already banned? --> Yes --> 403 (Allow2BanBlocked event)

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread docs/features/fail2ban.md Outdated
@sascha-egerer
sascha-egerer merged commit 3faa48d into main Jul 24, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants