mirror of
https://github.com/falcosecurity/falco.git
synced 2025-09-14 14:00:21 +00:00
update audit level to Metadata for secrets
Signed-off-by: kaizhe <derek0405@gmail.com>
This commit is contained in:
@@ -56,11 +56,17 @@ rules:
|
|||||||
# The empty string "" can be used to select non-namespaced resources.
|
# The empty string "" can be used to select non-namespaced resources.
|
||||||
namespaces: ["kube-system"]
|
namespaces: ["kube-system"]
|
||||||
|
|
||||||
# Log configmap and secret changes in all other namespaces at the RequestResponse level.
|
# Log configmap changes in all other namespaces at the RequestResponse level.
|
||||||
- level: RequestResponse
|
- level: RequestResponse
|
||||||
resources:
|
resources:
|
||||||
- group: "" # core API group
|
- group: "" # core API group
|
||||||
resources: ["secrets", "configmaps"]
|
resources: ["configmaps"]
|
||||||
|
|
||||||
|
# Log secret changes in all other namespaces at the Metadata level.
|
||||||
|
- level: Metadata
|
||||||
|
resources:
|
||||||
|
- group: "" # core API group
|
||||||
|
resources: ["secrets"]
|
||||||
|
|
||||||
# Log all other resources in core and extensions at the Request level.
|
# Log all other resources in core and extensions at the Request level.
|
||||||
- level: Request
|
- level: Request
|
||||||
|
Reference in New Issue
Block a user