-
Notifications
You must be signed in to change notification settings - Fork 249
Add missing stage in 1ES pipeline, label release jobs correctly #3233
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR adds missing functionality to the 1ES pipeline to address S360 compliance concerns. It includes the previously missing 'Remove Linux Packages' stage and properly labels release jobs according to pipeline requirements.
- Added missing
remove_packages
parameter andRemovePackagesFromLinuxRepository
stage - Updated job configuration to properly identify release jobs with
templateContext
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
displayName: 'Remove deb packages from the repository' | ||
- script: | | ||
pkg_id_list=$(pmc --msal-cert-path $(pmcCertificate.secureFilePath) --config $(settings.secureFilePath) package rpm list --name azcopy --version ${{parameters.remove_packages}}) |
Copilot
AI
Sep 25, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The parameter remove_packages
is being used directly in shell commands without proper validation or escaping. This could lead to command injection if the parameter contains malicious input. Consider validating the parameter format or using proper shell escaping.
Copilot uses AI. Check for mistakes.
Please run the release pipeline stage and validate |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm - have we tested this in the release pipeline?
…into wendi/fix-1es-pipeline pull.
7460463
to
e8858ab
Compare
…re-storage-azcopy into wendi/fix-1es-pipeline pull
Description
Feature / Bug Fix: (Brief description of the feature or issue being addressed)
Related Links:
Type of Change
How Has This Been Tested?
Thank you for your contribution to AzCopy!