An Azure service that provides a general-purpose, serverless container platform.
The documented controls differ between Container Apps Jobs and Container Apps Sandboxes.
1. Container Apps Jobs
For a workload-profile Container Apps environment, the supported outbound-control mechanism is a user-defined route on the environment’s infrastructure subnet, normally routing traffic through Azure Firewall or another network virtual appliance. This operates at the environment/subnet boundary—not as a separate platform-egress versus per-job-egress boundary.
The firewall must allow the documented platform dependencies, such as Microsoft Artifact Registry/AKS endpoints and, where applicable, ACR and managed-identity endpoints. Therefore, I am not aware of a documented Container Apps Jobs API that permits required platform traffic to bypass policy while independently restricting one job to only its private broker within the same environment.
For this requirement, isolate the untrusted job in its own workload-profile environment and subnet, route outbound traffic through Azure Firewall, and allow only the documented platform dependencies plus the private broker. Validate the design using firewall, DNS and broker-side logs.
2. Sandbox egress and DNS
Sandboxes provide a per-sandbox egress-policy engine. The policy can be supplied in the create request. With default_action = Deny and Full inspection:
- Rules are evaluated in order and the first matching rule wins.
- The default action applies if no rule matches.
- A denied request is blocked before leaving the sandbox.
- Non-HTTP traffic is blocked in Full inspection mode.
However, the public documentation does not define a resolver-ordering contract or guarantee that no upstream DNS lookup occurs before a hostname is denied. It also does not guarantee that customer VNet DNS observes every lookup or fallback path. Consequently, those stronger DNS assertions should not be treated as supported guarantees without written confirmation from Azure support or the product group.
3. Private ACR image import
The runtime sandbox egress policy does not, by itself, document the networking path used by the disk-image import service. I could not find a published guarantee that an importer can reach an ACR with public networking disabled and trusted-service bypass set to None, nor that a pull-only import identity is unavailable inside the running sandbox. This should be validated with the specific Sandbox region/API version and confirmed through Azure support before relying on it as a security boundary.
4. Digest and attestation
The published egress-policy documentation does not provide an attestation binding a disk ID to an OCI manifest/config digest and converted root filesystem. Even if the image-creation API accepts a digest reference, that alone is not equivalent to a documented, verifiable content-attestation chain through snapshots and updates.
In short: the documented enforceable options are environment-level UDR/firewall controls for Container Apps Jobs and per-sandbox HTTP egress policies for Sandboxes. The DNS-ordering, private-import and image-attestation guarantees requested here are not established by the cited public documentation, so they require a support case/product-level confirmation.
References: