From 466261f71d063f7e54d0a0de4277bae341ae251c Mon Sep 17 00:00:00 2001 From: SparkSnail Date: Thu, 12 Dec 2024 15:12:19 +0800 Subject: [PATCH 1/2] Skip tagging in pipeline to unblock PR validation (#1193) --- azure-pipelines-pr.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/azure-pipelines-pr.yml b/azure-pipelines-pr.yml index de74d87fe..b99408a55 100644 --- a/azure-pipelines-pr.yml +++ b/azure-pipelines-pr.yml @@ -86,6 +86,8 @@ resources: extends: template: v1/1ES.Official.PipelineTemplate.yml@1ESPipelineTemplates parameters: + settings: + skipBuildTagsForGitHubPullRequests: true sdl: spotBugs: enabled: false From 4a6f038dadce80e0e104beb1f4f2bbe36cc91abe Mon Sep 17 00:00:00 2001 From: "dotnet-policy-service[bot]" <123482357+dotnet-policy-service[bot]@users.noreply.github.com> Date: Fri, 13 Dec 2024 10:30:57 +0800 Subject: [PATCH 2/2] Updated for https://dev.azure.com/msasg/1d09b833-a6f2-4fab-8ec0-b2bf075dcd70/_build?definitionId=51729 by using baselines generated in https://dev.azure.com/msasg/1d09b833-a6f2-4fab-8ec0-b2bf075dcd70/_build/results?buildId=52032375 (#1192) Co-authored-by: dotnet-policy-service[bot] <123482357+dotnet-policy-service[bot]@users.noreply.github.com> --- .../1espt/PipelineAutobaseliningConfig.yml | 14 +++++ .config/guardian/.gdnbaselines | 63 +++++++++++++++++++ 2 files changed, 77 insertions(+) create mode 100644 .config/1espt/PipelineAutobaseliningConfig.yml create mode 100644 .config/guardian/.gdnbaselines diff --git a/.config/1espt/PipelineAutobaseliningConfig.yml b/.config/1espt/PipelineAutobaseliningConfig.yml new file mode 100644 index 000000000..3d9433d17 --- /dev/null +++ b/.config/1espt/PipelineAutobaseliningConfig.yml @@ -0,0 +1,14 @@ +## DO NOT MODIFY THIS FILE MANUALLY. This is part of auto-baselining from 1ES Pipeline Templates. Go to [https://aka.ms/1espt-autobaselining] for more details. + +pipelines: + 51729: + retail: + source: + credscan: + lastModifiedDate: 2024-12-12 + eslint: + lastModifiedDate: 2024-12-12 + psscriptanalyzer: + lastModifiedDate: 2024-12-12 + armory: + lastModifiedDate: 2024-12-12 diff --git a/.config/guardian/.gdnbaselines b/.config/guardian/.gdnbaselines new file mode 100644 index 000000000..c0bc6256e --- /dev/null +++ b/.config/guardian/.gdnbaselines @@ -0,0 +1,63 @@ +{ + "properties": { + "helpUri": "https://eng.ms/docs/microsoft-security/security/azure-security/cloudai-security-fundamentals-engineering/security-integration/guardian-wiki/microsoft-guardian/general/baselines" + }, + "version": "1.0.0", + "baselines": { + "default": { + "name": "default", + "createdDate": "2024-12-12 02:08:03Z", + "lastUpdatedDate": "2024-12-12 02:08:03Z" + } + }, + "results": { + "31128318971be3d77cbd3aaf7b6a06d65b1874334a143ee500c7fccb5aa89427": { + "signature": "31128318971be3d77cbd3aaf7b6a06d65b1874334a143ee500c7fccb5aa89427", + "alternativeSignatures": [ + "9106dc3b9a335702dc4feeeed54285f07d8a06494f38fc23167f6158793928dc" + ], + "target": "eng/common/SetupNugetSources.ps1", + "line": 38, + "memberOf": [ + "default" + ], + "tool": "psscriptanalyzer", + "ruleId": "PSAvoidUsingUsernameAndPasswordParams", + "createdDate": "2024-12-12 02:08:03Z", + "expirationDate": "2025-05-31 03:13:03Z", + "justification": "This error is baselined with an expiration date of 180 days from 2024-12-12 03:13:03Z" + }, + "992b26983b997813a410dfc25048f3b218c6fc02fc14a5c2ad431ec8e022ac79": { + "signature": "992b26983b997813a410dfc25048f3b218c6fc02fc14a5c2ad431ec8e022ac79", + "alternativeSignatures": [ + "23e97da32b7142c282727c96d07fd5ce6aefd6ef26f02e91cb471eb7863542f8" + ], + "target": "eng/common/SetupNugetSources.ps1", + "line": 56, + "memberOf": [ + "default" + ], + "tool": "psscriptanalyzer", + "ruleId": "PSAvoidUsingUsernameAndPasswordParams", + "createdDate": "2024-12-12 02:08:03Z", + "expirationDate": "2025-05-31 03:13:03Z", + "justification": "This error is baselined with an expiration date of 180 days from 2024-12-12 03:13:03Z" + }, + "53b10a5fb6059b0b229ad32c6278123a5603386f65d9e1c5684a2333f2e1dc62": { + "signature": "53b10a5fb6059b0b229ad32c6278123a5603386f65d9e1c5684a2333f2e1dc62", + "alternativeSignatures": [ + "cd7b0b0937cfa32a98962a528bd99ede0181ae41a609df430f35fd30763166c4" + ], + "target": "eng/common/SetupNugetSources.ps1", + "line": 88, + "memberOf": [ + "default" + ], + "tool": "psscriptanalyzer", + "ruleId": "PSAvoidUsingUsernameAndPasswordParams", + "createdDate": "2024-12-12 02:08:03Z", + "expirationDate": "2025-05-31 03:13:03Z", + "justification": "This error is baselined with an expiration date of 180 days from 2024-12-12 03:13:03Z" + } + } +} \ No newline at end of file