Skip to content

Commit c703ef3

Browse files
akoeplingerradekdoulik
authored andcommitted
Enable Policheck
1 parent 688e008 commit c703ef3

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

.config/PoliCheckExclusions.xml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
<PoliCheckExclusions>
2+
<!-- https://eng.ms/docs/experiences-devices/customer-success-engineering/global/language-as-a-service/validationservices/policheck-for-microsoft/policheckclient/features/features#false-positive-management -->
3+
<!-- exclude upstream sources -->
4+
<Exclusion Type="FolderPathFull">bolt|clang|clang-tools-extra|compiler-rt|cross-project-tests|flang|libc|libcxx|lld|lldb|llvm|mlir|openmp|polly</Exclusion>
5+
</PoliCheckExclusions>

eng/azure-pipelines.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,9 @@ extends:
8383
template: v1/1ES.Official.PipelineTemplate.yml@1ESPipelineTemplates
8484
parameters:
8585
sdl:
86+
policheck:
87+
enabled: true
88+
exclusionsFile: $(Build.SourcesDirectory)\.config\PoliCheckExclusions.xml
8689
tsa:
8790
enabled: true
8891
codeql:

0 commit comments

Comments
 (0)