Skip to content

Commit

Permalink
Updates ignorePolicy comments in values.yaml (#1988)
Browse files Browse the repository at this point in the history
Co-authored-by: Kateryna Firoozi <kateryna.firoozi@soprasteria.com>
  • Loading branch information
KateFiroozi and katerynafiroozi committed Apr 8, 2024
1 parent 7782f3a commit 1bf2c8f
Showing 1 changed file with 19 additions and 3 deletions.
22 changes: 19 additions & 3 deletions deploy/helm/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -409,13 +409,29 @@ trivy:
# -- ignorePolicy can be used to tell Trivy to ignore vulnerabilities by a policy
# If multiple policies would match, then the most specific one has precedence over the others.
# See https://aquasecurity.github.io/trivy/latest/docs/configuration/filtering/#by-open-policy-agent for more details.
# See https://github.com/aquasecurity/trivy/blob/v0.19.2/contrib/example_policy/basic.rego for more details on ignorePolicy filtering.
#
# ignorePolicy.application.my-app-.: |
# # applies to all workloads in namespace "application" with the name pattern "my-app-*"
# package trivy

# import data.lib.trivy

# default ignore = true
# applies to all workloads in namespace "application" with the name pattern "my-app-*"
# ignorePolicy.kube-system: |
# # applies to all workloads in namespace "kube-system"
# package trivy

# import data.lib.trivy

# default ignore = true
# applies to all workloads in namespace "kube-system"
# ignorePolicy: |
# # applies to all other workloads
# package trivy

# import data.lib.trivy

# default ignore = true
# applies to all other workloads

# -- vulnType can be used to tell Trivy to filter vulnerabilities by a pkg-type (library, os)
vulnType: ~
Expand Down

0 comments on commit 1bf2c8f

Please sign in to comment.