-
Notifications
You must be signed in to change notification settings - Fork 162
Rename BA2026.EnableAdditionalSdlSecurityChecks
#586
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
Conversation
…crosoftCompilerSdlSwitch`.
@@ -373,7 +373,7 @@ | |||
"id": "NotApplicable_InvalidMetadata", | |||
"arguments": [ | |||
"Binskim.linux-x64.dll", | |||
"EnableAdditionalSdlSecurityChecks", | |||
"EnableMicrosoftCompilerSdlSwitch", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Many of these sarif file changes will become obsolete if #590 is completed first.
Please note, you will see a list of executables that have moved. This is due to the folder being renamed to match the new rule friendly name. In reply to: 1051058220 In reply to: 1051058220 In reply to: 1051058220 In reply to: 1051058220 |
@@ -40,7 +40,7 @@ internal static class RuleIds | |||
|
|||
public const string EnableSpectreMitigations = "BA2024"; | |||
public const string EnableShadowStack = "BA2025"; | |||
public const string EnableAdditionalSdlSecurityChecks = "BA2026"; | |||
public const string EnableMicrosoftCompilerSdlSwitch = "BA2026"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
… code comment from PR feedback.
{ | ||
/// <summary> | ||
/// BA2026 | ||
/// </summary> | ||
public override string Id => RuleIds.EnableAdditionalSdlSecurityChecks; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can u fix the conflicts, pls? In reply to: 1061382224 In reply to: 1061382224 |
Fix #584.
EnableAdditionalSdlSecurityChecks
is unnecessarily vague. Renaming toEnableMicrosoftCompilerSdlSwitch
to increase clarity for customers.