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

Fix/post analysis #277

Merged
merged 3 commits into from
Oct 19, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 5 additions & 7 deletions .azure-pipelines/ci-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ stages:
optionsUEPATH: $(System.DefaultWorkingDirectory)/.azure-pipelines/config/PoliCheckExclusions.xml
optionsSEV: "1|2"
optionsPE: 2
result: poli_result_src.xml

# Install the nuget tool.
- task: NuGetToolInstaller@1
Expand Down Expand Up @@ -91,17 +90,16 @@ stages:
AnalyzeHashes: true
AnalyzeEnvironment: true

- task: PublishSecurityAnalysisLogs@2
- task: PublishSecurityAnalysisLogs@3
displayName: "Publish Security Analysis Logs"
inputs:
ArtifactName: SecurityLogs
ArtifactName: CodeAnalysisLogs
AllTools: true

- task: PostAnalysis@1
- task: PostAnalysis@2
displayName: "Post Analysis"
inputs:
BinSkim: true
CredScan: true
PoliCheck: true
GdnBreakAllTools: true

- task: UseDotNet@2
displayName: "Add .NET 2"
Expand Down
2 changes: 1 addition & 1 deletion .azure-pipelines/config/PoliCheckExclusions.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@
<!--<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>-->
<Exclusion Type="FolderPathFull">SRC\GENERATED</Exclusion>
<Exclusion Type="FolderPathFull">SRC\SAMPLE\GENERATED</Exclusion>
</PoliCheckExclusions>
5 changes: 4 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
{
"editor.formatOnSave": true
"editor.formatOnSave": true,
"[xml]": {
"editor.formatOnSave": false,
}
}