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 a1f8b60 commit dff2eb4
Showing 1 changed file with 14 additions and 6 deletions.
20 changes: 14 additions & 6 deletions metadata.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
rules:
- apiGroups: [""]
apiVersions: ["v1"]
resources: ["services"]
operations: ["CREATE", "UPDATE"]
- apiGroups:
- ''
apiVersions:
- v1
resources:
- services
operations:
- CREATE
- UPDATE
mutating: false
contextAware: false
executionMode: gatekeeper
Expand All @@ -11,11 +16,14 @@ annotations:
io.artifacthub.displayName: Disallow Service Loadbalancer
io.artifacthub.resources: Service
io.artifacthub.keywords: service
# kubewarden specific
io.kubewarden.policy.ociUrl: ghcr.io/kubewarden/policies/disallow-service-loadbalancer
# kubewarden specific:
io.kubewarden.policy.author: Kubewarden developers <[email protected]>
io.kubewarden.policy.title: disallow-service-loadbalancer
io.kubewarden.policy.description: A policy that prevents the creation of Service resources of type `LoadBalancer`
io.kubewarden.policy.description: A policy that prevents the creation of Service
resources of type `LoadBalancer`
io.kubewarden.policy.url: https://github.com/kubewarden/disallow-service-loadbalancer-policy
io.kubewarden.policy.source: https://github.com/kubewarden/disallow-service-loadbalancer-policy
io.kubewarden.policy.license: Apache-2.0
io.kubewarden.policy.category: Service
io.kubewarden.policy.severity: medium

0 comments on commit dff2eb4

Please sign in to comment.