View Code? Open in Web Editor
NEW
This project forked from zachroofsec-org/trivy-tutorial
Shell 94.43%
Dockerfile 5.57%
trivy-tutorial's Introduction
Option 1: VM with everything installed (preferred method)
- Install Vagrant
git clone https://github.com/zachroofsec-org/trivy-tutorial.git && cd trivy-tutorial
vagrant up && vagrant ssh
cd trivy-tutorial
Option 2: Install yourself
- Important
- You must be on a recent version of Kali Linux (e.g., 2021.1.0)!
- There might be problems if package names change into the future
git clone https://github.com/zachroofsec-org/trivy-tutorial.git && cd trivy-tutorial
bash install.sh
Github Action Setup Instructions (advanced)
- Create a Dockerhub account
- Create
trivy-tutorial
Dockerhub repo
- Create Dockerhub Personal Access Token
- Fork this repository into a Github Organization
git clone INSERT_FORK_LINK_HERE
- NOTE: From now on, you will leverage this forked repo for experimentation. You can NOT use the
zachroofsec-org/trivy-tutorial
repo
- Create an "automation" Github user
- This user will be leveraged within a Github Action
- A potential name:
YOUR_REGULAR_USERNAME-automation
- Create a Personal Access Token for the automation user
- Invite the automation user to the Github Organization
- The user must have
owner
permissions
- This is needed to override branch protection rules
- Attach secrets to the forked repo
DOCKERHUB_USERNAME
DOCKERHUB_PASSWORD
- NOTE: Use the Dockerhub Personal Access Token
GIT_AUTOMATION_USER_TOKEN
- NOTE: Use the Github Personal Access Token
trivy-tutorial's People
Contributors