Skip to content

Commit

Permalink
feat: background audit config, severity and category annotations.
Browse files Browse the repository at this point in the history
Updates policy metadata.yml file adding the new configuration to enabled
background audit checks and adds two new annotations used by the audit
scanner in its reports.

Signed-off-by: José Guilherme Vanz <[email protected]>
  • Loading branch information
jvanz committed Jul 7, 2023
1 parent debf9dd commit ec23f08
Showing 1 changed file with 13 additions and 6 deletions.
19 changes: 13 additions & 6 deletions metadata.yml
Original file line number Diff line number Diff line change
@@ -1,20 +1,27 @@
rules:
- apiGroups: [""]
apiVersions: ["v1"]
resources: ["pods"]
operations: ["CREATE"]
- apiGroups:
- ''
apiVersions:
- v1
resources:
- pods
operations:
- CREATE
mutating: false
contextAware: false
annotations:
# artifacthub specific
io.artifacthub.displayName: Sysctl PSP
io.artifacthub.resources: Pod
io.artifacthub.keywords: sysctl, psp, pod
# kubewarden specific
io.kubewarden.policy.ociUrl: ghcr.io/kubewarden/policies/sysctl-psp
# kubewarden specific:
io.kubewarden.policy.title: sysctl-psp
io.kubewarden.policy.description: A Pod Security Policy that controls usage of sysctls in pods
io.kubewarden.policy.description: A Pod Security Policy that controls usage of sysctls
in pods
io.kubewarden.policy.author: Kubewarden developers <[email protected]>
io.kubewarden.policy.url: https://github.com/kubewarden/sysctl-psp-policy
io.kubewarden.policy.source: https://github.com/kubewarden/sysctl-psp-policy
io.kubewarden.policy.license: Apache-2.0
io.kubewarden.policy.category: PSP
io.kubewarden.policy.severity: medium

0 comments on commit ec23f08

Please sign in to comment.