File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -12,33 +12,33 @@ docker build -t organization/codeql .
1212
1313## Running
1414
15- ##### Dropping into shell
15+ ##### Dropping into shell
1616
1717``` bash
1818docker run -it -v $PWD :/workspace geekmasher/codeql
1919```
2020
21- ### Example Analysis
21+ ### Example Analysis
2222
2323``` bash
24- # Create database
24+ # Create database
2525codeql database create database_name --language=javascript
2626
27- # Run analysis
27+ # Run analysis
2828codeql database analyze database_name \
2929 --format " sarif-latest" \
3030 --output " codeql-results.json" \
3131 javascript-code-scanning.qls
3232
33- # Upload results to GitHub
33+ # Upload results to GitHub
3434codeql github upload-results --repository=< repository-name> \
3535 --ref=$GIT_REF \
3636 --commit=$GIT_HASH \
3737 --sarif=" codeql-results.json"
3838
3939```
4040
41- ### Aliases
41+ ### Aliases
4242
4343In the ` ~/.bashrc ` there is a number of values and functions that hopefully will make it a lot easier to use CodeQL CLI.
4444This isn't required and can be removed in the ` Dockerfile ` .
You can’t perform that action at this time.
0 commit comments