avr firewall
Manage the egress firewall rule list for orgs and repositories.
avr firewall [OPTIONS] COMMAND [ARGS]...Subcommands
Section titled “Subcommands”avr firewall add
Section titled “avr firewall add”Add a rule.
avr firewall add [OPTIONS]Add a rule. Exactly one of --cidr, --fqdn, --any must be specified.
Options
--org, -o<TEXT>— Organization ID or slug. Uses default org if not specified.--repo, -R<TEXT>— Repository ID or owner/repo. If provided, adds at repo scope.--action<CHOICE>(choices:allow,deny· required)--cidr<TEXT>— Destination CIDR (e.g. 10.0.0.0/8 or 1.2.3.4/32).--fqdn<TEXT>— Destination hostname (e.g. api.example.com).--any— Set the catch-all default, preserving its ID if it already exists.--proto<CHOICE>(choices:tcp,udp,icmp,any· default:any)--ports<TEXT>— Port or port range (0-65535), or all.--position<INTEGER>— Insert at a specific 0-indexed position.
avr firewall delete
Section titled “avr firewall delete”Delete a rule by ID.
avr firewall delete [OPTIONS] RULE_IDArguments
RULE_ID
Options
--org, -o<TEXT>— Organization ID or slug. Uses default org if not specified.--repo, -R<TEXT>— Repository ID or owner/repo. If provided, deletes a repo-level rule.
avr firewall edit
Section titled “avr firewall edit”Edit specified fields of an existing firewall rule.
avr firewall edit [OPTIONS] RULE_IDEdit only the supplied fields, preserving rule identity and order. Switching hostname/CIDR clears the other matcher. Any or ICMP clears ports. Use --ports all to remove a port restriction; numeric ports require a TCP/UDP rule.
Arguments
RULE_ID
Options
--action<CHOICE>(choices:allow,deny)--proto<CHOICE>(choices:tcp,udp,icmp,any)--cidr<TEXT>— Destination IPv4 address or CIDR; replaces the hostname.--fqdn<TEXT>— Destination hostname; replaces the CIDR.--org, -o<TEXT>— Organization ID or slug; defaults to the configured organization.--ports<TEXT>— Port, range, or all to clear the port restriction.--repo, -R<TEXT>— Repository ID or owner/repo. If provided, uses repository scope.
avr firewall export
Section titled “avr firewall export”Export this scope's rules as portable JSON.
avr firewall export [OPTIONS]Export the selected scope in the same versioned JSON format as the console. Inherited rules and storage IDs are excluded. Use --file PATH, or redirect stdout.
Options
--file<TEXT>— Output file, or - for stdout. Existing files are not overwritten. (default:-)--org, -o<TEXT>— Organization ID or slug; defaults to the configured organization.--repo, -R<TEXT>— Repository ID or owner/repo. If provided, uses repository scope.
avr firewall flow-summaries
Section titled “avr firewall flow-summaries”Show per-VM network activity summaries captured at VM stop.
avr firewall flow-summaries [OPTIONS]Each row is the totals + top-N destinations for one VM run. The Blocked
column counts both per-rule packet drops and DNS queries the firewall
refused to resolve. Use --with-drops to triage what the firewall
blocked after editing a rule or --job to include every execution
attempt for a job.
Options
--org, -o<TEXT>— Organization ID or slug. Uses default org if not specified.--repo, -R<TEXT>— Repository ID or owner/repo. (required)--job, --job-id<TEXT>— Filter to every VM execution attempt for a job ID.--with-drops— Show only summaries where the firewall blocked at least one flow.-L, --limit<INTEGER RANGE>— Max summaries to return. (default:20)--offset<INTEGER RANGE>— Number of summaries to skip. (default:0)--from, --start-after<TEXT>— Only include summaries that started at or after this ISO-8601 timestamp.--to, --end-before<TEXT>— Only include summaries that ended at or before this ISO-8601 timestamp.--json— Emit raw JSON instead of a table.
avr firewall import
Section titled “avr firewall import”Append or replace this scope's rules from a portable JSON file.
avr firewall import [OPTIONS]Import a console-compatible JSON policy into one organization or repository. Append skips duplicates and supplied defaults. Replace uses the file's default; without one, repository defaults inherit and organization defaults are retained. Every import is validated before applying. Use --dry-run to review changes. Replace prompts for confirmation; --yes is required with stdin or automation. If the policy changes after preview, the import fails without overwriting it.
Options
--mode<CHOICE>(choices:append,replace· default:append)--dry-run— Validate and summarize changes without applying them.--file<TEXT>— Policy file, or - to read stdin. (required)--org, -o<TEXT>— Organization ID or slug; defaults to the configured organization.--repo, -R<TEXT>— Repository ID or owner/repo. If provided, uses repository scope.--yes, -y— Skip replacement confirmation.
avr firewall list
Section titled “avr firewall list”List egress firewall rules for the given scope.
avr firewall list [OPTIONS]Options
--org, -o<TEXT>— Organization ID or slug. Uses default org if not specified.--repo, -R<TEXT>— Repository ID or owner/repo. If provided, shows the repo-level list.--json— Output rules as JSON instead of a table.
avr firewall move
Section titled “avr firewall move”Move a rule to a new position (rewrites the full ordering atomically).
avr firewall move [OPTIONS] RULE_IDArguments
RULE_ID
Options
--to<INTEGER>— Target 0-indexed position. (required)--org, -o<TEXT>— Organization ID or slug. Uses default org if not specified.--repo, -R<TEXT>— Repository ID or owner/repo. If provided, moves a repo-level rule.
avr firewall set-default
Section titled “avr firewall set-default”Set the default action, or use --inherit with --repo to restore organization inheritance.
avr firewall set-default [OPTIONS]Options
--org, -o<TEXT>— Organization ID or slug. Uses default org if not specified.--repo, -R<TEXT>— Repository ID or owner/repo. If provided, sets the repo-level default.--action<CHOICE>(choices:allow,deny)--inherit— Remove the repository default override.
avr firewall show
Section titled “avr firewall show”Show rules in evaluation order and their source.
avr firewall show [OPTIONS]Show rules in evaluation order with repository/organization ownership. Built-in service exceptions are not listed. Running jobs retain their dispatched policy.
Options
--org, -o<TEXT>— Organization ID or slug. Uses default org if not specified.--repo, -R<TEXT>— Repository ID or owner/repo. (required)--json— Output resolved rules as JSON instead of a table.