Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: background audit config, severity and category annotations. #12

Merged
merged 2 commits into from
Jul 7, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
jvanz marked this conversation as resolved.
Show resolved Hide resolved