Exclude dependencies from wolfTrust Coverity scans - #62
Open
aidangarske wants to merge 4 commits into
Open
aidangarske wants to merge 4 commits into
aidangarske wants to merge 4 commits into
Conversation
aidangarske
commented
Oct 2, 2026
Member
- Prevent submodule findings from entering wolfTrust's Coverity results.
- Remove dependency and external source units before upload.
- Reject submodules outside the configured dependency exclusion.
- Reject empty, malformed, or improperly filtered captures.
- Keep weekly scans and require HTTP 201 for upload acceptance.
- Validate filtering with the real Coverity SDK and negative fixtures.
There was a problem hiding this comment.
Copilot review overview
🔵 Needs a closer look
Security-analysis coverage depends partly on external Coverity configuration and SDK behavior that requires final human verification.
Review effort: Balanced
Findings: None
What changed in this PR
Restricts Coverity uploads to wolfTrust-owned translation units and changes scans to weekly or manual execution.
Changes:
- Adds capture filtering and validation.
- Separates capture, filtering, and HTTP-validated upload.
- Documents dependency exclusions and scan scheduling.
| File | Description |
|---|---|
tools/ci-coverity-filter.py |
Removes dependency and external translation units. |
.github/workflows/coverity.yml |
Filters captures before weekly/manual uploads. |
.github/workflows/README.md |
Documents Coverity scope and configuration. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.