API: one-to-one
GET /api/one-to-one#
List One To One Rules
Permission policy.read (look)
Response 200 OneToOneRead[]
Show 22 fields
| Field | Type | Notes |
|---|---|---|
config_key * | string | |
created_at * | string (date-time) | |
deployments * | DeploymentResult[] | |
description * | string | |
destination_net * | string | |
destination_not * | boolean | |
effective_host_ids | string (uuid)[] | |
enabled * | boolean | |
external * | string | |
id * | string (uuid) | |
interface * | string | |
log * | boolean | |
natreflection * | "" | "enable" | "disable" | |
policy_hierarchy_group_id | string (uuid) | null | |
source_net * | string | |
source_not * | boolean | |
target_group_ids | string (uuid)[] | |
target_host_ids * | string (uuid)[] | |
type * | "binat" | "nat" | |
updated_at * | string (date-time) | |
workflow_counts * | map<string, integer> | |
workflow_state * | "attention" | "pending" | "cleanup" | "unassigned" | "disabled" | "draft" | "synced" |
POST /api/one-to-one#
Create One To One Rule
Permission policy.write (prepare)
Request body OneToOneCreate
Show 14 fields
| Field | Type | Notes |
|---|---|---|
description * | string | minLength 1, maxLength 255 |
destination_net | string | default: "any" · minLength 1, maxLength 128 |
destination_not | boolean | default: false |
enabled | boolean | default: true |
external * | string | minLength 1, maxLength 128 |
interface * | string | minLength 1, maxLength 64 |
log | boolean | default: false |
natreflection | "" | "enable" | "disable" | default: "" |
policy_hierarchy_group_id | string (uuid) | null | |
source_net | string | default: "any" · minLength 1, maxLength 128 |
source_not | boolean | default: false |
target_group_ids | string (uuid)[] | |
target_host_ids | string (uuid)[] | |
type | "binat" | "nat" | default: "binat" |
Response 201 OneToOneRead
Show 22 fields
| Field | Type | Notes |
|---|---|---|
config_key * | string | |
created_at * | string (date-time) | |
deployments * | DeploymentResult[] | |
description * | string | |
destination_net * | string | |
destination_not * | boolean | |
effective_host_ids | string (uuid)[] | |
enabled * | boolean | |
external * | string | |
id * | string (uuid) | |
interface * | string | |
log * | boolean | |
natreflection * | "" | "enable" | "disable" | |
policy_hierarchy_group_id | string (uuid) | null | |
source_net * | string | |
source_not * | boolean | |
target_group_ids | string (uuid)[] | |
target_host_ids * | string (uuid)[] | |
type * | "binat" | "nat" | |
updated_at * | string (date-time) | |
workflow_counts * | map<string, integer> | |
workflow_state * | "attention" | "pending" | "cleanup" | "unassigned" | "disabled" | "draft" | "synced" |
PUT /api/one-to-one/{rule_id}#
Edit One To One Rule
Permission policy.write (prepare)
Parameters
rule_id * | path | string (uuid) |
Request body OneToOneEdit
Show 15 fields
| Field | Type | Notes |
|---|---|---|
description * | string | minLength 1, maxLength 255 |
destination_net | string | default: "any" · minLength 1, maxLength 128 |
destination_not | boolean | default: false |
enabled | boolean | default: true |
expected_updated_at * | string (date-time) | |
external * | string | minLength 1, maxLength 128 |
interface * | string | minLength 1, maxLength 64 |
log | boolean | default: false |
natreflection | "" | "enable" | "disable" | default: "" |
policy_hierarchy_group_id | string (uuid) | null | |
source_net | string | default: "any" · minLength 1, maxLength 128 |
source_not | boolean | default: false |
target_group_ids | string (uuid)[] | |
target_host_ids | string (uuid)[] | |
type | "binat" | "nat" | default: "binat" |
Response 200 OneToOneRead
Show 22 fields
| Field | Type | Notes |
|---|---|---|
config_key * | string | |
created_at * | string (date-time) | |
deployments * | DeploymentResult[] | |
description * | string | |
destination_net * | string | |
destination_not * | boolean | |
effective_host_ids | string (uuid)[] | |
enabled * | boolean | |
external * | string | |
id * | string (uuid) | |
interface * | string | |
log * | boolean | |
natreflection * | "" | "enable" | "disable" | |
policy_hierarchy_group_id | string (uuid) | null | |
source_net * | string | |
source_not * | boolean | |
target_group_ids | string (uuid)[] | |
target_host_ids * | string (uuid)[] | |
type * | "binat" | "nat" | |
updated_at * | string (date-time) | |
workflow_counts * | map<string, integer> | |
workflow_state * | "attention" | "pending" | "cleanup" | "unassigned" | "disabled" | "draft" | "synced" |
DELETE /api/one-to-one/{rule_id}#
Delete One To One Rule
Permission policy.deploy (roll out)
Parameters
rule_id * | path | string (uuid) |
Response 204
POST /api/one-to-one/{rule_id}/confirm#
Confirm
Permission policy.write (prepare)
Parameters
rule_id * | path | string (uuid) |
Response 200 OneToOneRead
Show 22 fields
| Field | Type | Notes |
|---|---|---|
config_key * | string | |
created_at * | string (date-time) | |
deployments * | DeploymentResult[] | |
description * | string | |
destination_net * | string | |
destination_not * | boolean | |
effective_host_ids | string (uuid)[] | |
enabled * | boolean | |
external * | string | |
id * | string (uuid) | |
interface * | string | |
log * | boolean | |
natreflection * | "" | "enable" | "disable" | |
policy_hierarchy_group_id | string (uuid) | null | |
source_net * | string | |
source_not * | boolean | |
target_group_ids | string (uuid)[] | |
target_host_ids * | string (uuid)[] | |
type * | "binat" | "nat" | |
updated_at * | string (date-time) | |
workflow_counts * | map<string, integer> | |
workflow_state * | "attention" | "pending" | "cleanup" | "unassigned" | "disabled" | "draft" | "synced" |
POST /api/one-to-one/{rule_id}/deploy#
Deploy
Permission policy.deploy (roll out)
Parameters
rule_id * | path | string (uuid) |
Request body DeployApproval | null
Response 200 OneToOneRead
Show 22 fields
| Field | Type | Notes |
|---|---|---|
config_key * | string | |
created_at * | string (date-time) | |
deployments * | DeploymentResult[] | |
description * | string | |
destination_net * | string | |
destination_not * | boolean | |
effective_host_ids | string (uuid)[] | |
enabled * | boolean | |
external * | string | |
id * | string (uuid) | |
interface * | string | |
log * | boolean | |
natreflection * | "" | "enable" | "disable" | |
policy_hierarchy_group_id | string (uuid) | null | |
source_net * | string | |
source_not * | boolean | |
target_group_ids | string (uuid)[] | |
target_host_ids * | string (uuid)[] | |
type * | "binat" | "nat" | |
updated_at * | string (date-time) | |
workflow_counts * | map<string, integer> | |
workflow_state * | "attention" | "pending" | "cleanup" | "unassigned" | "disabled" | "draft" | "synced" |
POST /api/one-to-one/{rule_id}/deployments/{host_id}/remove#
Remove Previous Target
Permission policy.deploy (roll out)
Parameters
rule_id * | path | string (uuid) | |
host_id * | path | string (uuid) |
Request body DeployApproval
Show 3 fields
| Field | Type | Notes |
|---|---|---|
acknowledge_management_risk | boolean | default: false |
comment | string | null | |
preview_token * | string | minLength 64, maxLength 64 |
Response 204
POST /api/one-to-one/{rule_id}/deployments/{host_id}/retry-rollback#
Retry Rollback
Permission policy.deploy (roll out)
Parameters
rule_id * | path | string (uuid) | |
host_id * | path | string (uuid) |
Request body DeployApproval
Show 3 fields
| Field | Type | Notes |
|---|---|---|
acknowledge_management_risk | boolean | default: false |
comment | string | null | |
preview_token * | string | minLength 64, maxLength 64 |
Response 204
GET /api/one-to-one/{rule_id}/management-check#
One To One Management Check
Read-only hint next to the preview (R12): would this 1:1 mapping take the management traffic away from the firewall? Reads the firewalls, writes nothing.
Permission policy.read (look)
Parameters
rule_id * | path | string (uuid) |
Response 200
GET /api/one-to-one/{rule_id}/preview#
Preview Rule
Permission policy.read (look)
Parameters
rule_id * | path | string (uuid) |
Response 200
GET /api/one-to-one/{rule_id}/revisions#
List Revisions
Permission policy.read (look)
Parameters
rule_id * | path | string (uuid) |
Response 200
POST /api/one-to-one/adopt#
Adopt
Permission policy.write (prepare)
Request body AdoptObjectRequest
Show 4 fields
| Field | Type | Notes |
|---|---|---|
host_id * | string (uuid) | |
interface_role | string | null | |
link_to | string (uuid) | null | |
uuid * | string | minLength 1, maxLength 64 |
Response 201 OneToOneRead
Show 22 fields
| Field | Type | Notes |
|---|---|---|
config_key * | string | |
created_at * | string (date-time) | |
deployments * | DeploymentResult[] | |
description * | string | |
destination_net * | string | |
destination_not * | boolean | |
effective_host_ids | string (uuid)[] | |
enabled * | boolean | |
external * | string | |
id * | string (uuid) | |
interface * | string | |
log * | boolean | |
natreflection * | "" | "enable" | "disable" | |
policy_hierarchy_group_id | string (uuid) | null | |
source_net * | string | |
source_not * | boolean | |
target_group_ids | string (uuid)[] | |
target_host_ids * | string (uuid)[] | |
type * | "binat" | "nat" | |
updated_at * | string (date-time) | |
workflow_counts * | map<string, integer> | |
workflow_state * | "attention" | "pending" | "cleanup" | "unassigned" | "disabled" | "draft" | "synced" |
POST /api/one-to-one/adopt-all#
Adopt All
Permission policy.write (prepare)
Request body AdoptAllRequest
Show 2 fields
| Field | Type | Notes |
|---|---|---|
host_id * | string (uuid) | |
link_existing | boolean | default: false |
Response 200 AdoptAllResult
Show 2 fields
| Field | Type | Notes |
|---|---|---|
adopted * | AdoptedObject[] | |
skipped * | SkippedObject[] |
GET /api/one-to-one/hosts/{host_id}/live#
Live Rules
Permission policy.read (look)
Parameters
host_id * | path | string (uuid) |
Response 200
GET /api/one-to-one/unmanaged#
List Unmanaged
Permission policy.read (look)
Parameters
host_id * | query | string (uuid) |
Response 200 UnmanagedObject[]
Show 14 fields
| Field | Type | Notes |
|---|---|---|
adoptable * | boolean | |
bulk_action | string | null | |
bulk_adoptable * | boolean | |
enabled * | boolean | |
info | map<string, string> | |
interface_roles | string[] | |
kept | string[] | |
linkable | boolean | default: false |
matches | LinkTarget[] | |
reason_details | map<string, string> | |
reasons * | string[] | |
similar | LinkTarget[] | |
title * | string | |
uuid * | string |