-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Rahul Jadhav <[email protected]>
- Loading branch information
Showing
1 changed file
with
10 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |