Skip to content
Snippets Groups Projects
Unverified Commit d66da217 authored by Kasakaze's avatar Kasakaze Committed by GitHub
Browse files

make sure serviceaccounts/token is only in the metadata stage (#7679)

parent 1069b05e
No related branches found
No related tags found
No related merge requests found
......@@ -67,12 +67,12 @@ rules:
resources:
- group: "" # core
resources: ["events"]
# Secrets, ConfigMaps, and TokenReviews can contain sensitive & binary data,
# Secrets, ConfigMaps, TokenRequest and TokenReviews can contain sensitive & binary data,
# so only log at the Metadata level.
- level: Metadata
resources:
- group: "" # core
resources: ["secrets", "configmaps"]
resources: ["secrets", "configmaps", "serviceaccounts/token"]
- group: authentication.k8s.io
resources: ["tokenreviews"]
omitStages:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment