Scanning Multiple Projects
You have 10 Git repositories. You want to scan all of them every night.
Bash Logic:
bash for repo in $(cat list_of_repos.txt); do git clone $repo temp_dir trivy fs temp_dir > logs/${repo}.log rm -rf temp_dir done
This simple script is the foundation of a 'Homegrown' CI/CD security scanner.