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 eb1ed98 commit e3c8621
Showing 1 changed file with 19 additions and 9 deletions.
28 changes: 19 additions & 9 deletions metadata.yml
Original file line number Diff line number Diff line change
@@ -1,22 +1,32 @@
rules:
- apiGroups: ["*"]
apiVersions: ["*"]
resources: ["*"]
operations: ["CREATE", "UPDATE", "DELETE", "CONNECT"]
- apiGroups:
- '*'
apiVersions:
- '*'
resources:
- '*'
operations:
- CREATE
- UPDATE
- DELETE
- CONNECT
mutating: false
contextAware: false
backgroundAudit: false
executionMode: kubewarden-wapc
annotations:
# artifacthub specific
io.artifacthub.displayName: Echo
io.artifacthub.resources: "*"
io.artifacthub.resources: '*'
io.artifacthub.keywords: developer
# kubewarden specific
io.kubewarden.policy.ociUrl: ghcr.io/kubewarden/policies/echo
# io.kubewarden.hidden-ui: "true"
# rest
io.kubewarden.policy.title: echo
io.kubewarden.policy.description: A policy that echoes back Kubernetes' AdmissionReview - useful for Policy Authors
io.kubewarden.policy.author: "Kubewarden developers <[email protected]>"
io.kubewarden.policy.description: A policy that echoes back Kubernetes' AdmissionReview
- useful for Policy Authors
io.kubewarden.policy.author: Kubewarden developers <[email protected]>
io.kubewarden.policy.url: https://github.com/kubewarden/echo
io.kubewarden.policy.source: https://github.com/kubewarden/echo
io.kubewarden.policy.license: Apache-2.0
io.kubewarden.policy.category: Debug
io.kubewarden.policy.severity: info

0 comments on commit e3c8621

Please sign in to comment.