rancher v2.15.1

AuditPolicy.spec.filters

Filters described what logs are explicitly allowed and denied. Leave empty if all logs should be allowed. The Allow action has higher precedence than Deny. So if there are multiple filters that match a log and at least one Allow, the log will be allowed.

2 fields
AuditPolicy.spec.filters fields and descriptions
Field / TypeDescription
action
string

Action defines what happens

requestURI
string

RequestURI is a regular expression used to match against the url of the log request. For example, the Filter: Filter { Action: Allow. REquestURI: "/foo/.*" } would allow logs sent to "/foo/some/endpoint" but not "/foo" or "/foobar".