Repository navigation
Commit 9c6867c
authored
feat(auth): emit OCSF events for credential-less gateway requests (NVIDIA#4632)
Requests the gateway rejects before consulting any authenticator now emit
an OCSF Authentication [3002] event: no credential presented, mTLS
required without a client certificate, or an operator certificate
combined with an authorization header. Each event carries a reason
category in status_detail and never the presented credential. The
response returned to the caller is unchanged.
openshell-ocsf gains the Authentication class with user and service
objects, and a shared OcsfCapture test layer. Schema validation now
rejects attributes the class does not define and profile attributes
whose profile the event does not declare.
Refs NVIDIA#2912
Signed-off-by: Kris Hicks <[email protected]>1 parent a4c848a commit 9c6867c
27 files changed
Lines changed: 2730 additions & 53 deletions
File tree
- crates
- openshell-ocsf
- schemas/ocsf
- v1.8.0
- classes
- objects
- src
- builders
- enums
- events
- format
- objects
- validation
- tests
- openshell-server
- src
- auth
- docs/observability
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments