From 0d9c1a2b91f9a8fa3bac45ff45d84380249e11d6 Mon Sep 17 00:00:00 2001 From: Aditya Patwardhan Date: Thu, 22 Oct 2020 13:32:33 -0700 Subject: [PATCH 1/6] Update LICENSE Update the LICENSE title --- LICENSE | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LICENSE b/LICENSE index afdfe4e..bc9c36b 100644 --- a/LICENSE +++ b/LICENSE @@ -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 From c17d7a9126cc969d03834ff59763f9cd16d4ed13 Mon Sep 17 00:00:00 2001 From: Aditya Patwardhan Date: Thu, 22 Oct 2020 13:38:59 -0700 Subject: [PATCH 2/6] Update TermCheck --- README.md | 2 +- assembly-module-compliance.yml | 6 +++--- script-module-compliance.yml | 6 +++--- template-compliance/policheck.yml | 2 +- template-compliance/sdtreport.yml | 6 +++--- 5 files changed, 11 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index 5559e03..dae3edd 100644 --- a/README.md +++ b/README.md @@ -49,7 +49,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 diff --git a/assembly-module-compliance.yml b/assembly-module-compliance.yml index cea1a7c..4b7e020 100644 --- a/assembly-module-compliance.yml +++ b/assembly-module-compliance.yml @@ -10,7 +10,7 @@ parameters: sourceScanPath: '$(Build.SourcesDirectory)' # credscan suppressionsFile: '' - # policheck + # TermCheck optionsRulesDBPath: '' optionsFTPath: '' # tsa-upload @@ -43,7 +43,7 @@ steps: - template: template-compliance/defender.yml -- template: template-compliance/policheck.yml +- template: template-compliance/TermCheck.yml parameters: optionsRulesDBPath: '' optionsFTPath: '' @@ -61,4 +61,4 @@ steps: APIScan: ${{ parameters.APIScan }} BinSkim: true CredScan: true - PoliCheck: true + TermCheck: true diff --git a/script-module-compliance.yml b/script-module-compliance.yml index fc5ac87..1dfedc7 100644 --- a/script-module-compliance.yml +++ b/script-module-compliance.yml @@ -3,7 +3,7 @@ parameters: sourceScanPath: '$(Build.SourcesDirectory)' # credscan suppressionsFile: '' - # policheck + # TermCheck optionsRulesDBPath: '' optionsFTPath: '' # tsa-upload @@ -24,7 +24,7 @@ steps: - template: template-compliance/defender.yml -- template: template-compliance/policheck.yml +- template: template-compliance/TermCheck.yml parameters: optionsRulesDBPath: '' optionsFTPath: '' @@ -42,4 +42,4 @@ steps: APIScan: ${{ parameters.APIScan }} BinSkim: true CredScan: true - PoliCheck: true + TermCheck: true diff --git a/template-compliance/policheck.yml b/template-compliance/policheck.yml index 77a48d2..a5c39f6 100644 --- a/template-compliance/policheck.yml +++ b/template-compliance/policheck.yml @@ -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 diff --git a/template-compliance/sdtreport.yml b/template-compliance/sdtreport.yml index 3427a6d..b06c1cb 100644 --- a/template-compliance/sdtreport.yml +++ b/template-compliance/sdtreport.yml @@ -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 @@ -12,5 +12,5 @@ steps: APIScan: ${{ parameters.APIScan }} BinSkim: ${{ parameters.BinSkim }} CredScan: ${{ parameters.CredScan }} - PoliCheck: ${{ parameters.PoliCheck }} - PoliCheckBreakOn: Severity2Above + TermCheck: ${{ parameters.TermCheck }} + TermCheckBreakOn: Severity2Above From c75d9a6f50ca583d2520e814796dba5276ed7def Mon Sep 17 00:00:00 2001 From: Aditya Patwardhan Date: Thu, 22 Oct 2020 13:39:36 -0700 Subject: [PATCH 3/6] Rename yaml file --- template-compliance/{policheck.yml => TermCheck.yml} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename template-compliance/{policheck.yml => TermCheck.yml} (100%) diff --git a/template-compliance/policheck.yml b/template-compliance/TermCheck.yml similarity index 100% rename from template-compliance/policheck.yml rename to template-compliance/TermCheck.yml From 5c03ac45e7defbe6c43ad89378ff497bde06518f Mon Sep 17 00:00:00 2001 From: Aditya Patwardhan Date: Thu, 22 Oct 2020 13:44:19 -0700 Subject: [PATCH 4/6] Update README to include internal statement --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index dae3edd..407e964 100644 --- a/README.md +++ b/README.md @@ -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). From 2b598d481e0b19daf2ce6b497e5d2eb15fd7e434 Mon Sep 17 00:00:00 2001 From: Aditya Patwardhan Date: Thu, 22 Oct 2020 14:50:09 -0700 Subject: [PATCH 5/6] Update template-compliance/sdtreport.yml Co-authored-by: Travis Plunk --- template-compliance/sdtreport.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/template-compliance/sdtreport.yml b/template-compliance/sdtreport.yml index b06c1cb..9d79619 100644 --- a/template-compliance/sdtreport.yml +++ b/template-compliance/sdtreport.yml @@ -12,5 +12,5 @@ steps: APIScan: ${{ parameters.APIScan }} BinSkim: ${{ parameters.BinSkim }} CredScan: ${{ parameters.CredScan }} - TermCheck: ${{ parameters.TermCheck }} - TermCheckBreakOn: Severity2Above + PolicCheck: ${{ parameters.TermCheck }} + PolicCheckBreakOn: Severity2Above From 85ce73f39100a2c0665a1776ca0779b1029cf237 Mon Sep 17 00:00:00 2001 From: Aditya Patwardhan Date: Thu, 22 Oct 2020 15:24:30 -0700 Subject: [PATCH 6/6] Fix typo --- template-compliance/sdtreport.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/template-compliance/sdtreport.yml b/template-compliance/sdtreport.yml index 9d79619..4888249 100644 --- a/template-compliance/sdtreport.yml +++ b/template-compliance/sdtreport.yml @@ -12,5 +12,5 @@ steps: APIScan: ${{ parameters.APIScan }} BinSkim: ${{ parameters.BinSkim }} CredScan: ${{ parameters.CredScan }} - PolicCheck: ${{ parameters.TermCheck }} - PolicCheckBreakOn: Severity2Above + PoliCheck: ${{ parameters.TermCheck }} + PoliCheckBreakOn: Severity2Above