-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(events): WIP add route to get all the events generated by Gateke…
…eper WIP Add a route /events/<context> to get all the events generated by Gatekeeper in its namespace. This is useful to get in realtime violatoins to constraints for requests that get rejected and won't appear in the audit logs. This depends on an alpha feature of Gatekeeper: https://open-policy-agent.github.io/gatekeeper/website/docs/customize-startup/#alpha-emit-admission-and-audit-events Note that this is blocked by an issue in the Kubernetes client libray that explodes when the event_time is null: kubernetes-client/python#1616
- Loading branch information
Showing
1 changed file
with
67 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters