tartan rule
For tartan 0.9.36
tartannetworks.com/docs/cli/rule.mdtartan rule add
add an inbound firewall rule (every rendered rule names a CA); a Tech's change alerts the org's Admins
tartan rule add --org <string> --ports <string> --proto <string>
Role: tech · Writes: yes · Steps up: always · Dry run: --dry-run · Batch: may share one passkey prompt
Person acts: passkey prompt: the person approves this exact write with their passkey, after the CLI shows it in words; it can share one passkey prompt with other writes (tartan batch run)
| Flag | Type | Required | What |
|---|---|---|---|
--org |
string | yes | org handle or id |
--ports |
string | yes | any | profiles | n | lo-hi |
--proto |
string | yes | any | tcp | udp | icmp |
--id |
string | no | the rule's id (made up if absent) |
--from_groups |
list | no | from devices with all of these tags (default: every device of the CA) |
--to_zone |
string | no | to devices in this zone |
--to_groups |
list | no | to devices with these tags |
--to_kinds |
list | no | to devices of these kinds: endpoint | mobile | lighthouse | fedlighthouse | relay | gateway |
tartan rule list
the org's rules
tartan rule list --org <string>
Role: viewer · Writes: no · Steps up: never
| Flag | Type | Required | What |
|---|---|---|---|
--org |
string | yes | org handle or id |
tartan rule remove
remove a rule; a Tech's change alerts the org's Admins
tartan rule remove --org <string> --id <string>
Role: tech · Writes: yes · Steps up: always · Dry run: --dry-run · Batch: may share one passkey prompt
Person acts: passkey prompt: the person approves this exact write with their passkey, after the CLI shows it in words; it can share one passkey prompt with other writes (tartan batch run)
| Flag | Type | Required | What |
|---|---|---|---|
--org |
string | yes | org handle or id |
--id |
string | yes | the rule's id, as rule list shows it |