Skip to content

Instantly share code, notes, and snippets.

@alainlompo
Created July 21, 2021 20:25
Show Gist options
  • Save alainlompo/8f0471b33cf35511853368c8b26057fc to your computer and use it in GitHub Desktop.
Save alainlompo/8f0471b33cf35511853368c8b26057fc to your computer and use it in GitHub Desktop.
#!/usr/bin/env bash
cat << EOF > ./common/config/trivy-adapter/env
SCANNER_LOG_LEVEL=trace
SCANNER_STORE_REDIS_URL=redis://redis:6379
SCANNER_JOB_QUEUE_REDIS_URL=redis://redis:6379
SCANNER_TRIVY_CACHE_DIR=/home/scanner/.cache/trivy
SCANNER_TRIVY_REPORTS_DIR=/home/scanner/.cache/reports
SCANNER_TRIVY_VULN_TYPE=os,library
SCANNER_TRIVY_SEVERITY=UNKNOWN,LOW,MEDIUM,HIGH,CRITICAL
SCANNER_TRIVY_IGNORE_UNFIXED=false
SCANNER_TRIVY_DEBUG_MODE=false
EOF
@alainlompo
Copy link
Author

Use to set up trivy in harbor without helm and kubernetes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment