X Tutup
Skip to content

[release/v7.4] Add CodeQL scanning to APIScan build#24800

Merged
TravisEz13 merged 1 commit intorelease/v7.4from
backport-24303
Jan 16, 2025
Merged

[release/v7.4] Add CodeQL scanning to APIScan build#24800
TravisEz13 merged 1 commit intorelease/v7.4from
backport-24303

Conversation

@TravisEz13
Copy link
Member

Backport #24303

This pull request introduces several changes to the pipeline configuration files to enable and configure CodeQL scanning based on certain conditions. The main updates include adding parameters and variables to control CodeQL settings and integrating CodeQL tasks into the pipeline jobs.

Key changes include:

Enhancements to pipeline configuration:

  • .pipelines/apiscan-gen-notice.yml: Added a FORCE_CODEQL parameter and associated variables to control CodeQL scanning and its cadence. Updated the extends: section to conditionally enable CodeQL based on the new variables. [1] [2] [3]

Integration of CodeQL tasks:

* Enable CodeQL in the APIScan build

* fix indentation

* fix build name

* Manually add CodeQL

* enable TSA directly in codeql

* update codeql source code directory

* go back to version 0

* switch to variable to configure source code root

* Update .pipelines/apiscan-gen-notice.yml
@TravisEz13
Copy link
Member Author

/azp run PowerShell-CI-macos, PowerShell-CI-Linux, PowerShell-CI-Windows, PowerShell-CI-static-analysis, PSResourceGet ACR, PowerShell-Windows-Packaging-CI

@azure-pipelines
Copy link

Azure Pipelines could not run because the pipeline triggers exclude this branch/path.

@TravisEz13 TravisEz13 merged commit 79e4cba into release/v7.4 Jan 16, 2025
8 checks passed
@TravisEz13 TravisEz13 deleted the backport-24303 branch January 16, 2025 23:06
@microsoft-github-policy-service
Copy link
Contributor

microsoft-github-policy-service bot commented Jan 16, 2025

📣 Hey @TravisEz13, how did we do? We would love to hear your feedback with the link below! 🗣️

🔗 https://aka.ms/PSRepoFeedback

@jshigetomi jshigetomi added BackPort-7.4.x-Done CL-BuildPackaging Indicates that a PR should be marked as a build or packaging change in the Change Log labels Jan 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

BackPort-7.4.x-Done CL-BuildPackaging Indicates that a PR should be marked as a build or packaging change in the Change Log

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

X Tutup