Skip to content

Instantly share code, notes, and snippets.

@jmmeacham
Last active March 27, 2020 18:52
Show Gist options
  • Save jmmeacham/82174c00ea89307d327747c02d2a10f4 to your computer and use it in GitHub Desktop.
Save jmmeacham/82174c00ea89307d327747c02d2a10f4 to your computer and use it in GitHub Desktop.
Trivy script 14.2
#!/bin/bash
sudo apt-get install wget apt-transport-https gnupg lsb-release
wget -qO - https://aquasecurity.github.io/trivy-repo/deb/public.key | sudo apt-key add -
echo deb https://aquasecurity.github.io/trivy-repo/deb $(lsb_release -sc) main | sudo tee -a /etc/apt/sources.list.d/tri$
sudo apt-get update
sudo apt-get install trivy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment