Skip to content

Instantly share code, notes, and snippets.

@kerin
Created December 14, 2021 15:16
Show Gist options
  • Save kerin/fb657e4dc3b10ba1a6cf8a38f4770729 to your computer and use it in GitHub Desktop.
Save kerin/fb657e4dc3b10ba1a6cf8a38f4770729 to your computer and use it in GitHub Desktop.
[
{
"name": "exclude-applications-credentials-in-configuration-files-for-kube-root-ca",
"policyType": "postureExceptionPolicy",
"actions": [
"alertOnly"
],
"resources": [
{
"designatorType": "Attributes",
"attributes": {
"namespace": ".*",
"kind": "ConfigMap",
"name": "kube-root-ca.crt"
}
}
],
"posturePolicies": [
{
"controlName": "Applications credentials in configuration files"
}
]
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment