IP whitelist
You can enable an IP whitelist in Alibaba Cloud DevOps Packages to restrict which IP addresses can push and pull artifacts. The whitelist applies to all artifact repositories in your organization.
Enable and configure IP whitelist
Organization administrators can go to the Alibaba Cloud DevOps Packages page and choose Global Settings > IP Whitelist to enable and configure the IP whitelist.
Turn on the IP Whitelist switch and select a Scope: All (including accessing the Packages page, pushing/pulling artifacts, etc.) or Push and pull artifacts only. In the Accessible IP text box, enter the allowed IP addresses. Separate multiple IP addresses with commas. Use 0.0.0.0/0 to allow all IP addresses, or 127.0.0.1 to block all IP addresses. IP address ranges in CIDR notation, such as 10.10.10.0/24, are also supported. After you complete the configuration, click Save.
-
The IP whitelist applies to all artifact repositories in your organization. Ensure that you enter the correct IP addresses. Otherwise, you cannot push or pull artifacts.
-
If you use Flow for builds and deployments, you must add the IP addresses of the Alibaba Cloud DevOps public build cluster to the whitelist. For more information, see build cluster.
View IP whitelist
After the IP whitelist is enabled, the repository guide page of each artifact repository displays the allowed IP addresses.
A notification at the top of the page states, "Only the following IP addresses are allowed to push and pull artifacts. Access from all other IP addresses will be blocked." The allowed IP addresses are also shown. Click Go to Modify to open the IP whitelist settings page.