From 62ea0b0afd153d32b11538b64da39119c6eb4a46 Mon Sep 17 00:00:00 2001 From: snamilikonda Date: Fri, 11 Apr 2025 17:40:27 -0700 Subject: [PATCH 1/2] Update azure-pipelines-1ES.yml --- .azurepipelines/azure-pipelines-1ES.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.azurepipelines/azure-pipelines-1ES.yml b/.azurepipelines/azure-pipelines-1ES.yml index 68d7f747..08029c90 100644 --- a/.azurepipelines/azure-pipelines-1ES.yml +++ b/.azurepipelines/azure-pipelines-1ES.yml @@ -15,6 +15,8 @@ extends: policheck: enabled: true codeql: + compiled: + break: true ${{ if eq(variables['Build.SourceBranch'], variables['AllowedBranch']) }}: enabledOnNonDefaultBranches: true pool: From 2f5313c21b95d4de710d1f3f3cae5c526f8f82c1 Mon Sep 17 00:00:00 2001 From: snamilikonda Date: Sat, 12 Apr 2025 22:26:32 -0700 Subject: [PATCH 2/2] tsa set --- .azurepipelines/azure-pipelines-1ES.yml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/.azurepipelines/azure-pipelines-1ES.yml b/.azurepipelines/azure-pipelines-1ES.yml index 08029c90..ff5c4a41 100644 --- a/.azurepipelines/azure-pipelines-1ES.yml +++ b/.azurepipelines/azure-pipelines-1ES.yml @@ -10,13 +10,21 @@ extends: template: v1/1ES.Official.PipelineTemplate.yml@1ESPipelineTemplates parameters: sdl: + tsa: + enabled: true + config: + codebaseName: $(Pipeline.CodeBasename) + serviceTreeID: $(Pipeline.ServiceTreeId) + instanceUrl: $(Pipeline.Org) + projectName: $(Pipeline.Project) + areaPath: $(Pipeline.AreaPath) + notificationAliases: $(Pipeline.NotificationAliases) binskim: break: true policheck: enabled: true codeql: - compiled: - break: true + tsaEnabled: true ${{ if eq(variables['Build.SourceBranch'], variables['AllowedBranch']) }}: enabledOnNonDefaultBranches: true pool: