Skip to content
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
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2020 Aditya Patwardhan
Copyright (c) 2020 Microsoft Corporation

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# Compliance task library

**Contents of this repository are intended for internal Microsoft use.**

This repository contains Azure DevOPS YAML template for the compliance tasks needed for release products.
The step templates can be included in the repository using [multi-checkout](https://docs.microsoft.com/en-us/azure/devops/pipelines/repos/multi-repo-checkout?view=azure-devops).

Expand Down Expand Up @@ -49,7 +51,7 @@ The following sample shows how the templates can be included in your release YAM
sourceScanPath: '$(Build.SourcesDirectory)'
# credscan
suppressionsFile: ''
# policheck
# TermCheck
optionsRulesDBPath: ''
optionsFTPath: ''
# tsa-upload
Expand Down
6 changes: 3 additions & 3 deletions assembly-module-compliance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ parameters:
sourceScanPath: '$(Build.SourcesDirectory)'
# credscan
suppressionsFile: ''
# policheck
# TermCheck
optionsRulesDBPath: ''
optionsFTPath: ''
# tsa-upload
Expand Down Expand Up @@ -43,7 +43,7 @@ steps:

- template: template-compliance/defender.yml

- template: template-compliance/policheck.yml
- template: template-compliance/TermCheck.yml
parameters:
optionsRulesDBPath: ''
optionsFTPath: ''
Expand All @@ -61,4 +61,4 @@ steps:
APIScan: ${{ parameters.APIScan }}
BinSkim: true
CredScan: true
PoliCheck: true
TermCheck: true
6 changes: 3 additions & 3 deletions script-module-compliance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ parameters:
sourceScanPath: '$(Build.SourcesDirectory)'
# credscan
suppressionsFile: ''
# policheck
# TermCheck
optionsRulesDBPath: ''
optionsFTPath: ''
# tsa-upload
Expand All @@ -24,7 +24,7 @@ steps:

- template: template-compliance/defender.yml

- template: template-compliance/policheck.yml
- template: template-compliance/TermCheck.yml
parameters:
optionsRulesDBPath: ''
optionsFTPath: ''
Expand All @@ -42,4 +42,4 @@ steps:
APIScan: ${{ parameters.APIScan }}
BinSkim: true
CredScan: true
PoliCheck: true
TermCheck: true
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ parameters:

steps:
- task: securedevelopmentteam.vss-secure-development-tools.build-task-policheck.PoliCheck@1
displayName: 'Run PoliCheck'
displayName: 'Run TermCheck'
inputs:
targetType: F
optionsFC: 0
Expand Down
4 changes: 2 additions & 2 deletions template-compliance/sdtreport.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ parameters:
APIScan: true
BinSkim: true
CredScan: true
PoliCheck: true
TermCheck: true

steps:
- task: securedevelopmentteam.vss-secure-development-tools.build-task-report.SdtReport@1
Expand All @@ -12,5 +12,5 @@ steps:
APIScan: ${{ parameters.APIScan }}
BinSkim: ${{ parameters.BinSkim }}
CredScan: ${{ parameters.CredScan }}
PoliCheck: ${{ parameters.PoliCheck }}
PoliCheck: ${{ parameters.TermCheck }}
PoliCheckBreakOn: Severity2Above