From 1ee8b81871d8fe0e7d4d76f101c0602fbec5e18f Mon Sep 17 00:00:00 2001 From: ramsessanchez <63934382+ramsessanchez@users.noreply.github.com> Date: Thu, 14 May 2026 13:29:48 -0700 Subject: [PATCH 1/3] chore: add DevOps build pipeline for S360 security vulnerability scanning Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- .azurepipelines/build.yml | 50 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 .azurepipelines/build.yml diff --git a/.azurepipelines/build.yml b/.azurepipelines/build.yml new file mode 100644 index 00000000000..4e25794d7e7 --- /dev/null +++ b/.azurepipelines/build.yml @@ -0,0 +1,50 @@ +trigger: none +pr: none + +schedules: + - cron: '0 0 * * 1,3' + displayName: Monday and Wednesday builds + branches: + include: + - main + always: true + +resources: + repositories: + - repository: 1ESPipelineTemplates + type: git + name: 1ESPipelineTemplates/1ESPipelineTemplates + ref: refs/tags/release + +extends: + template: v1/1ES.Unofficial.PipelineTemplate.yml@1ESPipelineTemplates + parameters: + pool: + name: Azure-Pipelines-1ESPT-ExDShared + os: linux + stages: + - stage: Build + jobs: + - job: Build + displayName: Build .NET SDK + steps: + - checkout: self + submodules: recursive + + - task: UseDotNet@2 + displayName: Set up .NET + inputs: + packageType: 'sdk' + version: '8.x' + + - script: dotnet restore Microsoft.Graph.sln + displayName: Restore dependencies + workingDirectory: $(Build.SourcesDirectory) + + - script: dotnet build Microsoft.Graph.sln --no-restore + displayName: Build SDK + workingDirectory: $(Build.SourcesDirectory) + + - script: dotnet test Microsoft.Graph.sln --no-build + displayName: Run unit tests + workingDirectory: $(Build.SourcesDirectory) From e9f4cd8c2942ce52ea7cf79f7be3a59c2c5f8903 Mon Sep 17 00:00:00 2001 From: ramsessanchez <63934382+ramsessanchez@users.noreply.github.com> Date: Thu, 14 May 2026 14:47:43 -0700 Subject: [PATCH 2/3] chore: update build pipeline schedule to daily Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- .azurepipelines/build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.azurepipelines/build.yml b/.azurepipelines/build.yml index 4e25794d7e7..fc8b4b6a562 100644 --- a/.azurepipelines/build.yml +++ b/.azurepipelines/build.yml @@ -2,8 +2,8 @@ trigger: none pr: none schedules: - - cron: '0 0 * * 1,3' - displayName: Monday and Wednesday builds + - cron: '0 0 * * *' + displayName: Daily builds branches: include: - main From 4b1da23d0b927f953a9fd0b3531e1a818c596691 Mon Sep 17 00:00:00 2001 From: ramsessanchez <63934382+ramsessanchez@users.noreply.github.com> Date: Thu, 14 May 2026 15:22:38 -0700 Subject: [PATCH 3/3] chore: enable SDL security scanning in build pipeline Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- .azurepipelines/build.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.azurepipelines/build.yml b/.azurepipelines/build.yml index fc8b4b6a562..4628059a651 100644 --- a/.azurepipelines/build.yml +++ b/.azurepipelines/build.yml @@ -22,6 +22,17 @@ extends: pool: name: Azure-Pipelines-1ESPT-ExDShared os: linux + sdl: + sourceAnalysisPool: + name: Azure-Pipelines-1ESPT-ExDShared + image: windows-2022 + os: windows + credscan: + enabled: true + policheck: + enabled: true + binskim: + enabled: true stages: - stage: Build jobs: