Lacework Edge API (1.0)
Download OpenAPI specification:Download
This is the Lacework Edge API spec.
Query access objects
Query access objects that match specified conditions
query Parameters
appid required | string get the access rules that apply to this app id |
userid required | string get the access rules that apply to this user id |
Responses
Response samples
- 200
- 400
- 401
- 403
- 500
{- "accesses": [
- {
- "access_type": 0,
- "account_name": "string",
- "allow_guest_access": true,
- "app_list": [
- "string"
], - "create_time": 0,
- "creator_uuid": "string",
- "data_source": 0,
- "description": "string",
- "end_time": 0,
- "integration_id": "string",
- "revoked_user_list": [
- "string"
], - "status": 0,
- "update_time": 0,
- "user_list": [
- "string"
], - "uuid": "string"
}
], - "apps": [
- {
- "account_name": "string",
- "connector_unique_name": "string",
- "create_time": 0,
- "creator_display_name": "string",
- "creator_uuid": "string",
- "data_source": 0,
- "description": "string",
- "host": "string",
- "host_match_type": 0,
- "integration_id": "string",
- "internal_host_pattern": "string",
- "internal_port": 0,
- "internal_protocol": "string",
- "name": "string",
- "path": "string",
- "port": 0,
- "protocol": "string",
- "protocols": [
- 0
], - "ref_display_names": {
- "property1": "string",
- "property2": "string"
}, - "ref_matches": [
- {
- "ref": "string",
- "tags": [
- "string"
]
}
], - "refs": [
- "string"
], - "request_host_header": "string",
- "reverse_proxy_name": "string",
- "status": 0,
- "tags": [
- "string"
], - "tcp_port_ranges": [
- {
- "end": 0,
- "start": 0
}
], - "tcp_ports": [
- 0
], - "udp_port_ranges": [
- {
- "end": 0,
- "start": 0
}
], - "udp_ports": [
- 0
], - "update_time": 0,
- "updater_display_name": "string",
- "updater_uuid": "string",
- "uuid": "string",
- "verify_server_cert": 0
}
], - "groups": [
- {
- "account_name": "string",
- "create_time": 0,
- "data_source": 0,
- "description": "string",
- "integration_id": "string",
- "membership_update_time": 0,
- "name": "string",
- "profile_update_time": 0,
- "status": 0,
- "sub_group_count": 0,
- "tags": [
- "string"
], - "update_time": 0,
- "user_count": 0,
- "uuid": "string"
}
], - "users": [
- {
- "account_name": "string",
- "create_time": 0,
- "data_source": 0,
- "display_name": "string",
- "idp_mfa_status": 0,
- "integration_id": "string",
- "integration_to_source_user_id": {
- "property1": "string",
- "property2": "string"
}, - "location": "string",
- "mfa_encrypted_secret": "string",
- "mfa_status": 0,
- "record_update_time": 0,
- "role": 0,
- "source_user_id": "string",
- "status": 0,
- "tags": [
- "string"
], - "update_time": 0,
- "uuid": "string"
}
]
}
Update a access.
Update a access
path Parameters
uuid required | string The access uuid |
Request Body schema: application/jsonrequired
The access update request with only new values of the access filled in
object Only fields to be updated are filled in. | |
account_name | string |
attributes_to_delete | Array of strings |
uuid | string |
Responses
Request samples
- Payload
{- "access": {
- "access_type": 0,
- "account_name": "string",
- "allow_guest_access": true,
- "app_list": [
- "string"
], - "create_time": 0,
- "creator_uuid": "string",
- "data_source": 0,
- "description": "string",
- "end_time": 0,
- "integration_id": "string",
- "revoked_user_list": [
- "string"
], - "status": 0,
- "update_time": 0,
- "user_list": [
- "string"
], - "uuid": "string"
}, - "account_name": "string",
- "attributes_to_delete": [
- "string"
], - "uuid": "string"
}
Response samples
- 200
- 400
- 401
- 403
- 500
{- "access_type": 0,
- "account_name": "string",
- "allow_guest_access": true,
- "app_list": [
- "string"
], - "create_time": 0,
- "creator_uuid": "string",
- "data_source": 0,
- "description": "string",
- "end_time": 0,
- "integration_id": "string",
- "revoked_user_list": [
- "string"
], - "status": 0,
- "update_time": 0,
- "user_list": [
- "string"
], - "uuid": "string"
}
Create a Access
Create a Access
Request Body schema: application/jsonrequired
The access to be created
access_type | integer Enum: 0 1 2 3 Type of access allowed. |
account_name | string The name of the account. |
allow_guest_access | boolean |
app_list | Array of strings |
data_source | integer (proto.DataSource) Enum: 0 1 2 3 11 12 13 101 102 103 104 201 202 301 401 402 403 9001 9002 9003 9004 10001 10002 10003 10004 10005 10006 10007 10008 10009 |
description | string |
integration_id | string |
status | integer (proto.EnumStatus) Enum: 0 1 2 3 4 |
user_list | Array of strings Filters select users and apps. Any user selected has access to any app selected. |
Responses
Request samples
- Payload
{- "access_type": 0,
- "account_name": "string",
- "allow_guest_access": true,
- "app_list": [
- "string"
], - "data_source": 0,
- "description": "string",
- "integration_id": "string",
- "status": 0,
- "user_list": [
- "string"
]
}
Response samples
- 201
- 400
- 401
- 403
- 500
{- "access_type": 0,
- "account_name": "string",
- "allow_guest_access": true,
- "app_list": [
- "string"
], - "create_time": 0,
- "creator_uuid": "string",
- "data_source": 0,
- "description": "string",
- "end_time": 0,
- "integration_id": "string",
- "revoked_user_list": [
- "string"
], - "status": 0,
- "update_time": 0,
- "user_list": [
- "string"
], - "uuid": "string"
}
Get the access details.
Get the access details
path Parameters
uuid required | string The access uuid |
Responses
Response samples
- 200
- 400
- 401
- 403
- 500
{- "access_type": 0,
- "account_name": "string",
- "allow_guest_access": true,
- "app_list": [
- "string"
], - "create_time": 0,
- "creator_uuid": "string",
- "data_source": 0,
- "description": "string",
- "end_time": 0,
- "integration_id": "string",
- "revoked_user_list": [
- "string"
], - "status": 0,
- "update_time": 0,
- "user_list": [
- "string"
], - "uuid": "string"
}
Get the account details.
Get the account details
path Parameters
name required | string The account name |
Responses
Response samples
- 200
- 400
- 401
- 403
- 500
{- "allowed_email_domains": [
- "string"
], - "backend_shard": "string",
- "client_ca_uuids": [
- "string"
], - "create_time": 0,
- "datasource_to_idp_metadata": {
- "property1": "string",
- "property2": "string"
}, - "display_name": "string",
- "dns_allowed_sources": [
- "string"
], - "domain": "string",
- "endpoint_ca_uuid": "string",
- "extend_session_workflow_uuid": "string",
- "external_token_app_id": "string",
- "feature_flags": {
- "create_ingestion_permit_policies": true,
- "disable_dns_access_log": true,
- "enable_content_hashing": true,
- "enable_dns_capture": true,
- "enable_edns_client_subnet": true,
- "enable_oauth_token_event_ingestion": true,
- "enable_query_debug_info": true,
- "enable_query_enhancements": true,
- "ingest_clear_data": true,
- "max_conc_file_metadata_ingestion": 0,
- "skip_analytics": true,
- "stall_resource_ingestion": true,
- "support_multiple_idps": true
}, - "has_logo": true,
- "idp_metadata": "string",
- "key_id": "string",
- "location": "string",
- "mfa_preferred_order": "string",
- "mfa_provider": 0,
- "mitm_ca_uuid": "string",
- "name": "string",
- "onboarding": {
- "completed_steps": [
- "string"
], - "eula_signed": true,
- "eula_signing_ip": "string",
- "eula_signing_time": 0,
- "eula_signing_user": "string",
- "eula_signing_user_display_name": "string",
- "eula_version": "string"
}, - "org": "string",
- "preferred_gateways_regex": "string",
- "session_ttl_sec": 0,
- "shard": "string",
- "status": 0,
- "update_time": 0,
- "uuid": "string",
- "view_pii_tags": [
- "string"
]
}
Query AlertConfigs
Query AlertConfigs
query Parameters
status | string comma separated status to match: INIT | ACTIVE | SUSPENDED |
Responses
Response samples
- 200
- 400
- 401
- 403
- 500
{- "configs": [
- {
- "account_name": "string",
- "card_data": {
- "aggregation": "string",
- "apply_global_filters": true,
- "card_filters": [
- {
- "display": "string",
- "display_value": "string",
- "field": "string",
- "identity": {
- "additional_context": {
- "property1": "string",
- "property2": "string"
}, - "anonymized": true,
- "deleted": true,
- "display": "string",
- "external": true,
- "id": "string",
- "type": 0
}, - "operator": "string",
- "type": 0,
- "value": "string"
}
], - "card_type": 0,
- "chart_data_source": "string",
- "chartType": "string",
- "curated_query_config": {
- "behavior_id": "string",
- "modifiers": [
- {
- "dataset_uuid": "string",
- "operator": "string",
- "target_field": "string"
}
], - "subject_type": 0,
- "summaries": [
- "string"
]
}, - "description": "string",
- "from_eg_library": true,
- "group_by_dimension": "string",
- "group_by_dimension2": "string",
- "metric": "string",
- "show_data_table": true,
- "show_text_box": true,
- "sort_order": [
- {
- "column_id": "string",
- "is_desc": 0
}
], - "title": "string",
- "uuid": "string",
- "visible_columns": [
- "string"
]
}, - "cloned_from_uuid": "string",
- "condition_filter": {
- "exclude_any": [
- {
- "all": [
- "string"
]
}
], - "include_any": [
- {
- "all": [
- "string"
]
}
]
}, - "condition_filter_display_names": {
- "property1": "string",
- "property2": "string"
}, - "create_time": 0,
- "creator_display_name": "string",
- "creator_uuid": "string",
- "description": "string",
- "event_description_template": "string",
- "name": "string",
- "recipient_display_names": {
- "property1": "string",
- "property2": "string"
}, - "recipients": [
- "string"
], - "severity_to_assign": 0,
- "skip_alerts": 0,
- "status": 0,
- "tags": [
- "string"
], - "update_time": 0,
- "updater_display_name": "string",
- "updater_uuid": "string",
- "uuid": "string"
}
]
}
Create a new alert config.
Create a new alert config.
Request Body schema: application/jsonrequired
details of alertConfig to create
account_name | string |
object The card data to use as a query for alert generation. | |
cloned_from_uuid | string |
object Conditions that pass the filter will generate this alert. | |
description | string |
event_description_template | string |
name | string |
recipients | Array of strings user: |
resolve_display_names | boolean |
skip_alerts | integer |
status | integer (proto.EnumStatus) Enum: 0 1 2 3 4 |
tags | Array of strings |
Responses
Request samples
- Payload
{- "account_name": "string",
- "card_data": {
- "aggregation": "string",
- "apply_global_filters": true,
- "card_filters": [
- {
- "display": "string",
- "display_value": "string",
- "field": "string",
- "identity": {
- "additional_context": {
- "property1": "string",
- "property2": "string"
}, - "anonymized": true,
- "deleted": true,
- "display": "string",
- "external": true,
- "id": "string",
- "type": 0
}, - "operator": "string",
- "type": 0,
- "value": "string"
}
], - "card_type": 0,
- "chart_data_source": "string",
- "chartType": "string",
- "curated_query_config": {
- "behavior_id": "string",
- "modifiers": [
- {
- "dataset_uuid": "string",
- "operator": "string",
- "target_field": "string"
}
], - "subject_type": 0,
- "summaries": [
- "string"
]
}, - "description": "string",
- "from_eg_library": true,
- "group_by_dimension": "string",
- "group_by_dimension2": "string",
- "metric": "string",
- "show_data_table": true,
- "show_text_box": true,
- "sort_order": [
- {
- "column_id": "string",
- "is_desc": 0
}
], - "title": "string",
- "uuid": "string",
- "visible_columns": [
- "string"
]
}, - "cloned_from_uuid": "string",
- "condition_filter": {
- "exclude_any": [
- {
- "all": [
- "string"
]
}
], - "include_any": [
- {
- "all": [
- "string"
]
}
]
}, - "description": "string",
- "event_description_template": "string",
- "name": "string",
- "recipients": [
- "string"
], - "resolve_display_names": true,
- "skip_alerts": 0,
- "status": 0,
- "tags": [
- "string"
]
}
Response samples
- 200
- 400
- 401
- 403
- 500
{- "account_name": "string",
- "card_data": {
- "aggregation": "string",
- "apply_global_filters": true,
- "card_filters": [
- {
- "display": "string",
- "display_value": "string",
- "field": "string",
- "identity": {
- "additional_context": {
- "property1": "string",
- "property2": "string"
}, - "anonymized": true,
- "deleted": true,
- "display": "string",
- "external": true,
- "id": "string",
- "type": 0
}, - "operator": "string",
- "type": 0,
- "value": "string"
}
], - "card_type": 0,
- "chart_data_source": "string",
- "chartType": "string",
- "curated_query_config": {
- "behavior_id": "string",
- "modifiers": [
- {
- "dataset_uuid": "string",
- "operator": "string",
- "target_field": "string"
}
], - "subject_type": 0,
- "summaries": [
- "string"
]
}, - "description": "string",
- "from_eg_library": true,
- "group_by_dimension": "string",
- "group_by_dimension2": "string",
- "metric": "string",
- "show_data_table": true,
- "show_text_box": true,
- "sort_order": [
- {
- "column_id": "string",
- "is_desc": 0
}
], - "title": "string",
- "uuid": "string",
- "visible_columns": [
- "string"
]
}, - "cloned_from_uuid": "string",
- "condition_filter": {
- "exclude_any": [
- {
- "all": [
- "string"
]
}
], - "include_any": [
- {
- "all": [
- "string"
]
}
]
}, - "condition_filter_display_names": {
- "property1": "string",
- "property2": "string"
}, - "create_time": 0,
- "creator_display_name": "string",
- "creator_uuid": "string",
- "description": "string",
- "event_description_template": "string",
- "name": "string",
- "recipient_display_names": {
- "property1": "string",
- "property2": "string"
}, - "recipients": [
- "string"
], - "severity_to_assign": 0,
- "skip_alerts": 0,
- "status": 0,
- "tags": [
- "string"
], - "update_time": 0,
- "updater_display_name": "string",
- "updater_uuid": "string",
- "uuid": "string"
}
Get the alertConfig details.
Get the alertConfig details
path Parameters
uuid required | string The alert config uuid |
query Parameters
resolveDisplayNames required | string whether or not to resolve display names |
Responses
Response samples
- 200
- 400
- 401
- 403
- 500
{- "account_name": "string",
- "card_data": {
- "aggregation": "string",
- "apply_global_filters": true,
- "card_filters": [
- {
- "display": "string",
- "display_value": "string",
- "field": "string",
- "identity": {
- "additional_context": {
- "property1": "string",
- "property2": "string"
}, - "anonymized": true,
- "deleted": true,
- "display": "string",
- "external": true,
- "id": "string",
- "type": 0
}, - "operator": "string",
- "type": 0,
- "value": "string"
}
], - "card_type": 0,
- "chart_data_source": "string",
- "chartType": "string",
- "curated_query_config": {
- "behavior_id": "string",
- "modifiers": [
- {
- "dataset_uuid": "string",
- "operator": "string",
- "target_field": "string"
}
], - "subject_type": 0,
- "summaries": [
- "string"
]
}, - "description": "string",
- "from_eg_library": true,
- "group_by_dimension": "string",
- "group_by_dimension2": "string",
- "metric": "string",
- "show_data_table": true,
- "show_text_box": true,
- "sort_order": [
- {
- "column_id": "string",
- "is_desc": 0
}
], - "title": "string",
- "uuid": "string",
- "visible_columns": [
- "string"
]
}, - "cloned_from_uuid": "string",
- "condition_filter": {
- "exclude_any": [
- {
- "all": [
- "string"
]
}
], - "include_any": [
- {
- "all": [
- "string"
]
}
]
}, - "condition_filter_display_names": {
- "property1": "string",
- "property2": "string"
}, - "create_time": 0,
- "creator_display_name": "string",
- "creator_uuid": "string",
- "description": "string",
- "event_description_template": "string",
- "name": "string",
- "recipient_display_names": {
- "property1": "string",
- "property2": "string"
}, - "recipients": [
- "string"
], - "severity_to_assign": 0,
- "skip_alerts": 0,
- "status": 0,
- "tags": [
- "string"
], - "update_time": 0,
- "updater_display_name": "string",
- "updater_uuid": "string",
- "uuid": "string"
}
Query open alerts for the account
Query open alerts for the account
query Parameters
start_time required | string Start time in milli-seconds |
end_time required | string End time in milli-seconds |
status_filter required | string List of AlertStatus; if included will filter to these |
Responses
Response samples
- 200
- 400
- 401
- 403
- 500
{- "alerts": [
- {
- "account_name": "string",
- "assignment_time": 0,
- "closed_time": 0,
- "create_time": 0,
- "description": "string",
- "event_type": "string",
- "incident_status": 0,
- "owner_display_name": "string",
- "owner_uuid": "string",
- "policy_action_taken": 0,
- "related_entities": {
- "devices_count": 0,
- "users_count": 0
}, - "severity": 0,
- "status": 0,
- "update_time": 0,
- "uuid": "string"
}
]
}
Promotes an event to an alert (adds investigation state)
Request Body schema: application/jsonrequired
details of the request
account_name | string |
bypass_notifications | boolean The default behavior is to send a notification if the alert was created for the first time, not updated. Use bypass_notifications to skip notifications (even on the first creation) or force_notifications to always send notifications (even on an update). |
end_time | integer |
event_id | string |
force_notifications | boolean |
start_time | integer The event's start and end time. These are used to query Snowflake data for more event details, as the event ID alone is not enough to make this query. |
Responses
Request samples
- Payload
{- "account_name": "string",
- "bypass_notifications": true,
- "end_time": 0,
- "event_id": "string",
- "force_notifications": true,
- "start_time": 0
}
Response samples
- 200
- 400
- 401
- 403
- 500
{- "account_name": "string",
- "assignment_time": 0,
- "closed_time": 0,
- "create_time": 0,
- "description": "string",
- "event_type": "string",
- "incident_status": 0,
- "owner_display_name": "string",
- "owner_uuid": "string",
- "policy_action_taken": 0,
- "related_entities": {
- "devices_count": 0,
- "users_count": 0
}, - "severity": 0,
- "status": 0,
- "update_time": 0,
- "uuid": "string"
}
Get a single alert by its ID
Get a single alert by its ID
path Parameters
uuid required | string The alert uuid, which matches the event uuid |
Responses
Response samples
- 200
- 400
- 401
- 403
- 500
{- "account_name": "string",
- "assignment_time": 0,
- "closed_time": 0,
- "create_time": 0,
- "description": "string",
- "event_type": "string",
- "incident_status": 0,
- "owner_display_name": "string",
- "owner_uuid": "string",
- "policy_action_taken": 0,
- "related_entities": {
- "devices_count": 0,
- "users_count": 0
}, - "severity": 0,
- "status": 0,
- "update_time": 0,
- "uuid": "string"
}
Get the history of investigation actions taken for an alert
Get the history of investigation actions taken for an alert
path Parameters
uuid required | string The alert uuid, which matches the event uuid |
Responses
Response samples
- 200
- 400
- 401
- 403
- 500
{- "investigation_actions": [
- {
- "account_and_alert_uuid": "string",
- "action": {
- "action_type": 0,
- "alert_status_change": {
- "new_status": 0
}, - "close_with_reason": {
- "incident_status": 0,
- "note_text": "string"
}, - "note": {
- "card_id": "string",
- "note_text": "string"
}, - "run_workflow": {
- "workflow_run": {
- "account_name": "string",
- "actions": [
- {
- "on_object": 0,
- "run": 0,
- "target": "string"
}
], - "answer_index": "string",
- "answers": [
- {
- "actions": [
- {
- "on_object": null,
- "run": null,
- "target": null
}
], - "answer": "string"
}
], - "app_host": "string",
- "app_port": 0,
- "app_protocol": "string",
- "app_url": "string",
- "app_uuid": "string",
- "approval_ttl_sec": 0,
- "approver_display_name": "string",
- "approver_justification": "string",
- "approver_text": "string",
- "approver_uuid": "string",
- "can_user_approve": true,
- "client_geoip_location": {
- "asn_data": {
- "asn": "string",
- "asn_type": "string",
- "country": "string",
- "country_code": "string",
- "domain": "string",
- "name": "string"
}, - "carrier_data": {
- "country": "string",
- "country_code": "string",
- "mcc": "string",
- "mnc": "string",
- "name": "string"
}, - "geo_data": {
- "city_name": "string",
- "country": "string",
- "country_code": "string",
- "latitude": "string",
- "longitude": "string",
- "region_name": "string",
- "time_zone": "string",
- "time_zone_name": "string",
- "zip_code": "string"
}, - "privacy_data": {
- "hosting": true,
- "proxy": true,
- "relay": true,
- "service": "string",
- "tor": true,
- "vpn": true
}
}, - "client_ip": "string",
- "create_time": 0,
- "details": {
- "property1": "string",
- "property2": "string"
}, - "device_details": [
- {
- "account_name": "string",
- "browser": "string",
- "browser_version": "string",
- "certificate": [
- 0
], - "create_time": 0,
- "data_source": 0,
- "display_name": "string",
- "eg_version": "string",
- "is_managed": true,
- "is_managed_verification_done": true,
- "normalized_id": "string",
- "os": "string",
- "os_version": "string",
- "platform_uuid": "string",
- "posture": {
- "client_version_risk": 0,
- "device_activation_lock_enabled": 0,
- "device_process_info": {
- "processes": [ ]
}, - "disk_encryption_enabled": 0,
- "firmware_password_enabled": 0,
- "recovery_lock_enabled": 0,
- "user_activation_lock_enabled": 0
}, - "private_key_encrypted": "string",
- "properties": {
- "browser": "string",
- "browser_details": [
- null
], - "browser_install_type": "string",
- "browser_version": "string",
- "client_install_type": "string",
- "device_activation_lock_enabled": true,
- "disk_encryption_enabled": true,
- "firmware_password_enabled": true,
- "hostname": "string",
- "last_boot_epoch_sec": 0,
- "location_tracking_state": 0,
- "machine_model": "string",
- "machine_name": "string",
- "os": "string",
- "os_user_id": "string",
- "os_user_name": "string",
- "os_version": "string",
- "recovery_lock_enabled": true,
- "target_triple": "string",
- "user_activation_lock_enabled": true
}, - "public_key": "string",
- "serial_number": "string",
- "status": 0,
- "tags": [
- "string"
], - "time_id": {
- "create_time": 0,
- "end_time": 0,
- "salt": "string",
- "signature": [
- null
], - "version": "string"
}, - "update_time": 0,
- "user_display_name": "string",
- "user_uuid": "string",
- "uuid": "string"
}
], - "device_uuid": "string",
- "execution_ttl_sec": 0,
- "expire_time_sec": 0,
- "geoip_details": [
- {
- "city": "string",
- "city_code": "string",
- "country": "string",
- "country_code": "string",
- "county": "string",
- "geohash": "string",
- "group_loc_freq": 0,
- "group_loc_rank": 0,
- "ip": "string",
- "latitude": 0,
- "location_label": "string",
- "longitude": 0,
- "source": 0,
- "state": "string",
- "state_code": "string",
- "user_loc_freq": 0,
- "user_loc_rank": 0,
- "zip_code": "string"
}
], - "justification": "string",
- "justification_required": true,
- "mfa_details": {
- "expire_time_sec": 0,
- "factor_id": "string",
- "factor_type": 0,
- "provider": "string",
- "provisioning_required": true,
- "security_question": "string",
- "token": "string",
- "transaction_id": "string",
- "verification_type": 0
}, - "parent_uuid": "string",
- "policy_uuid": "string",
- "recipients": [
- "string"
], - "requestor_justification": "string",
- "requestor_justification_required": true,
- "requestor_text": "string",
- "session_uuid": "string",
- "status": 0,
- "tags": [
- "string"
], - "text": "string",
- "token": 0,
- "token_required": true,
- "top_uuid": "string",
- "update_time": 0,
- "user_display_name": "string",
- "user_uuid": "string",
- "uuid": "string",
- "webapp": "string",
- "workflow_name": "string",
- "workflow_uuid": "string"
}, - "workflow_run_uuid": "string",
- "workflow_uuid": "string"
}, - "update_owner": {
- "owner_display_name": "string",
- "owner_uuid": "string"
}
}, - "actor_display_name": "string",
- "actor_uuid": "string",
- "timestamp": 0,
- "uuid": "string"
}
]
}
Perform an investigation action on the specified alert
Performs an action, which both updates the persisted alert and also records the action in the investigation history log)
path Parameters
uuid required | string The alert uuid, which matches the event uuid |
Request Body schema: application/jsonrequired
details of the action
account_name | string |
object (proto.InvestigationAction) | |
actor_uuid | string |
alert_update_time | integer |
alert_uuid | string |
Responses
Request samples
- Payload
{- "account_name": "string",
- "action": {
- "action_type": 0,
- "alert_status_change": {
- "new_status": 0
}, - "close_with_reason": {
- "incident_status": 0,
- "note_text": "string"
}, - "note": {
- "card_id": "string",
- "note_text": "string"
}, - "run_workflow": {
- "workflow_run": {
- "account_name": "string",
- "actions": [
- {
- "on_object": 0,
- "run": 0,
- "target": "string"
}
], - "answer_index": "string",
- "answers": [
- {
- "actions": [
- {
- "on_object": 0,
- "run": 0,
- "target": "string"
}
], - "answer": "string"
}
], - "app_host": "string",
- "app_port": 0,
- "app_protocol": "string",
- "app_url": "string",
- "app_uuid": "string",
- "approval_ttl_sec": 0,
- "approver_display_name": "string",
- "approver_justification": "string",
- "approver_text": "string",
- "approver_uuid": "string",
- "can_user_approve": true,
- "client_geoip_location": {
- "asn_data": {
- "asn": "string",
- "asn_type": "string",
- "country": "string",
- "country_code": "string",
- "domain": "string",
- "name": "string"
}, - "carrier_data": {
- "country": "string",
- "country_code": "string",
- "mcc": "string",
- "mnc": "string",
- "name": "string"
}, - "geo_data": {
- "city_name": "string",
- "country": "string",
- "country_code": "string",
- "latitude": "string",
- "longitude": "string",
- "region_name": "string",
- "time_zone": "string",
- "time_zone_name": "string",
- "zip_code": "string"
}, - "privacy_data": {
- "hosting": true,
- "proxy": true,
- "relay": true,
- "service": "string",
- "tor": true,
- "vpn": true
}
}, - "client_ip": "string",
- "create_time": 0,
- "details": {
- "property1": "string",
- "property2": "string"
}, - "device_details": [
- {
- "account_name": "string",
- "browser": "string",
- "browser_version": "string",
- "certificate": [
- 0
], - "create_time": 0,
- "data_source": 0,
- "display_name": "string",
- "eg_version": "string",
- "is_managed": true,
- "is_managed_verification_done": true,
- "normalized_id": "string",
- "os": "string",
- "os_version": "string",
- "platform_uuid": "string",
- "posture": {
- "client_version_risk": 0,
- "device_activation_lock_enabled": 0,
- "device_process_info": {
- "processes": [
- {
- "paths": [ ],
- "spec": null
}
]
}, - "disk_encryption_enabled": 0,
- "firmware_password_enabled": 0,
- "recovery_lock_enabled": 0,
- "user_activation_lock_enabled": 0
}, - "private_key_encrypted": "string",
- "properties": {
- "browser": "string",
- "browser_details": [
- {
- "browser": "string",
- "browser_install_type": "string",
- "browser_version": "string",
- "eg_version": "string"
}
], - "browser_install_type": "string",
- "browser_version": "string",
- "client_install_type": "string",
- "device_activation_lock_enabled": true,
- "disk_encryption_enabled": true,
- "firmware_password_enabled": true,
- "hostname": "string",
- "last_boot_epoch_sec": 0,
- "location_tracking_state": 0,
- "machine_model": "string",
- "machine_name": "string",
- "os": "string",
- "os_user_id": "string",
- "os_user_name": "string",
- "os_version": "string",
- "recovery_lock_enabled": true,
- "target_triple": "string",
- "user_activation_lock_enabled": true
}, - "public_key": "string",
- "serial_number": "string",
- "status": 0,
- "tags": [
- "string"
], - "time_id": {
- "create_time": 0,
- "end_time": 0,
- "salt": "string",
- "signature": [
- 0
], - "version": "string"
}, - "update_time": 0,
- "user_display_name": "string",
- "user_uuid": "string",
- "uuid": "string"
}
], - "device_uuid": "string",
- "execution_ttl_sec": 0,
- "expire_time_sec": 0,
- "geoip_details": [
- {
- "city": "string",
- "city_code": "string",
- "country": "string",
- "country_code": "string",
- "county": "string",
- "geohash": "string",
- "group_loc_freq": 0,
- "group_loc_rank": 0,
- "ip": "string",
- "latitude": 0,
- "location_label": "string",
- "longitude": 0,
- "source": 0,
- "state": "string",
- "state_code": "string",
- "user_loc_freq": 0,
- "user_loc_rank": 0,
- "zip_code": "string"
}
], - "justification": "string",
- "justification_required": true,
- "mfa_details": {
- "expire_time_sec": 0,
- "factor_id": "string",
- "factor_type": 0,
- "provider": "string",
- "provisioning_required": true,
- "security_question": "string",
- "token": "string",
- "transaction_id": "string",
- "verification_type": 0
}, - "parent_uuid": "string",
- "policy_uuid": "string",
- "recipients": [
- "string"
], - "requestor_justification": "string",
- "requestor_justification_required": true,
- "requestor_text": "string",
- "session_uuid": "string",
- "status": 0,
- "tags": [
- "string"
], - "text": "string",
- "token": 0,
- "token_required": true,
- "top_uuid": "string",
- "update_time": 0,
- "user_display_name": "string",
- "user_uuid": "string",
- "uuid": "string",
- "webapp": "string",
- "workflow_name": "string",
- "workflow_uuid": "string"
}, - "workflow_run_uuid": "string",
- "workflow_uuid": "string"
}, - "update_owner": {
- "owner_display_name": "string",
- "owner_uuid": "string"
}
}, - "actor_uuid": "string",
- "alert_update_time": 0,
- "alert_uuid": "string"
}
Response samples
- 200
- 400
- 401
- 403
- 500
{- "alert_update_time": 0,
- "alert_uuid": "string",
- "history_item": {
- "account_and_alert_uuid": "string",
- "action": {
- "action_type": 0,
- "alert_status_change": {
- "new_status": 0
}, - "close_with_reason": {
- "incident_status": 0,
- "note_text": "string"
}, - "note": {
- "card_id": "string",
- "note_text": "string"
}, - "run_workflow": {
- "workflow_run": {
- "account_name": "string",
- "actions": [
- {
- "on_object": 0,
- "run": 0,
- "target": "string"
}
], - "answer_index": "string",
- "answers": [
- {
- "actions": [
- {
- "on_object": 0,
- "run": 0,
- "target": "string"
}
], - "answer": "string"
}
], - "app_host": "string",
- "app_port": 0,
- "app_protocol": "string",
- "app_url": "string",
- "app_uuid": "string",
- "approval_ttl_sec": 0,
- "approver_display_name": "string",
- "approver_justification": "string",
- "approver_text": "string",
- "approver_uuid": "string",
- "can_user_approve": true,
- "client_geoip_location": {
- "asn_data": {
- "asn": "string",
- "asn_type": "string",
- "country": "string",
- "country_code": "string",
- "domain": "string",
- "name": "string"
}, - "carrier_data": {
- "country": "string",
- "country_code": "string",
- "mcc": "string",
- "mnc": "string",
- "name": "string"
}, - "geo_data": {
- "city_name": "string",
- "country": "string",
- "country_code": "string",
- "latitude": "string",
- "longitude": "string",
- "region_name": "string",
- "time_zone": "string",
- "time_zone_name": "string",
- "zip_code": "string"
}, - "privacy_data": {
- "hosting": true,
- "proxy": true,
- "relay": true,
- "service": "string",
- "tor": true,
- "vpn": true
}
}, - "client_ip": "string",
- "create_time": 0,
- "details": {
- "property1": "string",
- "property2": "string"
}, - "device_details": [
- {
- "account_name": "string",
- "browser": "string",
- "browser_version": "string",
- "certificate": [
- 0
], - "create_time": 0,
- "data_source": 0,
- "display_name": "string",
- "eg_version": "string",
- "is_managed": true,
- "is_managed_verification_done": true,
- "normalized_id": "string",
- "os": "string",
- "os_version": "string",
- "platform_uuid": "string",
- "posture": {
- "client_version_risk": 0,
- "device_activation_lock_enabled": 0,
- "device_process_info": {
- "processes": [
- null
]
}, - "disk_encryption_enabled": 0,
- "firmware_password_enabled": 0,
- "recovery_lock_enabled": 0,
- "user_activation_lock_enabled": 0
}, - "private_key_encrypted": "string",
- "properties": {
- "browser": "string",
- "browser_details": [
- {
- "browser": null,
- "browser_install_type": null,
- "browser_version": null,
- "eg_version": null
}
], - "browser_install_type": "string",
- "browser_version": "string",
- "client_install_type": "string",
- "device_activation_lock_enabled": true,
- "disk_encryption_enabled": true,
- "firmware_password_enabled": true,
- "hostname": "string",
- "last_boot_epoch_sec": 0,
- "location_tracking_state": 0,
- "machine_model": "string",
- "machine_name": "string",
- "os": "string",
- "os_user_id": "string",
- "os_user_name": "string",
- "os_version": "string",
- "recovery_lock_enabled": true,
- "target_triple": "string",
- "user_activation_lock_enabled": true
}, - "public_key": "string",
- "serial_number": "string",
- "status": 0,
- "tags": [
- "string"
], - "time_id": {
- "create_time": 0,
- "end_time": 0,
- "salt": "string",
- "signature": [
- 0
], - "version": "string"
}, - "update_time": 0,
- "user_display_name": "string",
- "user_uuid": "string",
- "uuid": "string"
}
], - "device_uuid": "string",
- "execution_ttl_sec": 0,
- "expire_time_sec": 0,
- "geoip_details": [
- {
- "city": "string",
- "city_code": "string",
- "country": "string",
- "country_code": "string",
- "county": "string",
- "geohash": "string",
- "group_loc_freq": 0,
- "group_loc_rank": 0,
- "ip": "string",
- "latitude": 0,
- "location_label": "string",
- "longitude": 0,
- "source": 0,
- "state": "string",
- "state_code": "string",
- "user_loc_freq": 0,
- "user_loc_rank": 0,
- "zip_code": "string"
}
], - "justification": "string",
- "justification_required": true,
- "mfa_details": {
- "expire_time_sec": 0,
- "factor_id": "string",
- "factor_type": 0,
- "provider": "string",
- "provisioning_required": true,
- "security_question": "string",
- "token": "string",
- "transaction_id": "string",
- "verification_type": 0
}, - "parent_uuid": "string",
- "policy_uuid": "string",
- "recipients": [
- "string"
], - "requestor_justification": "string",
- "requestor_justification_required": true,
- "requestor_text": "string",
- "session_uuid": "string",
- "status": 0,
- "tags": [
- "string"
], - "text": "string",
- "token": 0,
- "token_required": true,
- "top_uuid": "string",
- "update_time": 0,
- "user_display_name": "string",
- "user_uuid": "string",
- "uuid": "string",
- "webapp": "string",
- "workflow_name": "string",
- "workflow_uuid": "string"
}, - "workflow_run_uuid": "string",
- "workflow_uuid": "string"
}, - "update_owner": {
- "owner_display_name": "string",
- "owner_uuid": "string"
}
}, - "actor_display_name": "string",
- "actor_uuid": "string",
- "timestamp": 0,
- "uuid": "string"
}
}
Perform multiple investigation actions on the specified alerts
Performs multiple actions, which both updates the persisted alerts and also records the action in the investigation history log
Request Body schema: application/jsonrequired
details of the actions to perform
account_name | string |
Array of objects (proto.PerformInvestigationActionRequest) |
Responses
Request samples
- Payload
{- "account_name": "string",
- "investigation_actions": [
- {
- "account_name": "string",
- "action": {
- "action_type": 0,
- "alert_status_change": {
- "new_status": 0
}, - "close_with_reason": {
- "incident_status": 0,
- "note_text": "string"
}, - "note": {
- "card_id": "string",
- "note_text": "string"
}, - "run_workflow": {
- "workflow_run": {
- "account_name": "string",
- "actions": [
- {
- "on_object": 0,
- "run": 0,
- "target": "string"
}
], - "answer_index": "string",
- "answers": [
- {
- "actions": [
- {
- "on_object": null,
- "run": null,
- "target": null
}
], - "answer": "string"
}
], - "app_host": "string",
- "app_port": 0,
- "app_protocol": "string",
- "app_url": "string",
- "app_uuid": "string",
- "approval_ttl_sec": 0,
- "approver_display_name": "string",
- "approver_justification": "string",
- "approver_text": "string",
- "approver_uuid": "string",
- "can_user_approve": true,
- "client_geoip_location": {
- "asn_data": {
- "asn": "string",
- "asn_type": "string",
- "country": "string",
- "country_code": "string",
- "domain": "string",
- "name": "string"
}, - "carrier_data": {
- "country": "string",
- "country_code": "string",
- "mcc": "string",
- "mnc": "string",
- "name": "string"
}, - "geo_data": {
- "city_name": "string",
- "country": "string",
- "country_code": "string",
- "latitude": "string",
- "longitude": "string",
- "region_name": "string",
- "time_zone": "string",
- "time_zone_name": "string",
- "zip_code": "string"
}, - "privacy_data": {
- "hosting": true,
- "proxy": true,
- "relay": true,
- "service": "string",
- "tor": true,
- "vpn": true
}
}, - "client_ip": "string",
- "create_time": 0,
- "details": {
- "property1": "string",
- "property2": "string"
}, - "device_details": [
- {
- "account_name": "string",
- "browser": "string",
- "browser_version": "string",
- "certificate": [
- 0
], - "create_time": 0,
- "data_source": 0,
- "display_name": "string",
- "eg_version": "string",
- "is_managed": true,
- "is_managed_verification_done": true,
- "normalized_id": "string",
- "os": "string",
- "os_version": "string",
- "platform_uuid": "string",
- "posture": {
- "client_version_risk": 0,
- "device_activation_lock_enabled": 0,
- "device_process_info": {
- "processes": [ ]
}, - "disk_encryption_enabled": 0,
- "firmware_password_enabled": 0,
- "recovery_lock_enabled": 0,
- "user_activation_lock_enabled": 0
}, - "private_key_encrypted": "string",
- "properties": {
- "browser": "string",
- "browser_details": [
- null
], - "browser_install_type": "string",
- "browser_version": "string",
- "client_install_type": "string",
- "device_activation_lock_enabled": true,
- "disk_encryption_enabled": true,
- "firmware_password_enabled": true,
- "hostname": "string",
- "last_boot_epoch_sec": 0,
- "location_tracking_state": 0,
- "machine_model": "string",
- "machine_name": "string",
- "os": "string",
- "os_user_id": "string",
- "os_user_name": "string",
- "os_version": "string",
- "recovery_lock_enabled": true,
- "target_triple": "string",
- "user_activation_lock_enabled": true
}, - "public_key": "string",
- "serial_number": "string",
- "status": 0,
- "tags": [
- "string"
], - "time_id": {
- "create_time": 0,
- "end_time": 0,
- "salt": "string",
- "signature": [
- null
], - "version": "string"
}, - "update_time": 0,
- "user_display_name": "string",
- "user_uuid": "string",
- "uuid": "string"
}
], - "device_uuid": "string",
- "execution_ttl_sec": 0,
- "expire_time_sec": 0,
- "geoip_details": [
- {
- "city": "string",
- "city_code": "string",
- "country": "string",
- "country_code": "string",
- "county": "string",
- "geohash": "string",
- "group_loc_freq": 0,
- "group_loc_rank": 0,
- "ip": "string",
- "latitude": 0,
- "location_label": "string",
- "longitude": 0,
- "source": 0,
- "state": "string",
- "state_code": "string",
- "user_loc_freq": 0,
- "user_loc_rank": 0,
- "zip_code": "string"
}
], - "justification": "string",
- "justification_required": true,
- "mfa_details": {
- "expire_time_sec": 0,
- "factor_id": "string",
- "factor_type": 0,
- "provider": "string",
- "provisioning_required": true,
- "security_question": "string",
- "token": "string",
- "transaction_id": "string",
- "verification_type": 0
}, - "parent_uuid": "string",
- "policy_uuid": "string",
- "recipients": [
- "string"
], - "requestor_justification": "string",
- "requestor_justification_required": true,
- "requestor_text": "string",
- "session_uuid": "string",
- "status": 0,
- "tags": [
- "string"
], - "text": "string",
- "token": 0,
- "token_required": true,
- "top_uuid": "string",
- "update_time": 0,
- "user_display_name": "string",
- "user_uuid": "string",
- "uuid": "string",
- "webapp": "string",
- "workflow_name": "string",
- "workflow_uuid": "string"
}, - "workflow_run_uuid": "string",
- "workflow_uuid": "string"
}, - "update_owner": {
- "owner_display_name": "string",
- "owner_uuid": "string"
}
}, - "actor_uuid": "string",
- "alert_update_time": 0,
- "alert_uuid": "string"
}
]
}
Response samples
- 200
- 400
- 401
- 403
- 500
{- "responses": [
- {
- "alert_update_time": 0,
- "alert_uuid": "string",
- "history_item": {
- "account_and_alert_uuid": "string",
- "action": {
- "action_type": 0,
- "alert_status_change": {
- "new_status": 0
}, - "close_with_reason": {
- "incident_status": 0,
- "note_text": "string"
}, - "note": {
- "card_id": "string",
- "note_text": "string"
}, - "run_workflow": {
- "workflow_run": {
- "account_name": "string",
- "actions": [
- {
- "on_object": 0,
- "run": 0,
- "target": "string"
}
], - "answer_index": "string",
- "answers": [
- {
- "actions": [
- null
], - "answer": "string"
}
], - "app_host": "string",
- "app_port": 0,
- "app_protocol": "string",
- "app_url": "string",
- "app_uuid": "string",
- "approval_ttl_sec": 0,
- "approver_display_name": "string",
- "approver_justification": "string",
- "approver_text": "string",
- "approver_uuid": "string",
- "can_user_approve": true,
- "client_geoip_location": {
- "asn_data": {
- "asn": "string",
- "asn_type": "string",
- "country": "string",
- "country_code": "string",
- "domain": "string",
- "name": "string"
}, - "carrier_data": {
- "country": "string",
- "country_code": "string",
- "mcc": "string",
- "mnc": "string",
- "name": "string"
}, - "geo_data": {
- "city_name": "string",
- "country": "string",
- "country_code": "string",
- "latitude": "string",
- "longitude": "string",
- "region_name": "string",
- "time_zone": "string",
- "time_zone_name": "string",
- "zip_code": "string"
}, - "privacy_data": {
- "hosting": true,
- "proxy": true,
- "relay": true,
- "service": "string",
- "tor": true,
- "vpn": true
}
}, - "client_ip": "string",
- "create_time": 0,
- "details": {
- "property1": "string",
- "property2": "string"
}, - "device_details": [
- {
- "account_name": "string",
- "browser": "string",
- "browser_version": "string",
- "certificate": [
- null
], - "create_time": 0,
- "data_source": 0,
- "display_name": "string",
- "eg_version": "string",
- "is_managed": true,
- "is_managed_verification_done": true,
- "normalized_id": "string",
- "os": "string",
- "os_version": "string",
- "platform_uuid": "string",
- "posture": {
- "client_version_risk": null,
- "device_activation_lock_enabled": null,
- "device_process_info": null,
- "disk_encryption_enabled": null,
- "firmware_password_enabled": null,
- "recovery_lock_enabled": null,
- "user_activation_lock_enabled": null
}, - "private_key_encrypted": "string",
- "properties": {
- "browser": null,
- "browser_details": [ ],
- "browser_install_type": null,
- "browser_version": null,
- "client_install_type": null,
- "device_activation_lock_enabled": null,
- "disk_encryption_enabled": null,
- "firmware_password_enabled": null,
- "hostname": null,
- "last_boot_epoch_sec": null,
- "location_tracking_state": null,
- "machine_model": null,
- "machine_name": null,
- "os": null,
- "os_user_id": null,
- "os_user_name": null,
- "os_version": null,
- "recovery_lock_enabled": null,
- "target_triple": null,
- "user_activation_lock_enabled": null
}, - "public_key": "string",
- "serial_number": "string",
- "status": 0,
- "tags": [
- null
], - "time_id": {
- "create_time": null,
- "end_time": null,
- "salt": null,
- "signature": [ ],
- "version": null
}, - "update_time": 0,
- "user_display_name": "string",
- "user_uuid": "string",
- "uuid": "string"
}
], - "device_uuid": "string",
- "execution_ttl_sec": 0,
- "expire_time_sec": 0,
- "geoip_details": [
- {
- "city": "string",
- "city_code": "string",
- "country": "string",
- "country_code": "string",
- "county": "string",
- "geohash": "string",
- "group_loc_freq": 0,
- "group_loc_rank": 0,
- "ip": "string",
- "latitude": 0,
- "location_label": "string",
- "longitude": 0,
- "source": 0,
- "state": "string",
- "state_code": "string",
- "user_loc_freq": 0,
- "user_loc_rank": 0,
- "zip_code": "string"
}
], - "justification": "string",
- "justification_required": true,
- "mfa_details": {
- "expire_time_sec": 0,
- "factor_id": "string",
- "factor_type": 0,
- "provider": "string",
- "provisioning_required": true,
- "security_question": "string",
- "token": "string",
- "transaction_id": "string",
- "verification_type": 0
}, - "parent_uuid": "string",
- "policy_uuid": "string",
- "recipients": [
- "string"
], - "requestor_justification": "string",
- "requestor_justification_required": true,
- "requestor_text": "string",
- "session_uuid": "string",
- "status": 0,
- "tags": [
- "string"
], - "text": "string",
- "token": 0,
- "token_required": true,
- "top_uuid": "string",
- "update_time": 0,
- "user_display_name": "string",
- "user_uuid": "string",
- "uuid": "string",
- "webapp": "string",
- "workflow_name": "string",
- "workflow_uuid": "string"
}, - "workflow_run_uuid": "string",
- "workflow_uuid": "string"
}, - "update_owner": {
- "owner_display_name": "string",
- "owner_uuid": "string"
}
}, - "actor_display_name": "string",
- "actor_uuid": "string",
- "timestamp": 0,
- "uuid": "string"
}
}
]
}
Query App Control Policies for an account
Query App Control Policies for an account
query Parameters
status | string comma separated status to match: INIT | ACTIVE | SUSPENDED |
Responses
Response samples
- 200
- 400
- 401
- 403
- 500
{- "app_control_policies": [
- {
- "account_name": "string",
- "app_filter": {
- "exclude_any": [
- {
- "all": [
- "string"
]
}
], - "include_any": [
- {
- "all": [
- "string"
]
}
]
}, - "child_policy_uuids": [
- "string"
], - "create_time": 0,
- "creator_display_name": "string",
- "creator_uuid": "string",
- "description": "string",
- "filter_selector_display_names": {
- "property1": "string",
- "property2": "string"
}, - "name": "string",
- "policy_event_actions": [
- {
- "action": 0,
- "event_type": 0,
- "policy_uuid": "string"
}
], - "session_filter": {
- "exclude_any": [
- {
- "all": [
- "string"
]
}
], - "include_any": [
- {
- "all": [
- "string"
]
}
]
}, - "status": 0,
- "update_time": 0,
- "updater_display_name": "string",
- "updater_uuid": "string",
- "uuid": "string"
}
]
}
Get details about an app control policy.
Get details about an app control policy.
path Parameters
uuid required | string app control policy uuid |
Responses
Response samples
- 200
- 400
- 401
- 403
- 500
{- "account_name": "string",
- "app_filter": {
- "exclude_any": [
- {
- "all": [
- "string"
]
}
], - "include_any": [
- {
- "all": [
- "string"
]
}
]
}, - "child_policy_uuids": [
- "string"
], - "create_time": 0,
- "creator_display_name": "string",
- "creator_uuid": "string",
- "description": "string",
- "filter_selector_display_names": {
- "property1": "string",
- "property2": "string"
}, - "name": "string",
- "policy_event_actions": [
- {
- "action": 0,
- "event_type": 0,
- "policy_uuid": "string"
}
], - "session_filter": {
- "exclude_any": [
- {
- "all": [
- "string"
]
}
], - "include_any": [
- {
- "all": [
- "string"
]
}
]
}, - "status": 0,
- "update_time": 0,
- "updater_display_name": "string",
- "updater_uuid": "string",
- "uuid": "string"
}
Update app control policy.
Update app control policy
path Parameters
uuid required | string app control policy uuid |
Request Body schema: application/jsonrequired
details of app control policy to update
account_name | string |
object which apps does it apply to | |
description | string |
name | string |
Array of objects (proto.AppControlPolicyEventAction) | |
object which sessions/users is the app control policy applicable to | |
status | integer (proto.EnumStatus) Enum: 0 1 2 3 4 |
uuid | string |
Responses
Request samples
- Payload
{- "account_name": "string",
- "app_filter": {
- "exclude_any": [
- {
- "all": [
- "string"
]
}
], - "include_any": [
- {
- "all": [
- "string"
]
}
]
}, - "description": "string",
- "name": "string",
- "policy_event_actions": [
- {
- "action": 0,
- "event_type": 0,
- "policy_uuid": "string"
}
], - "session_filter": {
- "exclude_any": [
- {
- "all": [
- "string"
]
}
], - "include_any": [
- {
- "all": [
- "string"
]
}
]
}, - "status": 0,
- "uuid": "string"
}
Response samples
- 200
- 400
- 401
- 403
- 500
{- "account_name": "string",
- "app_filter": {
- "exclude_any": [
- {
- "all": [
- "string"
]
}
], - "include_any": [
- {
- "all": [
- "string"
]
}
]
}, - "child_policy_uuids": [
- "string"
], - "create_time": 0,
- "creator_display_name": "string",
- "creator_uuid": "string",
- "description": "string",
- "filter_selector_display_names": {
- "property1": "string",
- "property2": "string"
}, - "name": "string",
- "policy_event_actions": [
- {
- "action": 0,
- "event_type": 0,
- "policy_uuid": "string"
}
], - "session_filter": {
- "exclude_any": [
- {
- "all": [
- "string"
]
}
], - "include_any": [
- {
- "all": [
- "string"
]
}
]
}, - "status": 0,
- "update_time": 0,
- "updater_display_name": "string",
- "updater_uuid": "string",
- "uuid": "string"
}
Add App Control Policy
Add App Control Policy to manage COPY/PASTE/UPLOAD/DOWNLOAD/PRINT events for an app
Request Body schema: application/jsonrequired
details of app control policy to create
account_name | string |
object which apps does it apply to | |
description | string |
name | string |
Array of objects (proto.AppControlPolicyEventAction) | |
object which sessions/users is the app control policy applicable to | |
status | integer Enum: 0 1 2 3 4 possible values during creation time -- INIT/ACTIVE |
Responses
Request samples
- Payload
{- "account_name": "string",
- "app_filter": {
- "exclude_any": [
- {
- "all": [
- "string"
]
}
], - "include_any": [
- {
- "all": [
- "string"
]
}
]
}, - "description": "string",
- "name": "string",
- "policy_event_actions": [
- {
- "action": 0,
- "event_type": 0,
- "policy_uuid": "string"
}
], - "session_filter": {
- "exclude_any": [
- {
- "all": [
- "string"
]
}
], - "include_any": [
- {
- "all": [
- "string"
]
}
]
}, - "status": 0
}
Response samples
- 201
- 400
- 401
- 403
- 500
{- "account_name": "string",
- "app_filter": {
- "exclude_any": [
- {
- "all": [
- "string"
]
}
], - "include_any": [
- {
- "all": [
- "string"
]
}
]
}, - "child_policy_uuids": [
- "string"
], - "create_time": 0,
- "creator_display_name": "string",
- "creator_uuid": "string",
- "description": "string",
- "filter_selector_display_names": {
- "property1": "string",
- "property2": "string"
}, - "name": "string",
- "policy_event_actions": [
- {
- "action": 0,
- "event_type": 0,
- "policy_uuid": "string"
}
], - "session_filter": {
- "exclude_any": [
- {
- "all": [
- "string"
]
}
], - "include_any": [
- {
- "all": [
- "string"
]
}
]
}, - "status": 0,
- "update_time": 0,
- "updater_display_name": "string",
- "updater_uuid": "string",
- "uuid": "string"
}
Query Apps
Query Apps
query Parameters
tag | string tag to search for |
status | string comma separated status to match: INIT | ACTIVE | SUSPENDED |
datasource | string comma separated data source to match |
Responses
Response samples
- 200
- 400
- 401
- 403
- 500
{- "apps": [
- {
- "account_name": "string",
- "connector_unique_name": "string",
- "create_time": 0,
- "creator_display_name": "string",
- "creator_uuid": "string",
- "data_source": 0,
- "description": "string",
- "host": "string",
- "host_match_type": 0,
- "integration_id": "string",
- "internal_host_pattern": "string",
- "internal_port": 0,
- "internal_protocol": "string",
- "name": "string",
- "path": "string",
- "port": 0,
- "protocol": "string",
- "protocols": [
- 0
], - "ref_display_names": {
- "property1": "string",
- "property2": "string"
}, - "ref_matches": [
- {
- "ref": "string",
- "tags": [
- "string"
]
}
], - "refs": [
- "string"
], - "request_host_header": "string",
- "reverse_proxy_name": "string",
- "status": 0,
- "tags": [
- "string"
], - "tcp_port_ranges": [
- {
- "end": 0,
- "start": 0
}
], - "tcp_ports": [
- 0
], - "udp_port_ranges": [
- {
- "end": 0,
- "start": 0
}
], - "udp_ports": [
- 0
], - "update_time": 0,
- "updater_display_name": "string",
- "updater_uuid": "string",
- "uuid": "string",
- "verify_server_cert": 0
}
]
}
Create an app.
Create a new app.
Request Body schema: application/jsonrequired
details of app to create
account_name | string The name of the account. |
object (proto.App) |
Responses
Request samples
- Payload
{- "account_name": "string",
- "app": {
- "account_name": "string",
- "connector_unique_name": "string",
- "create_time": 0,
- "creator_display_name": "string",
- "creator_uuid": "string",
- "data_source": 0,
- "description": "string",
- "host": "string",
- "host_match_type": 0,
- "integration_id": "string",
- "internal_host_pattern": "string",
- "internal_port": 0,
- "internal_protocol": "string",
- "name": "string",
- "path": "string",
- "port": 0,
- "protocol": "string",
- "protocols": [
- 0
], - "ref_display_names": {
- "property1": "string",
- "property2": "string"
}, - "ref_matches": [
- {
- "ref": "string",
- "tags": [
- "string"
]
}
], - "refs": [
- "string"
], - "request_host_header": "string",
- "reverse_proxy_name": "string",
- "status": 0,
- "tags": [
- "string"
], - "tcp_port_ranges": [
- {
- "end": 0,
- "start": 0
}
], - "tcp_ports": [
- 0
], - "udp_port_ranges": [
- {
- "end": 0,
- "start": 0
}
], - "udp_ports": [
- 0
], - "update_time": 0,
- "updater_display_name": "string",
- "updater_uuid": "string",
- "uuid": "string",
- "verify_server_cert": 0
}
}
Response samples
- 200
- 400
- 401
- 403
- 500
{- "account_name": "string",
- "connector_unique_name": "string",
- "create_time": 0,
- "creator_display_name": "string",
- "creator_uuid": "string",
- "data_source": 0,
- "description": "string",
- "host": "string",
- "host_match_type": 0,
- "integration_id": "string",
- "internal_host_pattern": "string",
- "internal_port": 0,
- "internal_protocol": "string",
- "name": "string",
- "path": "string",
- "port": 0,
- "protocol": "string",
- "protocols": [
- 0
], - "ref_display_names": {
- "property1": "string",
- "property2": "string"
}, - "ref_matches": [
- {
- "ref": "string",
- "tags": [
- "string"
]
}
], - "refs": [
- "string"
], - "request_host_header": "string",
- "reverse_proxy_name": "string",
- "status": 0,
- "tags": [
- "string"
], - "tcp_port_ranges": [
- {
- "end": 0,
- "start": 0
}
], - "tcp_ports": [
- 0
], - "udp_port_ranges": [
- {
- "end": 0,
- "start": 0
}
], - "udp_ports": [
- 0
], - "update_time": 0,
- "updater_display_name": "string",
- "updater_uuid": "string",
- "uuid": "string",
- "verify_server_cert": 0
}
Response samples
- 200
- 400
- 401
- 403
- 500
{- "account_name": "string",
- "connector_unique_name": "string",
- "create_time": 0,
- "creator_display_name": "string",
- "creator_uuid": "string",
- "data_source": 0,
- "description": "string",
- "host": "string",
- "host_match_type": 0,
- "integration_id": "string",
- "internal_host_pattern": "string",
- "internal_port": 0,
- "internal_protocol": "string",
- "name": "string",
- "path": "string",
- "port": 0,
- "protocol": "string",
- "protocols": [
- 0
], - "ref_display_names": {
- "property1": "string",
- "property2": "string"
}, - "ref_matches": [
- {
- "ref": "string",
- "tags": [
- "string"
]
}
], - "refs": [
- "string"
], - "request_host_header": "string",
- "reverse_proxy_name": "string",
- "status": 0,
- "tags": [
- "string"
], - "tcp_port_ranges": [
- {
- "end": 0,
- "start": 0
}
], - "tcp_ports": [
- 0
], - "udp_port_ranges": [
- {
- "end": 0,
- "start": 0
}
], - "udp_ports": [
- 0
], - "update_time": 0,
- "updater_display_name": "string",
- "updater_uuid": "string",
- "uuid": "string",
- "verify_server_cert": 0
}
Deploy an app.
Deploy a new app.
Request Body schema: application/jsonrequired
details of app to deploy
account_name | string The name of the account. |
object (proto.App) |
Responses
Request samples
- Payload
{- "account_name": "string",
- "app": {
- "account_name": "string",
- "connector_unique_name": "string",
- "create_time": 0,
- "creator_display_name": "string",
- "creator_uuid": "string",
- "data_source": 0,
- "description": "string",
- "host": "string",
- "host_match_type": 0,
- "integration_id": "string",
- "internal_host_pattern": "string",
- "internal_port": 0,
- "internal_protocol": "string",
- "name": "string",
- "path": "string",
- "port": 0,
- "protocol": "string",
- "protocols": [
- 0
], - "ref_display_names": {
- "property1": "string",
- "property2": "string"
}, - "ref_matches": [
- {
- "ref": "string",
- "tags": [
- "string"
]
}
], - "refs": [
- "string"
], - "request_host_header": "string",
- "reverse_proxy_name": "string",
- "status": 0,
- "tags": [
- "string"
], - "tcp_port_ranges": [
- {
- "end": 0,
- "start": 0
}
], - "tcp_ports": [
- 0
], - "udp_port_ranges": [
- {
- "end": 0,
- "start": 0
}
], - "udp_ports": [
- 0
], - "update_time": 0,
- "updater_display_name": "string",
- "updater_uuid": "string",
- "uuid": "string",
- "verify_server_cert": 0
}
}
Response samples
- 200
- 400
- 401
- 403
- 500
{- "app": {
- "account_name": "string",
- "connector_unique_name": "string",
- "create_time": 0,
- "creator_display_name": "string",
- "creator_uuid": "string",
- "data_source": 0,
- "description": "string",
- "host": "string",
- "host_match_type": 0,
- "integration_id": "string",
- "internal_host_pattern": "string",
- "internal_port": 0,
- "internal_protocol": "string",
- "name": "string",
- "path": "string",
- "port": 0,
- "protocol": "string",
- "protocols": [
- 0
], - "ref_display_names": {
- "property1": "string",
- "property2": "string"
}, - "ref_matches": [
- {
- "ref": "string",
- "tags": [
- "string"
]
}
], - "refs": [
- "string"
], - "request_host_header": "string",
- "reverse_proxy_name": "string",
- "status": 0,
- "tags": [
- "string"
], - "tcp_port_ranges": [
- {
- "end": 0,
- "start": 0
}
], - "tcp_ports": [
- 0
], - "udp_port_ranges": [
- {
- "end": 0,
- "start": 0
}
], - "udp_ports": [
- 0
], - "update_time": 0,
- "updater_display_name": "string",
- "updater_uuid": "string",
- "uuid": "string",
- "verify_server_cert": 0
}, - "new_policies": [
- {
- "account_name": "string",
- "action": 0,
- "allow_guest_access": true,
- "app_filter": {
- "exclude_any": [
- {
- "all": [
- "string"
]
}
], - "include_any": [
- {
- "all": [
- "string"
]
}
]
}, - "constraints": {
- "property1": "string",
- "property2": "string"
}, - "create_time": 0,
- "creator_display_name": "string",
- "creator_uuid": "string",
- "data_source": 0,
- "description": "string",
- "filter_selector_display_names": {
- "property1": "string",
- "property2": "string"
}, - "integration_id": "string",
- "metadata": "string",
- "mitm_settings": {
- "fail_close": true
}, - "name": "string",
- "parent_app_control_policy_uuid": "string",
- "policy_event_type": 0,
- "priority": 0,
- "session_filter": {
- "exclude_any": [
- {
- "all": [
- "string"
]
}
], - "include_any": [
- {
- "all": [
- "string"
]
}
]
}, - "status": 0,
- "type": 0,
- "update_time": 0,
- "updater_display_name": "string",
- "updater_uuid": "string",
- "uuid": "string",
- "workflow_uuid": "string"
}
]
}
Query Audit Events
Query Audit Events
query Parameters
start_time required | string start time of audit events |
end_time | string end time of audit events |
Responses
Response samples
- 200
- 400
- 401
- 403
- 500
{- "audit_events": [
- {
- "account_name": "string",
- "auth_account_name": "string",
- "auth_role": 0,
- "auth_type": "string",
- "auth_uuid": "string",
- "client_ip": "string",
- "create_time": 0,
- "expire_time_sec": 0,
- "matched_path": "string",
- "method": "string",
- "op": "string",
- "path": "string",
- "proto_version": "string",
- "protocol": "string",
- "request_body": "string",
- "response_status": 0,
- "response_status_text": "string",
- "trace": "string",
- "user_display_name": "string",
- "user_login": "string",
- "uuid": "string"
}
]
}
Get the audit event details.
Get the audit event details
path Parameters
uuid required | string The audit event uuid |
Responses
Response samples
- 200
- 400
- 401
- 403
- 500
{- "account_name": "string",
- "auth_account_name": "string",
- "auth_role": 0,
- "auth_type": "string",
- "auth_uuid": "string",
- "client_ip": "string",
- "create_time": 0,
- "expire_time_sec": 0,
- "matched_path": "string",
- "method": "string",
- "op": "string",
- "path": "string",
- "proto_version": "string",
- "protocol": "string",
- "request_body": "string",
- "response_status": 0,
- "response_status_text": "string",
- "trace": "string",
- "user_display_name": "string",
- "user_login": "string",
- "uuid": "string"
}
Query blobs by prefix.
Get all blobs with a given key prefix.
query Parameters
prefix required | string key prefix of blobs to query |
Responses
Response samples
- 200
- 400
- 401
- 403
- 500
{- "blobs": [
- {
- "account_name": "string",
- "create_time": 0,
- "data": "string",
- "expire_time_sec": 0,
- "key": "string",
- "name": "string",
- "update_time": 0,
- "user_uuid": "string"
}
]
}
Create a blob.
Create a new blob.
Request Body schema: application/jsonrequired
details of blob to create
account_name | string Name of account to own the created blob. |
data | string The blob data. |
expire_time_sec | integer Time at which this blob expires, optional. |
key | string Key of the blob: likely a combination of some grouping/namespace prefix and the ID of the blob itself. |
name | string Metadata string to be used however client sees fit. |
Responses
Request samples
- Payload
{- "account_name": "string",
- "data": "string",
- "expire_time_sec": 0,
- "key": "string",
- "name": "string"
}
Response samples
- 200
- 400
- 401
- 403
- 500
{- "account_name": "string",
- "create_time": 0,
- "data": "string",
- "expire_time_sec": 0,
- "key": "string",
- "name": "string",
- "update_time": 0,
- "user_uuid": "string"
}
Get a blob.
Get a single blob with the provided key.
path Parameters
key required | string key of blob to get |
Responses
Response samples
- 200
- 400
- 401
- 403
- 500
{- "account_name": "string",
- "create_time": 0,
- "data": "string",
- "expire_time_sec": 0,
- "key": "string",
- "name": "string",
- "update_time": 0,
- "user_uuid": "string"
}
Response samples
- 200
- 400
- 401
- 403
- 500
{- "account_name": "string",
- "certificates": [
- {
- "account_name": "string",
- "chain": [
- "string"
], - "create_time": 0,
- "creator_display_name": "string",
- "creator_uuid": "string",
- "description": "string",
- "have_private_key": true,
- "public_key_pem": "string",
- "purpose": 0,
- "status": 0,
- "subject": "string",
- "update_time": 0,
- "updater_display_name": "string",
- "updater_uuid": "string",
- "uuid": "string"
}
]
}
Add CA certificate
Add CA certificate
Request Body schema: application/jsonrequired
details of CA certificate
account_name | string |
chain | Array of strings |
description | string |
public_key_pem | string |
purpose | integer (proto.CaCertificate_Purpose) Enum: 0 1 2 3 |
status | integer (proto.CaCertificate_Status) Enum: 0 1 2 |
Responses
Request samples
- Payload
{- "account_name": "string",
- "chain": [
- "string"
], - "description": "string",
- "public_key_pem": "string",
- "purpose": 0,
- "status": 0
}
Response samples
- 201
- 400
- 401
- 403
- 500
{- "account_name": "string",
- "chain": [
- "string"
], - "create_time": 0,
- "creator_display_name": "string",
- "creator_uuid": "string",
- "description": "string",
- "have_private_key": true,
- "public_key_pem": "string",
- "purpose": 0,
- "status": 0,
- "subject": "string",
- "update_time": 0,
- "updater_display_name": "string",
- "updater_uuid": "string",
- "uuid": "string"
}
Get CA certificate for an account based on uuid
Get CA certificate for an account based on uuid
Responses
Response samples
- 200
- 400
- 401
- 403
- 500
{- "account_name": "string",
- "chain": [
- "string"
], - "create_time": 0,
- "creator_display_name": "string",
- "creator_uuid": "string",
- "description": "string",
- "have_private_key": true,
- "public_key_pem": "string",
- "purpose": 0,
- "status": 0,
- "subject": "string",
- "update_time": 0,
- "updater_display_name": "string",
- "updater_uuid": "string",
- "uuid": "string"
}
Update CA Certificate
Update CA Certificate
path Parameters
uuid required | string ca certificate uuid |
Request Body schema: application/jsonrequired
details of CA certificate to update
account_name | string |
attributes_to_delete | Array of strings |
chain | Array of strings |
description | string |
status | integer (proto.CaCertificate_Status) Enum: 0 1 2 |
uuid | string |
Responses
Request samples
- Payload
{- "account_name": "string",
- "attributes_to_delete": [
- "string"
], - "chain": [
- "string"
], - "description": "string",
- "status": 0,
- "uuid": "string"
}
Response samples
- 200
- 400
- 401
- 403
- 500
{- "account_name": "string",
- "browser_performance_inspection": 0,
- "browser_performance_inspection_domains": [
- "string"
], - "browser_request_inspection": 0,
- "client_ca_uuid": "string",
- "client_use_eg_upstream_dns": 0,
- "create_time": 0,
- "creator_display_name": "string",
- "creator_uuid": "string",
- "description": "string",
- "disconnect_allowed": 0,
- "disconnect_interval_minutes": [
- "string"
], - "disconnect_justification_required": 0,
- "dns_search_domains": [
- "string"
], - "enable_always_on_vpn": 0,
- "enable_auto_updates": 0,
- "enable_browser_proxy": 0,
- "enable_guest_user_mode": 0,
- "enable_manual_updates": 0,
- "enable_sensor_data": 0,
- "enable_transparent_proxy": 0,
- "enable_transparent_sso": 0,
- "filter_selector_display_names": {
- "property1": "string",
- "property2": "string"
}, - "guest_user_api_token": "string",
- "installer_cert_thumbprint": "string",
- "log_level": 0,
- "mac_install_root_ca": 0,
- "name": "string",
- "policy_location": "string",
- "post_login_redirect_url": "string",
- "priority": 0,
- "proxy_exclusion_domains": [
- "string"
], - "session_filter": {
- "exclude_any": [
- {
- "all": [
- "string"
]
}
], - "include_any": [
- {
- "all": [
- "string"
]
}
]
}, - "session_refresh_interval_hours": 0,
- "should_fail_open": 0,
- "show_cellular_confirmation": 0,
- "show_popover_automatically": 0,
- "status": 0,
- "update_channels": [
- "string"
], - "update_time": 0,
- "updater_display_name": "string",
- "updater_uuid": "string",
- "uuid": "string",
- "wifi_only_if_location_permission": 0,
- "windows_install_per_device_root_ca": 0
}
Response samples
- 200
- 400
- 401
- 403
- 500
{- "cards": [
- {
- "account_name": "string",
- "chart_type": 0,
- "create_time": 0,
- "creator_display_name": "string",
- "creator_uuid": "string",
- "data": "string",
- "dataset": "string",
- "description": "string",
- "display_config": "string",
- "layout": "string",
- "name": "string",
- "status": 0,
- "update_time": 0,
- "updater_display_name": "string",
- "updater_uuid": "string",
- "uuid": "string"
}
]
}
Create a card.
Create a new Card.
Request Body schema: application/jsonrequired
details of card to create
account_name | string |
object (proto.Card) |
Responses
Request samples
- Payload
{- "account_name": "string",
- "card": {
- "account_name": "string",
- "chart_type": 0,
- "create_time": 0,
- "creator_display_name": "string",
- "creator_uuid": "string",
- "data": "string",
- "dataset": "string",
- "description": "string",
- "display_config": "string",
- "layout": "string",
- "name": "string",
- "status": 0,
- "update_time": 0,
- "updater_display_name": "string",
- "updater_uuid": "string",
- "uuid": "string"
}
}
Response samples
- 201
- 400
- 401
- 403
- 500
{- "account_name": "string",
- "chart_type": 0,
- "create_time": 0,
- "creator_display_name": "string",
- "creator_uuid": "string",
- "data": "string",
- "dataset": "string",
- "description": "string",
- "display_config": "string",
- "layout": "string",
- "name": "string",
- "status": 0,
- "update_time": 0,
- "updater_display_name": "string",
- "updater_uuid": "string",
- "uuid": "string"
}
Get the Card details.
Get the Card details
path Parameters
uuid required | string The Card uuid |
Responses
Response samples
- 200
- 400
- 401
- 403
- 500
{- "account_name": "string",
- "chart_type": 0,
- "create_time": 0,
- "creator_display_name": "string",
- "creator_uuid": "string",
- "data": "string",
- "dataset": "string",
- "description": "string",
- "display_config": "string",
- "layout": "string",
- "name": "string",
- "status": 0,
- "update_time": 0,
- "updater_display_name": "string",
- "updater_uuid": "string",
- "uuid": "string"
}
Query NotificationChannels
Query NotificationChannels
query Parameters
status | string comma separated status to match: INIT | ACTIVE | SUSPENDED |
resolveDisplayNames required | string whether or not to resolve display names |
Responses
Response samples
- 200
- 400
- 401
- 403
- 500
{- "channels": [
- {
- "account_name": "string",
- "create_time": 0,
- "creator_display_name": "string",
- "creator_uuid": "string",
- "description": "string",
- "encrypted_credentials": "string",
- "name": "string",
- "recipient_display_names": {
- "property1": "string",
- "property2": "string"
}, - "recipients": [
- "string"
], - "slack_channel": "string",
- "slack_team": "string",
- "status": 0,
- "type": 0,
- "update_time": 0,
- "updater_display_name": "string",
- "updater_uuid": "string",
- "uuid": "string"
}
]
}
Create a new notification channel.
Create a new notification channel.
Request Body schema: application/jsonrequired
details of channel to create
account_name | string |
description | string |
name | string |
oauth_code | string OAuth authorization code and redirect URI to be used to exchange for an access token. |
recipients | Array of strings Actual values of the recipients are determined by the type.
USER_PREFERRED - user: |
redirect_uri | string |
resolve_display_names | boolean |
status | integer (proto.EnumStatus) Enum: 0 1 2 3 4 |
type | integer (proto.ChannelType) Enum: 0 1 2 3 4 5 6 |
Responses
Request samples
- Payload
{- "account_name": "string",
- "description": "string",
- "name": "string",
- "oauth_code": "string",
- "recipients": [
- "string"
], - "redirect_uri": "string",
- "resolve_display_names": true,
- "status": 0,
- "type": 0
}
Response samples
- 200
- 400
- 401
- 403
- 500
{- "account_name": "string",
- "create_time": 0,
- "creator_display_name": "string",
- "creator_uuid": "string",
- "description": "string",
- "encrypted_credentials": "string",
- "name": "string",
- "recipient_display_names": {
- "property1": "string",
- "property2": "string"
}, - "recipients": [
- "string"
], - "slack_channel": "string",
- "slack_team": "string",
- "status": 0,
- "type": 0,
- "update_time": 0,
- "updater_display_name": "string",
- "updater_uuid": "string",
- "uuid": "string"
}
Get the channel details.
Get the channel details
path Parameters
uuid required | string The notification channel uuid |
query Parameters
resolveDisplayNames required | string whether or not to resolve display names |
Responses
Response samples
- 200
- 400
- 401
- 403
- 500
{- "account_name": "string",
- "create_time": 0,
- "creator_display_name": "string",
- "creator_uuid": "string",
- "description": "string",
- "encrypted_credentials": "string",
- "name": "string",
- "recipient_display_names": {
- "property1": "string",
- "property2": "string"
}, - "recipients": [
- "string"
], - "slack_channel": "string",
- "slack_team": "string",
- "status": 0,
- "type": 0,
- "update_time": 0,
- "updater_display_name": "string",
- "updater_uuid": "string",
- "uuid": "string"
}
Download client config for an account based on uuid
Download client config for an account based on uuid
Responses
Response samples
- 200
- 400
- 401
- 403
- 500
{- "account_name": "string",
- "browser_performance_inspection": 0,
- "browser_performance_inspection_domains": [
- "string"
], - "browser_request_inspection": 0,
- "client_ca_uuid": "string",
- "client_use_eg_upstream_dns": 0,
- "create_time": 0,
- "creator_display_name": "string",
- "creator_uuid": "string",
- "description": "string",
- "disconnect_allowed": 0,
- "disconnect_interval_minutes": [
- "string"
], - "disconnect_justification_required": 0,
- "dns_search_domains": [
- "string"
], - "enable_always_on_vpn": 0,
- "enable_auto_updates": 0,
- "enable_browser_proxy": 0,
- "enable_guest_user_mode": 0,
- "enable_manual_updates": 0,
- "enable_sensor_data": 0,
- "enable_transparent_proxy": 0,
- "enable_transparent_sso": 0,
- "filter_selector_display_names": {
- "property1": "string",
- "property2": "string"
}, - "guest_user_api_token": "string",
- "installer_cert_thumbprint": "string",
- "log_level": 0,
- "mac_install_root_ca": 0,
- "name": "string",
- "policy_location": "string",
- "post_login_redirect_url": "string",
- "priority": 0,
- "proxy_exclusion_domains": [
- "string"
], - "session_filter": {
- "exclude_any": [
- {
- "all": [
- "string"
]
}
], - "include_any": [
- {
- "all": [
- "string"
]
}
]
}, - "session_refresh_interval_hours": 0,
- "should_fail_open": 0,
- "show_cellular_confirmation": 0,
- "show_popover_automatically": 0,
- "status": 0,
- "update_channels": [
- "string"
], - "update_time": 0,
- "updater_display_name": "string",
- "updater_uuid": "string",
- "uuid": "string",
- "wifi_only_if_location_permission": 0,
- "windows_install_per_device_root_ca": 0
}
Add client configuration
Add client configuration
Request Body schema: application/jsonrequired
details of client configuration
account_name | string |
browser_performance_inspection | integer Enum: 0 1 2 If true, collect performance data from websites listed below. Default is false. |
browser_performance_inspection_domains | Array of strings A list of domains where we collect performance data. |
browser_request_inspection | integer Enum: 0 1 2 If true, inspect requests to attach additional context (such as tab information) to browser-ext exports. Default is true. |
client_ca_uuid | string If set, the client will look for identities in the key store (OS specific) issued by this CA. |
client_use_eg_upstream_dns | integer Enum: 0 1 2 Use EG’s upstream resolver to resolve domains at the client. Only meant for use on macOS, and is ignored on Windows. Default is false. |
description | string |
disconnect_allowed | integer (pbcommon.Bool) Enum: 0 1 2 |
disconnect_interval_minutes | Array of strings A comma separated list of numbers that represent the disconnect duration options. |
disconnect_justification_required | integer Enum: 0 1 2 Require at least a 5 character long justification on disconnect. Default is false. |
dns_search_domains | Array of strings A comma separated list of domains that need to be treated as search domains. Defaults to network specific values. |
enable_always_on_vpn | integer Enum: 0 1 2 Enable always on mode: Some menu items, such as disconnect, quit, are removed. Default is false. |
enable_auto_updates | integer Enum: 0 1 2 Allow client to automatically download the updates in the background and update on next app start. Default is false if not set. |
enable_browser_proxy | integer Enum: 0 1 2 Enables setting the system’s browser proxy settings. If set to false, then the client functions as a L4+L3 VPN. Default is true. |
enable_guest_user_mode | integer Enum: 0 1 2 If true, enable guest user mode |
enable_manual_updates | integer Enum: 0 1 2 Allow users to manually check for updates. Default is true if not set. |
enable_sensor_data | integer Enum: 0 1 2 If false, do not export idle activity data from the client that measures time between user interactions on the device. Default is true. |
enable_transparent_proxy | integer Enum: 0 1 2 Enables the L4 transparent proxy that redirects TCP flows to the rust datapath. If set to false, the client functions as a L3 VPN. Default is true. |
enable_transparent_sso | integer Enum: 0 1 2 Enable transparent SSO. Clients installed on AzureAD domain joined machines to automatically log into Lacework Edge. |
generate_guest_user_api_token | boolean |
guest_user_api_token | string If guest user mode is enabled, either guest_user_api_token must be provided or generate_guest_user_api_token must be set to true to indicate that a new guest api token needs to be generated. |
installer_cert_thumbprint | string The cert thumbprint with which the automatically downloaded exe/msi installer must be signed with for automatic updates. Required if enable_auto_updates is set on Windows. |
log_level | integer Enum: 0 1 2 3 4 Log level on the client (system tray for now) |
mac_install_root_ca | integer Enum: 0 1 2 If true, create MITM cert if one does not exist. |
name | string |
policy_location | string Show a specific message on the popover. |
post_login_redirect_url | string A valid URL to which users can be redirected 30s after successful login. |
priority | integer |
proxy_exclusion_domains | Array of strings A comma separated list of domains or networks that need to be excluded from system proxy. Defaults to platform specific values. |
object (proto.Filter) | |
session_refresh_interval_hours | integer Windows only: How often should AzureAD session be queried/refreshed from the client. Default is 6 hours. |
should_fail_open | integer Enum: 0 1 2 If Lacework Edge gateway is unavailable, fail open internet connections. Default is true. |
show_cellular_confirmation | integer Enum: 0 1 2 iOS only: When submitting diagnostics, ask user whether they want to upload via cellular network. Default is false (?). |
show_popover_automatically | integer Enum: 0 1 2 If false, do not pop over the system tray when there is an in-app notification. Default is true. |
status | integer (proto.EnumStatus) Enum: 0 1 2 3 4 |
update_channels | Array of strings Update channel(s). |
wifi_only_if_location_permission | integer Enum: 0 1 2 Collect local WiFi data only when user consents to location permissions. Default is false. |
windows_install_per_device_root_ca | integer Enum: 0 1 2 If true, install a per-device MITM cert automatically. Default is false. |
Responses
Request samples
- Payload
{- "account_name": "string",
- "browser_performance_inspection": 0,
- "browser_performance_inspection_domains": [
- "string"
], - "browser_request_inspection": 0,
- "client_ca_uuid": "string",
- "client_use_eg_upstream_dns": 0,
- "description": "string",
- "disconnect_allowed": 0,
- "disconnect_interval_minutes": [
- "string"
], - "disconnect_justification_required": 0,
- "dns_search_domains": [
- "string"
], - "enable_always_on_vpn": 0,
- "enable_auto_updates": 0,
- "enable_browser_proxy": 0,
- "enable_guest_user_mode": 0,
- "enable_manual_updates": 0,
- "enable_sensor_data": 0,
- "enable_transparent_proxy": 0,
- "enable_transparent_sso": 0,
- "generate_guest_user_api_token": true,
- "guest_user_api_token": "string",
- "installer_cert_thumbprint": "string",
- "log_level": 0,
- "mac_install_root_ca": 0,
- "name": "string",
- "policy_location": "string",
- "post_login_redirect_url": "string",
- "priority": 0,
- "proxy_exclusion_domains": [
- "string"
], - "session_filter": {
- "exclude_any": [
- {
- "all": [
- "string"
]
}
], - "include_any": [
- {
- "all": [
- "string"
]
}
]
}, - "session_refresh_interval_hours": 0,
- "should_fail_open": 0,
- "show_cellular_confirmation": 0,
- "show_popover_automatically": 0,
- "status": 0,
- "update_channels": [
- "string"
], - "wifi_only_if_location_permission": 0,
- "windows_install_per_device_root_ca": 0
}
Response samples
- 201
- 400
- 401
- 403
- 500
{- "account_name": "string",
- "browser_performance_inspection": 0,
- "browser_performance_inspection_domains": [
- "string"
], - "browser_request_inspection": 0,
- "client_ca_uuid": "string",
- "client_use_eg_upstream_dns": 0,
- "create_time": 0,
- "creator_display_name": "string",
- "creator_uuid": "string",
- "description": "string",
- "disconnect_allowed": 0,
- "disconnect_interval_minutes": [
- "string"
], - "disconnect_justification_required": 0,
- "dns_search_domains": [
- "string"
], - "enable_always_on_vpn": 0,
- "enable_auto_updates": 0,
- "enable_browser_proxy": 0,
- "enable_guest_user_mode": 0,
- "enable_manual_updates": 0,
- "enable_sensor_data": 0,
- "enable_transparent_proxy": 0,
- "enable_transparent_sso": 0,
- "filter_selector_display_names": {
- "property1": "string",
- "property2": "string"
}, - "guest_user_api_token": "string",
- "installer_cert_thumbprint": "string",
- "log_level": 0,
- "mac_install_root_ca": 0,
- "name": "string",
- "policy_location": "string",
- "post_login_redirect_url": "string",
- "priority": 0,
- "proxy_exclusion_domains": [
- "string"
], - "session_filter": {
- "exclude_any": [
- {
- "all": [
- "string"
]
}
], - "include_any": [
- {
- "all": [
- "string"
]
}
]
}, - "session_refresh_interval_hours": 0,
- "should_fail_open": 0,
- "show_cellular_confirmation": 0,
- "show_popover_automatically": 0,
- "status": 0,
- "update_channels": [
- "string"
], - "update_time": 0,
- "updater_display_name": "string",
- "updater_uuid": "string",
- "uuid": "string",
- "wifi_only_if_location_permission": 0,
- "windows_install_per_device_root_ca": 0
}
Get client config for an account based on uuid
Get client config for an account based on uuid
Responses
Response samples
- 200
- 400
- 401
- 403
- 500
{- "account_name": "string",
- "browser_performance_inspection": 0,
- "browser_performance_inspection_domains": [
- "string"
], - "browser_request_inspection": 0,
- "client_ca_uuid": "string",
- "client_use_eg_upstream_dns": 0,
- "create_time": 0,
- "creator_display_name": "string",
- "creator_uuid": "string",
- "description": "string",
- "disconnect_allowed": 0,
- "disconnect_interval_minutes": [
- "string"
], - "disconnect_justification_required": 0,
- "dns_search_domains": [
- "string"
], - "enable_always_on_vpn": 0,
- "enable_auto_updates": 0,
- "enable_browser_proxy": 0,
- "enable_guest_user_mode": 0,
- "enable_manual_updates": 0,
- "enable_sensor_data": 0,
- "enable_transparent_proxy": 0,
- "enable_transparent_sso": 0,
- "filter_selector_display_names": {
- "property1": "string",
- "property2": "string"
}, - "guest_user_api_token": "string",
- "installer_cert_thumbprint": "string",
- "log_level": 0,
- "mac_install_root_ca": 0,
- "name": "string",
- "policy_location": "string",
- "post_login_redirect_url": "string",
- "priority": 0,
- "proxy_exclusion_domains": [
- "string"
], - "session_filter": {
- "exclude_any": [
- {
- "all": [
- "string"
]
}
], - "include_any": [
- {
- "all": [
- "string"
]
}
]
}, - "session_refresh_interval_hours": 0,
- "should_fail_open": 0,
- "show_cellular_confirmation": 0,
- "show_popover_automatically": 0,
- "status": 0,
- "update_channels": [
- "string"
], - "update_time": 0,
- "updater_display_name": "string",
- "updater_uuid": "string",
- "uuid": "string",
- "wifi_only_if_location_permission": 0,
- "windows_install_per_device_root_ca": 0
}
Update client config
Update client config
path Parameters
uuid required | string client config uuid |
Request Body schema: application/jsonrequired
details of client config to update
account_name | string |
attributes_to_delete | Array of strings Attributes to be deleted. |
browser_performance_inspection | integer Enum: 0 1 2 If true, collect performance data from websites listed below. Default is false. |
browser_performance_inspection_domains | Array of strings A list of domains where we collect performance data. |
browser_request_inspection | integer Enum: 0 1 2 If true, inspect requests to attach additional context (such as tab information) to browser-ext exports. Default is true. |
client_ca_uuid | string If set, the client will look for identities in the key store (OS specific) issued by this CA. |
client_use_eg_upstream_dns | integer Enum: 0 1 2 Use EG’s upstream resolver to resolve domains at the client. Only meant for use on macOS, and is ignored on Windows. Default is false. |
description | string |
disconnect_allowed | integer (pbcommon.Bool) Enum: 0 1 2 |
disconnect_interval_minutes | Array of strings A comma separated list of numbers that represent the disconnect duration options. |
disconnect_justification_required | integer Enum: 0 1 2 Require at least a 5 character long justification on disconnect. Default is false. |
dns_search_domains | Array of strings A comma separated list of domains that need to be treated as search domains. Defaults to network specific values. |
enable_always_on_vpn | integer Enum: 0 1 2 Enable always on mode: Some menu items, such as disconnect, quit, are removed. Default is false. |
enable_auto_updates | integer Enum: 0 1 2 Allow client to automatically download the updates in the background and update on next app start. Default is false if not set. |
enable_browser_proxy | integer Enum: 0 1 2 Enables setting the system’s browser proxy settings. If set to false, then the client functions as a L4+L3 VPN. Default is true. |
enable_guest_user_mode | integer Enum: 0 1 2 If true, enable guest user mode |
enable_manual_updates | integer Enum: 0 1 2 Allow users to manually check for updates. Default is true if not set. |
enable_sensor_data | integer Enum: 0 1 2 If false, do not export idle activity data from the client that measures time between user interactions on the device. Default is true. |
enable_transparent_proxy | integer Enum: 0 1 2 Enables the L4 transparent proxy that redirects TCP flows to the rust datapath. If set to false, the client functions as a L3 VPN. Default is true. |
enable_transparent_sso | integer Enum: 0 1 2 Enable transparent SSO. Clients installed on AzureAD domain joined machines to automatically login to Lacework Edge. |
generate_guest_user_api_token | boolean |
guest_user_api_token | string If guest user mode is enabled, either guest_user_api_token must be provided or generate_guest_user_api_token must be set to true to indicate that a new guest api token needs to be generated. |
installer_cert_thumbprint | string The cert thumbprint with which the automatically downloaded exe/msi installer must be signed with for automatic updates. Required if enable_auto_updates is set on Windows. |
log_level | integer Enum: 0 1 2 3 4 Log level on the client (system tray for now) |
mac_install_root_ca | integer Enum: 0 1 2 If true, create MITM cert if one does not exist. |
name | string |
policy_location | string Show a specific message on the popover. |
post_login_redirect_url | string A valid URL to which users can be redirected 30s after successful login. |
priority | integer |
proxy_exclusion_domains | Array of strings A comma separated list of domains or networks that need to be excluded from system proxy. Defaults to platform specific values. |
object (proto.Filter) | |
session_refresh_interval_hours | integer Windows only: How often should AzureAD session be queried/refreshed from the client. Default is 6 hours. |
should_fail_open | integer Enum: 0 1 2 If Lacework Edge gateway is unavailable, fail open internet connections. Default is true. |
show_cellular_confirmation | integer Enum: 0 1 2 iOS only: When submitting diagnostics, ask user whether they want to upload via cellular network. Default is false (?). |
show_popover_automatically | integer Enum: 0 1 2 If false, do not pop over the system tray when there is an in-app notification. Default is true. |
status | integer (proto.EnumStatus) Enum: 0 1 2 3 4 |
update_channels | Array of strings Update channel(s). |
uuid | string |
wifi_only_if_location_permission | integer Enum: 0 1 2 Collect local WiFi data only when user consents to location permissions. Default is false. |
windows_install_per_device_root_ca | integer Enum: 0 1 2 If true, install a per-device MITM cert automatically. Default is false. |
Responses
Request samples
- Payload
{- "account_name": "string",
- "attributes_to_delete": [
- "string"
], - "browser_performance_inspection": 0,
- "browser_performance_inspection_domains": [
- "string"
], - "browser_request_inspection": 0,
- "client_ca_uuid": "string",
- "client_use_eg_upstream_dns": 0,
- "description": "string",
- "disconnect_allowed": 0,
- "disconnect_interval_minutes": [
- "string"
], - "disconnect_justification_required": 0,
- "dns_search_domains": [
- "string"
], - "enable_always_on_vpn": 0,
- "enable_auto_updates": 0,
- "enable_browser_proxy": 0,
- "enable_guest_user_mode": 0,
- "enable_manual_updates": 0,
- "enable_sensor_data": 0,
- "enable_transparent_proxy": 0,
- "enable_transparent_sso": 0,
- "generate_guest_user_api_token": true,
- "guest_user_api_token": "string",
- "installer_cert_thumbprint": "string",
- "log_level": 0,
- "mac_install_root_ca": 0,
- "name": "string",
- "policy_location": "string",
- "post_login_redirect_url": "string",
- "priority": 0,
- "proxy_exclusion_domains": [
- "string"
], - "session_filter": {
- "exclude_any": [
- {
- "all": [
- "string"
]
}
], - "include_any": [
- {
- "all": [
- "string"
]
}
]
}, - "session_refresh_interval_hours": 0,
- "should_fail_open": 0,
- "show_cellular_confirmation": 0,
- "show_popover_automatically": 0,
- "status": 0,
- "update_channels": [
- "string"
], - "uuid": "string",
- "wifi_only_if_location_permission": 0,
- "windows_install_per_device_root_ca": 0
}
Response samples
- 200
- 400
- 401
- 403
- 500
{- "account_name": "string",
- "browser_performance_inspection": 0,
- "browser_performance_inspection_domains": [
- "string"
], - "browser_request_inspection": 0,
- "client_ca_uuid": "string",
- "client_use_eg_upstream_dns": 0,
- "create_time": 0,
- "creator_display_name": "string",
- "creator_uuid": "string",
- "description": "string",
- "disconnect_allowed": 0,
- "disconnect_interval_minutes": [
- "string"
], - "disconnect_justification_required": 0,
- "dns_search_domains": [
- "string"
], - "enable_always_on_vpn": 0,
- "enable_auto_updates": 0,
- "enable_browser_proxy": 0,
- "enable_guest_user_mode": 0,
- "enable_manual_updates": 0,
- "enable_sensor_data": 0,
- "enable_transparent_proxy": 0,
- "enable_transparent_sso": 0,
- "filter_selector_display_names": {
- "property1": "string",
- "property2": "string"
}, - "guest_user_api_token": "string",
- "installer_cert_thumbprint": "string",
- "log_level": 0,
- "mac_install_root_ca": 0,
- "name": "string",
- "policy_location": "string",
- "post_login_redirect_url": "string",
- "priority": 0,
- "proxy_exclusion_domains": [
- "string"
], - "session_filter": {
- "exclude_any": [
- {
- "all": [
- "string"
]
}
], - "include_any": [
- {
- "all": [
- "string"
]
}
]
}, - "session_refresh_interval_hours": 0,
- "should_fail_open": 0,
- "show_cellular_confirmation": 0,
- "show_popover_automatically": 0,
- "status": 0,
- "update_channels": [
- "string"
], - "update_time": 0,
- "updater_display_name": "string",
- "updater_uuid": "string",
- "uuid": "string",
- "wifi_only_if_location_permission": 0,
- "windows_install_per_device_root_ca": 0
}
Response samples
- 200
- 400
- 500
{- "connectors": [
- {
- "access_token": "string",
- "account_name": "string",
- "certificate_pem": "string",
- "config": {
- "commands": [
- {
- "args": {
- "property1": "string",
- "property2": "string"
}, - "command_type": 0,
- "instance_id": "string",
- "update_time": 0
}
], - "coordinates": {
- "az": "string",
- "cluster_name": "string",
- "hostname": "string",
- "latitude": 0,
- "longitude": 0,
- "provider": "string",
- "region": "string"
}, - "current_time": 0,
- "dns_resolver": {
- "ips": [
- "string"
]
}, - "enable_quic": true,
- "instance_id": "string",
- "internal_addr": [
- "string"
], - "platform": "string",
- "status": [
- "string"
], - "supervisor_id": "string",
- "target_triple": "string",
- "trace_filter": "string",
- "update_time": 0,
- "version": "string"
}, - "coordinates": {
- "az": "string",
- "cluster_name": "string",
- "hostname": "string",
- "latitude": 0,
- "longitude": 0,
- "provider": "string",
- "region": "string"
}, - "create_time": 0,
- "creator_display_name": "string",
- "creator_uuid": "string",
- "current_server_time": 0,
- "description": "string",
- "desired_releases": [
- {
- "release": {
- "binary_url": "string",
- "version": "string"
}, - "supervisor_id": "string"
}
], - "expire_time_sec": 0,
- "external_addr": [
- "string"
], - "instances": [
- {
- "commands": [
- {
- "args": {
- "property1": "string",
- "property2": "string"
}, - "command_type": 0,
- "instance_id": "string",
- "update_time": 0
}
], - "coordinates": {
- "az": "string",
- "cluster_name": "string",
- "hostname": "string",
- "latitude": 0,
- "longitude": 0,
- "provider": "string",
- "region": "string"
}, - "current_time": 0,
- "dns_resolver": {
- "ips": [
- "string"
]
}, - "enable_quic": true,
- "instance_id": "string",
- "internal_addr": [
- "string"
], - "platform": "string",
- "status": [
- "string"
], - "supervisor_id": "string",
- "target_triple": "string",
- "trace_filter": "string",
- "update_time": 0,
- "version": "string"
}
], - "name": "string",
- "ref_display_names": {
- "property1": "string",
- "property2": "string"
}, - "refs": [
- "string"
], - "routes": {
- "layer3_routes": [
- {
- "host_pattern": "string",
- "name": "string",
- "subnet": "string",
- "tags": {
- "property1": "string",
- "property2": "string"
}
}
], - "layer4_routes": [
- {
- "host_pattern": "string",
- "port": 0,
- "protocol": "string",
- "tags": {
- "property1": "string",
- "property2": "string"
}
}
], - "layer7_routes": [
- {
- "host_pattern": "string",
- "port": 0,
- "scheme": "string",
- "tags": {
- "property1": "string",
- "property2": "string"
}
}
]
}, - "secret_hash": "string",
- "status": 0,
- "tags": [
- "string"
], - "tcp_on_layer_three_vpn": 0,
- "unique_name": "string",
- "update_time": 0,
- "updater_display_name": "string",
- "updater_uuid": "string",
- "uuid": "string"
}
]
}
Create Connector
Create a connector
Request Body schema: application/jsonrequired
Provide the unique name and the optional attributes of the connector to create it
account_name | string The name of the account. |
object Sets the configuration for the connector. Check each field for their usage. | |
object Deprecated. Use individual fields below. | |
description | string |
external_addr | Array of strings inbound network access endpoints - fqdns or ips |
name | string Display name. |
status | integer Enum: 0 1 2 3 4 INIT = 1; ACTIVE = 2; SUSPENDED = 3; DELETED = 4; |
tags | Array of strings |
tcp_on_layer_three_vpn | integer Enum: 0 1 2 If true we'll route TCP through this connector via layer 3 VPN. |
unique_name | string unique name for the connector within the scope of the account. |
Responses
Request samples
- Payload
{- "account_name": "string",
- "config": {
- "commands": [
- {
- "args": {
- "property1": "string",
- "property2": "string"
}, - "command_type": 0,
- "instance_id": "string",
- "update_time": 0
}
], - "coordinates": {
- "az": "string",
- "cluster_name": "string",
- "hostname": "string",
- "latitude": 0,
- "longitude": 0,
- "provider": "string",
- "region": "string"
}, - "current_time": 0,
- "dns_resolver": {
- "ips": [
- "string"
]
}, - "enable_quic": true,
- "instance_id": "string",
- "internal_addr": [
- "string"
], - "platform": "string",
- "status": [
- "string"
], - "supervisor_id": "string",
- "target_triple": "string",
- "trace_filter": "string",
- "update_time": 0,
- "version": "string"
}, - "connector": {
- "access_token": "string",
- "account_name": "string",
- "certificate_pem": "string",
- "config": {
- "commands": [
- {
- "args": {
- "property1": "string",
- "property2": "string"
}, - "command_type": 0,
- "instance_id": "string",
- "update_time": 0
}
], - "coordinates": {
- "az": "string",
- "cluster_name": "string",
- "hostname": "string",
- "latitude": 0,
- "longitude": 0,
- "provider": "string",
- "region": "string"
}, - "current_time": 0,
- "dns_resolver": {
- "ips": [
- "string"
]
}, - "enable_quic": true,
- "instance_id": "string",
- "internal_addr": [
- "string"
], - "platform": "string",
- "status": [
- "string"
], - "supervisor_id": "string",
- "target_triple": "string",
- "trace_filter": "string",
- "update_time": 0,
- "version": "string"
}, - "coordinates": {
- "az": "string",
- "cluster_name": "string",
- "hostname": "string",
- "latitude": 0,
- "longitude": 0,
- "provider": "string",
- "region": "string"
}, - "create_time": 0,
- "creator_display_name": "string",
- "creator_uuid": "string",
- "current_server_time": 0,
- "description": "string",
- "desired_releases": [
- {
- "release": {
- "binary_url": "string",
- "version": "string"
}, - "supervisor_id": "string"
}
], - "expire_time_sec": 0,
- "external_addr": [
- "string"
], - "instances": [
- {
- "commands": [
- {
- "args": {
- "property1": "string",
- "property2": "string"
}, - "command_type": 0,
- "instance_id": "string",
- "update_time": 0
}
], - "coordinates": {
- "az": "string",
- "cluster_name": "string",
- "hostname": "string",
- "latitude": 0,
- "longitude": 0,
- "provider": "string",
- "region": "string"
}, - "current_time": 0,
- "dns_resolver": {
- "ips": [
- "string"
]
}, - "enable_quic": true,
- "instance_id": "string",
- "internal_addr": [
- "string"
], - "platform": "string",
- "status": [
- "string"
], - "supervisor_id": "string",
- "target_triple": "string",
- "trace_filter": "string",
- "update_time": 0,
- "version": "string"
}
], - "name": "string",
- "ref_display_names": {
- "property1": "string",
- "property2": "string"
}, - "refs": [
- "string"
], - "routes": {
- "layer3_routes": [
- {
- "host_pattern": "string",
- "name": "string",
- "subnet": "string",
- "tags": {
- "property1": "string",
- "property2": "string"
}
}
], - "layer4_routes": [
- {
- "host_pattern": "string",
- "port": 0,
- "protocol": "string",
- "tags": {
- "property1": "string",
- "property2": "string"
}
}
], - "layer7_routes": [
- {
- "host_pattern": "string",
- "port": 0,
- "scheme": "string",
- "tags": {
- "property1": "string",
- "property2": "string"
}
}
]
}, - "secret_hash": "string",
- "status": 0,
- "tags": [
- "string"
], - "tcp_on_layer_three_vpn": 0,
- "unique_name": "string",
- "update_time": 0,
- "updater_display_name": "string",
- "updater_uuid": "string",
- "uuid": "string"
}, - "description": "string",
- "external_addr": [
- "string"
], - "name": "string",
- "status": 0,
- "tags": [
- "string"
], - "tcp_on_layer_three_vpn": 0,
- "unique_name": "string"
}
Response samples
- 201
- 400
- 500
{- "access_token": "string",
- "account_name": "string",
- "certificate_pem": "string",
- "config": {
- "commands": [
- {
- "args": {
- "property1": "string",
- "property2": "string"
}, - "command_type": 0,
- "instance_id": "string",
- "update_time": 0
}
], - "coordinates": {
- "az": "string",
- "cluster_name": "string",
- "hostname": "string",
- "latitude": 0,
- "longitude": 0,
- "provider": "string",
- "region": "string"
}, - "current_time": 0,
- "dns_resolver": {
- "ips": [
- "string"
]
}, - "enable_quic": true,
- "instance_id": "string",
- "internal_addr": [
- "string"
], - "platform": "string",
- "status": [
- "string"
], - "supervisor_id": "string",
- "target_triple": "string",
- "trace_filter": "string",
- "update_time": 0,
- "version": "string"
}, - "coordinates": {
- "az": "string",
- "cluster_name": "string",
- "hostname": "string",
- "latitude": 0,
- "longitude": 0,
- "provider": "string",
- "region": "string"
}, - "create_time": 0,
- "creator_display_name": "string",
- "creator_uuid": "string",
- "current_server_time": 0,
- "description": "string",
- "desired_releases": [
- {
- "release": {
- "binary_url": "string",
- "version": "string"
}, - "supervisor_id": "string"
}
], - "expire_time_sec": 0,
- "external_addr": [
- "string"
], - "instances": [
- {
- "commands": [
- {
- "args": {
- "property1": "string",
- "property2": "string"
}, - "command_type": 0,
- "instance_id": "string",
- "update_time": 0
}
], - "coordinates": {
- "az": "string",
- "cluster_name": "string",
- "hostname": "string",
- "latitude": 0,
- "longitude": 0,
- "provider": "string",
- "region": "string"
}, - "current_time": 0,
- "dns_resolver": {
- "ips": [
- "string"
]
}, - "enable_quic": true,
- "instance_id": "string",
- "internal_addr": [
- "string"
], - "platform": "string",
- "status": [
- "string"
], - "supervisor_id": "string",
- "target_triple": "string",
- "trace_filter": "string",
- "update_time": 0,
- "version": "string"
}
], - "name": "string",
- "ref_display_names": {
- "property1": "string",
- "property2": "string"
}, - "refs": [
- "string"
], - "routes": {
- "layer3_routes": [
- {
- "host_pattern": "string",
- "name": "string",
- "subnet": "string",
- "tags": {
- "property1": "string",
- "property2": "string"
}
}
], - "layer4_routes": [
- {
- "host_pattern": "string",
- "port": 0,
- "protocol": "string",
- "tags": {
- "property1": "string",
- "property2": "string"
}
}
], - "layer7_routes": [
- {
- "host_pattern": "string",
- "port": 0,
- "scheme": "string",
- "tags": {
- "property1": "string",
- "property2": "string"
}
}
]
}, - "secret_hash": "string",
- "status": 0,
- "tags": [
- "string"
], - "tcp_on_layer_three_vpn": 0,
- "unique_name": "string",
- "update_time": 0,
- "updater_display_name": "string",
- "updater_uuid": "string",
- "uuid": "string"
}
Get Connector
Get a connector's details
path Parameters
name required | string The connector's unique name |
Responses
Response samples
- 200
- 400
- 401
- 403
- 500
{- "access_token": "string",
- "account_name": "string",
- "certificate_pem": "string",
- "config": {
- "commands": [
- {
- "args": {
- "property1": "string",
- "property2": "string"
}, - "command_type": 0,
- "instance_id": "string",
- "update_time": 0
}
], - "coordinates": {
- "az": "string",
- "cluster_name": "string",
- "hostname": "string",
- "latitude": 0,
- "longitude": 0,
- "provider": "string",
- "region": "string"
}, - "current_time": 0,
- "dns_resolver": {
- "ips": [
- "string"
]
}, - "enable_quic": true,
- "instance_id": "string",
- "internal_addr": [
- "string"
], - "platform": "string",
- "status": [
- "string"
], - "supervisor_id": "string",
- "target_triple": "string",
- "trace_filter": "string",
- "update_time": 0,
- "version": "string"
}, - "coordinates": {
- "az": "string",
- "cluster_name": "string",
- "hostname": "string",
- "latitude": 0,
- "longitude": 0,
- "provider": "string",
- "region": "string"
}, - "create_time": 0,
- "creator_display_name": "string",
- "creator_uuid": "string",
- "current_server_time": 0,
- "description": "string",
- "desired_releases": [
- {
- "release": {
- "binary_url": "string",
- "version": "string"
}, - "supervisor_id": "string"
}
], - "expire_time_sec": 0,
- "external_addr": [
- "string"
], - "instances": [
- {
- "commands": [
- {
- "args": {
- "property1": "string",
- "property2": "string"
}, - "command_type": 0,
- "instance_id": "string",
- "update_time": 0
}
], - "coordinates": {
- "az": "string",
- "cluster_name": "string",
- "hostname": "string",
- "latitude": 0,
- "longitude": 0,
- "provider": "string",
- "region": "string"
}, - "current_time": 0,
- "dns_resolver": {
- "ips": [
- "string"
]
}, - "enable_quic": true,
- "instance_id": "string",
- "internal_addr": [
- "string"
], - "platform": "string",
- "status": [
- "string"
], - "supervisor_id": "string",
- "target_triple": "string",
- "trace_filter": "string",
- "update_time": 0,
- "version": "string"
}
], - "name": "string",
- "ref_display_names": {
- "property1": "string",
- "property2": "string"
}, - "refs": [
- "string"
], - "routes": {
- "layer3_routes": [
- {
- "host_pattern": "string",
- "name": "string",
- "subnet": "string",
- "tags": {
- "property1": "string",
- "property2": "string"
}
}
], - "layer4_routes": [
- {
- "host_pattern": "string",
- "port": 0,
- "protocol": "string",
- "tags": {
- "property1": "string",
- "property2": "string"
}
}
], - "layer7_routes": [
- {
- "host_pattern": "string",
- "port": 0,
- "scheme": "string",
- "tags": {
- "property1": "string",
- "property2": "string"
}
}
]
}, - "secret_hash": "string",
- "status": 0,
- "tags": [
- "string"
], - "tcp_on_layer_three_vpn": 0,
- "unique_name": "string",
- "update_time": 0,
- "updater_display_name": "string",
- "updater_uuid": "string",
- "uuid": "string"
}
Response samples
- 200
- 400
- 401
- 403
- 500
{- "countries": [
- {
- "city_name": "string",
- "country": "string",
- "country_code": "string",
- "latitude": "string",
- "longitude": "string",
- "region_name": "string",
- "time_zone": "string",
- "time_zone_name": "string",
- "zip_code": "string"
}
]
}
Query Dashboards
Query Dashboards
query Parameters
tag | string tag to search for |
status | string comma separated status to match: INIT | ACTIVE | SUSPENDED | DELETED |
datasource | string comma separated data source to match |
Responses
Response samples
- 200
- 400
- 401
- 403
- 500
{- "dashboards": [
- {
- "account_name": "string",
- "create_time": 0,
- "creator_display_name": "string",
- "creator_uuid": "string",
- "data": "string",
- "description": "string",
- "icon": "string",
- "name": "string",
- "status": 0,
- "tags": [
- "string"
], - "update_time": 0,
- "updater_display_name": "string",
- "updater_uuid": "string",
- "uuid": "string"
}
]
}
Create a dashboard.
Create a new dashboard.
Request Body schema: application/jsonrequired
details of dashboard to create
account_name | string |
object (proto.Dashboard) |
Responses
Request samples
- Payload
{- "account_name": "string",
- "dashboard": {
- "account_name": "string",
- "create_time": 0,
- "creator_display_name": "string",
- "creator_uuid": "string",
- "data": "string",
- "description": "string",
- "icon": "string",
- "name": "string",
- "status": 0,
- "tags": [
- "string"
], - "update_time": 0,
- "updater_display_name": "string",
- "updater_uuid": "string",
- "uuid": "string"
}
}
Response samples
- 200
- 400
- 401
- 403
- 500
{- "account_name": "string",
- "create_time": 0,
- "creator_display_name": "string",
- "creator_uuid": "string",
- "data": "string",
- "description": "string",
- "icon": "string",
- "name": "string",
- "status": 0,
- "tags": [
- "string"
], - "update_time": 0,
- "updater_display_name": "string",
- "updater_uuid": "string",
- "uuid": "string"
}
Get the dashboard details.
Get the dashboard details
path Parameters
uuid required | string The dashboard uuid |
Responses
Response samples
- 200
- 400
- 401
- 403
- 500
{- "account_name": "string",
- "create_time": 0,
- "creator_display_name": "string",
- "creator_uuid": "string",
- "data": "string",
- "description": "string",
- "icon": "string",
- "name": "string",
- "status": 0,
- "tags": [
- "string"
], - "update_time": 0,
- "updater_display_name": "string",
- "updater_uuid": "string",
- "uuid": "string"
}
Response samples
- 200
- 400
- 401
- 403
- 500
{- "data_export_configs": [
- {
- "account_name": "string",
- "account_uuid": "string",
- "create_time": 0,
- "data_export_types": [
- 0
], - "last_export_time": 0,
- "last_successful_export": {
- "property1": 0,
- "property2": 0
}, - "s3_bucket_account_id": "string",
- "s3_bucket_name": "string",
- "s3_bucket_shard_id": 0,
- "update_time": 0,
- "uuid": "string"
}
]
}
Add log export configuration
Add log export configuration to export data to S3
Request Body schema: application/jsonrequired
details of log export configuration
account_name | string |
data_export_types | Array of integers (proto.DataExportType) Items Enum: 0 1 2 3 4 51 52 53 |
s3_bucket_account_id | string |
s3_bucket_name | string |
Responses
Request samples
- Payload
{- "account_name": "string",
- "data_export_types": [
- 0
], - "s3_bucket_account_id": "string",
- "s3_bucket_name": "string"
}
Response samples
- 201
- 400
- 401
- 403
- 500
{- "account_name": "string",
- "account_uuid": "string",
- "create_time": 0,
- "data_export_types": [
- 0
], - "last_export_time": 0,
- "last_successful_export": {
- "property1": 0,
- "property2": 0
}, - "s3_bucket_account_id": "string",
- "s3_bucket_name": "string",
- "s3_bucket_shard_id": 0,
- "update_time": 0,
- "uuid": "string"
}
Update data export config
Update data export config
path Parameters
uuid required | string data export config uuid |
Request Body schema: application/jsonrequired
details of data export config to update
account_name | string |
data_export_types | Array of integers (proto.DataExportType) Items Enum: 0 1 2 3 4 51 52 53 Only thing allowed to be updated by external user is the types of data to be exported. |
uuid | string |
Responses
Request samples
- Payload
{- "account_name": "string",
- "data_export_types": [
- 0
], - "uuid": "string"
}
Response samples
- 200
- 400
- 401
- 403
- 500
{- "account_name": "string",
- "account_uuid": "string",
- "create_time": 0,
- "data_export_types": [
- 0
], - "last_export_time": 0,
- "last_successful_export": {
- "property1": 0,
- "property2": 0
}, - "s3_bucket_account_id": "string",
- "s3_bucket_name": "string",
- "s3_bucket_shard_id": 0,
- "update_time": 0,
- "uuid": "string"
}
Returns S3 bucket policy
Returns S3 bucket policy
Request Body schema: application/jsonrequired
bucket policy request
account_name | string |
s3_bucket_name | string |
Responses
Request samples
- Payload
{- "account_name": "string",
- "s3_bucket_name": "string"
}
Response samples
- 400
- 401
- 403
- 500
{- "message": "detailed error message"
}
Validate data export configuration
Writes an empty json file to verify if it shows in destination S3 bucket
Request Body schema: application/jsonrequired
data export validation request
account_name | string |
uuid | string |
Responses
Request samples
- Payload
{- "account_name": "string",
- "uuid": "string"
}
Response samples
- 400
- 401
- 403
- 500
{- "message": "detailed error message"
}
Response samples
- 200
- 400
- 500
{- "customer_datasets": [
- {
- "account_name": "string",
- "config": {
- "description": "string",
- "icon": 0
}, - "content_type": 0,
- "content_types": [
- 0
], - "create_time": 0,
- "creator_display_name": "string",
- "creator_uuid": "string",
- "current_version": 0,
- "dataset_name": "string",
- "dataset_type": 0,
- "description": "string",
- "entity_type": 0,
- "icon": 0,
- "num_items": 0,
- "parent_uuid": "string",
- "properties": {
- "api_endpoint": "string",
- "data_obj": "string",
- "dataset_type": 0,
- "default_value_type": 0,
- "is_metadata_editable": true,
- "is_predefined_list": true,
- "label_field": "string",
- "target_entity_type": 0,
- "target_entity_types": [
- 0
], - "value_field": "string"
}, - "scenario": 0,
- "status": 0,
- "update_time": 0,
- "updater_display_name": "string",
- "updater_uuid": "string",
- "uuid": "string"
}
]
}
Creates a new customer dataset (e.g. list).
Creates a new dataset/list by name and returns UUID. Does not add items.
Responses
Response samples
- 200
- 400
- 401
- 403
- 500
{- "account_name": "string",
- "config": {
- "description": "string",
- "icon": 0
}, - "content_type": 0,
- "content_types": [
- 0
], - "create_time": 0,
- "creator_display_name": "string",
- "creator_uuid": "string",
- "current_version": 0,
- "dataset_name": "string",
- "dataset_type": 0,
- "description": "string",
- "entity_type": 0,
- "icon": 0,
- "num_items": 0,
- "parent_uuid": "string",
- "properties": {
- "api_endpoint": "string",
- "data_obj": "string",
- "dataset_type": 0,
- "default_value_type": 0,
- "is_metadata_editable": true,
- "is_predefined_list": true,
- "label_field": "string",
- "target_entity_type": 0,
- "target_entity_types": [
- 0
], - "value_field": "string"
}, - "scenario": 0,
- "status": 0,
- "update_time": 0,
- "updater_display_name": "string",
- "updater_uuid": "string",
- "uuid": "string"
}
Response samples
- 200
- 400
- 404
- 500
{- "continuation_token": "string",
- "customer_dataset_items": [
- {
- "account_name": "string",
- "creator_uuid": "string",
- "dataset_uuid": "string",
- "item_id": "string",
- "list_item": {
- "display_name": "string",
- "entity_type": 0,
- "value": "string",
- "value_type": 0
}, - "props": {
- "content_type": 0,
- "dataset_type": 0,
- "modeling": {
- "modeling_entity_type": 0,
- "risk": 0,
- "trusted": true
}, - "target_entity_type": 0
}, - "row_data": {
- "property1": {
- "display_name": "string",
- "entity_type": 0,
- "value": "string",
- "value_type": 0
}, - "property2": {
- "display_name": "string",
- "entity_type": 0,
- "value": "string",
- "value_type": 0
}
}, - "status": 0,
- "version": 0
}
], - "dataset": {
- "account_name": "string",
- "config": {
- "description": "string",
- "icon": 0
}, - "content_type": 0,
- "content_types": [
- 0
], - "create_time": 0,
- "creator_display_name": "string",
- "creator_uuid": "string",
- "current_version": 0,
- "dataset_name": "string",
- "dataset_type": 0,
- "description": "string",
- "entity_type": 0,
- "icon": 0,
- "num_items": 0,
- "parent_uuid": "string",
- "properties": {
- "api_endpoint": "string",
- "data_obj": "string",
- "dataset_type": 0,
- "default_value_type": 0,
- "is_metadata_editable": true,
- "is_predefined_list": true,
- "label_field": "string",
- "target_entity_type": 0,
- "target_entity_types": [
- 0
], - "value_field": "string"
}, - "scenario": 0,
- "status": 0,
- "update_time": 0,
- "updater_display_name": "string",
- "updater_uuid": "string",
- "uuid": "string"
}
}
Initiate deployment of a connector
Initiate deployment of a connector to one of the options returned by GetDeploymentConnectorOptions
Responses
Response samples
- 200
- 400
{- "accesses": [
- {
- "access_type": 0,
- "account_name": "string",
- "allow_guest_access": true,
- "app_list": [
- "string"
], - "create_time": 0,
- "creator_uuid": "string",
- "data_source": 0,
- "description": "string",
- "end_time": 0,
- "integration_id": "string",
- "revoked_user_list": [
- "string"
], - "status": 0,
- "update_time": 0,
- "user_list": [
- "string"
], - "uuid": "string"
}
], - "apps": [
- {
- "account_name": "string",
- "connector_unique_name": "string",
- "create_time": 0,
- "creator_display_name": "string",
- "creator_uuid": "string",
- "data_source": 0,
- "description": "string",
- "host": "string",
- "host_match_type": 0,
- "integration_id": "string",
- "internal_host_pattern": "string",
- "internal_port": 0,
- "internal_protocol": "string",
- "name": "string",
- "path": "string",
- "port": 0,
- "protocol": "string",
- "protocols": [
- 0
], - "ref_display_names": {
- "property1": "string",
- "property2": "string"
}, - "ref_matches": [
- {
- "ref": "string",
- "tags": [
- "string"
]
}
], - "refs": [
- "string"
], - "request_host_header": "string",
- "reverse_proxy_name": "string",
- "status": 0,
- "tags": [
- "string"
], - "tcp_port_ranges": [
- {
- "end": 0,
- "start": 0
}
], - "tcp_ports": [
- 0
], - "udp_port_ranges": [
- {
- "end": 0,
- "start": 0
}
], - "udp_ports": [
- 0
], - "update_time": 0,
- "updater_display_name": "string",
- "updater_uuid": "string",
- "uuid": "string",
- "verify_server_cert": 0
}
], - "completed": true,
- "connector": {
- "access_token": "string",
- "account_name": "string",
- "certificate_pem": "string",
- "config": {
- "commands": [
- {
- "args": {
- "property1": "string",
- "property2": "string"
}, - "command_type": 0,
- "instance_id": "string",
- "update_time": 0
}
], - "coordinates": {
- "az": "string",
- "cluster_name": "string",
- "hostname": "string",
- "latitude": 0,
- "longitude": 0,
- "provider": "string",
- "region": "string"
}, - "current_time": 0,
- "dns_resolver": {
- "ips": [
- "string"
]
}, - "enable_quic": true,
- "instance_id": "string",
- "internal_addr": [
- "string"
], - "platform": "string",
- "status": [
- "string"
], - "supervisor_id": "string",
- "target_triple": "string",
- "trace_filter": "string",
- "update_time": 0,
- "version": "string"
}, - "coordinates": {
- "az": "string",
- "cluster_name": "string",
- "hostname": "string",
- "latitude": 0,
- "longitude": 0,
- "provider": "string",
- "region": "string"
}, - "create_time": 0,
- "creator_display_name": "string",
- "creator_uuid": "string",
- "current_server_time": 0,
- "description": "string",
- "desired_releases": [
- {
- "release": {
- "binary_url": "string",
- "version": "string"
}, - "supervisor_id": "string"
}
], - "expire_time_sec": 0,
- "external_addr": [
- "string"
], - "instances": [
- {
- "commands": [
- {
- "args": {
- "property1": "string",
- "property2": "string"
}, - "command_type": 0,
- "instance_id": "string",
- "update_time": 0
}
], - "coordinates": {
- "az": "string",
- "cluster_name": "string",
- "hostname": "string",
- "latitude": 0,
- "longitude": 0,
- "provider": "string",
- "region": "string"
}, - "current_time": 0,
- "dns_resolver": {
- "ips": [
- "string"
]
}, - "enable_quic": true,
- "instance_id": "string",
- "internal_addr": [
- "string"
], - "platform": "string",
- "status": [
- "string"
], - "supervisor_id": "string",
- "target_triple": "string",
- "trace_filter": "string",
- "update_time": 0,
- "version": "string"
}
], - "name": "string",
- "ref_display_names": {
- "property1": "string",
- "property2": "string"
}, - "refs": [
- "string"
], - "routes": {
- "layer3_routes": [
- {
- "host_pattern": "string",
- "name": "string",
- "subnet": "string",
- "tags": {
- "property1": "string",
- "property2": "string"
}
}
], - "layer4_routes": [
- {
- "host_pattern": "string",
- "port": 0,
- "protocol": "string",
- "tags": {
- "property1": "string",
- "property2": "string"
}
}
], - "layer7_routes": [
- {
- "host_pattern": "string",
- "port": 0,
- "scheme": "string",
- "tags": {
- "property1": "string",
- "property2": "string"
}
}
]
}, - "secret_hash": "string",
- "status": 0,
- "tags": [
- "string"
], - "tcp_on_layer_three_vpn": 0,
- "unique_name": "string",
- "update_time": 0,
- "updater_display_name": "string",
- "updater_uuid": "string",
- "uuid": "string"
}, - "messages": [
- "string"
], - "policies": [
- {
- "account_name": "string",
- "action": 0,
- "allow_guest_access": true,
- "app_filter": {
- "exclude_any": [
- {
- "all": [
- "string"
]
}
], - "include_any": [
- {
- "all": [
- "string"
]
}
]
}, - "constraints": {
- "property1": "string",
- "property2": "string"
}, - "create_time": 0,
- "creator_display_name": "string",
- "creator_uuid": "string",
- "data_source": 0,
- "description": "string",
- "filter_selector_display_names": {
- "property1": "string",
- "property2": "string"
}, - "integration_id": "string",
- "metadata": "string",
- "mitm_settings": {
- "fail_close": true
}, - "name": "string",
- "parent_app_control_policy_uuid": "string",
- "policy_event_type": 0,
- "priority": 0,
- "session_filter": {
- "exclude_any": [
- {
- "all": [
- "string"
]
}
], - "include_any": [
- {
- "all": [
- "string"
]
}
]
}, - "status": 0,
- "type": 0,
- "update_time": 0,
- "updater_display_name": "string",
- "updater_uuid": "string",
- "uuid": "string",
- "workflow_uuid": "string"
}
], - "resource_urls": [
- "string"
], - "success": true
}
Check where a connector should be deployed to get access to a given app.
Check where a connector should be deployed to get access to a given app.
Responses
Response samples
- 200
- 400
- 409
{- "options": [
- {
- "app_hostname": "string",
- "entity_id": "string",
- "entity_tags": [
- "string"
], - "message": "string",
- "public_ip": true,
- "region": "string",
- "subnet": "string",
- "valid": true,
- "vpc": "string"
}
]
}
Delete Devices
Deletes devices
Request Body schema: application/jsonrequired
The devices to delete
account_name | string |
Array of objects (proto.DeviceToDelete) |
Responses
Request samples
- Payload
{- "account_name": "string",
- "devices": [
- {
- "user_uuid": "string",
- "uuid": "string"
}
]
}
Response samples
- 200
- 400
- 500
{- "account_name": "string",
- "browser": "string",
- "browser_version": "string",
- "certificate": [
- 0
], - "create_time": 0,
- "data_source": 0,
- "display_name": "string",
- "eg_version": "string",
- "is_managed": true,
- "is_managed_verification_done": true,
- "normalized_id": "string",
- "os": "string",
- "os_version": "string",
- "platform_uuid": "string",
- "posture": {
- "client_version_risk": 0,
- "device_activation_lock_enabled": 0,
- "device_process_info": {
- "processes": [
- {
- "paths": [
- "string"
], - "spec": "string"
}
]
}, - "disk_encryption_enabled": 0,
- "firmware_password_enabled": 0,
- "recovery_lock_enabled": 0,
- "user_activation_lock_enabled": 0
}, - "private_key_encrypted": "string",
- "properties": {
- "browser": "string",
- "browser_details": [
- {
- "browser": "string",
- "browser_install_type": "string",
- "browser_version": "string",
- "eg_version": "string"
}
], - "browser_install_type": "string",
- "browser_version": "string",
- "client_install_type": "string",
- "device_activation_lock_enabled": true,
- "disk_encryption_enabled": true,
- "firmware_password_enabled": true,
- "hostname": "string",
- "last_boot_epoch_sec": 0,
- "location_tracking_state": 0,
- "machine_model": "string",
- "machine_name": "string",
- "os": "string",
- "os_user_id": "string",
- "os_user_name": "string",
- "os_version": "string",
- "recovery_lock_enabled": true,
- "target_triple": "string",
- "user_activation_lock_enabled": true
}, - "public_key": "string",
- "serial_number": "string",
- "status": 0,
- "tags": [
- "string"
], - "time_id": {
- "create_time": 0,
- "end_time": 0,
- "salt": "string",
- "signature": [
- 0
], - "version": "string"
}, - "update_time": 0,
- "user_display_name": "string",
- "user_uuid": "string",
- "uuid": "string"
}
Register Device
Register a device
Request Body schema: application/jsonrequired
Provide the device info and device posture
account_name | string |
ca_cert | string |
object (proto.Device) | |
device_uuid | string |
encrypted_ca_key | string |
object (proto.CertificateVerify) | |
object Either time_id or device_uuid should be present. When using device_uuid, the request is authenticated via session_id_jwt_token. |
Responses
Request samples
- Payload
{- "account_name": "string",
- "ca_cert": "string",
- "device": {
- "account_name": "string",
- "browser": "string",
- "browser_version": "string",
- "certificate": [
- 0
], - "create_time": 0,
- "data_source": 0,
- "display_name": "string",
- "eg_version": "string",
- "is_managed": true,
- "is_managed_verification_done": true,
- "normalized_id": "string",
- "os": "string",
- "os_version": "string",
- "platform_uuid": "string",
- "posture": {
- "client_version_risk": 0,
- "device_activation_lock_enabled": 0,
- "device_process_info": {
- "processes": [
- {
- "paths": [
- "string"
], - "spec": "string"
}
]
}, - "disk_encryption_enabled": 0,
- "firmware_password_enabled": 0,
- "recovery_lock_enabled": 0,
- "user_activation_lock_enabled": 0
}, - "private_key_encrypted": "string",
- "properties": {
- "browser": "string",
- "browser_details": [
- {
- "browser": "string",
- "browser_install_type": "string",
- "browser_version": "string",
- "eg_version": "string"
}
], - "browser_install_type": "string",
- "browser_version": "string",
- "client_install_type": "string",
- "device_activation_lock_enabled": true,
- "disk_encryption_enabled": true,
- "firmware_password_enabled": true,
- "hostname": "string",
- "last_boot_epoch_sec": 0,
- "location_tracking_state": 0,
- "machine_model": "string",
- "machine_name": "string",
- "os": "string",
- "os_user_id": "string",
- "os_user_name": "string",
- "os_version": "string",
- "recovery_lock_enabled": true,
- "target_triple": "string",
- "user_activation_lock_enabled": true
}, - "public_key": "string",
- "serial_number": "string",
- "status": 0,
- "tags": [
- "string"
], - "time_id": {
- "create_time": 0,
- "end_time": 0,
- "salt": "string",
- "signature": [
- 0
], - "version": "string"
}, - "update_time": 0,
- "user_display_name": "string",
- "user_uuid": "string",
- "uuid": "string"
}, - "device_uuid": "string",
- "encrypted_ca_key": "string",
- "signature": {
- "algorithm": "string",
- "certificate": [
- 0
], - "signature": [
- 0
]
}, - "time_id": {
- "create_time": 0,
- "end_time": 0,
- "salt": "string",
- "signature": [
- 0
], - "version": "string"
}
}
Response samples
- 201
- 400
- 500
{- "account_name": "string",
- "browser": "string",
- "browser_version": "string",
- "certificate": [
- 0
], - "create_time": 0,
- "data_source": 0,
- "display_name": "string",
- "eg_version": "string",
- "is_managed": true,
- "is_managed_verification_done": true,
- "normalized_id": "string",
- "os": "string",
- "os_version": "string",
- "platform_uuid": "string",
- "posture": {
- "client_version_risk": 0,
- "device_activation_lock_enabled": 0,
- "device_process_info": {
- "processes": [
- {
- "paths": [
- "string"
], - "spec": "string"
}
]
}, - "disk_encryption_enabled": 0,
- "firmware_password_enabled": 0,
- "recovery_lock_enabled": 0,
- "user_activation_lock_enabled": 0
}, - "private_key_encrypted": "string",
- "properties": {
- "browser": "string",
- "browser_details": [
- {
- "browser": "string",
- "browser_install_type": "string",
- "browser_version": "string",
- "eg_version": "string"
}
], - "browser_install_type": "string",
- "browser_version": "string",
- "client_install_type": "string",
- "device_activation_lock_enabled": true,
- "disk_encryption_enabled": true,
- "firmware_password_enabled": true,
- "hostname": "string",
- "last_boot_epoch_sec": 0,
- "location_tracking_state": 0,
- "machine_model": "string",
- "machine_name": "string",
- "os": "string",
- "os_user_id": "string",
- "os_user_name": "string",
- "os_version": "string",
- "recovery_lock_enabled": true,
- "target_triple": "string",
- "user_activation_lock_enabled": true
}, - "public_key": "string",
- "serial_number": "string",
- "status": 0,
- "tags": [
- "string"
], - "time_id": {
- "create_time": 0,
- "end_time": 0,
- "salt": "string",
- "signature": [
- 0
], - "version": "string"
}, - "update_time": 0,
- "user_display_name": "string",
- "user_uuid": "string",
- "uuid": "string"
}
Get the user's device
Get the user's device
path Parameters
uuid required | string The device uuid |
Request Body schema: application/jsonrequired
Provide the device uuid and user uuid
user_uuid | string |
uuid | string |
Responses
Request samples
- Payload
{- "user_uuid": "string",
- "uuid": "string"
}
Response samples
- 200
- 400
- 401
- 403
- 500
{- "account_name": "string",
- "browser": "string",
- "browser_version": "string",
- "certificate": [
- 0
], - "create_time": 0,
- "data_source": 0,
- "display_name": "string",
- "eg_version": "string",
- "is_managed": true,
- "is_managed_verification_done": true,
- "normalized_id": "string",
- "os": "string",
- "os_version": "string",
- "platform_uuid": "string",
- "posture": {
- "client_version_risk": 0,
- "device_activation_lock_enabled": 0,
- "device_process_info": {
- "processes": [
- {
- "paths": [
- "string"
], - "spec": "string"
}
]
}, - "disk_encryption_enabled": 0,
- "firmware_password_enabled": 0,
- "recovery_lock_enabled": 0,
- "user_activation_lock_enabled": 0
}, - "private_key_encrypted": "string",
- "properties": {
- "browser": "string",
- "browser_details": [
- {
- "browser": "string",
- "browser_install_type": "string",
- "browser_version": "string",
- "eg_version": "string"
}
], - "browser_install_type": "string",
- "browser_version": "string",
- "client_install_type": "string",
- "device_activation_lock_enabled": true,
- "disk_encryption_enabled": true,
- "firmware_password_enabled": true,
- "hostname": "string",
- "last_boot_epoch_sec": 0,
- "location_tracking_state": 0,
- "machine_model": "string",
- "machine_name": "string",
- "os": "string",
- "os_user_id": "string",
- "os_user_name": "string",
- "os_version": "string",
- "recovery_lock_enabled": true,
- "target_triple": "string",
- "user_activation_lock_enabled": true
}, - "public_key": "string",
- "serial_number": "string",
- "status": 0,
- "tags": [
- "string"
], - "time_id": {
- "create_time": 0,
- "end_time": 0,
- "salt": "string",
- "signature": [
- 0
], - "version": "string"
}, - "update_time": 0,
- "user_display_name": "string",
- "user_uuid": "string",
- "uuid": "string"
}
Get metadata for a file/folder
Get metadata for a file/folder
path Parameters
uuid required | string normalized doc uuid |
Responses
Response samples
- 200
- 400
- 401
- 403
- 500
{- "ancestor_ids": [
- "string"
], - "created_time": 0,
- "datasource": "string",
- "drive_id": "string",
- "external_access": [
- {
- "access_id": "string",
- "origin_identity": {
- "additional_context": {
- "property1": "string",
- "property2": "string"
}, - "anonymized": true,
- "deleted": true,
- "display": "string",
- "external": true,
- "id": "string",
- "type": 0
}, - "origin_type": 0,
- "target_domain": "string",
- "target_identity": {
- "additional_context": {
- "property1": "string",
- "property2": "string"
}, - "anonymized": true,
- "deleted": true,
- "display": "string",
- "external": true,
- "id": "string",
- "type": 0
}
}
], - "file_extension": "string",
- "file_size": 0,
- "has_augmented_permissions": true,
- "identity": {
- "anonymized": true,
- "deleted": true,
- "display": "string",
- "external": true,
- "id": "string",
- "object_id_encrypted": "string",
- "owner_id": "string",
- "site_id": "string",
- "type": 0,
- "viewer_id": "string"
}, - "is_sensitive": true,
- "is_shared": true,
- "is_shared_externally": true,
- "owner": {
- "additional_context": {
- "property1": "string",
- "property2": "string"
}, - "anonymized": true,
- "deleted": true,
- "display": "string",
- "external": true,
- "id": "string",
- "type": 0
}, - "parent": {
- "additional_context": {
- "property1": "string",
- "property2": "string"
}, - "anonymized": true,
- "deleted": true,
- "display": "string",
- "external": true,
- "id": "string",
- "type": 0
}, - "type": 0,
- "updated_time": 0,
- "web_view_url": {
- "anonymized": true,
- "display": "string"
}
}
Revoke Document Access for a file/folder
Revoke Document Access for a file/folder
path Parameters
uuid required | string normalized document uuid |
Request Body schema: application/jsonrequired
details of access to revoke
access_id | string |
account_name | string |
drive_id | string |
normalized_document_uuid | string |
owner_uuid | string |
Responses
Request samples
- Payload
{- "access_id": "string",
- "account_name": "string",
- "drive_id": "string",
- "normalized_document_uuid": "string",
- "owner_uuid": "string"
}
Response samples
- 400
- 401
- 403
- 500
{- "message": "detailed error message"
}
Revoke all sharing for a file/folder (or just external sharing)
Revoke all sharing for a file/folder (or just external sharing)
path Parameters
uuid required | string normalized document uuid |
Request Body schema: application/jsonrequired
details of access to revoke
account_name | string |
external_only | boolean if true, only revoke external sharing |
normalized_document_uuid | string |
object_id | string |
object_id_encrypted | string |
owner_uuid | string |
site_id | string site_id and object_id are requried for O365 |
user_uuid | string Required for getting document metadata from source |
viewer_uuid | string |
Responses
Request samples
- Payload
{- "account_name": "string",
- "external_only": true,
- "normalized_document_uuid": "string",
- "object_id": "string",
- "object_id_encrypted": "string",
- "owner_uuid": "string",
- "site_id": "string",
- "user_uuid": "string",
- "viewer_uuid": "string"
}
Response samples
- 400
- 401
- 403
- 500
{- "message": "detailed error message"
}
Response samples
- 200
- 400
- 500
{- "gateways": [
- {
- "admin_region": "string",
- "az": "string",
- "canary_display_name": "string",
- "canary_vip": "string",
- "display_name": "string",
- "is_in_sync": true,
- "key": "string",
- "latitude": 0,
- "longitude": 0,
- "name": "string",
- "provider": "string",
- "region": "string",
- "secret": "string",
- "status": 0,
- "vip": "string"
}
]
}
Query Groups
Query Groups
query Parameters
status | string comma separated status to match: INIT | ACTIVE | SUSPENDED |
datasource | string comma separated data source to match |
Responses
Response samples
- 200
- 400
- 401
- 403
- 500
{- "groups": [
- {
- "account_name": "string",
- "create_time": 0,
- "data_source": 0,
- "description": "string",
- "integration_id": "string",
- "membership_update_time": 0,
- "name": "string",
- "profile_update_time": 0,
- "status": 0,
- "sub_group_count": 0,
- "tags": [
- "string"
], - "update_time": 0,
- "user_count": 0,
- "uuid": "string"
}
]
}
Get the group details.
Get the group details
path Parameters
uuid required | string The group uuid |
Responses
Response samples
- 200
- 400
- 401
- 403
- 500
{- "account_name": "string",
- "create_time": 0,
- "data_source": 0,
- "description": "string",
- "integration_id": "string",
- "membership_update_time": 0,
- "name": "string",
- "profile_update_time": 0,
- "status": 0,
- "sub_group_count": 0,
- "tags": [
- "string"
], - "update_time": 0,
- "user_count": 0,
- "uuid": "string"
}
Update a group.
Update a group
path Parameters
uuid required | string The group uuid |
Request Body schema: application/jsonrequired
The Group objects with only new values filled in
account_name | string |
create_time | integer |
data_source | integer (proto.DataSource) Enum: 0 1 2 3 11 12 13 101 102 103 104 201 202 301 401 402 403 9001 9002 9003 9004 10001 10002 10003 10004 10005 10006 10007 10008 10009 |
description | string |
integration_id | string |
membership_update_time | integer |
name | string User could potentially create a group, and then later we sync down an Okta group with the same name, therefore name is not guaranteed to be unique. It's possible to change the name of the group and maintain the user-group relationship. |
profile_update_time | integer |
status | integer (proto.EnumStatus) Enum: 0 1 2 3 4 |
sub_group_count | integer |
tags | Array of strings |
update_time | integer |
user_count | integer |
uuid | string |
Responses
Request samples
- Payload
{- "account_name": "string",
- "create_time": 0,
- "data_source": 0,
- "description": "string",
- "integration_id": "string",
- "membership_update_time": 0,
- "name": "string",
- "profile_update_time": 0,
- "status": 0,
- "sub_group_count": 0,
- "tags": [
- "string"
], - "update_time": 0,
- "user_count": 0,
- "uuid": "string"
}
Response samples
- 200
- 400
- 401
- 403
- 500
{- "account_name": "string",
- "attributes_to_delete": [
- "string"
], - "group": {
- "account_name": "string",
- "create_time": 0,
- "data_source": 0,
- "description": "string",
- "integration_id": "string",
- "membership_update_time": 0,
- "name": "string",
- "profile_update_time": 0,
- "status": 0,
- "sub_group_count": 0,
- "tags": [
- "string"
], - "update_time": 0,
- "user_count": 0,
- "uuid": "string"
}, - "uuid": "string"
}
Add 3rd Party Integration
Add 3rd Party Integration like Okta, GSUITE etc for an account
Request Body schema: application/jsonrequired
details of integration to create
account_name | string optional |
app_id | string Used by GitHub integration |
base_url | string deprecated |
object optional | |
object (proto.IngestionCredentials) | |
data_source | integer Enum: 0 1 2 3 11 12 13 101 102 103 104 201 202 301 401 402 403 9001 9002 9003 9004 10001 10002 10003 10004 10005 10006 10007 10008 10009 required |
display_name | string required |
environment_id | string environment_id is also used by some integrations like onelogin to generate endpoint URLs. |
filter_domains | Array of strings List of domains to use for filtering during ingestion. Only data associated with one of these domains will be ingested. If this list is empty no filtering will be performed. The details of the filtering logic is connector specific. Currently this is only used by AzureAD and MS365 connectors. |
install_id | string Used by GitHub integration |
integration_org_name | string For many 3rd party integrations, endpoint to fetch logs, resources and other metadata is fixed, e.g. for box, we fetch events from https://api.box.com. However, for certain integration, we need customers' subdomains to ingest logs and other metadata, e.g. for Okta, subdomain looks like https://edgeguard.okta.com.
|
interval_mins | integer optional |
ms365_cloud | integer Enum: 0 1 2 3 If data_source is AZURE or OFFICE365, this defines the MS365 cloud variant. |
shard_id | integer optional -- customers/UI |
validate_credentials | boolean For unit-tests we won't be using real credentials, therefore we need this to skip credential verification |
Responses
Request samples
- Payload
{- "account_name": "string",
- "app_id": "string",
- "base_url": "string",
- "config": {
- "bucket": "string",
- "bucket_region": "string",
- "disable_kinesis": true,
- "disable_parent_path_fetch": true,
- "disable_sfdc_hourly_updates": true,
- "log_api_time_window_in_min": 0,
- "max_pages": 0,
- "oauth_base_url": "string"
}, - "credentials": {
- "access_token": "string",
- "client_id": "string",
- "client_secret": "string",
- "environment_name": "string",
- "password": "string",
- "private_key": "string",
- "refresh_token": "string",
- "service_account_id": "string",
- "tenant_id": "string",
- "username": "string"
}, - "data_source": 0,
- "display_name": "string",
- "environment_id": "string",
- "filter_domains": [
- "string"
], - "install_id": "string",
- "integration_org_name": "string",
- "interval_mins": 0,
- "ms365_cloud": 0,
- "shard_id": 0,
- "validate_credentials": true
}
Response samples
- 201
- 400
- 401
- 403
- 500
{- "account_name": "string",
- "added_by": "string",
- "app_id": "string",
- "base_url": "string",
- "create_time": 0,
- "credentials": {
- "access_token": "string",
- "client_id": "string",
- "client_secret": "string",
- "environment_name": "string",
- "password": "string",
- "private_key": "string",
- "refresh_token": "string",
- "service_account_id": "string",
- "tenant_id": "string",
- "username": "string"
}, - "data_source": 0,
- "display_name": "string",
- "encrypted_credentials": "string",
- "environment_id": "string",
- "filter_domains": [
- "string"
], - "ingestion_stream_ids": [
- "string"
], - "install_id": "string",
- "integration_org_name": "string",
- "last_modified_by": "string",
- "ms365_cloud": 0,
- "shard_id": 0,
- "update_time": 0,
- "uuid": "string"
}
Query Integrations added for an account
Query Integrations added for an account
query Parameters
data_source | integer Enum: 0 1 2 3 11 12 13 101 102 103 104 201 202 301 401 402 403 9001 9002 9003 9004 10001 10002 10003 10004 10005 10006 10007 10008 10009 data source to match |
Responses
Response samples
- 200
- 400
- 401
- 403
- 500
{- "integrations": [
- {
- "account_name": "string",
- "added_by": "string",
- "app_id": "string",
- "base_url": "string",
- "create_time": 0,
- "credentials": {
- "access_token": "string",
- "client_id": "string",
- "client_secret": "string",
- "environment_name": "string",
- "password": "string",
- "private_key": "string",
- "refresh_token": "string",
- "service_account_id": "string",
- "tenant_id": "string",
- "username": "string"
}, - "data_source": 0,
- "display_name": "string",
- "encrypted_credentials": "string",
- "environment_id": "string",
- "filter_domains": [
- "string"
], - "ingestion_stream_ids": [
- "string"
], - "install_id": "string",
- "integration_org_name": "string",
- "last_modified_by": "string",
- "ms365_cloud": 0,
- "shard_id": 0,
- "update_time": 0,
- "uuid": "string"
}
]
}
Update integration.
Update integration
path Parameters
uuid required | string integration uuid |
Request Body schema: application/jsonrequired
details of integration to update
account_name | string optional |
object (proto.IngestionCredentials) | |
filter_domains | Array of strings List of domains to use for filtering during ingestion. Only data associated with one of these domains will be ingested. If this list is empty no filtering will be performed. The details of the filtering logic is connector specific. Currently this is only used by AzureAD and MS365 connectors. |
uuid | string required |
Responses
Request samples
- Payload
{- "account_name": "string",
- "credentials": {
- "access_token": "string",
- "client_id": "string",
- "client_secret": "string",
- "environment_name": "string",
- "password": "string",
- "private_key": "string",
- "refresh_token": "string",
- "service_account_id": "string",
- "tenant_id": "string",
- "username": "string"
}, - "filter_domains": [
- "string"
], - "uuid": "string"
}
Response samples
- 200
- 400
- 401
- 403
- 500
{- "account_name": "string",
- "added_by": "string",
- "app_id": "string",
- "base_url": "string",
- "create_time": 0,
- "credentials": {
- "access_token": "string",
- "client_id": "string",
- "client_secret": "string",
- "environment_name": "string",
- "password": "string",
- "private_key": "string",
- "refresh_token": "string",
- "service_account_id": "string",
- "tenant_id": "string",
- "username": "string"
}, - "data_source": 0,
- "display_name": "string",
- "encrypted_credentials": "string",
- "environment_id": "string",
- "filter_domains": [
- "string"
], - "ingestion_stream_ids": [
- "string"
], - "install_id": "string",
- "integration_org_name": "string",
- "last_modified_by": "string",
- "ms365_cloud": 0,
- "shard_id": 0,
- "update_time": 0,
- "uuid": "string"
}
Validate integration credentials
Check if integration credentials can be used to access logs and files/folder/permissions
Request Body schema: application/jsonrequired
integration validation request
account_name | string |
uuid | string |
Responses
Request samples
- Payload
{- "account_name": "string",
- "uuid": "string"
}
Response samples
- 201
- 400
- 401
- 403
- 500
{- "error_message": "string",
- "status": "string"
}
Login
Triggers SAML login and gets the JWT token
query Parameters
account required | string Account Name |
redirect | string Redirect URL |
Responses
Response samples
- 200
- 403
- 500
{- "account_location": "string",
- "account_name": "string",
- "account_shard": "string",
- "account_uuid": "string",
- "backend_shard": "string",
- "client_ip": "string",
- "create_time": 0,
- "device_uuid": "string",
- "end_time": 0,
- "expire_start_time": 0,
- "expire_time_sec": 0,
- "generation_id": 0,
- "geo_location": "string",
- "login_type": 0,
- "status": 0,
- "tags": [
- "string"
], - "time_id_token": "string",
- "token": "string",
- "ttl_sec": 0,
- "update_time": 0,
- "user_role": 0,
- "user_uuid": "string",
- "uuid": "string",
- "view_pii_log_only": true
}
Response samples
- 200
- 400
- 401
- 403
- 500
{- "completed_steps": [
- "string"
], - "eula_signed": true,
- "eula_signing_ip": "string",
- "eula_signing_time": 0,
- "eula_signing_user": "string",
- "eula_signing_user_display_name": "string",
- "eula_version": "string"
}
Update account onboarding info.
Update account onboarding info
Request Body schema: application/jsonrequired
The onboarding update request with only new values filled in
account_name | string |
object (proto.AccountOnboarding) |
Responses
Request samples
- Payload
{- "account_name": "string",
- "onboarding": {
- "completed_steps": [
- "string"
], - "eula_signed": true,
- "eula_signing_ip": "string",
- "eula_signing_time": 0,
- "eula_signing_user": "string",
- "eula_signing_user_display_name": "string",
- "eula_version": "string"
}
}
Response samples
- 200
- 400
- 401
- 403
- 500
{- "completed_steps": [
- "string"
], - "eula_signed": true,
- "eula_signing_ip": "string",
- "eula_signing_time": 0,
- "eula_signing_user": "string",
- "eula_signing_user_display_name": "string",
- "eula_version": "string"
}
Query policies
Query policies that match specified conditions
query Parameters
appid required | string get the policies that apply to this app id |
userid required | string get the policies that apply to this user id |
resolveDisplayNames required | string whether or not to resolve display names |
Responses
Response samples
- 200
- 400
- 401
- 403
- 500
{- "policies": [
- {
- "account_name": "string",
- "action": 0,
- "allow_guest_access": true,
- "app_filter": {
- "exclude_any": [
- {
- "all": [
- "string"
]
}
], - "include_any": [
- {
- "all": [
- "string"
]
}
]
}, - "constraints": {
- "property1": "string",
- "property2": "string"
}, - "create_time": 0,
- "creator_display_name": "string",
- "creator_uuid": "string",
- "data_source": 0,
- "description": "string",
- "filter_selector_display_names": {
- "property1": "string",
- "property2": "string"
}, - "integration_id": "string",
- "metadata": "string",
- "mitm_settings": {
- "fail_close": true
}, - "name": "string",
- "parent_app_control_policy_uuid": "string",
- "policy_event_type": 0,
- "priority": 0,
- "session_filter": {
- "exclude_any": [
- {
- "all": [
- "string"
]
}
], - "include_any": [
- {
- "all": [
- "string"
]
}
]
}, - "status": 0,
- "type": 0,
- "update_time": 0,
- "updater_display_name": "string",
- "updater_uuid": "string",
- "uuid": "string",
- "workflow_uuid": "string"
}
]
}
Create a Policy
Create a Policy
Request Body schema: application/jsonrequired
The policy to be created
account_name | string The name of the account. |
action | integer Enum: 0 1 2 3 4 101 102 103 201 202 300 301 310 399 400 500 If a situation match all the conditions, trigger the action. e.g. [high_value_user, incompliant_device] -> block |
allow_guest_access | boolean |
object (proto.Filter) | |
object | |
data_source | integer Enum: 0 1 2 3 11 12 13 101 102 103 104 201 202 301 401 402 403 9001 9002 9003 9004 10001 10002 10003 10004 10005 10006 10007 10008 10009 If unspecified, data_source = LOCAL |
description | string |
integration_id | string integration_id is empty for LOCAL policies |
metadata | string Optional (internal use only): Metadata that can be interpreted by a policy. |
object (proto.PolicyMitmSettings) | |
name | string The name of the policy. This is for display only. |
priority | integer Only relevant for routing policies, used to break ties. Smaller number indicates higher priority. |
object Filters select sessions and resources. The policy applies only if both filters match. | |
status | integer (proto.EnumStatus) Enum: 0 1 2 3 4 |
type | integer (proto.PolicyType) Enum: 0 1 2 3 4 |
workflow_name | string The name of workflow. Only needed if action is RUN_WORKFLOW and workflow_uuid isn't provided. We will lookup the workflow by name, and only create the policy if there is one workflow with the matching name. |
workflow_uuid | string The workflow to be executed when the policy is triggered. Only needed if action is RUN_WORKFLOW or RUN_APP_SPECIFIC_WORKFLOW. |
Responses
Request samples
- Payload
{- "account_name": "string",
- "action": 0,
- "allow_guest_access": true,
- "app_filter": {
- "exclude_any": [
- {
- "all": [
- "string"
]
}
], - "include_any": [
- {
- "all": [
- "string"
]
}
]
}, - "constraints": {
- "property1": "string",
- "property2": "string"
}, - "data_source": 0,
- "description": "string",
- "integration_id": "string",
- "metadata": "string",
- "mitm_settings": {
- "fail_close": true
}, - "name": "string",
- "priority": 0,
- "session_filter": {
- "exclude_any": [
- {
- "all": [
- "string"
]
}
], - "include_any": [
- {
- "all": [
- "string"
]
}
]
}, - "status": 0,
- "type": 0,
- "workflow_name": "string",
- "workflow_uuid": "string"
}
Response samples
- 201
- 400
- 500
{- "account_name": "string",
- "action": 0,
- "allow_guest_access": true,
- "app_filter": {
- "exclude_any": [
- {
- "all": [
- "string"
]
}
], - "include_any": [
- {
- "all": [
- "string"
]
}
]
}, - "constraints": {
- "property1": "string",
- "property2": "string"
}, - "create_time": 0,
- "creator_display_name": "string",
- "creator_uuid": "string",
- "data_source": 0,
- "description": "string",
- "filter_selector_display_names": {
- "property1": "string",
- "property2": "string"
}, - "integration_id": "string",
- "metadata": "string",
- "mitm_settings": {
- "fail_close": true
}, - "name": "string",
- "parent_app_control_policy_uuid": "string",
- "policy_event_type": 0,
- "priority": 0,
- "session_filter": {
- "exclude_any": [
- {
- "all": [
- "string"
]
}
], - "include_any": [
- {
- "all": [
- "string"
]
}
]
}, - "status": 0,
- "type": 0,
- "update_time": 0,
- "updater_display_name": "string",
- "updater_uuid": "string",
- "uuid": "string",
- "workflow_uuid": "string"
}
Get the policy details.
Get the policy details
path Parameters
uuid required | string The policy uuid |
Responses
Response samples
- 200
- 400
- 401
- 403
- 500
{- "account_name": "string",
- "action": 0,
- "allow_guest_access": true,
- "app_filter": {
- "exclude_any": [
- {
- "all": [
- "string"
]
}
], - "include_any": [
- {
- "all": [
- "string"
]
}
]
}, - "constraints": {
- "property1": "string",
- "property2": "string"
}, - "create_time": 0,
- "creator_display_name": "string",
- "creator_uuid": "string",
- "data_source": 0,
- "description": "string",
- "filter_selector_display_names": {
- "property1": "string",
- "property2": "string"
}, - "integration_id": "string",
- "metadata": "string",
- "mitm_settings": {
- "fail_close": true
}, - "name": "string",
- "parent_app_control_policy_uuid": "string",
- "policy_event_type": 0,
- "priority": 0,
- "session_filter": {
- "exclude_any": [
- {
- "all": [
- "string"
]
}
], - "include_any": [
- {
- "all": [
- "string"
]
}
]
}, - "status": 0,
- "type": 0,
- "update_time": 0,
- "updater_display_name": "string",
- "updater_uuid": "string",
- "uuid": "string",
- "workflow_uuid": "string"
}
Update a policy.
Update a policy
path Parameters
uuid required | string The policy uuid |
Request Body schema: application/jsonrequired
The policy update request with only new values of the policy filled in
account_name | string |
attributes_to_delete | Array of strings Attributes to be deleted. |
expected_update_time | integer |
object Only fields to be updated are filled in. | |
uuid | string |
Responses
Request samples
- Payload
{- "account_name": "string",
- "attributes_to_delete": [
- "string"
], - "expected_update_time": 0,
- "policy": {
- "account_name": "string",
- "action": 0,
- "allow_guest_access": true,
- "app_filter": {
- "exclude_any": [
- {
- "all": [
- "string"
]
}
], - "include_any": [
- {
- "all": [
- "string"
]
}
]
}, - "constraints": {
- "property1": "string",
- "property2": "string"
}, - "create_time": 0,
- "creator_display_name": "string",
- "creator_uuid": "string",
- "data_source": 0,
- "description": "string",
- "filter_selector_display_names": {
- "property1": "string",
- "property2": "string"
}, - "integration_id": "string",
- "metadata": "string",
- "mitm_settings": {
- "fail_close": true
}, - "name": "string",
- "parent_app_control_policy_uuid": "string",
- "policy_event_type": 0,
- "priority": 0,
- "session_filter": {
- "exclude_any": [
- {
- "all": [
- "string"
]
}
], - "include_any": [
- {
- "all": [
- "string"
]
}
]
}, - "status": 0,
- "type": 0,
- "update_time": 0,
- "updater_display_name": "string",
- "updater_uuid": "string",
- "uuid": "string",
- "workflow_uuid": "string"
}, - "uuid": "string"
}
Response samples
- 200
- 400
- 401
- 403
- 500
{- "account_name": "string",
- "action": 0,
- "allow_guest_access": true,
- "app_filter": {
- "exclude_any": [
- {
- "all": [
- "string"
]
}
], - "include_any": [
- {
- "all": [
- "string"
]
}
]
}, - "constraints": {
- "property1": "string",
- "property2": "string"
}, - "create_time": 0,
- "creator_display_name": "string",
- "creator_uuid": "string",
- "data_source": 0,
- "description": "string",
- "filter_selector_display_names": {
- "property1": "string",
- "property2": "string"
}, - "integration_id": "string",
- "metadata": "string",
- "mitm_settings": {
- "fail_close": true
}, - "name": "string",
- "parent_app_control_policy_uuid": "string",
- "policy_event_type": 0,
- "priority": 0,
- "session_filter": {
- "exclude_any": [
- {
- "all": [
- "string"
]
}
], - "include_any": [
- {
- "all": [
- "string"
]
}
]
}, - "status": 0,
- "type": 0,
- "update_time": 0,
- "updater_display_name": "string",
- "updater_uuid": "string",
- "uuid": "string",
- "workflow_uuid": "string"
}
Response samples
- 200
- 400
- 401
- 403
- 500
{- "posture_attributes": [
- {
- "account_name": "string",
- "attribute_type": 0,
- "create_time": 0,
- "creator_display_name": "string",
- "creator_uuid": "string",
- "description": "string",
- "name": "string",
- "required_processes": [
- {
- "binary_hash": "string",
- "bundle_id": "string",
- "cert_thumbprint": "string",
- "platform": 0,
- "process_regex": "string",
- "team_id": "string"
}
], - "supported_platforms": [
- 0
], - "update_time": 0,
- "updater_display_name": "string",
- "updater_uuid": "string",
- "uuid": "string"
}
]
}
Add posture attribute
Add posture attribute
Request Body schema: application/jsonrequired
details of posture attribute
account_name | string |
attribute_type | integer (proto.PostureAttributeType) Enum: 0 1 2 3 4 5 |
description | string |
name | string |
Array of objects (proto.PostureProcess) | |
supported_platforms | Array of integers (proto.PosturePlatform) Items Enum: 0 1 2 3 |
Responses
Request samples
- Payload
{- "account_name": "string",
- "attribute_type": 0,
- "description": "string",
- "name": "string",
- "required_processes": [
- {
- "binary_hash": "string",
- "bundle_id": "string",
- "cert_thumbprint": "string",
- "platform": 0,
- "process_regex": "string",
- "team_id": "string"
}
], - "supported_platforms": [
- 0
]
}
Response samples
- 201
- 400
- 401
- 403
- 500
{- "account_name": "string",
- "attribute_type": 0,
- "create_time": 0,
- "creator_display_name": "string",
- "creator_uuid": "string",
- "description": "string",
- "name": "string",
- "required_processes": [
- {
- "binary_hash": "string",
- "bundle_id": "string",
- "cert_thumbprint": "string",
- "platform": 0,
- "process_regex": "string",
- "team_id": "string"
}
], - "supported_platforms": [
- 0
], - "update_time": 0,
- "updater_display_name": "string",
- "updater_uuid": "string",
- "uuid": "string"
}
Get posture attribute for an account based on uuid
Get posture attribute for an account based on uuid
Responses
Response samples
- 200
- 400
- 401
- 403
- 500
{- "account_name": "string",
- "attribute_type": 0,
- "create_time": 0,
- "creator_display_name": "string",
- "creator_uuid": "string",
- "description": "string",
- "name": "string",
- "required_processes": [
- {
- "binary_hash": "string",
- "bundle_id": "string",
- "cert_thumbprint": "string",
- "platform": 0,
- "process_regex": "string",
- "team_id": "string"
}
], - "supported_platforms": [
- 0
], - "update_time": 0,
- "updater_display_name": "string",
- "updater_uuid": "string",
- "uuid": "string"
}
Update posture attribute
Update posture attribute
path Parameters
uuid required | string posture attribute uuid |
Request Body schema: application/jsonrequired
details of posture attribute to update
account_name | string |
attributes_to_delete | Array of strings |
description | string |
name | string |
Array of objects (proto.PostureProcess) | |
supported_platforms | Array of integers (proto.PosturePlatform) Items Enum: 0 1 2 3 |
uuid | string |
Responses
Request samples
- Payload
{- "account_name": "string",
- "attributes_to_delete": [
- "string"
], - "description": "string",
- "name": "string",
- "required_processes": [
- {
- "binary_hash": "string",
- "bundle_id": "string",
- "cert_thumbprint": "string",
- "platform": 0,
- "process_regex": "string",
- "team_id": "string"
}
], - "supported_platforms": [
- 0
], - "uuid": "string"
}
Response samples
- 200
- 400
- 401
- 403
- 500
{- "account_name": "string",
- "attribute_type": 0,
- "create_time": 0,
- "creator_display_name": "string",
- "creator_uuid": "string",
- "description": "string",
- "name": "string",
- "required_processes": [
- {
- "binary_hash": "string",
- "bundle_id": "string",
- "cert_thumbprint": "string",
- "platform": 0,
- "process_regex": "string",
- "team_id": "string"
}
], - "supported_platforms": [
- 0
], - "update_time": 0,
- "updater_display_name": "string",
- "updater_uuid": "string",
- "uuid": "string"
}
Response samples
- 200
- 400
- 401
- 403
- 500
{- "posture_profiles": [
- {
- "account_name": "string",
- "attribute_uuids": [
- "string"
], - "create_time": 0,
- "creator_display_name": "string",
- "creator_uuid": "string",
- "description": "string",
- "name": "string",
- "platform": 0,
- "posture_tag_value": "string",
- "update_time": 0,
- "updater_display_name": "string",
- "updater_uuid": "string",
- "uuid": "string"
}
]
}
Add posture profile
Add posture profile
Request Body schema: application/jsonrequired
details of posture profile
account_name | string |
attribute_uuids | Array of strings |
description | string |
name | string |
platform | integer (proto.PosturePlatform) Enum: 0 1 2 3 |
posture_tag_value | string |
Responses
Request samples
- Payload
{- "account_name": "string",
- "attribute_uuids": [
- "string"
], - "description": "string",
- "name": "string",
- "platform": 0,
- "posture_tag_value": "string"
}
Response samples
- 201
- 400
- 401
- 403
- 500
{- "account_name": "string",
- "attribute_uuids": [
- "string"
], - "create_time": 0,
- "creator_display_name": "string",
- "creator_uuid": "string",
- "description": "string",
- "name": "string",
- "platform": 0,
- "posture_tag_value": "string",
- "update_time": 0,
- "updater_display_name": "string",
- "updater_uuid": "string",
- "uuid": "string"
}
Get posture profile for an account based on uuid
Get posture profile for an account based on uuid
Responses
Response samples
- 200
- 400
- 401
- 403
- 500
{- "account_name": "string",
- "attribute_uuids": [
- "string"
], - "create_time": 0,
- "creator_display_name": "string",
- "creator_uuid": "string",
- "description": "string",
- "name": "string",
- "platform": 0,
- "posture_tag_value": "string",
- "update_time": 0,
- "updater_display_name": "string",
- "updater_uuid": "string",
- "uuid": "string"
}
Update posture profile
Update posture profile
path Parameters
uuid required | string posture profile uuid |
Request Body schema: application/jsonrequired
details of posture profile to update
account_name | string |
attribute_uuids | Array of strings |
attributes_to_delete | Array of strings |
description | string |
name | string |
posture_tag_value | string |
uuid | string |
Responses
Request samples
- Payload
{- "account_name": "string",
- "attribute_uuids": [
- "string"
], - "attributes_to_delete": [
- "string"
], - "description": "string",
- "name": "string",
- "posture_tag_value": "string",
- "uuid": "string"
}
Response samples
- 200
- 400
- 401
- 403
- 500
{- "account_name": "string",
- "attribute_uuids": [
- "string"
], - "create_time": 0,
- "creator_display_name": "string",
- "creator_uuid": "string",
- "description": "string",
- "name": "string",
- "platform": 0,
- "posture_tag_value": "string",
- "update_time": 0,
- "updater_display_name": "string",
- "updater_uuid": "string",
- "uuid": "string"
}
Query a QS View
Query a QS View
path Parameters
view required | string QueryService view name |
query Parameters
start_time required | string Start time in milli-seconds |
end_time required | string End time in milli-seconds |
Responses
Response samples
- 400
- 401
- 403
- 500
{- "message": "detailed error message"
}
Response samples
- 200
- 400
- 401
- 403
- 500
{- "users": [
- {
- "account_name": "string",
- "create_time": 0,
- "data_source": 0,
- "display_name": "string",
- "idp_mfa_status": 0,
- "integration_id": "string",
- "integration_to_source_user_id": {
- "property1": "string",
- "property2": "string"
}, - "location": "string",
- "mfa_encrypted_secret": "string",
- "mfa_status": 0,
- "record_update_time": 0,
- "role": 0,
- "source_user_id": "string",
- "status": 0,
- "tags": [
- "string"
], - "update_time": 0,
- "uuid": "string"
}
]
}
Create Temporary Access Token
Create a temporary access token for viewing a user's log.
Request Body schema: application/jsonrequired
Provide the account name and user_uuid to create the access token for.
account_name | string |
ttl_sec | integer Time to live in seconds. |
user_uuid | string The user whose pii is to be viewed. |
Responses
Request samples
- Payload
{- "account_name": "string",
- "ttl_sec": 0,
- "user_uuid": "string"
}
Response samples
- 201
- 400
- 500
{- "account_location": "string",
- "account_name": "string",
- "account_shard": "string",
- "account_uuid": "string",
- "algo": "string",
- "backend_shard": "string",
- "create_time": 0,
- "creator_display_name": "string",
- "creator_role": 0,
- "creator_uuid": "string",
- "description": "string",
- "expire_time_sec": 0,
- "login_url": "string",
- "name": "string",
- "secret": "string",
- "status": 0,
- "update_time": 0,
- "updater_display_name": "string",
- "updater_uuid": "string",
- "uuid": "string",
- "view_pii_log_only": true
}
TokenLogin
Triggers login using a provided API token and gets the JWT token
query Parameters
account required | string Account Name |
redirect | string Redirect URL |
Responses
Response samples
- 200
- 403
- 500
{- "account_location": "string",
- "account_name": "string",
- "account_shard": "string",
- "account_uuid": "string",
- "backend_shard": "string",
- "client_ip": "string",
- "create_time": 0,
- "device_uuid": "string",
- "end_time": 0,
- "expire_start_time": 0,
- "expire_time_sec": 0,
- "generation_id": 0,
- "geo_location": "string",
- "login_type": 0,
- "status": 0,
- "tags": [
- "string"
], - "time_id_token": "string",
- "token": "string",
- "ttl_sec": 0,
- "update_time": 0,
- "user_role": 0,
- "user_uuid": "string",
- "uuid": "string",
- "view_pii_log_only": true
}
Query Tokens
Query all tokens for the given account
query Parameters
get_all | boolean return all tokens (active and suspended) or just active |
Responses
Response samples
- 200
- 400
- 500
{- "tokens": [
- {
- "account_location": "string",
- "account_name": "string",
- "account_shard": "string",
- "account_uuid": "string",
- "algo": "string",
- "backend_shard": "string",
- "create_time": 0,
- "creator_display_name": "string",
- "creator_role": 0,
- "creator_uuid": "string",
- "description": "string",
- "expire_time_sec": 0,
- "login_url": "string",
- "name": "string",
- "secret": "string",
- "status": 0,
- "update_time": 0,
- "updater_display_name": "string",
- "updater_uuid": "string",
- "uuid": "string",
- "view_pii_log_only": true
}
]
}
Create Token
Create an API access token
Request Body schema: application/jsonrequired
Provide the account name to create the access token for.
account_name | string Tokens can only be created in the same account as the creator. Account_name must be either "", or else match the session's account |
description | string |
name | string |
role | integer Enum: 0 10 1 12 2 3 14 15 16 4 5 optional, if not provided the token will have the creator's role. |
status | integer Enum: 0 1 2 3 4 optional, defaults to ACTIVE |
ttl_sec | integer If ttl_sec > 0, then it is assumed to be a temp token and it can only be used once. |
user_uuid | string optional, use the current user if not provided. |
Responses
Request samples
- Payload
{- "account_name": "string",
- "description": "string",
- "name": "string",
- "role": 0,
- "status": 0,
- "ttl_sec": 0,
- "user_uuid": "string"
}
Response samples
- 201
- 400
- 500
{- "account_location": "string",
- "account_name": "string",
- "account_shard": "string",
- "account_uuid": "string",
- "algo": "string",
- "backend_shard": "string",
- "create_time": 0,
- "creator_display_name": "string",
- "creator_role": 0,
- "creator_uuid": "string",
- "description": "string",
- "expire_time_sec": 0,
- "login_url": "string",
- "name": "string",
- "secret": "string",
- "status": 0,
- "update_time": 0,
- "updater_display_name": "string",
- "updater_uuid": "string",
- "uuid": "string",
- "view_pii_log_only": true
}
Update a token.
Update a token.
path Parameters
uuid required | string The access uuid |
Request Body schema: application/jsonrequired
The token update request with only new values filled in
account_name | string |
attributes_to_delete | Array of strings Attributes to delete, or set to their default value |
description | string optional - new description for the token. |
name | string optional - new name for the token. |
role | integer Enum: 0 10 1 12 2 3 14 15 16 4 5 optional, new role for the token, but can't exceed the caller's role. |
status | integer Enum: 0 1 2 3 4 optional, new status for the token. |
uuid | string |
Responses
Request samples
- Payload
{- "account_name": "string",
- "attributes_to_delete": [
- "string"
], - "description": "string",
- "name": "string",
- "role": 0,
- "status": 0,
- "uuid": "string"
}
Response samples
- 200
- 400
- 401
- 403
- 500
{- "account_location": "string",
- "account_name": "string",
- "account_shard": "string",
- "account_uuid": "string",
- "algo": "string",
- "backend_shard": "string",
- "create_time": 0,
- "creator_display_name": "string",
- "creator_role": 0,
- "creator_uuid": "string",
- "description": "string",
- "expire_time_sec": 0,
- "login_url": "string",
- "name": "string",
- "secret": "string",
- "status": 0,
- "update_time": 0,
- "updater_display_name": "string",
- "updater_uuid": "string",
- "uuid": "string",
- "view_pii_log_only": true
}
Query Users
Query Users
query Parameters
tag | string comma separated tags to search for |
status | string comma separated status to match: INIT | ACTIVE | SUSPENDED |
datasource | string comma separated data source to match |
Responses
Response samples
- 200
- 400
- 401
- 403
- 500
{- "users": [
- {
- "account_name": "string",
- "create_time": 0,
- "data_source": 0,
- "display_name": "string",
- "idp_mfa_status": 0,
- "integration_id": "string",
- "integration_to_source_user_id": {
- "property1": "string",
- "property2": "string"
}, - "location": "string",
- "mfa_encrypted_secret": "string",
- "mfa_status": 0,
- "record_update_time": 0,
- "role": 0,
- "source_user_id": "string",
- "status": 0,
- "tags": [
- "string"
], - "update_time": 0,
- "uuid": "string"
}
]
}
Create a user.
Create a new user.
Request Body schema: application/jsonrequired
details of user to create
account_name | string |
send_invitation | boolean |
object (proto.User) | |
object (proto.UserPii) |
Responses
Request samples
- Payload
{- "account_name": "string",
- "send_invitation": true,
- "user": {
- "account_name": "string",
- "create_time": 0,
- "data_source": 0,
- "display_name": "string",
- "idp_mfa_status": 0,
- "integration_id": "string",
- "integration_to_source_user_id": {
- "property1": "string",
- "property2": "string"
}, - "location": "string",
- "mfa_encrypted_secret": "string",
- "mfa_status": 0,
- "record_update_time": 0,
- "role": 0,
- "source_user_id": "string",
- "status": 0,
- "tags": [
- "string"
], - "update_time": 0,
- "uuid": "string"
}, - "user_pii": {
- "account_name": "string",
- "email": "string",
- "login": "string",
- "phone": "string",
- "uuid": "string"
}
}
Response samples
- 200
- 400
- 401
- 403
- 500
{- "user": {
- "account_name": "string",
- "create_time": 0,
- "data_source": 0,
- "display_name": "string",
- "idp_mfa_status": 0,
- "integration_id": "string",
- "integration_to_source_user_id": {
- "property1": "string",
- "property2": "string"
}, - "location": "string",
- "mfa_encrypted_secret": "string",
- "mfa_status": 0,
- "record_update_time": 0,
- "role": 0,
- "source_user_id": "string",
- "status": 0,
- "tags": [
- "string"
], - "update_time": 0,
- "uuid": "string"
}, - "user_pii": {
- "account_name": "string",
- "email": "string",
- "login": "string",
- "phone": "string",
- "uuid": "string"
}
}
Get the user details.
Get the user details
path Parameters
uuid required | string The user uuid |
Responses
Response samples
- 200
- 400
- 401
- 403
- 500
{- "account_name": "string",
- "create_time": 0,
- "data_source": 0,
- "display_name": "string",
- "idp_mfa_status": 0,
- "integration_id": "string",
- "integration_to_source_user_id": {
- "property1": "string",
- "property2": "string"
}, - "location": "string",
- "mfa_encrypted_secret": "string",
- "mfa_status": 0,
- "record_update_time": 0,
- "role": 0,
- "source_user_id": "string",
- "status": 0,
- "tags": [
- "string"
], - "update_time": 0,
- "uuid": "string"
}
Update a user.
Update a user
path Parameters
uuid required | string The user uuid |
Request Body schema: application/jsonrequired
The user update request with only new values of the user filled in
account_name | string |
attributes_to_delete | Array of strings |
record_update_time | integer deprecated, don't use |
object Provides the new values for attributes to be updated. | |
uuid | string |
Responses
Request samples
- Payload
{- "account_name": "string",
- "attributes_to_delete": [
- "string"
], - "record_update_time": 0,
- "user": {
- "account_name": "string",
- "create_time": 0,
- "data_source": 0,
- "display_name": "string",
- "idp_mfa_status": 0,
- "integration_id": "string",
- "integration_to_source_user_id": {
- "property1": "string",
- "property2": "string"
}, - "location": "string",
- "mfa_encrypted_secret": "string",
- "mfa_status": 0,
- "record_update_time": 0,
- "role": 0,
- "source_user_id": "string",
- "status": 0,
- "tags": [
- "string"
], - "update_time": 0,
- "uuid": "string"
}, - "uuid": "string"
}
Response samples
- 200
- 400
- 401
- 403
- 500
{- "account_name": "string",
- "create_time": 0,
- "data_source": 0,
- "display_name": "string",
- "idp_mfa_status": 0,
- "integration_id": "string",
- "integration_to_source_user_id": {
- "property1": "string",
- "property2": "string"
}, - "location": "string",
- "mfa_encrypted_secret": "string",
- "mfa_status": 0,
- "record_update_time": 0,
- "role": 0,
- "source_user_id": "string",
- "status": 0,
- "tags": [
- "string"
], - "update_time": 0,
- "uuid": "string"
}
Get the user's devices
Get the user's devices
path Parameters
uuid required | string The user uuid |
Responses
Response samples
- 200
- 400
- 401
- 403
- 500
{- "continuation_token": "string",
- "devices": [
- {
- "account_name": "string",
- "browser": "string",
- "browser_version": "string",
- "certificate": [
- 0
], - "create_time": 0,
- "data_source": 0,
- "display_name": "string",
- "eg_version": "string",
- "is_managed": true,
- "is_managed_verification_done": true,
- "normalized_id": "string",
- "os": "string",
- "os_version": "string",
- "platform_uuid": "string",
- "posture": {
- "client_version_risk": 0,
- "device_activation_lock_enabled": 0,
- "device_process_info": {
- "processes": [
- {
- "paths": [
- "string"
], - "spec": "string"
}
]
}, - "disk_encryption_enabled": 0,
- "firmware_password_enabled": 0,
- "recovery_lock_enabled": 0,
- "user_activation_lock_enabled": 0
}, - "private_key_encrypted": "string",
- "properties": {
- "browser": "string",
- "browser_details": [
- {
- "browser": "string",
- "browser_install_type": "string",
- "browser_version": "string",
- "eg_version": "string"
}
], - "browser_install_type": "string",
- "browser_version": "string",
- "client_install_type": "string",
- "device_activation_lock_enabled": true,
- "disk_encryption_enabled": true,
- "firmware_password_enabled": true,
- "hostname": "string",
- "last_boot_epoch_sec": 0,
- "location_tracking_state": 0,
- "machine_model": "string",
- "machine_name": "string",
- "os": "string",
- "os_user_id": "string",
- "os_user_name": "string",
- "os_version": "string",
- "recovery_lock_enabled": true,
- "target_triple": "string",
- "user_activation_lock_enabled": true
}, - "public_key": "string",
- "serial_number": "string",
- "status": 0,
- "tags": [
- "string"
], - "time_id": {
- "create_time": 0,
- "end_time": 0,
- "salt": "string",
- "signature": [
- 0
], - "version": "string"
}, - "update_time": 0,
- "user_display_name": "string",
- "user_uuid": "string",
- "uuid": "string"
}
]
}
Query WorkflowRuns
Query WorkflowRuns
query Parameters
status | string Enum: "CREATED" "PENDING" "SUCCESS" "FAILURE" "UNSURE" status to filter by |
workflow_uuid | string workflow uuid to filter by |
user_uuid | string user uuid to filter by |
app_protocol | string filter for workflow runs for this app protocol |
app_host | string filter for workflow runs for this app host |
app_port | string filter for workflow runs for this app port |
app_uuid | string filter for workflow runs for this app uuid |
Responses
Response samples
- 200
- 400
- 401
- 403
- 500
{- "workflow_runs": [
- {
- "account_name": "string",
- "actions": [
- {
- "on_object": 0,
- "run": 0,
- "target": "string"
}
], - "answer_index": "string",
- "answers": [
- {
- "actions": [
- {
- "on_object": 0,
- "run": 0,
- "target": "string"
}
], - "answer": "string"
}
], - "app_host": "string",
- "app_port": 0,
- "app_protocol": "string",
- "app_url": "string",
- "app_uuid": "string",
- "approval_ttl_sec": 0,
- "approver_display_name": "string",
- "approver_justification": "string",
- "approver_text": "string",
- "approver_uuid": "string",
- "can_user_approve": true,
- "client_geoip_location": {
- "asn_data": {
- "asn": "string",
- "asn_type": "string",
- "country": "string",
- "country_code": "string",
- "domain": "string",
- "name": "string"
}, - "carrier_data": {
- "country": "string",
- "country_code": "string",
- "mcc": "string",
- "mnc": "string",
- "name": "string"
}, - "geo_data": {
- "city_name": "string",
- "country": "string",
- "country_code": "string",
- "latitude": "string",
- "longitude": "string",
- "region_name": "string",
- "time_zone": "string",
- "time_zone_name": "string",
- "zip_code": "string"
}, - "privacy_data": {
- "hosting": true,
- "proxy": true,
- "relay": true,
- "service": "string",
- "tor": true,
- "vpn": true
}
}, - "client_ip": "string",
- "create_time": 0,
- "details": {
- "property1": "string",
- "property2": "string"
}, - "device_details": [
- {
- "account_name": "string",
- "browser": "string",
- "browser_version": "string",
- "certificate": [
- 0
], - "create_time": 0,
- "data_source": 0,
- "display_name": "string",
- "eg_version": "string",
- "is_managed": true,
- "is_managed_verification_done": true,
- "normalized_id": "string",
- "os": "string",
- "os_version": "string",
- "platform_uuid": "string",
- "posture": {
- "client_version_risk": 0,
- "device_activation_lock_enabled": 0,
- "device_process_info": {
- "processes": [
- {
- "paths": [
- null
], - "spec": "string"
}
]
}, - "disk_encryption_enabled": 0,
- "firmware_password_enabled": 0,
- "recovery_lock_enabled": 0,
- "user_activation_lock_enabled": 0
}, - "private_key_encrypted": "string",
- "properties": {
- "browser": "string",
- "browser_details": [
- {
- "browser": "string",
- "browser_install_type": "string",
- "browser_version": "string",
- "eg_version": "string"
}
], - "browser_install_type": "string",
- "browser_version": "string",
- "client_install_type": "string",
- "device_activation_lock_enabled": true,
- "disk_encryption_enabled": true,
- "firmware_password_enabled": true,
- "hostname": "string",
- "last_boot_epoch_sec": 0,
- "location_tracking_state": 0,
- "machine_model": "string",
- "machine_name": "string",
- "os": "string",
- "os_user_id": "string",
- "os_user_name": "string",
- "os_version": "string",
- "recovery_lock_enabled": true,
- "target_triple": "string",
- "user_activation_lock_enabled": true
}, - "public_key": "string",
- "serial_number": "string",
- "status": 0,
- "tags": [
- "string"
], - "time_id": {
- "create_time": 0,
- "end_time": 0,
- "salt": "string",
- "signature": [
- 0
], - "version": "string"
}, - "update_time": 0,
- "user_display_name": "string",
- "user_uuid": "string",
- "uuid": "string"
}
], - "device_uuid": "string",
- "execution_ttl_sec": 0,
- "expire_time_sec": 0,
- "geoip_details": [
- {
- "city": "string",
- "city_code": "string",
- "country": "string",
- "country_code": "string",
- "county": "string",
- "geohash": "string",
- "group_loc_freq": 0,
- "group_loc_rank": 0,
- "ip": "string",
- "latitude": 0,
- "location_label": "string",
- "longitude": 0,
- "source": 0,
- "state": "string",
- "state_code": "string",
- "user_loc_freq": 0,
- "user_loc_rank": 0,
- "zip_code": "string"
}
], - "justification": "string",
- "justification_required": true,
- "mfa_details": {
- "expire_time_sec": 0,
- "factor_id": "string",
- "factor_type": 0,
- "provider": "string",
- "provisioning_required": true,
- "security_question": "string",
- "token": "string",
- "transaction_id": "string",
- "verification_type": 0
}, - "parent_uuid": "string",
- "policy_uuid": "string",
- "recipients": [
- "string"
], - "requestor_justification": "string",
- "requestor_justification_required": true,
- "requestor_text": "string",
- "session_uuid": "string",
- "status": 0,
- "tags": [
- "string"
], - "text": "string",
- "token": 0,
- "token_required": true,
- "top_uuid": "string",
- "update_time": 0,
- "user_display_name": "string",
- "user_uuid": "string",
- "uuid": "string",
- "webapp": "string",
- "workflow_name": "string",
- "workflow_uuid": "string"
}
]
}
Create workflow run
Create a workflow run, which needs to be approved for the user to gain access to resources.
Request Body schema: application/jsonrequired
WorkflowRun to create
account_name | string |
execute_now | boolean |
parent_workflow_run_uuid | string Optional, passed in only if this run is triggered by another workflow. |
object Details about what triggered this run is passed in here. Only the fields relevant to the specific workflow run instance are needed. Uuid, timestamps, status are generated. |
Responses
Request samples
- Payload
{- "account_name": "string",
- "execute_now": true,
- "parent_workflow_run_uuid": "string",
- "workflow_run": {
- "account_name": "string",
- "actions": [
- {
- "on_object": 0,
- "run": 0,
- "target": "string"
}
], - "answer_index": "string",
- "answers": [
- {
- "actions": [
- {
- "on_object": 0,
- "run": 0,
- "target": "string"
}
], - "answer": "string"
}
], - "app_host": "string",
- "app_port": 0,
- "app_protocol": "string",
- "app_url": "string",
- "app_uuid": "string",
- "approval_ttl_sec": 0,
- "approver_display_name": "string",
- "approver_justification": "string",
- "approver_text": "string",
- "approver_uuid": "string",
- "can_user_approve": true,
- "client_geoip_location": {
- "asn_data": {
- "asn": "string",
- "asn_type": "string",
- "country": "string",
- "country_code": "string",
- "domain": "string",
- "name": "string"
}, - "carrier_data": {
- "country": "string",
- "country_code": "string",
- "mcc": "string",
- "mnc": "string",
- "name": "string"
}, - "geo_data": {
- "city_name": "string",
- "country": "string",
- "country_code": "string",
- "latitude": "string",
- "longitude": "string",
- "region_name": "string",
- "time_zone": "string",
- "time_zone_name": "string",
- "zip_code": "string"
}, - "privacy_data": {
- "hosting": true,
- "proxy": true,
- "relay": true,
- "service": "string",
- "tor": true,
- "vpn": true
}
}, - "client_ip": "string",
- "create_time": 0,
- "details": {
- "property1": "string",
- "property2": "string"
}, - "device_details": [
- {
- "account_name": "string",
- "browser": "string",
- "browser_version": "string",
- "certificate": [
- 0
], - "create_time": 0,
- "data_source": 0,
- "display_name": "string",
- "eg_version": "string",
- "is_managed": true,
- "is_managed_verification_done": true,
- "normalized_id": "string",
- "os": "string",
- "os_version": "string",
- "platform_uuid": "string",
- "posture": {
- "client_version_risk": 0,
- "device_activation_lock_enabled": 0,
- "device_process_info": {
- "processes": [
- {
- "paths": [
- "string"
], - "spec": "string"
}
]
}, - "disk_encryption_enabled": 0,
- "firmware_password_enabled": 0,
- "recovery_lock_enabled": 0,
- "user_activation_lock_enabled": 0
}, - "private_key_encrypted": "string",
- "properties": {
- "browser": "string",
- "browser_details": [
- {
- "browser": "string",
- "browser_install_type": "string",
- "browser_version": "string",
- "eg_version": "string"
}
], - "browser_install_type": "string",
- "browser_version": "string",
- "client_install_type": "string",
- "device_activation_lock_enabled": true,
- "disk_encryption_enabled": true,
- "firmware_password_enabled": true,
- "hostname": "string",
- "last_boot_epoch_sec": 0,
- "location_tracking_state": 0,
- "machine_model": "string",
- "machine_name": "string",
- "os": "string",
- "os_user_id": "string",
- "os_user_name": "string",
- "os_version": "string",
- "recovery_lock_enabled": true,
- "target_triple": "string",
- "user_activation_lock_enabled": true
}, - "public_key": "string",
- "serial_number": "string",
- "status": 0,
- "tags": [
- "string"
], - "time_id": {
- "create_time": 0,
- "end_time": 0,
- "salt": "string",
- "signature": [
- 0
], - "version": "string"
}, - "update_time": 0,
- "user_display_name": "string",
- "user_uuid": "string",
- "uuid": "string"
}
], - "device_uuid": "string",
- "execution_ttl_sec": 0,
- "expire_time_sec": 0,
- "geoip_details": [
- {
- "city": "string",
- "city_code": "string",
- "country": "string",
- "country_code": "string",
- "county": "string",
- "geohash": "string",
- "group_loc_freq": 0,
- "group_loc_rank": 0,
- "ip": "string",
- "latitude": 0,
- "location_label": "string",
- "longitude": 0,
- "source": 0,
- "state": "string",
- "state_code": "string",
- "user_loc_freq": 0,
- "user_loc_rank": 0,
- "zip_code": "string"
}
], - "justification": "string",
- "justification_required": true,
- "mfa_details": {
- "expire_time_sec": 0,
- "factor_id": "string",
- "factor_type": 0,
- "provider": "string",
- "provisioning_required": true,
- "security_question": "string",
- "token": "string",
- "transaction_id": "string",
- "verification_type": 0
}, - "parent_uuid": "string",
- "policy_uuid": "string",
- "recipients": [
- "string"
], - "requestor_justification": "string",
- "requestor_justification_required": true,
- "requestor_text": "string",
- "session_uuid": "string",
- "status": 0,
- "tags": [
- "string"
], - "text": "string",
- "token": 0,
- "token_required": true,
- "top_uuid": "string",
- "update_time": 0,
- "user_display_name": "string",
- "user_uuid": "string",
- "uuid": "string",
- "webapp": "string",
- "workflow_name": "string",
- "workflow_uuid": "string"
}
}
Response samples
- 200
- 400
- 401
- 403
- 500
{- "account_name": "string",
- "actions": [
- {
- "on_object": 0,
- "run": 0,
- "target": "string"
}
], - "answer_index": "string",
- "answers": [
- {
- "actions": [
- {
- "on_object": 0,
- "run": 0,
- "target": "string"
}
], - "answer": "string"
}
], - "app_host": "string",
- "app_port": 0,
- "app_protocol": "string",
- "app_url": "string",
- "app_uuid": "string",
- "approval_ttl_sec": 0,
- "approver_display_name": "string",
- "approver_justification": "string",
- "approver_text": "string",
- "approver_uuid": "string",
- "can_user_approve": true,
- "client_geoip_location": {
- "asn_data": {
- "asn": "string",
- "asn_type": "string",
- "country": "string",
- "country_code": "string",
- "domain": "string",
- "name": "string"
}, - "carrier_data": {
- "country": "string",
- "country_code": "string",
- "mcc": "string",
- "mnc": "string",
- "name": "string"
}, - "geo_data": {
- "city_name": "string",
- "country": "string",
- "country_code": "string",
- "latitude": "string",
- "longitude": "string",
- "region_name": "string",
- "time_zone": "string",
- "time_zone_name": "string",
- "zip_code": "string"
}, - "privacy_data": {
- "hosting": true,
- "proxy": true,
- "relay": true,
- "service": "string",
- "tor": true,
- "vpn": true
}
}, - "client_ip": "string",
- "create_time": 0,
- "details": {
- "property1": "string",
- "property2": "string"
}, - "device_details": [
- {
- "account_name": "string",
- "browser": "string",
- "browser_version": "string",
- "certificate": [
- 0
], - "create_time": 0,
- "data_source": 0,
- "display_name": "string",
- "eg_version": "string",
- "is_managed": true,
- "is_managed_verification_done": true,
- "normalized_id": "string",
- "os": "string",
- "os_version": "string",
- "platform_uuid": "string",
- "posture": {
- "client_version_risk": 0,
- "device_activation_lock_enabled": 0,
- "device_process_info": {
- "processes": [
- {
- "paths": [
- "string"
], - "spec": "string"
}
]
}, - "disk_encryption_enabled": 0,
- "firmware_password_enabled": 0,
- "recovery_lock_enabled": 0,
- "user_activation_lock_enabled": 0
}, - "private_key_encrypted": "string",
- "properties": {
- "browser": "string",
- "browser_details": [
- {
- "browser": "string",
- "browser_install_type": "string",
- "browser_version": "string",
- "eg_version": "string"
}
], - "browser_install_type": "string",
- "browser_version": "string",
- "client_install_type": "string",
- "device_activation_lock_enabled": true,
- "disk_encryption_enabled": true,
- "firmware_password_enabled": true,
- "hostname": "string",
- "last_boot_epoch_sec": 0,
- "location_tracking_state": 0,
- "machine_model": "string",
- "machine_name": "string",
- "os": "string",
- "os_user_id": "string",
- "os_user_name": "string",
- "os_version": "string",
- "recovery_lock_enabled": true,
- "target_triple": "string",
- "user_activation_lock_enabled": true
}, - "public_key": "string",
- "serial_number": "string",
- "status": 0,
- "tags": [
- "string"
], - "time_id": {
- "create_time": 0,
- "end_time": 0,
- "salt": "string",
- "signature": [
- 0
], - "version": "string"
}, - "update_time": 0,
- "user_display_name": "string",
- "user_uuid": "string",
- "uuid": "string"
}
], - "device_uuid": "string",
- "execution_ttl_sec": 0,
- "expire_time_sec": 0,
- "geoip_details": [
- {
- "city": "string",
- "city_code": "string",
- "country": "string",
- "country_code": "string",
- "county": "string",
- "geohash": "string",
- "group_loc_freq": 0,
- "group_loc_rank": 0,
- "ip": "string",
- "latitude": 0,
- "location_label": "string",
- "longitude": 0,
- "source": 0,
- "state": "string",
- "state_code": "string",
- "user_loc_freq": 0,
- "user_loc_rank": 0,
- "zip_code": "string"
}
], - "justification": "string",
- "justification_required": true,
- "mfa_details": {
- "expire_time_sec": 0,
- "factor_id": "string",
- "factor_type": 0,
- "provider": "string",
- "provisioning_required": true,
- "security_question": "string",
- "token": "string",
- "transaction_id": "string",
- "verification_type": 0
}, - "parent_uuid": "string",
- "policy_uuid": "string",
- "recipients": [
- "string"
], - "requestor_justification": "string",
- "requestor_justification_required": true,
- "requestor_text": "string",
- "session_uuid": "string",
- "status": 0,
- "tags": [
- "string"
], - "text": "string",
- "token": 0,
- "token_required": true,
- "top_uuid": "string",
- "update_time": 0,
- "user_display_name": "string",
- "user_uuid": "string",
- "uuid": "string",
- "webapp": "string",
- "workflow_name": "string",
- "workflow_uuid": "string"
}
Get the workflow run details.
Get the workflow run details
path Parameters
uuid required | string The workflow run uuid |
Responses
Response samples
- 200
- 400
- 401
- 403
- 500
{- "account_name": "string",
- "actions": [
- {
- "on_object": 0,
- "run": 0,
- "target": "string"
}
], - "answer_index": "string",
- "answers": [
- {
- "actions": [
- {
- "on_object": 0,
- "run": 0,
- "target": "string"
}
], - "answer": "string"
}
], - "app_host": "string",
- "app_port": 0,
- "app_protocol": "string",
- "app_url": "string",
- "app_uuid": "string",
- "approval_ttl_sec": 0,
- "approver_display_name": "string",
- "approver_justification": "string",
- "approver_text": "string",
- "approver_uuid": "string",
- "can_user_approve": true,
- "client_geoip_location": {
- "asn_data": {
- "asn": "string",
- "asn_type": "string",
- "country": "string",
- "country_code": "string",
- "domain": "string",
- "name": "string"
}, - "carrier_data": {
- "country": "string",
- "country_code": "string",
- "mcc": "string",
- "mnc": "string",
- "name": "string"
}, - "geo_data": {
- "city_name": "string",
- "country": "string",
- "country_code": "string",
- "latitude": "string",
- "longitude": "string",
- "region_name": "string",
- "time_zone": "string",
- "time_zone_name": "string",
- "zip_code": "string"
}, - "privacy_data": {
- "hosting": true,
- "proxy": true,
- "relay": true,
- "service": "string",
- "tor": true,
- "vpn": true
}
}, - "client_ip": "string",
- "create_time": 0,
- "details": {
- "property1": "string",
- "property2": "string"
}, - "device_details": [
- {
- "account_name": "string",
- "browser": "string",
- "browser_version": "string",
- "certificate": [
- 0
], - "create_time": 0,
- "data_source": 0,
- "display_name": "string",
- "eg_version": "string",
- "is_managed": true,
- "is_managed_verification_done": true,
- "normalized_id": "string",
- "os": "string",
- "os_version": "string",
- "platform_uuid": "string",
- "posture": {
- "client_version_risk": 0,
- "device_activation_lock_enabled": 0,
- "device_process_info": {
- "processes": [
- {
- "paths": [
- "string"
], - "spec": "string"
}
]
}, - "disk_encryption_enabled": 0,
- "firmware_password_enabled": 0,
- "recovery_lock_enabled": 0,
- "user_activation_lock_enabled": 0
}, - "private_key_encrypted": "string",
- "properties": {
- "browser": "string",
- "browser_details": [
- {
- "browser": "string",
- "browser_install_type": "string",
- "browser_version": "string",
- "eg_version": "string"
}
], - "browser_install_type": "string",
- "browser_version": "string",
- "client_install_type": "string",
- "device_activation_lock_enabled": true,
- "disk_encryption_enabled": true,
- "firmware_password_enabled": true,
- "hostname": "string",
- "last_boot_epoch_sec": 0,
- "location_tracking_state": 0,
- "machine_model": "string",
- "machine_name": "string",
- "os": "string",
- "os_user_id": "string",
- "os_user_name": "string",
- "os_version": "string",
- "recovery_lock_enabled": true,
- "target_triple": "string",
- "user_activation_lock_enabled": true
}, - "public_key": "string",
- "serial_number": "string",
- "status": 0,
- "tags": [
- "string"
], - "time_id": {
- "create_time": 0,
- "end_time": 0,
- "salt": "string",
- "signature": [
- 0
], - "version": "string"
}, - "update_time": 0,
- "user_display_name": "string",
- "user_uuid": "string",
- "uuid": "string"
}
], - "device_uuid": "string",
- "execution_ttl_sec": 0,
- "expire_time_sec": 0,
- "geoip_details": [
- {
- "city": "string",
- "city_code": "string",
- "country": "string",
- "country_code": "string",
- "county": "string",
- "geohash": "string",
- "group_loc_freq": 0,
- "group_loc_rank": 0,
- "ip": "string",
- "latitude": 0,
- "location_label": "string",
- "longitude": 0,
- "source": 0,
- "state": "string",
- "state_code": "string",
- "user_loc_freq": 0,
- "user_loc_rank": 0,
- "zip_code": "string"
}
], - "justification": "string",
- "justification_required": true,
- "mfa_details": {
- "expire_time_sec": 0,
- "factor_id": "string",
- "factor_type": 0,
- "provider": "string",
- "provisioning_required": true,
- "security_question": "string",
- "token": "string",
- "transaction_id": "string",
- "verification_type": 0
}, - "parent_uuid": "string",
- "policy_uuid": "string",
- "recipients": [
- "string"
], - "requestor_justification": "string",
- "requestor_justification_required": true,
- "requestor_text": "string",
- "session_uuid": "string",
- "status": 0,
- "tags": [
- "string"
], - "text": "string",
- "token": 0,
- "token_required": true,
- "top_uuid": "string",
- "update_time": 0,
- "user_display_name": "string",
- "user_uuid": "string",
- "uuid": "string",
- "webapp": "string",
- "workflow_name": "string",
- "workflow_uuid": "string"
}
Answer the Workflow Run
Provide an answer and trigger the matching actions.
path Parameters
uuid required | string The workflow run uuid |
Request Body schema: application/jsonrequired
Answer and justification for the workflow run
account_name | string |
answer_index | string |
justification | string |
mfa_passcode | string |
token | integer |
uuid | string |
Responses
Request samples
- Payload
{- "account_name": "string",
- "answer_index": "string",
- "justification": "string",
- "mfa_passcode": "string",
- "token": 0,
- "uuid": "string"
}
Response samples
- 200
- 400
- 401
- 403
- 500
{- "account_name": "string",
- "actions": [
- {
- "on_object": 0,
- "run": 0,
- "target": "string"
}
], - "answer_index": "string",
- "answers": [
- {
- "actions": [
- {
- "on_object": 0,
- "run": 0,
- "target": "string"
}
], - "answer": "string"
}
], - "app_host": "string",
- "app_port": 0,
- "app_protocol": "string",
- "app_url": "string",
- "app_uuid": "string",
- "approval_ttl_sec": 0,
- "approver_display_name": "string",
- "approver_justification": "string",
- "approver_text": "string",
- "approver_uuid": "string",
- "can_user_approve": true,
- "client_geoip_location": {
- "asn_data": {
- "asn": "string",
- "asn_type": "string",
- "country": "string",
- "country_code": "string",
- "domain": "string",
- "name": "string"
}, - "carrier_data": {
- "country": "string",
- "country_code": "string",
- "mcc": "string",
- "mnc": "string",
- "name": "string"
}, - "geo_data": {
- "city_name": "string",
- "country": "string",
- "country_code": "string",
- "latitude": "string",
- "longitude": "string",
- "region_name": "string",
- "time_zone": "string",
- "time_zone_name": "string",
- "zip_code": "string"
}, - "privacy_data": {
- "hosting": true,
- "proxy": true,
- "relay": true,
- "service": "string",
- "tor": true,
- "vpn": true
}
}, - "client_ip": "string",
- "create_time": 0,
- "details": {
- "property1": "string",
- "property2": "string"
}, - "device_details": [
- {
- "account_name": "string",
- "browser": "string",
- "browser_version": "string",
- "certificate": [
- 0
], - "create_time": 0,
- "data_source": 0,
- "display_name": "string",
- "eg_version": "string",
- "is_managed": true,
- "is_managed_verification_done": true,
- "normalized_id": "string",
- "os": "string",
- "os_version": "string",
- "platform_uuid": "string",
- "posture": {
- "client_version_risk": 0,
- "device_activation_lock_enabled": 0,
- "device_process_info": {
- "processes": [
- {
- "paths": [
- "string"
], - "spec": "string"
}
]
}, - "disk_encryption_enabled": 0,
- "firmware_password_enabled": 0,
- "recovery_lock_enabled": 0,
- "user_activation_lock_enabled": 0
}, - "private_key_encrypted": "string",
- "properties": {
- "browser": "string",
- "browser_details": [
- {
- "browser": "string",
- "browser_install_type": "string",
- "browser_version": "string",
- "eg_version": "string"
}
], - "browser_install_type": "string",
- "browser_version": "string",
- "client_install_type": "string",
- "device_activation_lock_enabled": true,
- "disk_encryption_enabled": true,
- "firmware_password_enabled": true,
- "hostname": "string",
- "last_boot_epoch_sec": 0,
- "location_tracking_state": 0,
- "machine_model": "string",
- "machine_name": "string",
- "os": "string",
- "os_user_id": "string",
- "os_user_name": "string",
- "os_version": "string",
- "recovery_lock_enabled": true,
- "target_triple": "string",
- "user_activation_lock_enabled": true
}, - "public_key": "string",
- "serial_number": "string",
- "status": 0,
- "tags": [
- "string"
], - "time_id": {
- "create_time": 0,
- "end_time": 0,
- "salt": "string",
- "signature": [
- 0
], - "version": "string"
}, - "update_time": 0,
- "user_display_name": "string",
- "user_uuid": "string",
- "uuid": "string"
}
], - "device_uuid": "string",
- "execution_ttl_sec": 0,
- "expire_time_sec": 0,
- "geoip_details": [
- {
- "city": "string",
- "city_code": "string",
- "country": "string",
- "country_code": "string",
- "county": "string",
- "geohash": "string",
- "group_loc_freq": 0,
- "group_loc_rank": 0,
- "ip": "string",
- "latitude": 0,
- "location_label": "string",
- "longitude": 0,
- "source": 0,
- "state": "string",
- "state_code": "string",
- "user_loc_freq": 0,
- "user_loc_rank": 0,
- "zip_code": "string"
}
], - "justification": "string",
- "justification_required": true,
- "mfa_details": {
- "expire_time_sec": 0,
- "factor_id": "string",
- "factor_type": 0,
- "provider": "string",
- "provisioning_required": true,
- "security_question": "string",
- "token": "string",
- "transaction_id": "string",
- "verification_type": 0
}, - "parent_uuid": "string",
- "policy_uuid": "string",
- "recipients": [
- "string"
], - "requestor_justification": "string",
- "requestor_justification_required": true,
- "requestor_text": "string",
- "session_uuid": "string",
- "status": 0,
- "tags": [
- "string"
], - "text": "string",
- "token": 0,
- "token_required": true,
- "top_uuid": "string",
- "update_time": 0,
- "user_display_name": "string",
- "user_uuid": "string",
- "uuid": "string",
- "webapp": "string",
- "workflow_name": "string",
- "workflow_uuid": "string"
}
Response samples
- 200
- 400
- 401
- 403
- 500
{- "workflows": [
- {
- "account_name": "string",
- "actions": [
- {
- "on_object": 0,
- "run": 0,
- "target": "string"
}
], - "answers": [
- {
- "actions": [
- {
- "on_object": 0,
- "run": 0,
- "target": "string"
}
], - "answer": "string"
}
], - "approval_ttl_sec": 0,
- "approver_text_template": "string",
- "create_time": 0,
- "creator_display_name": "string",
- "creator_uuid": "string",
- "default_answer_index": "string",
- "description": "string",
- "execution_ttl_sec": 0,
- "justification_required": true,
- "name": "string",
- "recipient_display_names": {
- "property1": "string",
- "property2": "string"
}, - "recipients": [
- "string"
], - "requestor_justification_required": true,
- "requestor_text_template": "string",
- "status": 0,
- "text_template": "string",
- "title": "string",
- "token_required": true,
- "update_time": 0,
- "updater_display_name": "string",
- "updater_uuid": "string",
- "uuid": "string"
}
]
}
Create a Workflow
Create a Workflow
Request Body schema: application/jsonrequired
The workflow to be created
account_name | string |
Array of objects (proto.WorkflowAction) The action of the workflow. Default is Notify. | |
Array of objects (proto.AnswerActions) Map of the answer text to the workflow outcome. Default is: Approve: SUCCESS Deny: FAILURE Unsure: UNSURE The Answer text will be rendered in a context aware way. For instance, in an email, or on EG UI, each answer is rendered as a button. On slack, it will be prompted as a option for user response. | |
approval_ttl_sec | integer Seconds for which the approval for the workflow is valid. -1 if no limit. If 0 is passed in, we use a default of 1 day. |
approver_text_template | string |
default_answer_index | string The default answer when a user responds with a token but no answer. |
description | string |
execution_ttl_sec | integer Seconds within which the workflow must be completed. -1 if no limit. If 0 is passed in, we use a default of 10 min. |
justification_required | boolean |
name | string Display name of the workflow. |
recipients | Array of strings Anyone on the list can approve the workflow. Each entry is a tag of user/group/role type. |
requestor_justification_required | boolean |
requestor_text_template | string |
text_template | string When we render the workflow, we would have a pre-defined way of rendering the 5W, as well as using the following text template to render a paragraph. The template is mustache format, with html allowed. The following will be replaced with real value. The general rule is that the variables are replaced with value from the WorkflowRun, with the exception of xxx_name is replaced with the name of the entity. Time or ttl fields are rendered into a string with the right format, e.g. 2 days, 3 hours, etc. {{{user_uuid}}} - replaced with workflowRun.user_uuid {{{user_name}}} - replaced with user name for the above. {{{app_name}}} - replaced with app name for the app_uuid. Each entry in workflowRun.details is available as {{{key}}}, where key is the key in the details map, and it is replaced with the value. ... Deprecated to distinguish between requestor and approver text templates Deprecated: Do not use. |
title | string Workflow title that will be shown to the user |
token_required | boolean |
uuid | string optional - do not provide unless you know what you are doing |
Responses
Request samples
- Payload
{- "account_name": "string",
- "actions": [
- {
- "on_object": 0,
- "run": 0,
- "target": "string"
}
], - "answers": [
- {
- "actions": [
- {
- "on_object": 0,
- "run": 0,
- "target": "string"
}
], - "answer": "string"
}
], - "approval_ttl_sec": 0,
- "approver_text_template": "string",
- "default_answer_index": "string",
- "description": "string",
- "execution_ttl_sec": 0,
- "justification_required": true,
- "name": "string",
- "recipients": [
- "string"
], - "requestor_justification_required": true,
- "requestor_text_template": "string",
- "text_template": "string",
- "title": "string",
- "token_required": true,
- "uuid": "string"
}
Response samples
- 201
- 400
- 500
{- "account_name": "string",
- "actions": [
- {
- "on_object": 0,
- "run": 0,
- "target": "string"
}
], - "answers": [
- {
- "actions": [
- {
- "on_object": 0,
- "run": 0,
- "target": "string"
}
], - "answer": "string"
}
], - "approval_ttl_sec": 0,
- "approver_text_template": "string",
- "create_time": 0,
- "creator_display_name": "string",
- "creator_uuid": "string",
- "default_answer_index": "string",
- "description": "string",
- "execution_ttl_sec": 0,
- "justification_required": true,
- "name": "string",
- "recipient_display_names": {
- "property1": "string",
- "property2": "string"
}, - "recipients": [
- "string"
], - "requestor_justification_required": true,
- "requestor_text_template": "string",
- "status": 0,
- "text_template": "string",
- "title": "string",
- "token_required": true,
- "update_time": 0,
- "updater_display_name": "string",
- "updater_uuid": "string",
- "uuid": "string"
}
Get the workflow details.
Get the workflow details
path Parameters
uuid required | string The workflow uuid |
Responses
Response samples
- 200
- 400
- 401
- 403
- 500
{- "account_name": "string",
- "actions": [
- {
- "on_object": 0,
- "run": 0,
- "target": "string"
}
], - "answers": [
- {
- "actions": [
- {
- "on_object": 0,
- "run": 0,
- "target": "string"
}
], - "answer": "string"
}
], - "approval_ttl_sec": 0,
- "approver_text_template": "string",
- "create_time": 0,
- "creator_display_name": "string",
- "creator_uuid": "string",
- "default_answer_index": "string",
- "description": "string",
- "execution_ttl_sec": 0,
- "justification_required": true,
- "name": "string",
- "recipient_display_names": {
- "property1": "string",
- "property2": "string"
}, - "recipients": [
- "string"
], - "requestor_justification_required": true,
- "requestor_text_template": "string",
- "status": 0,
- "text_template": "string",
- "title": "string",
- "token_required": true,
- "update_time": 0,
- "updater_display_name": "string",
- "updater_uuid": "string",
- "uuid": "string"
}
Update a workflow.
Update a workflow
path Parameters
uuid required | string The workflow uuid |
Request Body schema: application/jsonrequired
The workflow update request with only new values filled in
account_name | string |
Array of objects (proto.WorkflowAction) The action of the workflow. Default is Notify. | |
Array of objects (proto.AnswerActions) Map of the answer text to the workflow outcome. Default is: Approve: SUCCESS Deny: FAILURE Unsure: UNSURE The Answer text will be rendered in a context aware way. For instance, in an email, or on EG UI, each answer is rendered as a button. On slack, it will be prompted as a option for user response. | |
approval_ttl_sec | integer Seconds for which the approval for the workflow is valid. -1 if no limit. If 0 is passed in, we use a default of 1 day. |
approver_text_template | string |
attributes_to_delete | Array of strings Name of workflow attributes to delete |
default_answer_index | string The default answer when a user responds with a token but no answer. |
description | string |
execution_ttl_sec | integer Seconds within which the workflow must be completed. -1 if no limit. If 0 is passed in, we use a default of 10 min. |
justification_required | boolean |
name | string Display name of the workflow. |
recipients | Array of strings |
requestor_justification_required | boolean |
requestor_text_template | string |
status | integer (proto.EnumStatus) Enum: 0 1 2 3 4 |
text_template | string When we render the workflow, we would have a pre-defined way of rendering the 5W, as well as using the following text template to render a paragraph. The template is mustache format, with html allowed. The following will be replaced with real value. The general rule is that the variables are replaced with value from the WorkflowRun, with the exception of xxx_name is replaced with the name of the entity. Time or ttl fields are rendered into a string with the right format, e.g. 2 days, 3 hours, etc. {{{user_uuid}}} - replaced with workflowRun.user_uuid {{{user_name}}} - replaced with user name for the above. {{{app_name}}} - replaced with app name for the app_uuid. Each entry in workflowRun.details is available as {{{key}}}, where key is the key in the details map, and it is replaced with the value. ... Deprecated to distinguish between requestor and approver text templates Deprecated: Do not use. |
title | string Workflow title that will be shown to the user |
token_required | boolean |
uuid | string |
Responses
Request samples
- Payload
{- "account_name": "string",
- "actions": [
- {
- "on_object": 0,
- "run": 0,
- "target": "string"
}
], - "answers": [
- {
- "actions": [
- {
- "on_object": 0,
- "run": 0,
- "target": "string"
}
], - "answer": "string"
}
], - "approval_ttl_sec": 0,
- "approver_text_template": "string",
- "attributes_to_delete": [
- "string"
], - "default_answer_index": "string",
- "description": "string",
- "execution_ttl_sec": 0,
- "justification_required": true,
- "name": "string",
- "recipients": [
- "string"
], - "requestor_justification_required": true,
- "requestor_text_template": "string",
- "status": 0,
- "text_template": "string",
- "title": "string",
- "token_required": true,
- "uuid": "string"
}
Response samples
- 200
- 400
- 401
- 403
- 500
{- "account_name": "string",
- "actions": [
- {
- "on_object": 0,
- "run": 0,
- "target": "string"
}
], - "answers": [
- {
- "actions": [
- {
- "on_object": 0,
- "run": 0,
- "target": "string"
}
], - "answer": "string"
}
], - "approval_ttl_sec": 0,
- "approver_text_template": "string",
- "create_time": 0,
- "creator_display_name": "string",
- "creator_uuid": "string",
- "default_answer_index": "string",
- "description": "string",
- "execution_ttl_sec": 0,
- "justification_required": true,
- "name": "string",
- "recipient_display_names": {
- "property1": "string",
- "property2": "string"
}, - "recipients": [
- "string"
], - "requestor_justification_required": true,
- "requestor_text_template": "string",
- "status": 0,
- "text_template": "string",
- "title": "string",
- "token_required": true,
- "update_time": 0,
- "updater_display_name": "string",
- "updater_uuid": "string",
- "uuid": "string"
}