You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Automatic merge from submit-queue (batch tested with PRs 15657, 15748)
Switch to the advanced audit backend
Fixes#15271.
@deads2k || @sttts for wiring
@smarterclayton for api change
There are a few changes when turning on the new audit:
1. one line instead of two (previously we've logged the response on separate line), see [old](https://docs.openshift.org/latest/install_config/master_node_configuration.html#master-node-config-audit-config) and new:
```
AUDIT: id="ac14f7c8-1891-4551-9da4-e5075e9d89c6" stage="ResponseComplete" ip="127.0.0.1" method="list" user="test-admin" groups="\"system:authenticated:oauth\",\"system:authenticated\"" as="<self>" asgroups="<lookup>" namespace="test" uri="/api/v1/namespaces/test/pods" response="200"
```
2. the method changed from HTTP action to actual operation performed
3. there's a new field `stage` showing when the event was generated
I'll open a separate PR enabling other alpha features after I sync with @mpbarrett
The new audit feature has a new filter. I wired the legacy one for the rebase.
@sttts I'm not sure if this is you or @soltysh . It needs to be backward compatible with our existing config.
The text was updated successfully, but these errors were encountered: