switch to trivy config files
This commit is contained in:
parent
cca86a86fb
commit
274ccaa90d
@ -24,7 +24,6 @@ steps:
|
||||
TRIVY_NO_PROGRESS: "true"
|
||||
TRIVY_SEVERITY: HIGH,CRITICAL
|
||||
TRIVY_TIMEOUT: 1m
|
||||
TRIVY_SKIP_FILES: /usr/local/bin/gomplate,/usr/local/bin/helm,/usr/local/bin/polaris,/usr/local/bin/yq
|
||||
|
||||
publish-dockerhub:
|
||||
group: container
|
||||
|
@ -59,7 +59,8 @@ RUN apk --update add curl tar bash python3 pipx findutils git && \
|
||||
chmod 755 /usr/local/bin/kustomize && \
|
||||
chmod 755 /usr/local/bin/kubeconform && \
|
||||
rm -rf /var/cache/apk/* && \
|
||||
rm -rf /tmp/*
|
||||
rm -rf /tmp/* && \
|
||||
rm -rf /root/.cache/
|
||||
|
||||
ADD overlay/ /
|
||||
|
||||
|
4
trivy-secret.yaml
Normal file
4
trivy-secret.yaml
Normal file
@ -0,0 +1,4 @@
|
||||
---
|
||||
allow-rules:
|
||||
- id: aws-secret-access-key
|
||||
path: .*/flux-local/.*/site-packages/GitPython-.*\.dist-info/METADATA
|
7
trivy.yaml
Normal file
7
trivy.yaml
Normal file
@ -0,0 +1,7 @@
|
||||
---
|
||||
scan:
|
||||
skip-files:
|
||||
- /usr/local/bin/gomplate
|
||||
- /usr/local/bin/helm
|
||||
- /usr/local/bin/polaris
|
||||
- /usr/local/bin/yq
|
Loading…
Reference in New Issue
Block a user