Skip to content

Commit

Permalink
Update README-dockerhub.md (#792)
Browse files Browse the repository at this point in the history
  • Loading branch information
tzurielweisberg authored Jun 2, 2024
1 parent 7013c74 commit 84bbedb
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README-dockerhub.md
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ jobs:
- name: Run Aqua scanner
uses: docker://aquasec/aqua-scanner
with:
args: trivy fs --scanners config,vuln,secret .
args: trivy fs --scanners misconfig,vuln,secret .
env:
AQUA_KEY: ${{ secrets.AQUA_KEY }}
AQUA_SECRET: ${{ secrets.AQUA_SECRET }}
Expand All @@ -132,7 +132,7 @@ jobs:
### Usage for running manually using docker command

```bash
AQUA_KEY=${AQUA_KEY} AQUA_SECRET=${AQUA_SECRET} TRIVY_RUN_AS_PLUGIN=aqua docker run -it -e AQUA_KEY -e AQUA_SECRET -e TRIVY_RUN_AS_PLUGIN -e INPUT_WORKING_DIRECTORY=/scanning -v "${YOUR_WORKSPACE}":"/scanning" aquasec/aqua-scanner trivy fs --scanners config,vuln,secret .
AQUA_KEY=${AQUA_KEY} AQUA_SECRET=${AQUA_SECRET} TRIVY_RUN_AS_PLUGIN=aqua docker run -it -e AQUA_KEY -e AQUA_SECRET -e TRIVY_RUN_AS_PLUGIN -e INPUT_WORKING_DIRECTORY=/scanning -v "${YOUR_WORKSPACE}":"/scanning" aquasec/aqua-scanner trivy fs --scanners misconfig,vuln,secret .
```

## Usage with Podman
Expand All @@ -146,7 +146,7 @@ podman run --rm \
-e INPUT_WORKING_DIRECTORY='/scanning' \
-v ${WORKSPACE}:/scanning \
docker.io/aquasec/aqua-scanner \
git config --global --add safe.directory /scanning && trivy fs --scanners='config,vuln,secret' .
git config --global --add safe.directory /scanning && trivy fs --scanners='misconfig,vuln,secret' .

```

Expand Down Expand Up @@ -174,7 +174,7 @@ steps:
- checkout: self
fetchDepth: 0
- script: |
trivy fs --scanners config,vuln,secret .
trivy fs --scanners misconfig,vuln,secret .
displayName: Aqua scanner
```
Expand Down

0 comments on commit 84bbedb

Please sign in to comment.