You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The report step fails if blocked connections are detected, causing the workflow to fail. You can disable this by setting `fail_on_blocked: false`.
294
+
In restrict mode, the report step fails if blocked connections are detected, causing the workflow to fail. You can disable this by setting `fail_on_blocked: false`. In audit mode, blocked connections (e.g., protocol errors) are reported but never cause the step to fail.
292
295
293
296
#### Parameters
294
297
295
298
| Parameter | Required | Default | Description |
296
299
|-----------|----------|---------|-------------|
297
-
| `fail_on_blocked` | No | `true` | Fail the step if blocked connections are detected |
300
+
| `fail_on_blocked` | No | `true` | Fail the step if blocked connections are detected (restrict mode only; ignored in audit mode) |
298
301
299
302
---
300
303
@@ -368,7 +371,7 @@ The only known bypass is **domain fronting** — a technique where an attacker s
368
371
369
372
- **Does this work with private package registries?**
370
373
371
-
Yes. Just add your private registry's domain to `allowed_https_domains`.
374
+
Yes. Just add your private registry's domain to `allowed_https_rules` (e.g., `registry.example.com:443`).
372
375
373
376
- **What happens if I forget to add a required domain?**
374
377
@@ -380,7 +383,7 @@ The only known bypass is **domain fronting** — a technique where an attacker s
380
383
381
384
- **Can I allow access to an IP address (e.g., `http://192.168.1.1`)?**
382
385
383
-
No. Currently, only domain-based URLs are supported in the allowlist. Direct IP address access is blocked. If there is demand for this feature, it may be considered in a future release.
386
+
Yes. Add the IP address with a port to `allowed_ip_rules` (e.g., `192.168.1.1:443`). Only IPv4 addresses are supported; CIDR notation is not supported.
384
387
385
388
- **Does this protect against malicious code execution?**
386
389
@@ -424,6 +427,7 @@ See [LICENSE](./LICENSE) file for more details.
424
427
425
428
buildcage is built on top of:
426
429
- [BuildKit](https://github.com/moby/buildkit) - Modern build toolkit
427
-
- [nginx](https://nginx.org/) - HTTP proxy
428
-
- [dnsmasq](https://thekelleys.org.uk/dnsmasq/doc.html) - DNS server
0 commit comments