Skip to content

Commit 6558967

Browse files
committed
chore: enable default semgrep rules
Signed-off-by: Ronan Abhamon <ronan.abhamon@vates.tech>
1 parent b58cccb commit 6558967

1 file changed

Lines changed: 9 additions & 1 deletion

File tree

‎.github/workflows/code-checkers.yml‎

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,15 @@ jobs:
6464
python-version: ${{ matrix.python-version }}
6565

6666
- name: Semgrep scan
67-
run: uv run semgrep scan --config semgrep.yml --error
67+
# Python Flask is excluded due to false positive errors in the JSON-RPC utilities.
68+
run: |
69+
uv run semgrep scan \
70+
--config p/default \
71+
--config p/security-audit \
72+
--config semgrep.yml \
73+
--error \
74+
--exclude-rule python.flask.security.audit.directly-returned-format-string.directly-returned-format-string \
75+
--exclude-rule yaml.github-actions.security.github-actions-mutable-action-tag.github-actions-mutable-action-tag
6876
6977
tests:
7078
name: Tests

0 commit comments

Comments
 (0)