Renaming a Code Repository — Impact on Aqua Supply Chain Security Integrations
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
Git remotes — Developers update local
originURLs.Scanner tokens — If scoped to repository names, update Administration → Scanner Groups to include the new name (least-privilege tokens).
Assurance policies — Re-scope policies that referenced the old repository name.
Retention — Global inactive-repository retention may delete stale entries over time.
Recommended Sequence
Add the new repository name to scanner groups and assurance policies before rename.
Rename the repository in Azure DevOps project settings.
Update
azure-pipelines.ymland related IaC to the new name.Run a validation pipeline; confirm findings appear under the new Aqua repository entry.
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
Did you find it helpful? Yes No
Send feedback