Giter Club home page Giter Club logo

trivy-tutorial's Introduction

What is this?

Main Setup Instructions

Option 1: VM with everything installed (preferred method)

  1. Install Vagrant
  2. git clone https://github.com/zachroofsec-org/trivy-tutorial.git && cd trivy-tutorial
  3. vagrant up && vagrant ssh
  4. cd trivy-tutorial

Option 2: Install yourself

  1. 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
  2. git clone https://github.com/zachroofsec-org/trivy-tutorial.git && cd trivy-tutorial
  3. bash install.sh

Github Action Setup Instructions (advanced)

Dockerhub

  1. Create a Dockerhub account
  2. Create trivy-tutorial Dockerhub repo
  3. Create Dockerhub Personal Access Token

Github

  1. Fork this repository into a Github Organization
  2. 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
  3. Create an "automation" Github user
    • This user will be leveraged within a Github Action
    • A potential name: YOUR_REGULAR_USERNAME-automation
  4. Create a Personal Access Token for the automation user
    • Select the repo scope
  5. Invite the automation user to the Github Organization
    • The user must have owner permissions
      • This is needed to override branch protection rules
  6. 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

Special Thanks

Course Links

Pluralsight Courses

Youtube

Blogs/Documentation

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.