API: port-forward
GET /api/port-forward#
List Port Forward Rules
Berechtigung policy.read (ansehen)
Antwort 200 PortForwardRead[]
23 Felder anzeigen
| Feld | Typ | Hinweise |
|---|---|---|
config_key * | string | |
created_at * | string (date-time) | |
deployments * | DeploymentResult[] | |
description * | string | |
destination_net * | string | |
destination_port * | string | null | |
effective_host_ids | string (uuid)[] | |
enabled * | boolean | |
id * | string (uuid) | |
interface * | string | |
ipprotocol * | string | |
local_port * | string | null | |
natreflection * | string | |
policy_hierarchy_group_id | string (uuid) | null | |
protocol * | string | |
source_net * | string | |
source_port * | string | null | |
target * | string | |
target_group_ids | string (uuid)[] | |
target_host_ids * | string (uuid)[] | |
updated_at * | string (date-time) | |
workflow_counts * | map<string, integer> | |
workflow_state * | "attention" | "pending" | "cleanup" | "unassigned" | "disabled" | "draft" | "synced" |
POST /api/port-forward#
Create Port Forward Rule
Berechtigung policy.write (vorbereiten)
Anfrage-Body PortForwardCreate
15 Felder anzeigen
| Feld | Typ | Hinweise |
|---|---|---|
description * | string | minLength 1, maxLength 255 |
destination_net | string | default: "any" · minLength 1, maxLength 128 |
destination_port | string | null | |
enabled | boolean | default: true |
interface * | string | minLength 1, maxLength 64 |
ipprotocol | "inet" | "inet6" | default: "inet" |
local_port | string | null | |
natreflection | "" | "purenat" | "disable" | default: "" |
policy_hierarchy_group_id | string (uuid) | null | |
protocol | string | default: "tcp" · minLength 1, maxLength 16 |
source_net | string | default: "any" · minLength 1, maxLength 128 |
source_port | string | null | |
target * | string | minLength 1, maxLength 128 |
target_group_ids | string (uuid)[] | |
target_host_ids | string (uuid)[] |
Antwort 201 PortForwardRead
23 Felder anzeigen
| Feld | Typ | Hinweise |
|---|---|---|
config_key * | string | |
created_at * | string (date-time) | |
deployments * | DeploymentResult[] | |
description * | string | |
destination_net * | string | |
destination_port * | string | null | |
effective_host_ids | string (uuid)[] | |
enabled * | boolean | |
id * | string (uuid) | |
interface * | string | |
ipprotocol * | string | |
local_port * | string | null | |
natreflection * | string | |
policy_hierarchy_group_id | string (uuid) | null | |
protocol * | string | |
source_net * | string | |
source_port * | string | null | |
target * | string | |
target_group_ids | string (uuid)[] | |
target_host_ids * | string (uuid)[] | |
updated_at * | string (date-time) | |
workflow_counts * | map<string, integer> | |
workflow_state * | "attention" | "pending" | "cleanup" | "unassigned" | "disabled" | "draft" | "synced" |
PUT /api/port-forward/{rule_id}#
Edit Port Forward Rule
Berechtigung policy.write (vorbereiten)
Parameter
rule_id * | path | string (uuid) |
Anfrage-Body PortForwardEdit
16 Felder anzeigen
| Feld | Typ | Hinweise |
|---|---|---|
description * | string | minLength 1, maxLength 255 |
destination_net | string | default: "any" · minLength 1, maxLength 128 |
destination_port | string | null | |
enabled | boolean | default: true |
expected_updated_at * | string (date-time) | |
interface * | string | minLength 1, maxLength 64 |
ipprotocol | "inet" | "inet6" | default: "inet" |
local_port | string | null | |
natreflection | "" | "purenat" | "disable" | default: "" |
policy_hierarchy_group_id | string (uuid) | null | |
protocol | string | default: "tcp" · minLength 1, maxLength 16 |
source_net | string | default: "any" · minLength 1, maxLength 128 |
source_port | string | null | |
target * | string | minLength 1, maxLength 128 |
target_group_ids | string (uuid)[] | |
target_host_ids | string (uuid)[] |
Antwort 200 PortForwardRead
23 Felder anzeigen
| Feld | Typ | Hinweise |
|---|---|---|
config_key * | string | |
created_at * | string (date-time) | |
deployments * | DeploymentResult[] | |
description * | string | |
destination_net * | string | |
destination_port * | string | null | |
effective_host_ids | string (uuid)[] | |
enabled * | boolean | |
id * | string (uuid) | |
interface * | string | |
ipprotocol * | string | |
local_port * | string | null | |
natreflection * | string | |
policy_hierarchy_group_id | string (uuid) | null | |
protocol * | string | |
source_net * | string | |
source_port * | string | null | |
target * | string | |
target_group_ids | string (uuid)[] | |
target_host_ids * | string (uuid)[] | |
updated_at * | string (date-time) | |
workflow_counts * | map<string, integer> | |
workflow_state * | "attention" | "pending" | "cleanup" | "unassigned" | "disabled" | "draft" | "synced" |
DELETE /api/port-forward/{rule_id}#
Delete Port Forward Rule
Berechtigung policy.deploy (ausrollen)
Parameter
rule_id * | path | string (uuid) |
Antwort 204
POST /api/port-forward/{rule_id}/confirm#
Confirm
Berechtigung policy.write (vorbereiten)
Parameter
rule_id * | path | string (uuid) |
Antwort 200 PortForwardRead
23 Felder anzeigen
| Feld | Typ | Hinweise |
|---|---|---|
config_key * | string | |
created_at * | string (date-time) | |
deployments * | DeploymentResult[] | |
description * | string | |
destination_net * | string | |
destination_port * | string | null | |
effective_host_ids | string (uuid)[] | |
enabled * | boolean | |
id * | string (uuid) | |
interface * | string | |
ipprotocol * | string | |
local_port * | string | null | |
natreflection * | string | |
policy_hierarchy_group_id | string (uuid) | null | |
protocol * | string | |
source_net * | string | |
source_port * | string | null | |
target * | string | |
target_group_ids | string (uuid)[] | |
target_host_ids * | string (uuid)[] | |
updated_at * | string (date-time) | |
workflow_counts * | map<string, integer> | |
workflow_state * | "attention" | "pending" | "cleanup" | "unassigned" | "disabled" | "draft" | "synced" |
POST /api/port-forward/{rule_id}/deploy#
Deploy
Berechtigung policy.deploy (ausrollen)
Parameter
rule_id * | path | string (uuid) |
Anfrage-Body DeployApproval | null
Antwort 200 PortForwardRead
23 Felder anzeigen
| Feld | Typ | Hinweise |
|---|---|---|
config_key * | string | |
created_at * | string (date-time) | |
deployments * | DeploymentResult[] | |
description * | string | |
destination_net * | string | |
destination_port * | string | null | |
effective_host_ids | string (uuid)[] | |
enabled * | boolean | |
id * | string (uuid) | |
interface * | string | |
ipprotocol * | string | |
local_port * | string | null | |
natreflection * | string | |
policy_hierarchy_group_id | string (uuid) | null | |
protocol * | string | |
source_net * | string | |
source_port * | string | null | |
target * | string | |
target_group_ids | string (uuid)[] | |
target_host_ids * | string (uuid)[] | |
updated_at * | string (date-time) | |
workflow_counts * | map<string, integer> | |
workflow_state * | "attention" | "pending" | "cleanup" | "unassigned" | "disabled" | "draft" | "synced" |
POST /api/port-forward/{rule_id}/deployments/{host_id}/remove#
Remove Previous Target
Berechtigung policy.deploy (ausrollen)
Parameter
rule_id * | path | string (uuid) | |
host_id * | path | string (uuid) |
Anfrage-Body DeployApproval
3 Felder anzeigen
| Feld | Typ | Hinweise |
|---|---|---|
acknowledge_management_risk | boolean | default: false |
comment | string | null | |
preview_token * | string | minLength 64, maxLength 64 |
Antwort 204
POST /api/port-forward/{rule_id}/deployments/{host_id}/retry-rollback#
Retry Rollback
Berechtigung policy.deploy (ausrollen)
Parameter
rule_id * | path | string (uuid) | |
host_id * | path | string (uuid) |
Anfrage-Body DeployApproval
3 Felder anzeigen
| Feld | Typ | Hinweise |
|---|---|---|
acknowledge_management_risk | boolean | default: false |
comment | string | null | |
preview_token * | string | minLength 64, maxLength 64 |
Antwort 204
GET /api/port-forward/{rule_id}/management-check#
Port Forward Management Check
Read-only hint next to the preview (R12): would this port forward take the management traffic (OPNexus or a management source to the firewall) away from the firewall? Reads the firewalls, writes nothing.
Berechtigung policy.read (ansehen)
Parameter
rule_id * | path | string (uuid) |
Antwort 200
GET /api/port-forward/{rule_id}/preview#
Preview Rule
Berechtigung policy.read (ansehen)
Parameter
rule_id * | path | string (uuid) |
Antwort 200
GET /api/port-forward/{rule_id}/revisions#
List Revisions
Berechtigung policy.read (ansehen)
Parameter
rule_id * | path | string (uuid) |
Antwort 200
POST /api/port-forward/adopt#
Adopt
Berechtigung policy.write (vorbereiten)
Anfrage-Body AdoptObjectRequest
4 Felder anzeigen
| Feld | Typ | Hinweise |
|---|---|---|
host_id * | string (uuid) | |
interface_role | string | null | |
link_to | string (uuid) | null | |
uuid * | string | minLength 1, maxLength 64 |
Antwort 201 PortForwardRead
23 Felder anzeigen
| Feld | Typ | Hinweise |
|---|---|---|
config_key * | string | |
created_at * | string (date-time) | |
deployments * | DeploymentResult[] | |
description * | string | |
destination_net * | string | |
destination_port * | string | null | |
effective_host_ids | string (uuid)[] | |
enabled * | boolean | |
id * | string (uuid) | |
interface * | string | |
ipprotocol * | string | |
local_port * | string | null | |
natreflection * | string | |
policy_hierarchy_group_id | string (uuid) | null | |
protocol * | string | |
source_net * | string | |
source_port * | string | null | |
target * | string | |
target_group_ids | string (uuid)[] | |
target_host_ids * | string (uuid)[] | |
updated_at * | string (date-time) | |
workflow_counts * | map<string, integer> | |
workflow_state * | "attention" | "pending" | "cleanup" | "unassigned" | "disabled" | "draft" | "synced" |
POST /api/port-forward/adopt-all#
Adopt All
Berechtigung policy.write (vorbereiten)
Anfrage-Body AdoptAllRequest
2 Felder anzeigen
| Feld | Typ | Hinweise |
|---|---|---|
host_id * | string (uuid) | |
link_existing | boolean | default: false |
Antwort 200 AdoptAllResult
2 Felder anzeigen
| Feld | Typ | Hinweise |
|---|---|---|
adopted * | AdoptedObject[] | |
skipped * | SkippedObject[] |
GET /api/port-forward/hosts/{host_id}/live#
Live Rules
Berechtigung policy.read (ansehen)
Parameter
host_id * | path | string (uuid) |
Antwort 200
GET /api/port-forward/unmanaged#
List Unmanaged
Berechtigung policy.read (ansehen)
Parameter
host_id * | query | string (uuid) |
Antwort 200 UnmanagedObject[]
14 Felder anzeigen
| Feld | Typ | Hinweise |
|---|---|---|
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 |