Skip to content

Commit 73613b4

Browse files
authored
Bug 58217464 [CyberEO] Use WindowsUndocked policy for PREfast scans (#5628)
* Update WindowsAppSDK-BuildFoundation-AnyCPU-Steps.yml * Update WindowsAppSDK-BuildFoundation-Steps.yml * Update WindowsAppSDK-BuildInstaller-Steps.yml * Update WindowsAppSDK-BuildMRT-Steps.yml * Update WindowsAppSDK-BuildVSIX-Steps.yml
1 parent 83415cd commit 73613b4

5 files changed

+6
-0
lines changed

build/AzurePipelinesTemplates/WindowsAppSDK-BuildFoundation-AnyCPU-Steps.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ steps:
4242
# Explicitly specify the EO-compliant rule set, as the default Sdl.Recommended.Warning.ruleset is not EO-compliant.
4343
rulesetName: Custom
4444
customRuleset: $(Agent.ToolsDirectory)\NativeCompilerStaticAnalysisRuleset\mandatory_to_fix.ruleset
45+
policyName: 'WindowsUndocked'
4546
continueOnError: true
4647
env:
4748
SYSTEM_ACCESSTOKEN: $(System.AccessToken)

build/AzurePipelinesTemplates/WindowsAppSDK-BuildFoundation-Steps.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ steps:
8888
# Explicitly specify the EO-compliant rule set, as the default Sdl.Recommended.Warning.ruleset is not EO-compliant.
8989
rulesetName: Custom
9090
customRuleset: $(Agent.ToolsDirectory)\NativeCompilerStaticAnalysisRuleset\mandatory_to_fix.ruleset
91+
policyName: 'WindowsUndocked'
9192
env:
9293
SYSTEM_ACCESSTOKEN: $(System.AccessToken)
9394
continueOnError: true

build/AzurePipelinesTemplates/WindowsAppSDK-BuildInstaller-Steps.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -239,6 +239,7 @@ steps:
239239
# # Explicitly specify the EO-compliant rule set, as the default Sdl.Recommended.Warning.ruleset is not EO-compliant.
240240
# rulesetName: Custom
241241
# customRuleset: $(Agent.ToolsDirectory)\NativeCompilerStaticAnalysisRuleset\mandatory_to_fix.ruleset
242+
# policyName: 'WindowsUndocked'
242243
# continueOnError: true
243244
# env:
244245
# SYSTEM_ACCESSTOKEN: $(System.AccessToken)

build/AzurePipelinesTemplates/WindowsAppSDK-BuildMRT-Steps.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ steps:
4949
# Explicitly specify the EO-compliant rule set, as the default Sdl.Recommended.Warning.ruleset is not EO-compliant.
5050
rulesetName: Custom
5151
customRuleset: $(Agent.ToolsDirectory)\NativeCompilerStaticAnalysisRuleset\mandatory_to_fix.ruleset
52+
policyName: 'WindowsUndocked'
5253
env:
5354
SYSTEM_ACCESSTOKEN: $(System.AccessToken)
5455
continueOnError: true

build/AzurePipelinesTemplates/WindowsAppSDK-BuildVSIX-Steps.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,7 @@ steps:
121121
# Explicitly specify the EO-compliant rule set, as the default Sdl.Recommended.Warning.ruleset is not EO-compliant.
122122
rulesetName: Custom
123123
customRuleset: $(Agent.ToolsDirectory)\NativeCompilerStaticAnalysisRuleset\mandatory_to_fix.ruleset
124+
policyName: 'WindowsUndocked'
124125
continueOnError: true
125126
env:
126127
SYSTEM_ACCESSTOKEN: $(System.AccessToken)
@@ -156,6 +157,7 @@ steps:
156157
# Explicitly specify the EO-compliant rule set, as the default Sdl.Recommended.Warning.ruleset is not EO-compliant.
157158
rulesetName: Custom
158159
customRuleset: $(Agent.ToolsDirectory)\NativeCompilerStaticAnalysisRuleset\mandatory_to_fix.ruleset
160+
policyName: 'WindowsUndocked'
159161
continueOnError: true
160162
env:
161163
SYSTEM_ACCESSTOKEN: $(System.AccessToken)

0 commit comments

Comments
 (0)