Checks whether 0.0.0.0/0 is added to the IP whitelist of each Container Registry instance. If not, the evaluation result is Compliant.

Scenarios

If 0.0.0.0/0 is added to the IP whitelist of a Container Registry instance, the instance allows access from all CIDR blocks. This may expose the instance to high security risks. Proceed with caution.

Risk level

Default risk level: high.

When you configure this rule, you can change the risk level based on your business requirements.

Compliance evaluation logic

  • If 0.0.0.0/0 is not added to the IP whitelist of each Container Registry instance, the evaluation result is Compliant.
  • If 0.0.0.0/0 is added to the IP whitelist of a Container Registry instance, the evaluation result is Incompliant. For more information about how to remediate an incompliant configuration, see Incompliance remediation.

Rule details

ItemDescription
Rule namecr-instance-any-ip-access-check
Rule identifiercr-instance-any-ip-access-check
TagCR and Repository
Automatic remediationNot supported
Trigger typePeriodic execution
Evaluation frequencyInterval of 24 hours
Supported resource typeContainer Registry instances
Input parameterNone

Incompliance remediation

Remove 0.0.0.0/0 from the IP whitelist of a Container Registry instance. For more information, see Configure a repository to be immutable.