Skip to content

Commit 85ae4c8

Browse files
jorgectfAlvaro Muñoz
andauthored
Apply suggestions from code review
Co-authored-by: Alvaro Muñoz <[email protected]>
1 parent 64314ad commit 85ae4c8

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@ Collection of community-driven CodeQL query and extension packs
44

55
## Getting started
66

7-
### CodeQL packs syntax
7+
### Default query suites
88

9-
Using `githubsecuritylab/codeql-LANG-queries` will reference the default suite for that pack (e.g. `python.qls` for python). However, you may use a different suite such as `python-audit.qls` by using the following syntax: `githubsecuritylab/codeql-python-queries:suites/python-audit.qls`. The examples below work for both situations.
9+
Using a `githubsecuritylab/codeql-LANG-queries` query pack will reference the default suite for that pack (e.g. `python.qls` for python). However, you may use a different suite such as `python-audit.qls` by referencing the query pack with the following syntax: `githubsecuritylab/codeql-python-queries:suites/python-audit.qls`. The examples below work for both syntaxes.
1010

11-
### CodeQL Action
11+
### Using a community pack from the CodeQL Action
1212

1313
```yaml
1414
- name: Initialize CodeQL
@@ -18,15 +18,15 @@ Using `githubsecuritylab/codeql-LANG-queries` will reference the default suite f
1818
packs: githubsecuritylab/codeql-${{ matrix.language }}-queries
1919
```
2020
21-
#### Via configuration file
21+
### Using a community pack from the CLI configuration file
2222
2323
```bash
2424
$ cat codeql-config.yml | grep -A 1 'packs:'
2525
packs:
2626
- githubsecuritylab/codeql-python-queries
2727
```
2828
29-
### CodeQL CLI
29+
### Using a community pack from the CodeQL CLI
3030
3131
```bash
3232
codeql database analyze db/ --download githubsecuritylab/codeql-python-queries --format=sarif-latest --output=results.sarif

0 commit comments

Comments
 (0)