Skip to content

Commit

Permalink
README
Browse files Browse the repository at this point in the history
Signed-off-by: Rahul Jadhav <[email protected]>
  • Loading branch information
nyrahul committed Apr 28, 2024
1 parent e1fa316 commit 419f34c
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions sast-job/README.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,22 @@
#

```
docker run --rm -it -e SQ_URL=http://35.188.10.229:9000 -e SQ_AUTH_TOKEN=<AUTH-TOKEN> -e SQ_PROJECTS="^nimbus$" -e REPORT_PATH=/app/data/ -v $PWD:/app/data/ accuknox/sastjob:latest
docker run --rm -it \
-e SQ_URL=http://35.188.10.229:9000 \
-e SQ_AUTH_TOKEN=<AUTH-TOKEN> \
-e SQ_PROJECTS="^nimbus$" \
-e REPORT_PATH=/app/data/ \
-v $PWD:/app/data/ \
accuknox/sastjob:latest
```

Configuration
## Configuration

| Var | Sample Value | Description |
|----------------|---------------------------|------------------------------------|
| SQ_URL* | http://35.188.10.229:9000 | SonarQube server URL |
| SQ_AUTH_TOKEN* | squ_token | SonarQube user authn token |
| SQ_PROJECTS | "^nimbus$" | Scan the given projects/components |
| REPORT_PATH | /app/data/ | Path to keep the report json files |

> * are mandatory configuration options
> variables marked with '*' are mandatory configuration options

0 comments on commit 419f34c

Please sign in to comment.