You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For more information on CodeQL and QL packs, please visit https://www.github.com/github/codeql.
@@ -76,6 +76,35 @@ cd codeql-container
76
76
docker build . -f Dockerfile -t codeql-container
77
77
```
78
78
79
+
# Convenience Scripts
80
+
Analyzing a source directory takes multiple invocations of the container, as mentioned above. To help with that, we've built some scripts for convenience, which does these invocations for you.
81
+
These scripts are in the ```scripts``` folder, under their respective platforms (unix or windows).
82
+
83
+
84
+
##### analyze_security.sh
85
+
scripts/unix/analyze_security.sh (or scripts/windows/analyze_security.bat for windows) runs the Security and Quality QL pack suite on your project. This is how you would run it:
86
+
87
+
```
88
+
scripts/unix/analyze_security.sh /path/to/analyze /path/to/results language
89
+
```
90
+
91
+
For example for the python project can be analyzed thus:
If you know which QL suite you would like to run on the code to be analyzed, use scripts/unix/run_qlpack.sh (or scripts/windows/run_qlpack.bat for windows).
104
+
```
105
+
scripts/unix/analyze_security.sh /path/to/analyze /path/to/results language qlpack
106
+
```
107
+
79
108
# Contributing
80
109
81
110
This project welcomes contributions and suggestions. Most contributions require you to agree to a
0 commit comments