Skip to content

Conversation

marcpopMSFT
Copy link
Member

No description provided.

@Copilot Copilot AI review requested due to automatic review settings April 28, 2025 20:18
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR updates the binskim scanning configuration to exclude test files from scanning.

  • Removes test binaries from the scanning targets
  • Adds an exclusion pattern for test files in sdk-build.yml

sdl:
binskim:
analyzeTargetGlob: +:f|eng\**\*.props;+:f|artifacts\bin\**\*.dll;+:f|artifacts\bin\**\*.exe;-:f|artifacts\bin\**\msdia140.dll;-:f|artifacts\bin\**\pgort140.dll;
analyzeTargetGlob: +:f|eng\**\*.props;+:f|artifacts\bin\**\*.dll;+:f|artifacts\bin\**\*.exe;-:f|artifacts\bin\**\msdia140.dll;-:f|artifacts\bin\**\pgort140.dll;-:fartifacts\bin\*Tests\**;
Copy link
Preview

Copilot AI Apr 28, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The test exclusion pattern is missing a pipe character after '-:f'. It should be updated to '-:f|artifacts\bin*Tests**;' to maintain consistency with the other patterns.

Suggested change
analyzeTargetGlob: +:f|eng\**\*.props;+:f|artifacts\bin\**\*.dll;+:f|artifacts\bin\**\*.exe;-:f|artifacts\bin\**\msdia140.dll;-:f|artifacts\bin\**\pgort140.dll;-:fartifacts\bin\*Tests\**;
analyzeTargetGlob: +:f|eng\**\*.props;+:f|artifacts\bin\**\*.dll;+:f|artifacts\bin\**\*.exe;-:f|artifacts\bin\**\msdia140.dll;-:f|artifacts\bin\**\pgort140.dll;-:f|artifacts\bin\*Tests\**;

Copilot uses AI. Check for mistakes.

@marcpopMSFT marcpopMSFT merged commit a1da6b6 into main Apr 30, 2025
30 checks passed
@marcpopMSFT marcpopMSFT deleted the marcpopMSFT-excludetestsbinskim branch April 30, 2025 21:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants