Skip to content

Commit

Permalink
Enable Policheck 🌎 per Compliance to Scan for Offensive Terms (#1811)
Browse files Browse the repository at this point in the history
* Enable Policheck

* Remove the old pipeline

We probably should have done this post 1ES Migration

* azdo is being buggy and not letting me move from 1 to another
so undo this and do it in another pr
Revert "Remove the old pipeline"

This reverts commit 3c4cc97.

* azdo is buggy no more
Revert "azdo is being buggy and not letting me move from 1 to another"

This reverts commit 012133f.
  • Loading branch information
nagilson authored May 28, 2024
1 parent 6946df5 commit 5d3ab46
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 67 deletions.
3 changes: 3 additions & 0 deletions 1es-azure-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,9 @@ extends:
name: NetCore1ESPool-Internal
image: 1es-windows-2022
os: windows
policheck:
enabled: true
exclusionsFile: $(System.DefaultWorkingDirectory)\PoliCheckExclusions.xml
stages:
- stage: Internal
jobs:
Expand Down
10 changes: 10 additions & 0 deletions PoliCheckExclusions.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<PoliCheckExclusions>
<!--Each of these exclusions is a folder name -if \[name]\exists in the file path, it will be skipped -->
<Exclusion Type="FolderPathFull">NODE_MODULES|.STORE</Exclusion>
<!--Each of these exclusions is a folder name -if any folder or file starts with "\[name]", it will be skipped -->
<!-- <Exclusion Type="FolderPathStart">ABC|XYZ</Exclusion>-->
<!--Each of these file types will be completely skipped for the entire scan -->
<!-- <Exclusion Type="FileType">.ABC|.XYZ</Exclusion>-->
<!--The specified file names will be skipped during the scan regardless which folder they are in -->
<!-- <Exclusion Type="FileName">ABC.TXT|XYZ.CS</Exclusion>-->
</PoliCheckExclusions>
67 changes: 0 additions & 67 deletions azure-pipelines.yml

This file was deleted.

0 comments on commit 5d3ab46

Please sign in to comment.