trivy and engagement name
This commit is contained in:
@ -36,6 +36,13 @@ kubectl create secret generic ${TRIVY_DOJO_OPERATOR_NAME}-trivy-dojo-report-oper
|
|||||||
--from-literal=url="$DOJO_URL" | \
|
--from-literal=url="$DOJO_URL" | \
|
||||||
kubectl apply -f - -n $NAMESPACE
|
kubectl apply -f - -n $NAMESPACE
|
||||||
|
|
||||||
|
kubectl create secret generic trivy-operator-trivy-config \
|
||||||
|
--dry-run=client \
|
||||||
|
-o yaml \
|
||||||
|
--save-config \
|
||||||
|
--from-literal="trivy.serverToken"="$TRIVY_SERVER_TOKEN" | \
|
||||||
|
kubectl apply -f - -n $NAMESPACE
|
||||||
|
|
||||||
|
|
||||||
helm repo add aqua https://aquasecurity.github.io/helm-charts/
|
helm repo add aqua https://aquasecurity.github.io/helm-charts/
|
||||||
helm repo update
|
helm repo update
|
||||||
|
12
secrets.asc
12
secrets.asc
@ -1,8 +1,10 @@
|
|||||||
-----BEGIN PGP MESSAGE-----
|
-----BEGIN PGP MESSAGE-----
|
||||||
|
|
||||||
jA0ECQMIm1olSwhkMHD+0psBVajxT2yy+YxRX0iYWm48OHeo7aLMtQLfrrFSDTNq
|
jA0ECQMIMzYiRNbhDoz+0sAiAdx8in0FCQ9n7ajuybzYnr6rWjJ8L8M66OPpJXDf
|
||||||
uENsy11GeUdMoZhbEgRGO1ARp1dSgGuFQ8ZI4aAkg1k5wa6T4lM8PLedrTPWMzY2
|
h3OVi0a2/1XGrQpCKc4rtgG+0OtSxqHFMdyj3bblO0qfNTvCDAluzjHU7ZlM1XlW
|
||||||
hqXMVxYiG0sYblA7N2hWTRLjpEGaMTkDO4RkiZuRJdWUFxB813/vUD5waQKXBJLe
|
brAlBSDxBBY4NEYtU+vo8x8cv0smzmqsmLbbTW17XR82RsaLFgcWkHrW/KzDaUxP
|
||||||
fxCDLWqhX9NcCZCYfgKXufdlDuGSbkd5yqmrDQ==
|
cuwmxX2dt3egs7rkimmIOw68WMM4KVqBZq2J3SLKj/TzwfvXygAVRsiB3/YiVdP0
|
||||||
=BBCk
|
c0w9Z9WsroxGp7dcceSo41pq8UeWbD5du/aT5IN64u+KpHQukX+hrT7bIXXN/Fxp
|
||||||
|
HbTOvA==
|
||||||
|
=b8GM
|
||||||
-----END PGP MESSAGE-----
|
-----END PGP MESSAGE-----
|
||||||
|
@ -4,6 +4,6 @@ operator:
|
|||||||
trivyDojoReportOperator:
|
trivyDojoReportOperator:
|
||||||
env:
|
env:
|
||||||
defectDojoEvalEngagementName: "true"
|
defectDojoEvalEngagementName: "true"
|
||||||
defectDojoEngagementName: "body['report']['artifact']['tag']"
|
defectDojoEngagementName: "body['report']['registry']['server']+':'+body['report']['artifact']['repository']+':'+body['report']['artifact']['tag']"
|
||||||
defectDojoEvalProductName: "true"
|
defectDojoEvalProductName: "true"
|
||||||
defectDojoProductName: "meta['namespace']+':'+meta['name']"
|
defectDojoProductName: "meta['namespace']+':'+meta['name']"
|
||||||
|
@ -1,6 +1,12 @@
|
|||||||
trivy:
|
trivy:
|
||||||
timeout: "10m0s"
|
timeout: "10m0s"
|
||||||
|
mode: ClientServer
|
||||||
|
serverURL: http://trivy-server.trivy.svc.cluster.local:4954
|
||||||
|
existingSecret: true
|
||||||
operator:
|
operator:
|
||||||
scanJobTimeout: 10m
|
scanJobTimeout: 10m
|
||||||
|
nodeCollector:
|
||||||
|
useNodeSelector: false
|
||||||
|
|
||||||
targetNamespaces: "homea"
|
targetNamespaces: "homea"
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user