API groups¶
Generated from Forward's API description. See the guide for conventions.
Aliases¶
forward_sdk._sync.services._generated.aliases.AliasesService ¶
Bases: Service
Aliases.
create_alias ¶
create_alias(
*, snapshot_id: str, name: str, body: Any
) -> models.Alias
Create an Alias.
body is a AliasBuilder.
deactivate_alias ¶
deactivate_alias(
*, snapshot_id: str, name: str
) -> models.Alias
Delete an Alias.
deactivate_aliases ¶
deactivate_aliases(
*, snapshot_id: str, name: Sequence[str] | None = None
) -> models.Aliases
Delete Aliases.
get_single_alias ¶
get_single_alias(
*, snapshot_id: str, name: str
) -> models.AliasAndValue
Get an Alias.
Checks¶
forward_sdk._sync.services._generated.checks.ChecksService ¶
Bases: Service
Checks.
add_check ¶
add_check(
*,
snapshot_id: str,
body: Any,
persistent: bool | None = None,
) -> models.NetworkCheckResult
Add a check.
body is a NewNetworkCheck (a model, or its .to_api() dict).
add_check_service_now_incident ¶
add_check_service_now_incident(
*, snapshot_id: str, check_id: str, body: Any
) -> models.ServiceNowIncidentLink
Raise a ServiceNow incident for a failing check.
Unpublished: not part of Forward's documented API.
body is a NewServiceNowIncident (a model, or its .to_api() dict).
add_check_service_now_incidents ¶
add_check_service_now_incidents(
*, snapshot_id: str, body: Any
) -> list[models.ServiceNowIncidentLink]
Raise ServiceNow incidents for several failing checks.
Unpublished: not part of Forward's documented API.
get_available_predefined_checks ¶
get_available_predefined_checks() -> list[
models.AvailablePredefinedCheck
]
Get available Predefined checks.
get_check ¶
get_check(
*, snapshot_id: str, check_id: str
) -> models.NetworkCheckResultWithDiagnosis
Get a check (with status).
get_check_category_report ¶
get_check_category_report(
*, snapshot_id: str, type: str, dir: str | None = None
) -> Iterator[bytes]
Download one category of a snapshot's checks as an Excel workbook.
Unpublished: not part of Forward's documented API.
type takes NQE, PREDEFINED, INTENT or ADVANCED.
get_check_service_now_incident_update_history ¶
get_check_service_now_incident_update_history(
*, snapshot_id: str, check_id: str, incident: str
) -> list[models.ServiceNowIncidentUpdate]
When Forward updated a linked incident's work notes.
Unpublished: not part of Forward's documented API.
get_checks ¶
get_checks(
*,
snapshot_id: str,
type: Sequence[str] | None = None,
priority: Sequence[str] | None = None,
status: Sequence[str] | None = None,
) -> list[models.NetworkCheckResult]
Get checks (with status).
get_checks_report ¶
get_checks_report(*, snapshot_id: str) -> Iterator[bytes]
Download all of a snapshot's checks as an Excel workbook.
Unpublished: not part of Forward's documented API.
link_check_service_now_incident ¶
link_check_service_now_incident(
*, snapshot_id: str, check_id: str, incident: str
) -> models.ServiceNowIncidentLink
Link an existing ServiceNow incident to a check.
Unpublished: not part of Forward's documented API.
list_check_service_now_incidents ¶
list_check_service_now_incidents(
*, snapshot_id: str, type: Sequence[str]
) -> list[models.ServiceNowIncidentLink]
ServiceNow incidents linked to a snapshot's active checks.
Unpublished: not part of Forward's documented API.
refresh_check_service_now_incidents ¶
refresh_check_service_now_incidents(
*, snapshot_id: str
) -> Any
Refresh the state of a snapshot's linked ServiceNow incidents.
Unpublished: not part of Forward's documented API.
unlink_check_service_now_incident ¶
unlink_check_service_now_incident(
*, snapshot_id: str, check_id: str, incident: str
) -> Any
Unlink a ServiceNow incident from a check.
Unpublished: not part of Forward's documented API.
update_check ¶
update_check(
*, snapshot_id: str, check_id: str, body: Any
) -> models.NetworkCheckResult
Edit a check in place, keeping its id.
Unpublished: not part of Forward's documented API.
body is a CheckUpdate (a model, or its .to_api() dict).
Classic Devices¶
forward_sdk._sync.services._generated.classic_devices.ClassicDevicesService ¶
Bases: Service
Classic Devices.
add_classic_device ¶
add_classic_device(
*, body: Any, network_id: str | None = None
) -> models.ClassicDevice
Add a new classic device.
Uses the client's network when network_id is omitted.
body is a NewClassicDevice (a model, or its .to_api() dict).
add_classic_devices ¶
add_classic_devices(
*, body: Any, network_id: str | None = None
) -> Any
Add new classic devices.
Uses the client's network when network_id is omitted.
body is a list of NewClassicDevice (each a model, or its .to_api() dict).
delete_all_classic_devices ¶
delete_all_classic_devices(
*, network_id: str | None = None
) -> Any
Delete all of a network's classic devices.
Uses the client's network when network_id is omitted.
delete_classic_device ¶
delete_classic_device(
*, device_name: str, network_id: str | None = None
) -> Any
Delete a classic device.
Uses the client's network when network_id is omitted.
delete_classic_devices ¶
delete_classic_devices(
*, body: Any, network_id: str | None = None
) -> Any
Delete specific classic devices.
Uses the client's network when network_id is omitted.
body is a DeviceCriteria (a model, or its .to_api() dict).
get_classic_device ¶
get_classic_device(
*,
device_name: str,
network_id: str | None = None,
with_: Sequence[str] | None = None,
) -> models.ClassicDevice
Get a classic device.
Uses the client's network when network_id is omitted.
get_classic_devices ¶
get_classic_devices(
*,
network_id: str | None = None,
with_: Sequence[str] | None = None,
) -> models.ClassicDevices
Get all classic devices.
Uses the client's network when network_id is omitted.
get_classic_devices_tags_and_conn_type ¶
get_classic_devices_tags_and_conn_type(
*, body: Any, network_id: str | None = None
) -> models.VariantsDevicesTagsAndType
Devices of the given connection types, with their tags.
Unpublished: not part of Forward's documented API.
Uses the client's network when network_id is omitted.
body is a list of ClassicDeviceType.
get_specific_classic_devices ¶
get_specific_classic_devices(
*,
body: Any,
network_id: str | None = None,
with_: Sequence[str] | None = None,
) -> models.ClassicDevices
Get specific classic devices.
Uses the client's network when network_id is omitted.
body is a DeviceNames (a model, or its .to_api() dict).
list_device_conn_types ¶
list_device_conn_types(*, for_: str | None = None) -> Any
List device connection types.
Unpublished: not part of Forward's documented API.
patch_classic_device ¶
patch_classic_device(
*,
device_name: str,
body: Any,
network_id: str | None = None,
) -> models.ClassicDevice
Update a classic device.
Uses the client's network when network_id is omitted.
body is a ClassicDevicePatch (a model, or its .to_api() dict).
patch_classic_devices ¶
patch_classic_devices(
*, body: Any, network_id: str | None = None
) -> Any
Update specific classic devices.
Uses the client's network when network_id is omitted.
body is a ClassicDevicesPatch (a model, or its .to_api() dict).
put_classic_device ¶
put_classic_device(
*,
device_name: str,
body: Any,
network_id: str | None = None,
) -> models.ClassicDevice
Add or update a classic device.
Uses the client's network when network_id is omitted.
body is a NewClassicDevice (a model, or its .to_api() dict).
put_classic_devices ¶
put_classic_devices(
*, body: Any, network_id: str | None = None
) -> Any
Add or update classic devices.
Uses the client's network when network_id is omitted.
body is a list of NewClassicDevice (each a model, or its .to_api() dict).
resolve_classic_device_globs ¶
resolve_classic_device_globs(
*,
body: Any,
network_id: str | None = None,
complete: int | None = None,
) -> models.VariantsResolveGlobsResponse
Resolve device globs against classic devices.
Unpublished: not part of Forward's documented API.
Uses the client's network when network_id is omitted.
body is a VariantsResolveGlobsRequest (a model, or its .to_api() dict).
Collection Schedules¶
forward_sdk._sync.services._generated.collection_schedules.CollectionSchedulesService ¶
Bases: Service
Collection Schedules.
add_collection_schedule ¶
add_collection_schedule(
*, body: Any, network_id: str | None = None
) -> models.CollectionSchedule
Add a network collection schedule.
Uses the client's network when network_id is omitted.
body is a CollectionScheduleDefinition (a model, or its .to_api() dict).
delete_collection_schedule ¶
delete_collection_schedule(
*, schedule_id: str, network_id: str | None = None
) -> Any
Delete a network collection schedule.
Uses the client's network when network_id is omitted.
get_collection_schedule ¶
get_collection_schedule(
*, schedule_id: str, network_id: str | None = None
) -> models.CollectionSchedule
Get a network collection schedule.
Uses the client's network when network_id is omitted.
get_collection_schedules ¶
get_collection_schedules(
*, network_id: str | None = None
) -> models.CollectionSchedules
Get a network's collection schedules.
Uses the client's network when network_id is omitted.
replace_collection_schedule ¶
replace_collection_schedule(
*,
schedule_id: str,
body: Any,
network_id: str | None = None,
) -> Any
Replace a network collection schedule.
Uses the client's network when network_id is omitted.
body is a CollectionSchedule (a model, or its .to_api() dict).
Collector Tasks¶
forward_sdk._sync.services._generated.collector_tasks.CollectorTasksService ¶
Bases: Service
Collector Tasks.
add_collector_task ¶
add_collector_task(
*, network_id: str, type: str = "NETWORK_COLLECTION"
) -> models.StartCollectionResponse
Add a collector task.
get_collector_task ¶
get_collector_task(*, task_id: str) -> models.CollectorTask
Get a collector task.
get_collector_task_subtasks_at ¶
get_collector_task_subtasks_at(
*, task_id: str, at: str
) -> list[models.Disp2CollectorSubTask]
List a task's subtasks that were in progress at an instant.
Unpublished: not part of Forward's documented API.
get_collector_task_with_subtasks ¶
get_collector_task_with_subtasks(
*, task_id: str, max: int | None = None
) -> models.Disp2CollectorTaskWithSubTasks
Get a collector task with its subtasks for the UI.
Unpublished: not part of Forward's documented API.
get_collector_tasks ¶
get_collector_tasks(
*,
status: Sequence[str] | None = None,
limit: int | None = None,
) -> Any
Get collector tasks.
stop_collector_task ¶
stop_collector_task(
*, task_id: str, action: str, note: str | None = None
) -> Any
Stop a collector task.
action takes CANCEL or SKIP.
Credentials¶
forward_sdk._sync.services._generated.credentials.CredentialsService ¶
Bases: Service
Credentials.
May be unavailable on your instance (admin); see docs/gating.md.
create_cli_credential ¶
create_cli_credential(
*, body: Any, network_id: str | None = None
) -> models.CliCredential
Create a CLI credential.
Uses the client's network when network_id is omitted.
May be unavailable (admin); see docs/gating.md.
body is a NewCliCredential (a model, or its .to_api() dict).
create_cli_credentials ¶
create_cli_credentials(
*, body: Any, network_id: str | None = None
) -> list[models.StoredCliCredential]
Create CLI credentials.
Uses the client's network when network_id is omitted.
May be unavailable (admin); see docs/gating.md.
body is a list of NewCliCredential (each a model, or its .to_api() dict).
create_http_credential ¶
create_http_credential(
*, body: Any, network_id: str | None = None
) -> models.HttpCredential
Create an HTTP credential.
Uses the client's network when network_id is omitted.
May be unavailable (admin); see docs/gating.md.
body is a NewHttpCredential (a model, or its .to_api() dict).
create_http_credentials ¶
create_http_credentials(
*, body: Any, network_id: str | None = None
) -> list[models.StoredHttpCredential]
Create HTTP credentials.
Uses the client's network when network_id is omitted.
May be unavailable (admin); see docs/gating.md.
body is a list of NewHttpCredential (each a model, or its .to_api() dict).
create_org_http_credential ¶
create_org_http_credential(
*, body: Any
) -> models.StoredHttpCredential
Create an organization HTTP credential.
Unpublished: not part of Forward's documented API.
May be unavailable (admin); see docs/gating.md.
body is a NewHttpCredential (a model, or its .to_api() dict).
delete_cli_credential ¶
delete_cli_credential(
*, credential_id: str, network_id: str | None = None
) -> Any
Delete a CLI credential.
Uses the client's network when network_id is omitted.
May be unavailable (admin); see docs/gating.md.
delete_http_credential ¶
delete_http_credential(
*, credential_id: str, network_id: str | None = None
) -> Any
Delete an HTTP credential.
Uses the client's network when network_id is omitted.
May be unavailable (admin); see docs/gating.md.
delete_org_http_credential ¶
delete_org_http_credential(*, credential_id: str) -> Any
Delete an organization HTTP credential.
Unpublished: not part of Forward's documented API. May be unavailable (admin); see docs/gating.md.
get_cli_credential ¶
get_cli_credential(
*, credential_id: str, network_id: str | None = None
) -> models.StoredCliCredential
Get a CLI credential.
Uses the client's network when network_id is omitted.
May be unavailable (admin); see docs/gating.md.
get_cli_credentials ¶
get_cli_credentials(
*, network_id: str | None = None
) -> list[models.StoredCliCredential]
Get all CLI credentials.
Uses the client's network when network_id is omitted.
May be unavailable (admin); see docs/gating.md.
get_http_credential ¶
get_http_credential(
*, credential_id: str, network_id: str | None = None
) -> models.StoredHttpCredential
Get an HTTP credential.
Uses the client's network when network_id is omitted.
May be unavailable (admin); see docs/gating.md.
get_http_credentials ¶
get_http_credentials(
*, network_id: str | None = None
) -> list[models.StoredHttpCredential]
Get all HTTP credentials.
Uses the client's network when network_id is omitted.
May be unavailable (admin); see docs/gating.md.
get_org_http_credential ¶
get_org_http_credential(
*, credential_id: str
) -> models.StoredHttpCredential
Get an organization HTTP credential.
Unpublished: not part of Forward's documented API. May be unavailable (admin); see docs/gating.md.
list_org_http_credentials ¶
list_org_http_credentials() -> list[
models.StoredHttpCredential
]
List the organization's HTTP credentials.
Unpublished: not part of Forward's documented API. May be unavailable (admin); see docs/gating.md.
patch_cli_credential ¶
patch_cli_credential(
*,
credential_id: str,
body: Any,
network_id: str | None = None,
) -> models.StoredCliCredential
Update a CLI credential.
Uses the client's network when network_id is omitted.
May be unavailable (admin); see docs/gating.md.
body is a CliCredentialUpdate (a model, or its .to_api() dict).
patch_http_credential ¶
patch_http_credential(
*,
credential_id: str,
body: Any,
network_id: str | None = None,
) -> Any
Update an HTTP credential.
Uses the client's network when network_id is omitted.
May be unavailable (admin); see docs/gating.md.
body is a HttpCredentialUpdate (a model, or its .to_api() dict).
update_org_http_credential ¶
update_org_http_credential(
*, credential_id: str, body: Any
) -> models.StoredHttpCredential
Update an organization HTTP credential.
Unpublished: not part of Forward's documented API.
May be unavailable (admin); see docs/gating.md.
body is a HttpCredentialUpdate (a model, or its .to_api() dict).
Data Connectors¶
forward_sdk._sync.services._generated.data_connectors.DataConnectorsService ¶
Bases: Service
Data Connectors.
May be unavailable on your instance (admin); see docs/gating.md.
add_data_connector ¶
add_data_connector(
*, body: Any, network_id: str | None = None
) -> models.DataConnector
Add a data connector.
Uses the client's network when network_id is omitted.
May be unavailable (admin); see docs/gating.md.
body is a NewHttpDataConnector (a model, or its .to_api() dict).
delete_data_connector ¶
delete_data_connector(
*, name: str, network_id: str | None = None
) -> Any
Delete a data connector.
Uses the client's network when network_id is omitted.
May be unavailable (admin); see docs/gating.md.
get_data_connector ¶
get_data_connector(
*,
name: str,
network_id: str | None = None,
with_: Sequence[str] | None = None,
) -> models.DataConnector
Get a data connector.
Uses the client's network when network_id is omitted.
May be unavailable (admin); see docs/gating.md.
get_data_connectors ¶
get_data_connectors(
*,
network_id: str | None = None,
with_: Sequence[str] | None = None,
) -> models.DataConnectors
Get a network's data connectors.
Uses the client's network when network_id is omitted.
May be unavailable (admin); see docs/gating.md.
test_data_connector ¶
test_data_connector(
*, name: str, network_id: str | None = None
) -> models.DataConnectorTestResult
Test a data connector.
Uses the client's network when network_id is omitted.
May be unavailable (admin); see docs/gating.md.
update_data_connector ¶
update_data_connector(
*, name: str, body: Any, network_id: str | None = None
) -> models.DataConnector
Update a data connector.
Uses the client's network when network_id is omitted.
May be unavailable (admin); see docs/gating.md.
body is a HttpDataConnectorPatch (a model, or its .to_api() dict).
Encryptors¶
forward_sdk._sync.services._generated.encryptors.EncryptorsService ¶
Bases: Service
Encryptors.
backdate_encryptors ¶
backdate_encryptors(
*,
network_id: str | None = None,
snapshot_id: str | None = None,
) -> Any
Apply recent encryptor changes to an existing snapshot.
Unpublished: not part of Forward's documented API.
Uses the client's network when network_id is omitted.
Uses the network's latest processed snapshot when snapshot_id is omitted.
delete_encryptor ¶
delete_encryptor(
*, device_name: str, network_id: str | None = None
) -> Any
Remove an encryptor.
Uses the client's network when network_id is omitted.
get_encryptor ¶
get_encryptor(
*, device_name: str, network_id: str | None = None
) -> models.Encryptor
Get an encryptor.
Uses the client's network when network_id is omitted.
get_encryptors ¶
get_encryptors(
*, network_id: str | None = None
) -> models.EncryptorList
Get a network's encryptors.
Uses the client's network when network_id is omitted.
patch_encryptor ¶
patch_encryptor(
*,
device_name: str,
body: Any,
network_id: str | None = None,
) -> models.Encryptor
Update an encryptor.
Uses the client's network when network_id is omitted.
body is a EncryptorPatch (a model, or its .to_api() dict).
put_encryptor ¶
put_encryptor(
*,
device_name: str,
body: Any,
network_id: str | None = None,
) -> Any
Add or replace an encryptor.
Uses the client's network when network_id is omitted.
body is a Encryptor (a model, or its .to_api() dict).
put_encryptors ¶
put_encryptors(
*, body: Any, network_id: str | None = None
) -> Any
Replace all of a network's encryptors.
Uses the client's network when network_id is omitted.
body is a EncryptorList (a model, or its .to_api() dict).
Endpoint Profiles¶
forward_sdk._sync.services._generated.endpoint_profiles.EndpointProfilesService ¶
Bases: Service
Endpoint Profiles.
May be unavailable on your instance (admin); see docs/gating.md.
assess_cli_commands ¶
assess_cli_commands(
*, body: Any
) -> models.SysCliCommandAssessment
Say which CLI commands the approved list allows.
Unpublished: not part of Forward's documented API. May be unavailable (admin); see docs/gating.md.
create_cli_endpoint_profile ¶
create_cli_endpoint_profile(*, body: Any) -> Any
Add a CLI endpoint profile.
May be unavailable (admin); see docs/gating.md.
body is a CliEndpointProfileDef (a model, or its .to_api() dict).
create_http_endpoint_profile ¶
create_http_endpoint_profile(*, body: Any) -> Any
Add an HTTP endpoint profile.
May be unavailable (admin); see docs/gating.md.
body is a HttpEndpointProfileDef (a model, or its .to_api() dict).
create_snmp_endpoint_profile ¶
create_snmp_endpoint_profile(*, body: Any) -> Any
Add an SNMP endpoint profile.
May be unavailable (admin); see docs/gating.md.
body is a SnmpEndpointProfileDef (a model, or its .to_api() dict).
delete_endpoint_profile ¶
delete_endpoint_profile(*, profile_id: str) -> Any
Delete an endpoint profile.
May be unavailable (admin); see docs/gating.md.
get_approved_cli_commands ¶
get_approved_cli_commands() -> (
models.SysApprovedCliCommands
)
The CLI commands endpoint profiles may run.
Unpublished: not part of Forward's documented API. May be unavailable (admin); see docs/gating.md.
get_endpoint_profile ¶
get_endpoint_profile(*, profile_id: str) -> Any
Get an endpoint profile.
May be unavailable (admin); see docs/gating.md.
get_endpoint_profiles ¶
get_endpoint_profiles() -> models.EndpointProfiles
Get all endpoint profiles.
May be unavailable (admin); see docs/gating.md.
update_approved_cli_commands ¶
update_approved_cli_commands(
*, body: Any
) -> models.SysApprovedCliCommands
Replace the approved CLI commands with a Forward-signed file.
Unpublished: not part of Forward's documented API. May be unavailable (admin); see docs/gating.md.
update_cli_endpoint_profile ¶
update_cli_endpoint_profile(
*, profile_id: str, body: Any
) -> Any
Update a CLI endpoint profile.
May be unavailable (admin); see docs/gating.md.
body is a CliEndpointProfilePatch (a model, or its .to_api() dict).
update_http_endpoint_profile ¶
update_http_endpoint_profile(
*, profile_id: str, body: Any
) -> Any
Update an HTTP endpoint profile.
May be unavailable (admin); see docs/gating.md.
body is a HttpEndpointProfilePatch (a model, or its .to_api() dict).
update_snmp_endpoint_profile ¶
update_snmp_endpoint_profile(
*, profile_id: str, body: Any
) -> Any
Update an SNMP endpoint profile.
May be unavailable (admin); see docs/gating.md.
body is a SnmpEndpointProfilePatch (a model, or its .to_api() dict).
Internet Node¶
forward_sdk._sync.services._generated.internet_node.InternetNodeService ¶
Bases: Service
Internet Node.
add_internet_node_connection ¶
add_internet_node_connection(
*, body: Any, network_id: str | None = None
) -> Any
Add a connection to the internet node.
Uses the client's network when network_id is omitted.
body is a L3SyntheticWanConnection (a model, or its .to_api() dict).
backdate_internet_node ¶
backdate_internet_node(
*,
network_id: str | None = None,
snapshot_id: str | None = None,
) -> Any
Apply recent internet node changes to an existing snapshot.
Unpublished: not part of Forward's documented API.
Uses the client's network when network_id is omitted.
Uses the network's latest processed snapshot when snapshot_id is omitted.
compute_internet_node_connections ¶
compute_internet_node_connections(
*, query_id: str, network_id: str | None = None
) -> models.L3DynamicConnectionsComputeResult
Preview the connections an NQE query would produce.
Unpublished: not part of Forward's documented API.
Uses the client's network when network_id is omitted.
delete_internet_node_connections ¶
delete_internet_node_connections(
*,
network_id: str | None = None,
uplink_device: str | None = None,
uplink_port: str | None = None,
gateway_device: str | None = None,
gateway_port: str | None = None,
vlan: str | None = None,
) -> models.L3SyntheticWanConnections
Remove internet node connections.
Uses the client's network when network_id is omitted.
get_internet_connection_suggestions ¶
get_internet_connection_suggestions(
*, network_id: str | None = None
) -> models.InternetConnectionSuggestions
Interfaces that look like internet uplinks in the latest processed snapshot.
Unpublished: not part of Forward's documented API.
Uses the client's network when network_id is omitted.
get_internet_node ¶
get_internet_node(
*, network_id: str | None = None
) -> models.InternetNode
Get the network's internet node.
Uses the client's network when network_id is omitted.
get_internet_node_connections ¶
get_internet_node_connections(
*,
network_id: str | None = None,
uplink_device: str | None = None,
uplink_port: str | None = None,
gateway_device: str | None = None,
gateway_port: str | None = None,
vlan: str | None = None,
) -> models.L3SyntheticWanConnections
Get the internet node's connections.
Uses the client's network when network_id is omitted.
put_internet_node ¶
put_internet_node(
*, body: Any, network_id: str | None = None
) -> Any
Replace the network's internet node.
Uses the client's network when network_id is omitted.
body is a InternetNode (a model, or its .to_api() dict).
update_internet_node ¶
update_internet_node(
*, body: Any, network_id: str | None = None
) -> models.InternetNode
Update the network's internet node.
Uses the client's network when network_id is omitted.
body is a InternetNodePatch (a model, or its .to_api() dict).
Intranet Nodes¶
forward_sdk._sync.services._generated.intranet_nodes.IntranetNodesService ¶
Bases: Service
Intranet Nodes.
add_intranet_node_connection ¶
add_intranet_node_connection(
*,
node_name: str,
body: Any,
network_id: str | None = None,
) -> Any
Add a connection to an intranet node.
Uses the client's network when network_id is omitted.
body is a L3SyntheticWanConnection (a model, or its .to_api() dict).
backdate_intranet_nodes ¶
backdate_intranet_nodes(
*,
network_id: str | None = None,
snapshot_id: str | None = None,
) -> Any
Apply recent intranet node changes to an existing snapshot.
Unpublished: not part of Forward's documented API.
Uses the client's network when network_id is omitted.
Uses the network's latest processed snapshot when snapshot_id is omitted.
compute_intranet_node_connections ¶
compute_intranet_node_connections(
*, query_id: str, network_id: str | None = None
) -> models.L3DynamicConnectionsComputeResult
Preview the connections an NQE query would produce.
Unpublished: not part of Forward's documented API.
Uses the client's network when network_id is omitted.
delete_intranet_node ¶
delete_intranet_node(
*, node_name: str, network_id: str | None = None
) -> Any
Remove an intranet node.
Uses the client's network when network_id is omitted.
delete_intranet_node_connections ¶
delete_intranet_node_connections(
*,
node_name: str,
network_id: str | None = None,
uplink_device: str | None = None,
uplink_port: str | None = None,
gateway_device: str | None = None,
gateway_port: str | None = None,
vlan: str | None = None,
) -> models.L3SyntheticWanConnections
Remove an intranet node's connections.
Uses the client's network when network_id is omitted.
get_intranet_node ¶
get_intranet_node(
*, node_name: str, network_id: str | None = None
) -> models.IntranetNode
Get an intranet node.
Uses the client's network when network_id is omitted.
get_intranet_node_connections ¶
get_intranet_node_connections(
*,
node_name: str,
network_id: str | None = None,
uplink_device: str | None = None,
uplink_port: str | None = None,
gateway_device: str | None = None,
gateway_port: str | None = None,
vlan: str | None = None,
) -> models.L3SyntheticWanConnections
Get an intranet node's connections.
Uses the client's network when network_id is omitted.
get_intranet_nodes ¶
get_intranet_nodes(
*, network_id: str | None = None
) -> models.IntranetNodeList
Get a network's intranet nodes.
Uses the client's network when network_id is omitted.
patch_intranet_node ¶
patch_intranet_node(
*,
node_name: str,
body: Any,
network_id: str | None = None,
) -> models.IntranetNode
Update an intranet node.
Uses the client's network when network_id is omitted.
body is a IntranetNodePatch (a model, or its .to_api() dict).
put_intranet_node ¶
put_intranet_node(
*,
node_name: str,
body: Any,
network_id: str | None = None,
) -> Any
Add or replace an intranet node.
Uses the client's network when network_id is omitted.
body is a IntranetNode (a model, or its .to_api() dict).
put_intranet_nodes ¶
put_intranet_nodes(
*, body: Any, network_id: str | None = None
) -> Any
Replace all of a network's intranet nodes.
Uses the client's network when network_id is omitted.
body is a IntranetNodeList (a model, or its .to_api() dict).
Jump Servers¶
forward_sdk._sync.services._generated.jump_servers.JumpServersService ¶
Bases: Service
Jump Servers.
May be unavailable on your instance (admin); see docs/gating.md.
create_jump_server ¶
create_jump_server(
*, body: Any, network_id: str | None = None
) -> models.JumpServer
Create a jump server.
Uses the client's network when network_id is omitted.
May be unavailable (admin); see docs/gating.md.
body is a NewJumpServer (a model, or its .to_api() dict).
delete_jump_server ¶
delete_jump_server(
*, jump_server_id: str, network_id: str | None = None
) -> Any
Delete a jump server.
Uses the client's network when network_id is omitted.
May be unavailable (admin); see docs/gating.md.
edit_jump_server ¶
edit_jump_server(
*,
jump_server_id: str,
body: Any,
network_id: str | None = None,
) -> Any
Update a jump server.
Uses the client's network when network_id is omitted.
May be unavailable (admin); see docs/gating.md.
body is a JumpServerUpdate (a model, or its .to_api() dict).
get_jump_servers ¶
get_jump_servers(
*, network_id: str | None = None
) -> list[models.StoredJumpServer]
Get all jump servers.
Uses the client's network when network_id is omitted.
May be unavailable (admin); see docs/gating.md.
L2VPNs¶
forward_sdk._sync.services._generated.l2vpns.L2vpnsService ¶
Bases: Service
L2VPNs.
add_l2_vpn_connection ¶
add_l2_vpn_connection(
*,
l2_vpn_name: str,
body: Any,
network_id: str | None = None,
) -> Any
Add a connection to an L2VPN.
Uses the client's network when network_id is omitted.
body is a L2VpnConnection (a model, or its .to_api() dict).
add_l2_vpns ¶
add_l2_vpns(
*, body: Any, network_id: str | None = None
) -> Any
Add several L2VPNs at once.
Unpublished: not part of Forward's documented API.
Uses the client's network when network_id is omitted.
body is a list of L2Vpn (each a model, or its .to_api() dict).
backdate_l2_vpns ¶
backdate_l2_vpns(
*,
network_id: str | None = None,
snapshot_id: str | None = None,
) -> Any
Apply recent L2VPN changes to an existing snapshot.
Unpublished: not part of Forward's documented API.
Uses the client's network when network_id is omitted.
Uses the network's latest processed snapshot when snapshot_id is omitted.
compute_l2_vpn_connections ¶
compute_l2_vpn_connections(
*, query_id: str, network_id: str | None = None
) -> models.L2VpnDynamicConnectionsComputeResult
Preview the connections an NQE query would produce.
Unpublished: not part of Forward's documented API.
Uses the client's network when network_id is omitted.
delete_l2_vpn ¶
delete_l2_vpn(
*, l2_vpn_name: str, network_id: str | None = None
) -> Any
Remove an L2VPN.
Uses the client's network when network_id is omitted.
delete_l2_vpn_connections ¶
delete_l2_vpn_connections(
*,
l2_vpn_name: str,
network_id: str | None = None,
device: str | None = None,
port: str | None = None,
vlan: str | None = None,
) -> models.L2VpnConnections
Remove an L2VPN's connections.
Uses the client's network when network_id is omitted.
get_l2_vpn ¶
get_l2_vpn(
*, l2_vpn_name: str, network_id: str | None = None
) -> models.L2Vpn
Get an L2VPN.
Uses the client's network when network_id is omitted.
get_l2_vpn_connections ¶
get_l2_vpn_connections(
*,
l2_vpn_name: str,
network_id: str | None = None,
device: str | None = None,
port: str | None = None,
vlan: str | None = None,
) -> models.L2VpnConnections
Get an L2VPN's connections.
Uses the client's network when network_id is omitted.
get_l2_vpns ¶
get_l2_vpns(
*, network_id: str | None = None
) -> models.L2VpnList
Get a network's L2VPNs.
Uses the client's network when network_id is omitted.
patch_l2_vpn ¶
patch_l2_vpn(
*,
l2_vpn_name: str,
body: Any,
network_id: str | None = None,
) -> models.L2Vpn
Update an L2VPN.
Uses the client's network when network_id is omitted.
body is a L2VpnPatch (a model, or its .to_api() dict).
put_l2_vpn ¶
put_l2_vpn(
*,
l2_vpn_name: str,
body: Any,
network_id: str | None = None,
) -> Any
Add or replace an L2VPN.
Uses the client's network when network_id is omitted.
body is a L2Vpn (a model, or its .to_api() dict).
put_l2_vpns ¶
put_l2_vpns(
*, body: Any, network_id: str | None = None
) -> Any
Replace all of a network's L2VPNs.
Uses the client's network when network_id is omitted.
body is a L2VpnList (a model, or its .to_api() dict).
L3VPNs¶
forward_sdk._sync.services._generated.l3vpns.L3vpnsService ¶
Bases: Service
L3VPNs.
add_l3_vpn_connection ¶
add_l3_vpn_connection(
*,
l3_vpn_name: str,
body: Any,
network_id: str | None = None,
) -> Any
Add a connection to an L3VPN.
Uses the client's network when network_id is omitted.
body is a L3SyntheticWanConnection (a model, or its .to_api() dict).
backdate_l3_vpns ¶
backdate_l3_vpns(
*,
network_id: str | None = None,
snapshot_id: str | None = None,
) -> Any
Apply recent L3VPN changes to an existing snapshot.
Unpublished: not part of Forward's documented API.
Uses the client's network when network_id is omitted.
Uses the network's latest processed snapshot when snapshot_id is omitted.
compute_l3_vpn_connections ¶
compute_l3_vpn_connections(
*, query_id: str, network_id: str | None = None
) -> models.L3DynamicConnectionsComputeResult
Preview the connections an NQE query would produce.
Unpublished: not part of Forward's documented API.
Uses the client's network when network_id is omitted.
delete_l3_vpn ¶
delete_l3_vpn(
*, l3_vpn_name: str, network_id: str | None = None
) -> Any
Remove an L3VPN.
Uses the client's network when network_id is omitted.
delete_l3_vpn_connections ¶
delete_l3_vpn_connections(
*,
l3_vpn_name: str,
network_id: str | None = None,
uplink_device: str | None = None,
uplink_port: str | None = None,
gateway_device: str | None = None,
gateway_port: str | None = None,
vlan: str | None = None,
) -> models.L3SyntheticWanConnections
Remove an L3VPN's connections.
Uses the client's network when network_id is omitted.
get_l3_vpn ¶
get_l3_vpn(
*, l3_vpn_name: str, network_id: str | None = None
) -> models.L3Vpn
Get an L3VPN.
Uses the client's network when network_id is omitted.
get_l3_vpn_connections ¶
get_l3_vpn_connections(
*,
l3_vpn_name: str,
network_id: str | None = None,
uplink_device: str | None = None,
uplink_port: str | None = None,
gateway_device: str | None = None,
gateway_port: str | None = None,
vlan: str | None = None,
) -> models.L3SyntheticWanConnections
Get an L3VPN's connections.
Uses the client's network when network_id is omitted.
get_l3_vpns ¶
get_l3_vpns(
*, network_id: str | None = None
) -> models.L3VpnList
Get a network's L3VPNs.
Uses the client's network when network_id is omitted.
patch_l3_vpn ¶
patch_l3_vpn(
*,
l3_vpn_name: str,
body: Any,
network_id: str | None = None,
) -> models.L3Vpn
Update an L3VPN.
Uses the client's network when network_id is omitted.
body is a L3VpnPatch (a model, or its .to_api() dict).
put_l3_vpn ¶
put_l3_vpn(
*,
l3_vpn_name: str,
body: Any,
network_id: str | None = None,
) -> Any
Add or replace an L3VPN.
Uses the client's network when network_id is omitted.
body is a L3Vpn (a model, or its .to_api() dict).
put_l3_vpns ¶
put_l3_vpns(
*, body: Any, network_id: str | None = None
) -> Any
Replace all of a network's L3VPNs.
Uses the client's network when network_id is omitted.
body is a L3VpnList (a model, or its .to_api() dict).
Legacy Collection¶
forward_sdk._sync.services._generated.legacy_collection.LegacyCollectionService ¶
Bases: Service
Legacy Collection.
cancel_collect ¶
cancel_collect(*, network_id: str | None = None) -> Any
Cancel an in-progress network collection.
Deprecated by Forward.
Uses the client's network when network_id is omitted.
collect ¶
collect(*, network_id: str | None = None) -> Any
Trigger a network collection.
Deprecated by Forward.
Uses the client's network when network_id is omitted.
get_collector_state ¶
get_collector_state(
*, network_id: str | None = None
) -> models.CollectorState
Get the status of a network's collector.
Deprecated by Forward.
Uses the client's network when network_id is omitted.
Network Endpoints¶
forward_sdk._sync.services._generated.network_endpoints.NetworkEndpointsService ¶
Bases: Service
Network Endpoints.
create_cli_network_endpoint ¶
create_cli_network_endpoint(
*, body: Any, network_id: str | None = None
) -> models.CliNetworkEndpoint
Add a CLI network endpoint.
Uses the client's network when network_id is omitted.
body is a NewCliNetworkEndpoint (a model, or its .to_api() dict).
create_cli_network_endpoints ¶
create_cli_network_endpoints(
*, body: Any, network_id: str | None = None
) -> Any
Add CLI network endpoints.
Uses the client's network when network_id is omitted.
body is a list of NewCliNetworkEndpoint (each a model, or its .to_api() dict).
create_http_network_endpoint ¶
create_http_network_endpoint(
*, body: Any, network_id: str | None = None
) -> models.HttpNetworkEndpoint
Add an HTTP network endpoint.
Uses the client's network when network_id is omitted.
body is a NewHttpNetworkEndpoint (a model, or its .to_api() dict).
create_http_network_endpoints ¶
create_http_network_endpoints(
*, body: Any, network_id: str | None = None
) -> Any
Add HTTP network endpoints.
Uses the client's network when network_id is omitted.
body is a list of NewHttpNetworkEndpoint (each a model, or its .to_api()
dict).
create_snmp_network_endpoint ¶
create_snmp_network_endpoint(
*, body: Any, network_id: str | None = None
) -> models.SnmpNetworkEndpoint
Add an SNMP network endpoint.
Uses the client's network when network_id is omitted.
body is a NewSnmpNetworkEndpoint (a model, or its .to_api() dict).
create_snmp_network_endpoints ¶
create_snmp_network_endpoints(
*, body: Any, network_id: str | None = None
) -> Any
Add SNMP network endpoints.
Uses the client's network when network_id is omitted.
body is a list of NewSnmpNetworkEndpoint (each a model, or its .to_api()
dict).
delete_network_endpoint ¶
delete_network_endpoint(
*, endpoint_name: str, network_id: str | None = None
) -> Any
Delete a network endpoint.
Uses the client's network when network_id is omitted.
delete_network_endpoints ¶
delete_network_endpoints(
*, body: Any, network_id: str | None = None
) -> Any
Delete specific network endpoints.
Uses the client's network when network_id is omitted.
body is a DeviceNames (a model, or its .to_api() dict).
get_network_endpoint ¶
get_network_endpoint(
*,
endpoint_name: str,
network_id: str | None = None,
with_: Sequence[str] | None = None,
) -> Any
Get a network endpoint.
Uses the client's network when network_id is omitted.
get_network_endpoints ¶
get_network_endpoints(
*,
network_id: str | None = None,
with_: Sequence[str] | None = None,
) -> models.NetworkEndpoints
Get a network's endpoints.
Uses the client's network when network_id is omitted.
patch_network_endpoints ¶
patch_network_endpoints(
*, body: Any, network_id: str | None = None
) -> Any
Update specific network endpoints.
Uses the client's network when network_id is omitted.
body is a NetworkEndpointsPatchRequest (a model, or its .to_api() dict).
update_cli_network_endpoint ¶
update_cli_network_endpoint(
*,
endpoint_name: str,
body: Any,
network_id: str | None = None,
) -> models.CliNetworkEndpoint
Update a CLI network endpoint.
Uses the client's network when network_id is omitted.
body is a CliNetworkEndpointPatch (a model, or its .to_api() dict).
update_http_network_endpoint ¶
update_http_network_endpoint(
*,
endpoint_name: str,
body: Any,
network_id: str | None = None,
) -> models.HttpNetworkEndpoint
Update an HTTP network endpoint.
Uses the client's network when network_id is omitted.
body is a HttpNetworkEndpointPatch (a model, or its .to_api() dict).
update_snmp_network_endpoint ¶
update_snmp_network_endpoint(
*,
endpoint_name: str,
body: Any,
network_id: str | None = None,
) -> models.SnmpNetworkEndpoint
Update an SNMP network endpoint.
Uses the client's network when network_id is omitted.
body is a SnmpNetworkEndpointPatch (a model, or its .to_api() dict).
Network Locations¶
forward_sdk._sync.services._generated.network_locations.NetworkLocationsService ¶
Bases: Service
Network Locations.
add_device_cluster ¶
add_device_cluster(
*,
location_id: str,
body: Any,
network_id: str | None = None,
) -> Any
Create a device cluster at a location.
Uses the client's network when network_id is omitted.
body is a DeviceCluster (a model, or its .to_api() dict).
add_location ¶
add_location(
*, body: Any, network_id: str | None = None
) -> models.Location
Create a network location.
Uses the client's network when network_id is omitted.
body is a NewLocation (a model, or its .to_api() dict).
delete_device_cluster ¶
delete_device_cluster(
*,
location_id: str,
cluster_name: str,
network_id: str | None = None,
) -> Any
Delete a device cluster.
Uses the client's network when network_id is omitted.
delete_location ¶
delete_location(
*, location_id: str, network_id: str | None = None
) -> Any
Delete a network location.
Uses the client's network when network_id is omitted.
get_atlas ¶
get_atlas(*, network_id: str | None = None) -> Any
Get device locations.
Uses the client's network when network_id is omitted.
get_atlas_by_location ¶
get_atlas_by_location(
*, network_id: str | None = None
) -> models.Disp2DeviceAtlas
Get the device atlas grouped by location.
Unpublished: not part of Forward's documented API.
Uses the client's network when network_id is omitted.
get_device_cluster ¶
get_device_cluster(
*,
location_id: str,
cluster_name: str,
network_id: str | None = None,
) -> models.DeviceCluster
Get a device cluster.
Uses the client's network when network_id is omitted.
get_device_clusters ¶
get_device_clusters(
*, location_id: str, network_id: str | None = None
) -> list[models.DeviceCluster]
Get the device clusters at a location.
Uses the client's network when network_id is omitted.
get_location ¶
get_location(
*, location_id: str, network_id: str | None = None
) -> models.Location
Get a network location.
Uses the client's network when network_id is omitted.
get_locations ¶
get_locations(
*, network_id: str | None = None
) -> list[models.Location]
Get a network's locations.
Uses the client's network when network_id is omitted.
patch_location ¶
patch_location(
*,
location_id: str,
body: Any,
network_id: str | None = None,
) -> models.Location
Update a network location.
Uses the client's network when network_id is omitted.
body is a LocationPatch (a model, or its .to_api() dict).
patch_locations ¶
patch_locations(
*, body: Any, network_id: str | None = None
) -> Any
Create or update network locations.
Uses the client's network when network_id is omitted.
body is a list of LocationBulkPatch (each a model, or its .to_api() dict).
put_device_clusters ¶
put_device_clusters(
*,
location_id: str,
body: Any,
network_id: str | None = None,
) -> Any
Replace all device clusters at a location.
Uses the client's network when network_id is omitted.
body is a list of DeviceCluster (each a model, or its .to_api() dict).
put_locations ¶
put_locations(
*, body: Any, network_id: str | None = None
) -> Any
Create network locations.
Uses the client's network when network_id is omitted.
body is a list of Location (each a model, or its .to_api() dict).
update_atlas ¶
update_atlas(
*, body: Any, network_id: str | None = None
) -> Any
Update device locations.
Uses the client's network when network_id is omitted.
update_device_cluster ¶
update_device_cluster(
*,
location_id: str,
cluster_name: str,
body: Any,
network_id: str | None = None,
) -> Any
Update a device cluster.
Uses the client's network when network_id is omitted.
body is a DeviceClusterUpdate (a model, or its .to_api() dict).
Network Topology¶
forward_sdk._sync.services._generated.network_topology.NetworkTopologyService ¶
Bases: Service
Network Topology.
backdate_link_overrides ¶
backdate_link_overrides(
*,
network_id: str | None = None,
snapshot_id: str | None = None,
) -> Any
Apply recent link override changes.
Uses the client's network when network_id is omitted.
Uses the network's latest processed snapshot when snapshot_id is omitted.
edit_snapshot_link_overrides ¶
edit_snapshot_link_overrides(
*, snapshot_id: str, body: Any
) -> Any
Edit link overrides at a Snapshot.
Deprecated by Forward.
body is a LinkOverridesEdit (a model, or its .to_api() dict).
get_link_overrides ¶
get_link_overrides(
*, network_id: str | None = None
) -> models.LinkOverrides
Get the network's link overrides.
Uses the client's network when network_id is omitted.
get_link_overrides_at_snapshot ¶
get_link_overrides_at_snapshot(
*,
network_id: str | None = None,
snapshot_id: str | None = None,
) -> models.LinkOverrides
Get a Snapshot's link overrides.
Uses the client's network when network_id is omitted.
Uses the network's latest processed snapshot when snapshot_id is omitted.
get_recent_link_override_changes ¶
get_recent_link_override_changes(
*, network_id: str | None = None
) -> models.LinkOverridesEdit
Get recent link override changes.
Uses the client's network when network_id is omitted.
get_snapshot_link_overrides ¶
get_snapshot_link_overrides(
*, snapshot_id: str
) -> models.LinkOverrides
Get link overrides for a Snapshot.
Deprecated by Forward.
get_topology ¶
get_topology(
*, snapshot_id: str
) -> list[models.TopologyLink]
Get the network topology.
patch_link_overrides ¶
patch_link_overrides(
*, body: Any, network_id: str | None = None
) -> Any
Edit the network's link overrides.
Uses the client's network when network_id is omitted.
body is a LinkOverridesEdit (a model, or its .to_api() dict).
put_link_overrides ¶
put_link_overrides(
*, body: Any, network_id: str | None = None
) -> Any
Set the network's link overrides.
Uses the client's network when network_id is omitted.
body is a LinkOverrides (a model, or its .to_api() dict).
replace_snapshot_link_overrides ¶
replace_snapshot_link_overrides(
*, snapshot_id: str, body: Any
) -> Any
Replace link overrides at a Snapshot.
Deprecated by Forward.
body is a LinkOverrides (a model, or its .to_api() dict).
Path Search¶
forward_sdk._sync.services._generated.path_search.PathSearchService ¶
Bases: Service
Path Search.
get_interesting_path_queries ¶
get_interesting_path_queries(
*,
type: str,
network_id: str | None = None,
max_seconds: int | None = None,
snapshot_id: str | None = None,
) -> Any
Interesting paths in a snapshot (synchronous).
Unpublished: not part of Forward's documented API.
Uses the client's network when network_id is omitted.
Uses the network's latest processed snapshot when snapshot_id is omitted.
type takes LOADBALANCER, FIREWALL, IP_MPLS_BLACKHOLE, IP_MPLS_DROP,
L2_STORM, FORWARDING_DOMAIN_BLACKHOLE or NON_STATIC_L3_LOOP.
get_l7_applications ¶
get_l7_applications() -> list[models.L7Application]
List known L7 applications.
get_paths ¶
get_paths(
*,
dst_ip: str,
network_id: str | None = None,
from_: str | None = None,
src_ip: str | None = None,
intent: str | None = None,
ip_proto: int | None = None,
src_port: str | None = None,
dst_port: str | None = None,
icmp_type: int | None = None,
fin: int | None = None,
syn: int | None = None,
rst: int | None = None,
psh: int | None = None,
ack: int | None = None,
urg: int | None = None,
app_id: str | None = None,
user_id: str | None = None,
user_group_id: str | None = None,
url: str | None = None,
domain: str | None = None,
include_tags: bool | None = None,
include_network_functions: bool | None = None,
max_candidates: int | None = None,
max_results: int | None = None,
max_return_path_results: int | None = None,
max_seconds: int | None = None,
snapshot_id: str | None = None,
) -> models.PathSearchResponse
Trace packets through the network.
Uses the client's network when network_id is omitted.
Uses the network's latest processed snapshot when snapshot_id is omitted.
intent takes PREFER_VIOLATIONS, PREFER_DELIVERED or VIOLATIONS_ONLY.
get_paths_bulk ¶
get_paths_bulk(
*,
body: Any,
network_id: str | None = None,
snapshot_id: str | None = None,
) -> list[models.PathSearchResponse]
Trace sets of packets through the network.
Uses the client's network when network_id is omitted.
Uses the network's latest processed snapshot when snapshot_id is omitted.
body is a PathSearchBulkRequest (a model, or its .to_api() dict).
get_paths_bulk_seq ¶
get_paths_bulk_seq(
*,
body: Any,
network_id: str | None = None,
snapshot_id: str | None = None,
) -> Iterator[bytes]
Trace sets of packets through the network (streaming).
Uses the client's network when network_id is omitted.
Uses the network's latest processed snapshot when snapshot_id is omitted.
body is a PathSearchBulkRequest (a model, or its .to_api() dict).
System Administration¶
forward_sdk._sync.services._generated.system_administration.SystemAdministrationService ¶
Bases: Service
System Administration.
May be unavailable on your instance (admin, deployment, license); see docs/gating.md.
add_user_supported_organization ¶
add_user_supported_organization(
*,
user_id: str,
org_id: str,
expires_in: int | None = None,
) -> Any
Grant a support user one more org for a limited time.
Unpublished: not part of Forward's documented API. May be unavailable (license, deployment, admin); see docs/gating.md.
create_organization_user ¶
create_organization_user(
*, org_id: str, body: Any
) -> models.User
Create a user in another org as a support admin.
Unpublished: not part of Forward's documented API.
May be unavailable (license, deployment, admin); see docs/gating.md.
body is a NewUser (a model, or its .to_api() dict).
get_cve_index ¶
get_cve_index() -> Iterator[bytes]
Export the CVE index.
May be unavailable (license, deployment, admin); see docs/gating.md.
get_cve_index_metadata ¶
get_cve_index_metadata() -> models.Disp2CveIndexMetadata
Describe the CVE index the appliance is serving.
Unpublished: not part of Forward's documented API. May be unavailable (license, deployment, admin); see docs/gating.md.
get_fdb_size ¶
get_fdb_size(*, prefix: str) -> Any
Total FDB storage under a key prefix.
Unpublished: not part of Forward's documented API. May be unavailable (license, deployment, admin); see docs/gating.md.
get_fdb_usage ¶
get_fdb_usage(*, prefix: str) -> models.AdmFdbUsage
FDB storage usage under a key prefix.
Unpublished: not part of Forward's documented API. May be unavailable (license, deployment, admin); see docs/gating.md.
get_fwd_app_proxy ¶
get_fwd_app_proxy() -> models.FwdAppProxy
The organization's proxy settings for reaching fwd.app.
Unpublished: not part of Forward's documented API. May be unavailable (license, deployment, admin); see docs/gating.md.
list_admin_networks ¶
list_admin_networks() -> list[models.AdminNetwork]
List networks across orgs.
Unpublished: not part of Forward's documented API. May be unavailable (license, deployment, admin); see docs/gating.md.
list_admin_users ¶
list_admin_users() -> list[models.AdminUserWithOrgId]
List manually created users across orgs.
Unpublished: not part of Forward's documented API. May be unavailable (license, deployment, admin); see docs/gating.md.
look_up_admin_user ¶
look_up_admin_user(
*, id_or_username: str
) -> models.AdminUserWithOrgId
Look up one user by ID or username.
Unpublished: not part of Forward's documented API. May be unavailable (license, deployment, admin); see docs/gating.md.
put_cve_index ¶
put_cve_index(*, body: Any, sha: str | None = None) -> Any
Import a new CVE index.
May be unavailable (license, deployment, admin); see docs/gating.md.
run_fdb_garbage_collection ¶
run_fdb_garbage_collection() -> Iterator[bytes]
Start FDB garbage collection.
Unpublished: not part of Forward's documented API. May be unavailable (license, deployment, admin); see docs/gating.md.
set_user_supported_organizations ¶
set_user_supported_organizations(
*, user_id: str, body: Any
) -> Any
Replace the orgs a support user can enter.
Unpublished: not part of Forward's documented API. May be unavailable (license, deployment, admin); see docs/gating.md.
test_fwd_app_connection ¶
test_fwd_app_connection() -> models.FwdAppConnectionTest
Test an on-premises deployment's connection to fwd.app (Software Central).
Unpublished: not part of Forward's documented API. May be unavailable (license, deployment, admin); see docs/gating.md.
update_cve_index_from_software_central ¶
update_cve_index_from_software_central() -> (
models.CveIndexUpdateResponse
)
Have an on-premises deployment update its CVE index from fwd.app.
Unpublished: not part of Forward's documented API. May be unavailable (license, deployment, admin); see docs/gating.md.
User Accounts¶
forward_sdk._sync.services._generated.user_accounts.UserAccountsService ¶
Bases: Service
User Accounts.
May be unavailable on your instance (admin); see docs/gating.md.
add_user_network_role ¶
add_user_network_role(
*,
user_id: str,
role: str,
network_id: str | None = None,
) -> Any
Add a network role to a user, keeping existing roles.
Unpublished: not part of Forward's documented API.
Uses the client's network when network_id is omitted.
May be unavailable (admin); see docs/gating.md.
change_current_user_password ¶
change_current_user_password(*, body: Any) -> Any
Change the signed-in user's password.
Unpublished: not part of Forward's documented API. May be unavailable (admin); see docs/gating.md.
clear_user_network_roles ¶
clear_user_network_roles(
*, user_id: str, network_id: str | None = None
) -> Any
Remove every role a user holds on a network.
Unpublished: not part of Forward's documented API.
Uses the client's network when network_id is omitted.
May be unavailable (admin); see docs/gating.md.
create_current_user_api_token ¶
create_current_user_api_token(
*, body: Any, name: str
) -> models.UserAccountApiTokenAndSecret
Mint an API token for the signed-in user.
Unpublished: not part of Forward's documented API. May be unavailable (admin); see docs/gating.md.
create_user ¶
create_user(*, body: Any) -> models.User
Create a user account.
May be unavailable (admin); see docs/gating.md.
body is a NewUser (a model, or its .to_api() dict).
delete_current_user_api_token ¶
delete_current_user_api_token(*, token_name: str) -> Any
Delete one of the signed-in user's API tokens.
Unpublished: not part of Forward's documented API. May be unavailable (admin); see docs/gating.md.
delete_user ¶
delete_user(*, user_id: str) -> Any
Delete a user account.
May be unavailable (admin); see docs/gating.md.
delete_user_api_token ¶
delete_user_api_token(
*, user_id: str, token_name: str
) -> Any
Delete another user's API token.
Unpublished: not part of Forward's documented API. May be unavailable (admin); see docs/gating.md.
get_current_user ¶
get_current_user() -> models.CurrentUser
Get the authenticated user.
Unpublished: not part of Forward's documented API. May be unavailable (admin); see docs/gating.md.
get_user ¶
get_user(*, user_id: str) -> models.User
Get a user account.
May be unavailable (admin); see docs/gating.md.
get_user_roles ¶
get_user_roles(
*, user_id: str, type: str | None = None
) -> models.UserAccountRoles
Read a user's org and network roles.
Unpublished: not part of Forward's documented API. May be unavailable (admin); see docs/gating.md.
get_user_two_factor_statuses ¶
get_user_two_factor_statuses() -> Any
Get each user's two-factor authentication status.
Unpublished: not part of Forward's documented API. May be unavailable (admin); see docs/gating.md.
get_users ¶
get_users() -> models.Users
Get all user accounts.
May be unavailable (admin); see docs/gating.md.
grant_org_admin ¶
grant_org_admin(*, user_id: str) -> Any
Grant a user the org ADMIN role.
Unpublished: not part of Forward's documented API. May be unavailable (admin); see docs/gating.md.
list_current_user_api_tokens ¶
list_current_user_api_tokens() -> (
models.UserAccountApiTokenList
)
List the signed-in user's API tokens.
Unpublished: not part of Forward's documented API. May be unavailable (admin); see docs/gating.md.
list_user_api_tokens ¶
list_user_api_tokens(
*, user_id: str
) -> models.UserAccountApiTokenList
List another user's API tokens.
Unpublished: not part of Forward's documented API. May be unavailable (admin); see docs/gating.md.
list_users_with_roles ¶
list_users_with_roles() -> list[
models.Disp2UserAccountWithRoles
]
List the org's user accounts with their roles.
Unpublished: not part of Forward's documented API. May be unavailable (admin); see docs/gating.md.
remove_user_network_role ¶
remove_user_network_role(
*,
user_id: str,
role: str,
network_id: str | None = None,
) -> Any
Remove one network role from a user.
Unpublished: not part of Forward's documented API.
Uses the client's network when network_id is omitted.
May be unavailable (admin); see docs/gating.md.
reset_user_two_factor ¶
reset_user_two_factor(*, user_id: str) -> Any
Clear a user's two-factor setup.
Unpublished: not part of Forward's documented API. May be unavailable (admin); see docs/gating.md.
revoke_org_admin ¶
revoke_org_admin(*, user_id: str) -> Any
Revoke the org ADMIN role from a user.
Unpublished: not part of Forward's documented API. May be unavailable (admin); see docs/gating.md.
set_user_network_role ¶
set_user_network_role(
*,
user_id: str,
role: str,
network_id: str | None = None,
) -> Any
Set a user's one role on a network.
Unpublished: not part of Forward's documented API.
Uses the client's network when network_id is omitted.
May be unavailable (admin); see docs/gating.md.
role takes LIMITED_READ_ONLY, READ_ONLY, OPERATOR, WORKSPACE_OPERATOR
or ADMIN.
set_users_enabled ¶
set_users_enabled(*, body: Any) -> Any
Enable or disable several users at once.
Unpublished: not part of Forward's documented API.
May be unavailable (admin); see docs/gating.md.
body is a UserAccountBulkEdit (a model, or its .to_api() dict).
update_user ¶
update_user(*, user_id: str, body: Any) -> models.User
Update a user account.
May be unavailable (admin); see docs/gating.md.
body is a UserPatch (a model, or its .to_api() dict).
Vulnerability Analysis¶
forward_sdk._sync.services._generated.vulnerability_analysis.VulnerabilityAnalysisService ¶
Bases: Service
Vulnerability Analysis.
May be unavailable on your instance (license); see docs/gating.md.
append_cve_analysis_rule ¶
append_cve_analysis_rule(
*,
cve_id: str,
os: str,
body: Any,
network_id: str | None = None,
) -> Any
Append a CVE analysis rule.
Uses the client's network when network_id is omitted.
May be unavailable (license); see docs/gating.md.
body is a CveAnalysisRule (a model, or its .to_api() dict).
delete_cve_analysis ¶
delete_cve_analysis(
*, cve_id: str, os: str, network_id: str | None = None
) -> Any
Delete a custom CVE analysis.
Uses the client's network when network_id is omitted.
May be unavailable (license); see docs/gating.md.
delete_cve_index ¶
delete_cve_index() -> Any
Revert to the CVE index bundled with this Forward build.
Unpublished: not part of Forward's documented API. May be unavailable (license); see docs/gating.md.
get_cve_analyses ¶
get_cve_analyses(
*, cve_id: str, network_id: str | None = None
) -> models.CveAnalyses
Get custom CVE analyses.
Uses the client's network when network_id is omitted.
May be unavailable (license); see docs/gating.md.
get_cve_analysis ¶
get_cve_analysis(
*, cve_id: str, os: str, network_id: str | None = None
) -> models.CveAnalysis
Get a custom CVE analysis.
Uses the client's network when network_id is omitted.
May be unavailable (license); see docs/gating.md.
get_cve_config_detection_logic ¶
get_cve_config_detection_logic(
*, cve_id: str
) -> models.CveConfigDetectionLogic
How Forward decides whether a configuration is exposed to a CVE.
Unpublished: not part of Forward's documented API. May be unavailable (license); see docs/gating.md.
get_os_vulnerabilities ¶
get_os_vulnerabilities(
*,
network_id: str | None = None,
snapshot_id: str | None = None,
offset: int | None = None,
limit: int | None = None,
) -> models.OsVulnerabilityAnalysis
Get full vulnerability analysis.
Uses the client's network when network_id is omitted.
Uses the network's latest processed snapshot when snapshot_id is omitted.
May be unavailable (license); see docs/gating.md.
get_vulnerabilities ¶
get_vulnerabilities(
*,
network_id: str | None = None,
internet_addressable: bool | None = None,
location: Sequence[str] | None = None,
tag: Sequence[str] | None = None,
snapshot_id: str | None = None,
) -> models.VulnerabilityAnalysis
Get vulnerabilities.
Uses the client's network when network_id is omitted.
Uses the network's latest processed snapshot when snapshot_id is omitted.
May be unavailable (license); see docs/gating.md.
get_vulnerability ¶
get_vulnerability(
*,
cve_id: str,
network_id: str | None = None,
snapshot_id: str | None = None,
) -> models.VulnerabilityWithDevices
Get a vulnerability.
Uses the client's network when network_id is omitted.
Uses the network's latest processed snapshot when snapshot_id is omitted.
May be unavailable (license); see docs/gating.md.
list_device_vulnerabilities ¶
list_device_vulnerabilities(
*,
network_id: str | None = None,
snapshot_id: str | None = None,
severity: str | None = None,
age: str | None = None,
exploit: bool | None = None,
) -> models.VulnDeviceList
Each device with the CVEs that may affect it.
Unpublished: not part of Forward's documented API.
Uses the client's network when network_id is omitted.
Uses the network's latest processed snapshot when snapshot_id is omitted.
May be unavailable (license); see docs/gating.md.
severity takes NONE, LOW, MEDIUM, HIGH or CRITICAL.
age takes MONTH, YEAR or OLDER.
put_cve_analysis ¶
put_cve_analysis(
*,
cve_id: str,
os: str,
body: Any,
network_id: str | None = None,
) -> Any
Set a custom CVE analysis.
Uses the client's network when network_id is omitted.
May be unavailable (license); see docs/gating.md.
body is a CveAnalysisDef (a model, or its .to_api() dict).
WAN Circuits¶
forward_sdk._sync.services._generated.wan_circuits.WANCircuitsService ¶
Bases: Service
WAN Circuits.
backdate_wan_circuits ¶
backdate_wan_circuits(
*,
network_id: str | None = None,
snapshot_id: str | None = None,
) -> Any
Apply recent WAN circuit changes to an existing snapshot.
Unpublished: not part of Forward's documented API.
Uses the client's network when network_id is omitted.
Uses the network's latest processed snapshot when snapshot_id is omitted.
delete_wan_circuit ¶
delete_wan_circuit(
*, wan_circuit_name: str, network_id: str | None = None
) -> Any
Remove a WAN circuit.
Uses the client's network when network_id is omitted.
get_wan_circuit ¶
get_wan_circuit(
*, wan_circuit_name: str, network_id: str | None = None
) -> models.WanCircuit
Get a WAN circuit.
Uses the client's network when network_id is omitted.
get_wan_circuits ¶
get_wan_circuits(
*, network_id: str | None = None
) -> models.WanCircuitList
Get a network's WAN circuits.
Uses the client's network when network_id is omitted.
patch_wan_circuit ¶
patch_wan_circuit(
*,
wan_circuit_name: str,
body: Any,
network_id: str | None = None,
) -> models.WanCircuit
Update a WAN circuit.
Uses the client's network when network_id is omitted.
body is a WanCircuitPatch (a model, or its .to_api() dict).
put_wan_circuit ¶
put_wan_circuit(
*,
wan_circuit_name: str,
body: Any,
network_id: str | None = None,
) -> Any
Add or replace a WAN circuit.
Uses the client's network when network_id is omitted.
body is a WanCircuit (a model, or its .to_api() dict).
put_wan_circuits ¶
put_wan_circuits(
*, body: Any, network_id: str | None = None
) -> Any
Replace all of a network's WAN circuits.
Uses the client's network when network_id is omitted.
body is a WanCircuitList (a model, or its .to_api() dict).