Don't audit log tokens in TokenReviews

This commit is contained in:
Tim St. Clair 2017-06-22 13:38:44 -07:00
parent 8b0cd5b9c5
commit dcdcb19c47
No known key found for this signature in database
GPG Key ID: 434D16BCEF479EAB

View File

@ -568,12 +568,14 @@ rules:
- group: "" # core
resources: ["events"]
# Secrets & ConfigMaps can contain sensitive & binary data,
# Secrets, ConfigMaps, and TokenReviews can contain sensitive & binary data,
# so only log at the Metadata level.
- level: Metadata
resources:
- group: "" # core
resources: ["secrets", "configmaps"]
- group: authentication.k8s.io
resources: ["tokenreviews"]
# Get repsonses can be large; skip them.
- level: Request
verbs: ["get", "list", "watch"]