Skip to content

Commit

Permalink
exclude examples, apimachinery samples, from sast/snyk scan
Browse files Browse the repository at this point in the history
None of our examples are items that run in any of the images produced
for shared resources csi driver.  They are simply artifact users can employ
when trying out the system, learning what it can do.
Also, the 'vendor/k8s.io/apimachinery/pkg/util/managedfields/pod.yaml' cited
by the scan is a sample from that component as well.  you'll see it creates the pod "some-name" in the default namespace
  • Loading branch information
gabemontero committed Jan 25, 2024
1 parent 83c961e commit dfdc638
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .snyk
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,8 @@
# https://docs.snyk.io/snyk-cli/commands/ignore
exclude:
global:
- vendor/**
# all yamls, including the pod ones, in our examples directory are simply samples for users trying shared resources out; these artifacts are not created by any of the images
- examples/**
# this pod.yaml in apimachinery is just another sample that is never created by our images; you'll see it creates the pod "some-name" in the default namespace
- vendor/k8s.io/apimachinery/pkg/util/managedfields/pod.yaml
- unpacked_remote_sources/cachito-gomod-with-deps/app/vendor/k8s.io/apimachinery/pkg/util/managedfields/pod.yaml

0 comments on commit dfdc638

Please sign in to comment.