Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update testing analyzers #59516

Merged
merged 11 commits into from
Dec 19, 2024
Merged

Update testing analyzers #59516

merged 11 commits into from
Dec 19, 2024

Conversation

sebastienros
Copy link
Member

The current versions are old and the newer ones has updated dependencies without vulnerabilities (System.Formats.Asn1)

@sebastienros sebastienros requested review from wtgodbe and a team as code owners December 16, 2024 23:33
@dotnet-issue-labeler dotnet-issue-labeler bot added the area-infrastructure Includes: MSBuild projects/targets, build scripts, CI, Installers and shared framework label Dec 16, 2024
@sebastienros sebastienros requested a review from a team as a code owner December 17, 2024 01:15
@sebastienros sebastienros force-pushed the sebros/updateanalyzers branch from 9b1d1db to 4115eca Compare December 17, 2024 01:15
@sebastienros sebastienros requested a review from a team as a code owner December 17, 2024 05:17
@@ -18,6 +18,8 @@
<UsagePattern IdentityGlob="System.Composition.Runtime/*8.0.0*" />
<UsagePattern IdentityGlob="System.Composition.TypedParts/*8.0.0*" />
<UsagePattern IdentityGlob="System.Security.Cryptography.Pkcs/5.0.*" />
<UsagePattern IdentityGlob="System.Security.Cryptography.Pkcs/6.0.*" />
Copy link
Member Author

@sebastienros sebastienros Dec 17, 2024

Choose a reason for hiding this comment

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

@wtgodbe Is that expected to have two versions, or should I find the source and force a single one?

Copy link
Member

Choose a reason for hiding this comment

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

There should be a log in the source build artifacts that tells us where these 2 versions are coming from - if it's not obvious from that how to remove one of the versions, I'd ask @ellahathaway

Copy link
Member

Choose a reason for hiding this comment

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

I pulled the prebuilt usage report, which does not give details on where System.Security.Cryptography.Pkcs 5.0.0 and 6.0.0 are being pulled from. Given this, it's likely they're transitive dependencies of some other tool or package being used during the build. This unfortunately makes it a bit more difficult to tell whether or not we should allow these to be in the baseline.

I suggest copying these changes to the VMR & opening a PR there. That'll automatically run a full source-build leg (takes ~1hr) and will tell us if these prebuilts are really a problem or if they can just be added to the baseline as you've already done.

Copy link
Member Author

Choose a reason for hiding this comment

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

@sebastienros
Copy link
Member Author

Now waiting for source-build code owner's approval?

@sebastienros sebastienros merged commit 1da2712 into main Dec 19, 2024
27 checks passed
@sebastienros sebastienros deleted the sebros/updateanalyzers branch December 19, 2024 16:02
@dotnet-policy-service dotnet-policy-service bot added this to the 10.0-preview1 milestone Dec 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-infrastructure Includes: MSBuild projects/targets, build scripts, CI, Installers and shared framework
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants