Skip to content

Conversation

wonwuakpa-msft
Copy link
Member

@wonwuakpa-msft wonwuakpa-msft commented Sep 25, 2025

Description

  • No logic changes.
    • Added a the missing 'Remove Linux Packages' step in the pipeline.
    • Addresses S360 concern to label ReleaseToGithub stage as a release
    • Replaced DownloadPipelineArtifact@2 with 1ES.DownloadPipelineArtifact@1 to fix issue below
image
  • Feature / Bug Fix: (Brief description of the feature or issue being addressed)

  • Related Links:

Type of Change

  • Bug fix
  • New feature
  • Documentation update required
  • Code quality improvement
  • Other (describe):

How Has This Been Tested?

Thank you for your contribution to AzCopy!

Copy link
Contributor

@Copilot Copilot AI left a 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 and RemovePackagesFromLinuxRepository 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}})
Copy link

Copilot AI Sep 25, 2025

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.

@dphulkar-msft
Copy link
Member

Please run the release pipeline stage and validate

Copy link
Member

@gapra-msft gapra-msft left a 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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants