Skip to content

Commit

Permalink
[#227] Update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
nvminhtue committed Mar 5, 2024
1 parent 01f80b7 commit a518570
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ This project is using Trivy as a vulnerability scanner to replace the role of `t
2. Access to more integrations with tools and services through the rich ecosystem around Trivy.

## Trivy Local Scan

```bash
# Project root directory
trivy config .
Expand Down
2 changes: 1 addition & 1 deletion .github/wiki/_Sidebar.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@
- [[Testing]]
- [[Modify the Infrastructure Diagram | Modify infra diagram]]
- [[Publishing]]
- [[Trivy Local Running]]
- [[Running Trivy Locally]]
4 changes: 2 additions & 2 deletions .github/workflows/test-generated-project.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,12 @@ jobs:
- name: Generate project
run: . ./scripts/generateAdvancedAWS.sh

- name: Install dependencies in .tool-versions
- name: Install dependencies from .tool-versions
uses: asdf-vm/actions/install@v2

- name: Run Terraform format
run: terraform fmt -recursive -check

- name: Run trivy linter
- name: Run trivy scanner
working-directory: aws-advanced-test
run: trivy config .
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@ jobs:
with:
ref: ${{ github.head_ref }}

- name: Install dependencies in .tool-versions
- name: Install dependencies from .tool-versions
uses: asdf-vm/actions/install@v2

- name: Run Terraform format
run: terraform fmt -recursive -check

- name: Run trivy linter
- name: Run trivy scanner
run: trivy config .

0 comments on commit a518570

Please sign in to comment.