Skip to content

fix(semgrep): include PCP component fixtures in scans - #1475

Closed
ShevchenkoRostyslav wants to merge 1 commit into
codex/SEC-3328/include-pcp-fixturesfrom
rostyslav/semgrep-pcp-defs-fixtures
Closed

ShevchenkoRostyslav wants to merge 1 commit into
codex/SEC-3328/include-pcp-fixturesfrom
rostyslav/semgrep-pcp-defs-fixtures

Conversation

@ShevchenkoRostyslav

Copy link
Copy Markdown
Contributor

Semgrep's default test-directory exclusions skip the serialized PCP component fixtures. Include pcp-defs/rust/tests/fixtures/** through a narrow Semgrepignore v2 exception while retaining the default exclusions and the PCP fixture exception.

Stacked on #1473. Merge that PR first, then retarget this PR to main.

Validation: a synthetic directory scan with Semgrep 1.168.0 included all four fixture targets, including nested test directories and .tar.gz pointers; nine unrelated test/build/vendor paths stayed excluded, with zero scan errors. Whitespace checks passed. Managed project/global ignore settings must also allow these paths.

AI assistance was used to prepare and validate this change.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant