From aa3e3f41e42e9489b48b63032f1fd09e00aa4fc1 Mon Sep 17 00:00:00 2001 From: ramsessanchez <63934382+ramsessanchez@users.noreply.github.com> Date: Thu, 14 May 2026 13:29:49 -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..6b8db50df5f --- /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 Beta SDK + steps: + - checkout: self + submodules: recursive + + - task: UseDotNet@2 + displayName: Set up .NET + inputs: + packageType: 'sdk' + version: '10.x' + + - script: dotnet restore Microsoft.Graph.Beta.sln + displayName: Restore dependencies + workingDirectory: $(Build.SourcesDirectory) + + - script: dotnet build Microsoft.Graph.Beta.sln --no-restore + displayName: Build SDK + workingDirectory: $(Build.SourcesDirectory) + + - script: dotnet test Microsoft.Graph.Beta.sln --no-build + displayName: Run unit tests + workingDirectory: $(Build.SourcesDirectory) From 6ca587202f4852fcc1df447ab09854c0888af8ef Mon Sep 17 00:00:00 2001 From: ramsessanchez <63934382+ramsessanchez@users.noreply.github.com> Date: Thu, 14 May 2026 14:47:46 -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 6b8db50df5f..a9714ba8821 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 48d871a465497a478fe69bd2cd220d14f436f1d0 Mon Sep 17 00:00:00 2001 From: ramsessanchez <63934382+ramsessanchez@users.noreply.github.com> Date: Thu, 14 May 2026 15:22:39 -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 a9714ba8821..56bf723556e 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: