Skip to content

Commit d5af962

Browse files
authored
Update README.md
1 parent 5f22603 commit d5af962

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,8 +125,12 @@ options:
125125

126126
### Enrich code scanning alerts
127127

128+
Using the PDF mode needs you to install `playwright`, which isn't in the general `requirements.txt`.
129+
130+
You can use `python3 -mpip install playwright` to get it.
131+
128132
```text
129-
usage: enrich_code_scanning_alerts.py [-h] [--mitre-cwe-csv MITRE_CWE_CSV] [--metadata-format {codeql,parse_ql}] [--debug] [--format {json,html}] [--fields FIELDS] [--groupby GROUPBY] alerts metadata scope
133+
usage: enrich_code_scanning_alerts.py [-h] [--mitre-cwe-csv MITRE_CWE_CSV] [--metadata-format {codeql,parse_ql}] [--debug] [--format {json,html,pdf}] [--fields FIELDS] [--groupby GROUPBY] alerts metadata scope
130134
131135
Add CodeQL metadata to Code Scanning alerts and produce output. This must be the abbreviated version of the JSON output supported by the partner script `list_code_scanning_alerts.py`. The metadata can either be in the format provided by the `codeql resolve metadata` command, or in the format produced by the
132136
script `parse_ql` by the same author as this script.

0 commit comments

Comments
 (0)