Overview

Renaming a repository in Azure DevOps (or similar) changes clone URLs and pipeline references. Aqua Supply Chain Security identifies repositories by name and path, not an immutable external ID from the Git platform. Planning the rename reduces gaps in assurance policies, scanner scope, and historical visibility.


Connection and Authentication

  • The service connection between Azure DevOps and Aqua typically targets the Aqua Console URL. A repository rename does not require a new service connection.

  • Update pipeline YAML so tasks, variables, and image or repository name parameters match the new repository name.

  • Scans must reference the new name or results route to the wrong dashboard entity.


Repository Identity in Aqua

Topic

Behavior after rename

Aqua repository ID

Changes — Aqua treats the new name as a new entity

Historical scan data

Stays under the old repository entry (read-only history)

New scans

Create a new entry under the new name

Data merge

History is not automatically merged across names


The old entry remains visible until removed or purged by retention policy. The old ID stops receiving updates after the last scan on the old name.


Side Effects to Plan For

  1. Git remotes — Developers update local origin URLs.

  2. Scanner tokens — If scoped to repository names, update Administration → Scanner Groups to include the new name (least-privilege tokens).

  3. Assurance policies — Re-scope policies that referenced the old repository name.

  4. Retention — Global inactive-repository retention may delete stale entries over time.

Recommended Sequence

  1. Add the new repository name to scanner groups and assurance policies before rename.

  2. Rename the repository in Azure DevOps project settings.

  3. Update azure-pipelines.yml and related IaC to the new name.

  4. Run a validation pipeline; confirm findings appear under the new Aqua repository entry.

  5. Archive or delete the stale Aqua entry when satisfied with the new stream.

Verification

  • New pipeline run creates a repository record under the new name.

  • Policies in scope apply to the new name.

  • Old entry shows historical findings only up to the rename point.

Platform Coverage

  • Component: Supply Chain Security, CI/CD integrations

  • Platform: Aqua SaaS, Azure DevOps

Related Resources