Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions .github/codeql/codeql-config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
name: "wolfTPM CodeQL config"

# Disable cpp/path-injection repo-wide. It only fires on the example CLI
# tools, where a --file argument typed by the operator running the demo
# reaches fopen() -- the operator already owns their filesystem, so there is
# no trust boundary. wolfTPM library code never builds a path from untrusted
# input, so turning this one query off loses no real coverage; every other
# security query still runs on src/.
query-filters:
- exclude:
id: cpp/path-injection
1 change: 1 addition & 0 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ jobs:
# "security-and-quality" pack also flags maintainability nits (long
# functions, comment density), which we intentionally exclude here.
queries: security-extended
config-file: ./.github/codeql/codeql-config.yml

- name: Build wolfTPM
run: |
Expand Down
Loading