Skip to content

ASPM

The ASPM (Application Security Posture Management) service collection provides operations for executing queryLanguage functions across ASPM data. Run count queries, time-series queries, and services queries to analyze application security posture data.

LanguageLast Update
Pythonv1.6.5
PowerShell
Gov0.22.0
TypeScriptv0.6.0
Rustv0.7.1
Rubyv1.4.0


OperationDescription
CreateExecutorNode
create_executor_node
Create a new relay node
CreateIntegration
create_integration
Create a new integration
CreateIntegrationTask
create_integration_task
Create new integration task.
DeleteExecutorNode
delete_node
Delete a relay node
DeleteGroup
delete_group
DeleteIntegration
delete_integration
Delete an existing integration by its ID
DeleteIntegrationTask
delete_integration_task
Delete an existing integration task by its ID
DeleteTags
delete_tags
Remove existing tags
ExecuteFunctionData
execute_function_data
A selected list of queryLanguage queries. request & response are in MSA format
ExecuteFunctionDataCount
execute_function_data_count
A selected list of queryLanguage count queries. request & response are in MSA format
ExecuteFunctionDataQuery
execute_function_data_query
A selected list of queryLanguage queries. request & response are in MSA format
ExecuteFunctionDataQueryCount
execute_function_data_query_count
A selected list of queryLanguage count queries. request & response are in MSA format
ExecuteFunctions
execute_functions
A selected list of queryLanguage services queries. request & response are in MSA format
ExecuteFunctionsCount
execute_functions_count
A selected list of queryLanguage count queries. request & response are in MSA format
ExecuteFunctionsOvertime
execute_functions_over_time
A selected list of queryLanguage overtime queries. request & response are in MSA format
ExecuteFunctionsQuery
execute_functions_query
A selected list of queryLanguage services queries. request & response are in MSA format
ExecuteFunctionsQueryCount
execute_functions_query_count
A selected list of queryLanguage count queries. request & response are in MSA format
ExecuteFunctionsQueryOvertime
execute_functions_query_over_time
A selected list of queryLanguage overtime queries. request & response are in MSA format
ExecuteQuery
execute_query
Execute a query.
GetCloudSecurityIntegrationState
get_cloud_security_integration_state
Get Cloud Security integration state
GetExecutorNodes
get_executor_nodes
Get all the relay nodes
GetExecutorNodesMetadata
get_executor_nodes_metadata
Get metadata about all executor nodes
GetGroupHierarchy
get_group_hierarchy
Get group hierarchy
GetGroupsV2
get_groups_v2
GetGroupV2
get_group_v2
Get group details
GetIntegrations
get_integrations
Get a list of all the integrations
GetIntegrationsV2
get_integrations_v2
Get a list of all the integrations
GetIntegrationTasks
get_integration_tasks
Get all the integration tasks
GetIntegrationTasksAdmin
get_integration_tasks_admin
Get all the integration tasks, requires admin scope
GetIntegrationTasksMetadata
get_integration_tasks_metadata
Get metadata about all integration tasks
GetIntegrationTasksV2
get_integration_tasks_v2
Get all the integration tasks
GetIntegrationTypes
get_integration_types
Get all the integration types
getServiceArtifacts
get_service_artifacts
GetServicesCount
get_services_count
Get the total amount of existing services
GetServiceViolationTypes
get_service_violation_types
Get the different types of violation
GetTags
get_tags
Get all the tags
GetUsersV2
get_users_v2
List users
PostGroupV2
post_group_v2
Create group
RetrieveRelayInstances
retrieve_relay_instances
Retrieve the relay instances in CSV format
RunIntegrationTask
run_integration_task
Run an integration task by its ID
RunIntegrationTaskAdmin
run_integration_task_admin
Run an integration task by its ID - for admin scope
RunIntegrationTaskV2
run_integration_task_v2
Run an integration task by its ID
ServiceNowGetDeployments
get_servicenow_deployments
ServiceNowGetServices
get_servicenow_services
SetCloudSecurityIntegrationState
set_cloud_security_integration_state
Set Cloud Security integration state
UpdateDefaultGroup
update_default_group
Update default group
UpdateExecutorNode
update_executor_node
Update an existing relay node
UpdateGroup
update_group
Update group
UpdateIntegration
update_integration
Update an existing integration by its ID
UpdateIntegrationTask
update_integration_task
Update an existing integration task by its ID
UpsertBusinessApplications
update_business_applications
Create or Update Business Applications
UpsertTags
update_tags
Create new or update existing tag.

Create a new relay node

Method POST
Route /aspm-api-gateway/api/v1/executor_nodes
Scope ASPM Admin: WRITE
PEP 8 create_executor_node
body body · dictionary
Full body payload as JSON formatted dictionary.
additional_header body · string
current_aws_arn body · string
dashboard_url body · string
id body · string
last_health_check body · integer
name body · string
node_type body · string
password body · string
pod_settings body · object
proxy_address body · string
status body · object
type body · string
use_jobs body · boolean
useJobs body · boolean
UseJobs body · boolean
username body · string
from falconpy import ASPM
falcon = ASPM(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
pod_settings = {
"imageAddress": "string",
"imagePullSecrets": [
"string"
],
"podLabels": [
{
"key": "string",
"value": "string"
}
]
}
response = falcon.create_executor_node(additional_header="string",
current_aws_arn="string",
dashboard_url="string",
id="string",
last_health_check=integer,
name="string",
node_type="string",
password="string",
pod_settings=pod_settings,
proxy_address="string",
type="string",
use_jobs="string",
username="string")
print(response)
{
"additional_header": "string",
"current_aws_arn": "string",
"dashboard_url": "string",
"id": "string",
"last_health_check": 0,
"name": "string",
"node_type": "string",
"password": "string",
"pod_settings": {
"imageAddress": "string",
"imagePullSecrets": [],
"podLabels": []
},
"proxy_address": "string",
"status": {
"State": 0,
"StateLastUpdated": 0,
"StateReason": 0
},
"type": "string",
"useJobs": false,
"username": "string"
}


Create a new integration

Method POST
Route /aspm-api-gateway/api/v1/integrations
Scope ASPM Admin: WRITE
PEP 8 create_integration
body body · dictionary
Full body payload as JSON formatted dictionary.
integration body · object
Integration details.
from falconpy import ASPM
falcon = ASPM(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
integration = {
"data": "string",
"enabled": "boolean",
"id": "integer",
"integration_type": {
"configured": "boolean",
"display_name": "string",
"enabled": "boolean",
"id": "integer",
"name": "string"
},
"name": "string",
"node": {
"additional_header": "string",
"current_aws_arn": "string",
"dashboard_url": "string",
"id": "integer",
"last_health_check": "integer",
"name": "string",
"node_type": "string",
"password": "string",
"pod_settings": {
"imageAddress": "string",
"imagePullSecrets": [
"string"
],
"podLabels": [
{
"key": "string",
"value": "string"
}
]
},
"proxy_address": "string",
"type": "string",
"useJobs": "boolean",
"username": "string"
},
"type": {
"configured": "boolean",
"display_name": "string",
"enabled": "boolean",
"id": "integer",
"name": "string"
},
"update_time": "integer"
}
response = falcon.create_integration(integration=integration)
print(response)
{
"integration": {
"data": "string",
"enabled": false,
"id": "string",
"integration_type": {
"configured": false,
"display_name": "string",
"enabled": false,
"id": 0,
"name": "string"
},
"name": "string",
"node": {
"additional_header": "string",
"current_aws_arn": "string",
"dashboard_url": "string",
"id": "string",
"last_health_check": 0,
"name": "string",
"node_type": "string",
"password": "string",
"pod_settings": {},
"proxy_address": "string",
"status": {},
"type": "string",
"useJobs": false,
"username": "string"
},
"type": {
"configured": false,
"display_name": "string",
"enabled": false,
"id": 0,
"name": "string"
},
"update_time": 0
},
"new_executor_node": {
"additional_header": "string",
"current_aws_arn": "string",
"dashboard_url": "string",
"id": "string",
"last_health_check": 0,
"name": "string",
"node_type": "string",
"password": "string",
"pod_settings": {
"imageAddress": "string",
"imagePullSecrets": [],
"podLabels": []
},
"proxy_address": "string",
"status": {
"State": 0,
"StateLastUpdated": 0,
"StateReason": 0
},
"type": "string",
"useJobs": false,
"username": "string"
}
}


Create new integration task.

Method POST
Route /aspm-api-gateway/api/v1/integration_tasks
Scope ASPM Admin: WRITE
PEP 8 create_integration_task
body body · dictionary
Full body payload as JSON formatted dictionary.
integration_task body · object
from falconpy import ASPM
falcon = ASPM(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
integration_task = {
"access_token": "string",
"additional_header": "string",
"business_application": "string",
"data": "string",
"enabled": boolean,
"id": "string",
"integration": {
"data": "string",
"enabled": boolean,
"id": "string",
"integration_type": {},
"name": "string",
"node": {},
"type": {},
"update_time": integer
},
"integration_task_type": {
"category": "string",
"display_name": "string",
"enabled": boolean,
"id": integer,
"name": "string",
"required_integration_types": ["string"]
},
"latest_task_run": {
"create_time": "string",
"events": ["string"],
"id": "string",
"latest_event": {},
"metadata": {},
"progress": integer,
"scheduled": boolean,
"trace_uuid": "string"
},
"name": "string",
"next_run": {
"nanos": integer,
"seconds": integer
},
"progress": integer,
"schedule": {
"every": integer,
"every_unit": integer,
"hour": integer,
"minute": integer,
"start_time_timezone_offset_minutes": integer,
"start_time": {},
"timezone": integer,
"weekdays": ["string"]
},
"schedule_every_unit_display_name": "string",
"trigger": "string",
"type": {
"category": "string",
"display_name": "string",
"enabled": boolean,
"id": integer,
"name": "string",
"required_integration_types": ["string"]
}
}
response = falcon.create_integration_task(integration_task=integration_task)
print(response)
{
"integrationTask": {
"accessToken": "string",
"additionalHeader": "string",
"businessApplication": "string",
"data": "string",
"enabled": false,
"id": "string",
"integration": {
"data": "string",
"enabled": false,
"id": "string",
"integration_type": {},
"name": "string",
"node": {},
"type": {},
"update_time": 0
},
"integrationTaskType": {
"category": "string",
"display_name": "string",
"enabled": false,
"id": 0,
"name": "string",
"required_integration_types": []
},
"latestTaskRun": {
"createTime": "string",
"events": [],
"id": "string",
"latestEvent": {},
"metadata": {},
"progress": 0,
"scheduled": false,
"traceUuid": "string"
},
"name": "string",
"nextRun": {
"nanos": 0,
"seconds": 0
},
"progress": 0,
"schedule": {
"every": 0,
"every_unit": 0,
"hour": 0,
"minute": 0,
"startTimeTimezoneOffsetMinutes": 0,
"start_time": {},
"timezone": 0,
"weekdays": []
},
"scheduleEveryUnitDisplayName": "string",
"trigger": "string",
"type": {
"category": "string",
"display_name": "string",
"enabled": false,
"id": 0,
"name": "string",
"required_integration_types": []
}
},
"newExecutorNode": {
"additional_header": "string",
"current_aws_arn": "string",
"dashboard_url": "string",
"id": "string",
"last_health_check": 0,
"name": "string",
"node_type": "string",
"password": "string",
"pod_settings": {
"imageAddress": "string",
"imagePullSecrets": [],
"podLabels": []
},
"proxy_address": "string",
"status": {
"State": 0,
"StateLastUpdated": 0,
"StateReason": 0
},
"type": "string",
"useJobs": false,
"username": "string"
}
}


Delete a relay node

Method DELETE
Route /aspm-api-gateway/api/v1/executor_nodes/{ID}
Scope ASPM Admin: WRITE
PEP 8 delete_node
ID path · integer
from falconpy import ASPM
falcon = ASPM(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
response = falcon.delete_node(id=integer)
print(response)
{
"error": "string",
"reason": "string"
}


Method DELETE
Route /aspm-api-gateway/api/v1/group/{ID}
Scope ASPM Falcon Admin: WRITE
PEP 8 delete_group
ID path · integer
Group ID
from falconpy import ASPM
falcon = ASPM(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
response = falcon.delete_group(id=integer)
print(response)
{
"error": "string",
"reason": "string"
}


Delete an existing integration by its ID

Method DELETE
Route /aspm-api-gateway/api/v1/integrations/{ID}
Scope ASPM Admin: WRITE
PEP 8 delete_integration
ID path · integer
from falconpy import ASPM
falcon = ASPM(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
response = falcon.delete_integration(id=integer)
print(response)
{
"error": "string",
"reason": "string"
}


Delete an existing integration task by its ID

Method DELETE
Route /aspm-api-gateway/api/v1/integration_tasks/{ID}
Scope ASPM Admin: WRITE
PEP 8 delete_integration_task
ID path · integer
ID of the integration task to remove.
from falconpy import ASPM
falcon = ASPM(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
response = falcon.delete_integration_task(ID=integer)
print(response)
{
"error": "string",
"reason": "string"
}


Remove existing tags

Method POST
Route /aspm-api-gateway/api/v1/tags
Scope ASPM Analyst: WRITE
PEP 8 delete_tags
body body · dictionary
Full body payload as JSON formatted dictionary.
entries body · array
Tag entries. Overrides the is_sensitive, persistent_signature, and value keywords.
name body · string
Tag name.
is_sensitive body · boolean
Sensitive.
persistent_signature body · string
Persistent signature.
value body · string
Tag value.
from falconpy import ASPM
falcon = ASPM(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
response = falcon.delete_tags(entries=["string"],
is_sensitive=boolean,
name="string",
persistent_signature="string",
value="string")
print(response)
{
"error": "string",
"reason": "string"
}


A selected list of queryLanguage queries. request & response are in MSA format

Method GET
Route /application-security/combined/function-data/v1
Scope ASPM Read-Only: READ
PEP 8 execute_function_data
field query · string
Field to retrieve.
parameters query · dictionary
Full query string parameters payload in JSON format. Not required when using other keywords.
from falconpy import ASPM
falcon = ASPM(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
response = falcon.execute_function_data(field="string")
print(response)
[
{
"resultJSON": [],
"resultType": "string"
}
]


A selected list of queryLanguage count queries. request & response are in MSA format

Method POST
Route /application-security/aggregates/function-data/count/v1
Scope ASPM Read-Only: READ
PEP 8 execute_function_data_count
query_name query · string
Query name. Available values:
Available values (7)
sensitive_datareachablesensitive_datasources
dependenciesvulnerable_librariesrisk_severity
sensitive_data_tags
cloud_provider query · string
Cloud provider name. Available values:
Available values (3)
awsazuregcp
aws_lambda_arn query · string
required for ‘aws’ cloud provider
gcp_cloud_function_url query · string
required for ‘gcp’ cloud provider
azure_site_subscription_id query · string
required for ‘azure’ cloud provider
azure_site_resource_group query · string
required for ‘azure’ cloud provider
azure_function_app_name query · string
required for ‘azure’ cloud provider
parameters query · dictionary
Full query string parameters payload in JSON format. Not required when using other keywords.
from falconpy import ASPM
falcon = ASPM(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
response = falcon.execute_function_data_count(aws_lambda_arn="string",
azure_function_app_name="string",
azure_site_resource_group="string",
azure_site_subscription_id="string",
cloud_provider="string",
gcp_cloud_function_url="string",
query_name="string")
print(response)
[
{
"count": 0,
"resultType": "string"
}
]


A selected list of queryLanguage queries. request & response are in MSA format

Method GET
Route /application-security/combined/query-function-data/v1
Scope ASPM Read-Only: READ
PEP 8 execute_function_data_query
field query · string
Field to retrieve.
parameters query · dictionary
Full query string parameters payload in JSON format. Not required when using other keywords.
from falconpy import ASPM
falcon = ASPM(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
response = falcon.execute_function_data_query(field="string")
print(response)
[
{
"resultJSON": [],
"resultType": "string"
}
]


A selected list of queryLanguage count queries. request & response are in MSA format

Method GET
Route /application-security/aggregates/query-function-data-count/v1
Scope ASPM Read-Only: READ
PEP 8 execute_function_data_query_count
field query · string
Field to retrieve.
parameters query · dictionary
Full query string parameters payload in JSON format. Not required when using other keywords.
from falconpy import ASPM
falcon = ASPM(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
response = falcon.execute_function_data_query_count(field="string")
print(response)
[
{
"count": 0,
"resultType": "string"
}
]


A selected list of queryLanguage services queries. request & response are in MSA format

Method GET
Route /application-security/combined/functions/v1
Scope ASPM Read-Only: READ
PEP 8 execute_functions
field query · string
Field to retrieve.
parameters query · dictionary
Full query string parameters payload in JSON format. Not required when using other keywords.
from falconpy import ASPM
falcon = ASPM(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
response = falcon.execute_functions(field="string")
print(response)
[
{
"resultJSON": [],
"resultType": "string"
}
]


A selected list of queryLanguage count queries. request & response are in MSA format

Method POST
Route /application-security/aggregates/functions/count/v1
Scope ASPM Read-Only: READ
PEP 8 execute_functions_count
query_name query · string
Query name. Available values:
Available values (5)
sensitive_datareachablesensitive_datasources
dependenciesvulnerable_libraries
cloud_provider query · string or list of strings
Cloud provider name. Available values:
Available values (3)
awsazuregcp
cloud_account_id query · string or list of strings
required for ‘aws’ cloud provider
region query · string or list of strings
required for ‘gcp’ cloud provider
cid query · string or list of strings
required for ‘azure’ cloud provider
parameters query · dictionary
Full query string parameters payload in JSON format. Not required when using other keywords.
from falconpy import ASPM
falcon = ASPM(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
id_list = 'ID1,ID2,ID3' # Can also pass a list here: ['ID1', 'ID2', 'ID3']
response = falcon.execute_functions_count(cid=id_list,
cloud_account_id=id_list,
cloud_provider=id_list,
query_name="string",
region=id_list)
print(response)
[
{
"count": 0,
"resultType": "string"
}
]


A selected list of queryLanguage overtime queries. request & response are in MSA format

Method GET
Route /application-security/combined/functions-overtime/v1
Scope ASPM Read-Only: READ
PEP 8 execute_functions_over_time
field query · string
Field to retrieve.
parameters query · dictionary
Full query string parameters payload in JSON format. Not required when using other keywords.
from falconpy import ASPM
falcon = ASPM(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
response = falcon.execute_functions_over_time(field="string")
print(response)
[
{
"result": {},
"timestamp": 0
}
]


A selected list of queryLanguage services queries. request & response are in MSA format

Method GET
Route /application-security/combined/query-functions/v1
Scope ASPM Read-Only: READ
PEP 8 execute_functions_query
field query · string
Field to retrieve.
parameters query · dictionary
Full query string parameters payload in JSON format. Not required when using other keywords.
from falconpy import ASPM
falcon = ASPM(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
response = falcon.execute_functions_query(field="string")
print(response)
[
{
"resultJSON": [],
"resultType": "string"
}
]


A selected list of queryLanguage count queries. request & response are in MSA format

Method GET
Route /application-security/aggregates/query-functions-count/v1
Scope ASPM Read-Only: READ
PEP 8 execute_functions_query_count
field query · string
Field to retrieve.
parameters query · dictionary
Full query string parameters payload in JSON format. Not required when using other keywords.
from falconpy import ASPM
falcon = ASPM(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
response = falcon.execute_functions_query_count(field="string")
print(response)
[
{
"count": 0,
"resultType": "string"
}
]


A selected list of queryLanguage overtime queries. request & response are in MSA format

Method GET
Route /application-security/combined/query-functions-overtime/v1
Scope ASPM Read-Only: READ
PEP 8 execute_functions_query_over_time
field query · string
Field to retrieve.
parameters query · dictionary
Full query string parameters payload in JSON format. Not required when using other keywords.
from falconpy import ASPM
falcon = ASPM(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
response = falcon.execute_functions_query_over_time(field="string")
print(response)
[
{
"result": {},
"timestamp": 0
}
]


Execute a query.

Method POST
Route /aspm-api-gateway/api/v1/query
Scope ASPM Read-Only: READ
PEP 8 execute_query
body body · dictionary
Full body payload as JSON formatted dictionary.
paginate body · object
Pagination detail.
query body · string
Query to perform.
revision_id body · integer
revisionId body · integer
RevisionId body · integer
select_fields body · object
Field selection detail. Dictionary contents: fields - For filtering relevant fields only. withoutServices - Default is set to True, you will not receive information about the services. If you want to get the relevant service, set to False. serviceFields - For filtering relevant fields of the service (if you chose to get it)
selectFields body · object
Field selection detail. Dictionary contents: fields - For filtering relevant fields only. withoutServices - Default is set to True, you will not receive information about the services. If you want to get the relevant service, set to False. serviceFields - For filtering relevant fields of the service (if you chose to get it)
SelectFields body · object
Field selection detail. Dictionary contents: fields - For filtering relevant fields only. withoutServices - Default is set to True, you will not receive information about the services. If you want to get the relevant service, set to False. serviceFields - For filtering relevant fields of the service (if you chose to get it)
timestamp body · integer
Timestamp.
from falconpy import ASPM
falcon = ASPM(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
paginate = {
"direction": "string",
"limit": "integer",
"offset": "integer",
"orderBy": [
"string"
]
}
response = falcon.execute_query(paginate=paginate,
query="string",
select_fields="string",
timestamp=integer)
print(response)
{
"resultJSON": [
{}
],
"resultType": "string"
}


Get Cloud Security integration state

Method GET
Route /aspm-api-gateway/api/v1/cloud_security_config
Scope ASPM Admin: READ
PEP 8 get_cloud_security_integration_state
from falconpy import ASPM
falcon = ASPM(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
response = falcon.get_cloud_security_integration_state()
print(response)
{
"customerHasCSPM": false,
"isEnabled": false
}


Get all the relay nodes

Method GET
Route /aspm-api-gateway/api/v1/executor_nodes
Scope ASPM Admin: READ
PEP 8 get_executor_nodes
node_type query · string
Node type.
integration_type query · integer
Integration type.
offset query · integer
Starting position for records returned.
limit query · integer
Maximum number of records to return.
order_by query · string
Field to use for sorting results. Allowed values:
Available values (4)
nameidstate
type
direction query · string
Sort order direction. Allowed values:
Available values (2)
ascdesc
executor_node_ids query · string or list of strings
executor node ids
executor_node_names query · string or list of strings
executor node names
executor_node_states query · integer or list of integers
executor node states
executor_node_types query · string or list of strings
executor node types
parameters query · dictionary
Full query string parameters payload in JSON format. Not required when using other keywords.
from falconpy import ASPM
falcon = ASPM(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
id_list = 'ID1,ID2,ID3' # Can also pass a list here: ['ID1', 'ID2', 'ID3']
response = falcon.get_executor_nodes(direction="string",
executor_node_ids=id_list,
executor_node_names=id_list,
executor_node_states=id_list,
executor_node_types=id_list,
node_type="string",
integration_type=integer,
limit=integer,
offset=integer,
order_by="string")
print(response)
{
"executor_nodes": [
{
"additional_header": "string",
"current_aws_arn": "string",
"dashboard_url": "string",
"id": "string",
"last_health_check": 0,
"name": "string",
"node_type": "string",
"password": "string",
"pod_settings": {},
"proxy_address": "string",
"status": {},
"type": "string",
"useJobs": false,
"username": "string"
}
]
}


Get metadata about all executor nodes

Method GET
Route /aspm-api-gateway/api/v1/executor_nodes/metadata
Scope ASPM Read-Only: READ
PEP 8 get_executor_nodes_metadata
executor_node_ids query · string or list of strings
executor node ids
executor_node_names query · string or list of strings
executor node names
executor_node_states query · integer or list of integers
executor node states
executor_node_types query · string or list of strings
executor node types
parameters query · dictionary
Full query string parameters payload in JSON format. Not required when using other keywords.
from falconpy import ASPM
falcon = ASPM(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
id_list = 'ID1,ID2,ID3' # Can also pass a list here: ['ID1', 'ID2', 'ID3']
response = falcon.get_executor_nodes_metadata(executor_node_ids=id_list,
executor_node_names=id_list,
executor_node_states=id_list,
executor_node_types=id_list)
print(response)
{
"count": 0,
"executorNodeIds": [
0
],
"executorNodeNames": [
"string"
],
"executorNodeStates": [
"string"
],
"executorNodeTypes": [
"string"
]
}


Get group hierarchy

Method GET
Route /aspm-api-gateway/api/v1/groups/hier/v2
Scope ASPM Admin: READ
PEP 8 get_group_hierarchy
from falconpy import ASPM
falcon = ASPM(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
response = falcon.get_group_hierarchy()
print(response)
{
"Total": 0,
"groups": [
{
"children": [],
"createdBy": "string",
"description": "string",
"groupId": 0,
"groupType": "string",
"isDefault": false,
"isOOB": false,
"name": "string",
"scope": "string"
}
]
}


Method GET
Route /aspm-api-gateway/api/v1/groups/list/v2
Scope ASPM Admin: READ
PEP 8 get_groups_v2
type query · string
Group types to query - can either be empty (all), parents, children
parameters query · dictionary
Full query string parameters payload in JSON format. Not required when using other keywords.
from falconpy import ASPM
falcon = ASPM(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
response = falcon.get_groups_v2(type="string")
print(response)
{
"error": "string",
"reason": "string"
}


Get group details

Method GET
Route /aspm-api-gateway/api/v1/group/{ID}/v2
Scope ASPM Admin: READ
PEP 8 get_group_v2
ID path · integer
Group ID
from falconpy import ASPM
falcon = ASPM(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
response = falcon.get_group_v2(id=integer)
print(response)
{
"children": [
{
"groupId": 0,
"name": "string"
}
],
"createdAt": 0,
"createdBy": "string",
"description": "string",
"groupId": 0,
"groupType": "string",
"isDefault": false,
"isOOB": false,
"name": "string",
"parent": {
"groupId": 0,
"name": "string"
},
"scope": "string",
"updatedAt": 0
}


Get a list of all the integrations

Method GET
Route /aspm-api-gateway/api/v1/integrations
Scope ASPM Read-Only: READ
PEP 8 get_integrations
integration_type query · integer
Type of integration.
category query · string
Integration category.
parameters query · dictionary
Full query string parameters payload in JSON format. Not required when using other keywords.
from falconpy import ASPM
falcon = ASPM(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
response = falcon.get_integrations(integration_type=integer, category="string")
print(response)
{
"integrations": [
{
"data": "string",
"enabled": false,
"id": 0,
"integration_type": {},
"name": "string",
"node": {},
"type": {},
"update_time": 0
}
]
}


Get a list of all the integrations

Method GET
Route /aspm-api-gateway/api/v1/integrations/v2
Scope ASPM Admin: READ
PEP 8 get_integrations_v2
integration_type query · integer
Integration type.
category query · string
Integration category.
parameters query · dictionary
Full query string parameters payload in JSON format. Not required when using other keywords.
from falconpy import ASPM
falcon = ASPM(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
response = falcon.get_integrations_v2(integration_type=integer,
category="string")
print(response)
{
"integrations": [
{
"data": "string",
"enabled": false,
"id": 0,
"integration_type": {},
"name": "string",
"node": {},
"type": {},
"update_time": 0
}
]
}


Get all the integration tasks

Method GET
Route /aspm-api-gateway/api/v1/integration_tasks
Scope ASPM Read-Only: READ
PEP 8 get_integration_tasks
integration_task_type query · integer
Integration task type.
category query · string
Integration category.
offset query · integer
Starting position to returned records.
limit query · integer
Total number of records to return.
orderBy query · string
Available values (3)
nameidintegrationTask
direction query · string
Sort direction. Allowed values:
Available values (2)
ascdesc
integration_task_types query · integer
Integration task types.
ids query · integer
Integration IDs.
names query · string
Integration names.
parameters query · dictionary
Full query string parameters payload in JSON format. Not required when using other keywords.
from falconpy import ASPM
falcon = ASPM(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
id_list = 'ID1,ID2,ID3' # Can also pass a list here: ['ID1', 'ID2', 'ID3']
response = falcon.get_integration_tasks(integration_task_type=integer,
category="string",
offset=integer,
limit=integer,
order_by="string",
direction="string",
integration_task_types=integer,
ids=id_list,
names="string")
print(response)
{
"integrationTasks": [
{
"accessToken": "string",
"additionalHeader": "string",
"businessApplication": "string",
"data": "string",
"enabled": false,
"id": "string",
"integration": {},
"integrationTaskType": {},
"latestTaskRun": {},
"name": "string",
"nextRun": {},
"progress": 0,
"schedule": {},
"scheduleEveryUnitDisplayName": "string",
"trigger": "string",
"type": {}
}
]
}


Get all the integration tasks, requires admin scope

Method GET
Route /aspm-api-gateway/api/v1/integration_tasks/admin
Scope ASPM Admin: READ
PEP 8 get_integration_tasks_admin
integration_task_type query · integer
Integration task type.
category query · string
Integration task category.
offset query · integer
Offset from which to start returning records.
limit query · integer
Maximum number of records to return.
orderBy query · string
Available values (3)
nameidintegrationTask
direction query · string
Sort order direction. Allowed values:
Available values (2)
ascdesc
integration_task_types query · integer
Integration task types.
ids query · integer
Integration task ID.
names query · string
Integration task name.
parameters query · dictionary
Full query string parameters payload in JSON format. Not required when using other keywords.
from falconpy import ASPM
falcon = ASPM(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
id_list = 'ID1,ID2,ID3' # Can also pass a list here: ['ID1', 'ID2', 'ID3']
response = falcon.get_integration_tasks_admin(integration_task_type=integer,
category="string",
offset=integer,
limit=integer,
order_by="string",
direction="string",
integration_task_types=integer,
ids=id_list,
names="string")
print(response)
{
"integrationTasks": [
{
"accessToken": "string",
"additionalHeader": "string",
"businessApplication": "string",
"data": "string",
"enabled": false,
"id": "string",
"integration": {},
"integrationTaskType": {},
"latestTaskRun": {},
"name": "string",
"nextRun": {},
"progress": 0,
"schedule": {},
"scheduleEveryUnitDisplayName": "string",
"trigger": "string",
"type": {}
}
]
}


Get metadata about all integration tasks

Method GET
Route /aspm-api-gateway/api/v1/integration_tasks/metadata
Scope ASPM Read-Only: READ
PEP 8 get_integration_tasks_metadata
category query · string
Integration category. Allowed values:
Available values (2)
collectingexporting
integration_task_types query · integer
Integration task types.
ids query · integer
Integration IDs.
names query · string
Integration names.
parameters query · dictionary
Full query string parameters payload in JSON format. Not required when using other keywords.
from falconpy import ASPM
falcon = ASPM(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
id_list = 'ID1,ID2,ID3' # Can also pass a list here: ['ID1', 'ID2', 'ID3']
response = falcon.get_integration_tasks_metadata(category="string",
integration_task_types=integer,
ids=id_list,
names="string")
print(response)
{
"count": 0,
"ids": [
0
],
"integration_task_types": [
0
],
"names": [
"string"
]
}


Get all the integration tasks

Method GET
Route /aspm-api-gateway/api/v1/integration_tasks/v2
Scope ASPM Admin: READ
PEP 8 get_integration_tasks_v2
integration_task_type query · integer
Integration task type.
category query · string
Integration category.
offset query · integer
Starting position to returned records.
limit query · integer
Total number of records to return.
orderBy query · string
Available values (3)
nameidintegrationTask
direction query · string
Sort direction. Allowed values:
Available values (2)
ascdesc
integration_task_types query · integer
Integration task types.
ids query · integer
Integration IDs.
names query · string
Integration names.
parameters query · dictionary
Full query string parameters payload in JSON format. Not required when using other keywords.
from falconpy import ASPM
falcon = ASPM(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
id_list = 'ID1,ID2,ID3' # Can also pass a list here: ['ID1', 'ID2', 'ID3']
response = falcon.get_integration_tasks_v2(integration_task_type=integer,
category="string",
offset=integer,
limit=integer,
order_by="string",
direction="string",
integration_task_types=integer,
ids=id_list,
names="string")
print(response)
{
"integrationTasks": [
{
"accessToken": "string",
"additionalHeader": "string",
"businessApplication": "string",
"data": "string",
"enabled": false,
"id": "string",
"integration": {},
"integrationTaskType": {},
"latestTaskRun": {},
"name": "string",
"nextRun": {},
"progress": 0,
"schedule": {},
"scheduleEveryUnitDisplayName": "string",
"trigger": "string",
"type": {}
}
]
}


Get all the integration types

Method GET
Route /aspm-api-gateway/api/v1/integration_types
Scope ASPM Admin: READ
PEP 8 get_integration_types
from falconpy import ASPM
falcon = ASPM(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
response = falcon.get_integration_types()
print(response)
{
"types": [
{
"configured": false,
"display_name": "string",
"enabled": false,
"id": 0,
"name": "string"
}
]
}


Method GET
Route /aspm-api-gateway/api/v1/artifacts
Scope ASPM Read-Only: READ
PEP 8 get_service_artifacts
persistentSignature query · string
optionalTime query · integer
revisionId query · integer
limit query · integer
Upper bound for records returned.
offset query · integer
Starting position for records returned.
orderBy query · string or list of strings
Available values (4)
artifact_idartifact_nameartifact_hash
artifact_full_path
direction query · string
Sort order direction. Available values:
Available values (2)
ascdesc
parameters query · dictionary
Full query string parameters payload in JSON format. Not required when using other keywords.
from falconpy import ASPM
falcon = ASPM(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
id_list = 'ID1,ID2,ID3' # Can also pass a list here: ['ID1', 'ID2', 'ID3']
response = falcon.get_service_artifacts(persistent_signature="string",
optional_time="string",
revision_id="string",
limit=integer,
offset=integer,
order_by=id_list,
direction="string")
print(response)
{
"artifacts": [
{
"fullPath": "string",
"hash": "string",
"id": 0,
"name": "string"
}
]
}


Get the total amount of existing services

Method POST
Route /aspm-api-gateway/api/v1/services/count
Scope ASPM Read-Only: READ
PEP 8 get_services_count
body body · dictionary
Full body payload as JSON formatted dictionary.
cids body · array
deployment_tuple_filters body · array
deploymentTupleFilters body · array
DeploymentTupleFilters body · array
nesting_level body · integer
nestingLevel body · integer
NestingLevel body · integer
only_count body · boolean
onlyCount body · boolean
OnlyCount body · boolean
optional_time body · integer
optionalTime body · integer
OptionalTime body · integer
pagination body · object
persistent_signatures body · array
persistentSignatures body · array
PersistentSignatures body · array
ql_filters body · string
qlFilters body · string
QlFilters body · string
related_entities body · array
relatedEntities body · array
RelatedEntities body · array
revision_id body · integer
revisionId body · integer
RevisionId body · integer
roles_signature body · string
rolesSignature body · string
RolesSignature body · string
nesting body · string
level —
roles_signatures body · string
from falconpy import ASPM
falcon = ASPM(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
pagination = {
"direction": "string",
"limit": "integer",
"offset": "integer",
"order_by": [
"string"
]
}
response = falcon.get_services_count(deployment_tuple_filters="string",
nesting="string",
only_count="string",
optional_time="string",
pagination=pagination,
persistent_signatures="string",
ql_filters="string",
related_entities="string",
revision_id="string",
roles_signatures="string")
print(response)
{
"error": "string",
"reason": "string"
}


Get the different types of violation

Method GET
Route /aspm-api-gateway/api/v1/services/violations/types
Scope ASPM Read-Only: READ
PEP 8 get_service_violation_types
body body · dictionary
Full body payload as JSON formatted dictionary.
filter body · object
Query filter.
optional_time body · integer
optionalTime body · integer
OptionalTime body · integer
revision_id body · integer
Revision ID.
revisionId body · integer
Revision ID.
RevisionId body · integer
Revision ID.
from falconpy import ASPM
falcon = ASPM(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
filter = {
"order_by": {
"by_field": "string",
"direction": "integer"
},
"paginate": {
"direction": "string",
"limit": "integer",
"offset": "integer",
"orderBy": [
"string"
]
}
}
response = falcon.get_service_violation_types(filter=filter,
optional_time=integer,
revision_id=integer)
print(response)
{
"categories": [
"string"
],
"violations": [
"string"
]
}


Get all the tags

Method GET
Route /aspm-api-gateway/api/v1/tags
Scope ASPM Read-Only: READ
PEP 8 get_tags
isUnique query · boolean
tagName query · string
limit query · integer
Total number of tags to return.
offset query · integer
Starting position from which to return records.
name query · string or list of strings
parameters query · dictionary
Full query string parameters payload in JSON format. Not required when using other keywords.
from falconpy import ASPM
falcon = ASPM(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
id_list = 'ID1,ID2,ID3' # Can also pass a list here: ['ID1', 'ID2', 'ID3']
response = falcon.get_tags(is_unique=boolean,
tag_name="string",
limit=integer,
offset=integer,
name=id_list)
print(response)
{
"tags": [
{
"automations": [],
"classifiers": [],
"isDefault": false,
"serviceCount": 0,
"tag": {}
}
],
"totalCount": 0
}


List users

Method GET
Route /aspm-api-gateway/api/v1/users/v2
Scope ASPM Admin: READ
PEP 8 get_users_v2
pagination query · string
URL encoded pagination JSON - limit, offset, direction, orderBy
parameters query · dictionary
Full query string parameters payload in JSON format. Not required when using other keywords.
from falconpy import ASPM
falcon = ASPM(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
response = falcon.get_users_v2(pagination="string")
print(response)
{
"totalCount": 0,
"users": [
{
"acceptedTerms": false,
"email": "string",
"external": false,
"fullname": "string",
"groups": [],
"jobTitle": "string",
"lastLogin": "string",
"role": "string",
"status": "string",
"userId": 0,
"username": "string"
}
]
}


Create group

Method POST
Route /aspm-api-gateway/api/v1/group/v2
Scope ASPM Falcon Admin: WRITE
PEP 8 post_group_v2
body body · dictionary
Full body payload as JSON formatted dictionary.
children body · array
IDs of child groups.
description body · string
Description of the group.
group_type body · string
Type of the group.
groupType body · string
Type of the group.
GroupType body · string
Type of the group.
is_default body · boolean
Flag indicating if this is the default group.
isDefault body · boolean
Flag indicating if this is the default group.
IsDefault body · boolean
Flag indicating if this is the default group.
name body · string
Name of the group.
parent_id body · integer
ID of the parent group.
parentId body · integer
ID of the parent group.
ParentId body · integer
ID of the parent group.
scope body · string
Scope of the group.
from falconpy import ASPM
falcon = ASPM(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
response = falcon.post_group_v2(children=[integer],
description="string",
group_type="string",
is_default=boolean,
name="string",
parent_id=integer,
scope="string")
print(response)
{
"error": "string",
"reason": "string"
}


Retrieve the relay instances in CSV format

Method GET
Route /aspm-api-gateway/api/v1/executor_nodes/{ID}/instances/csv
Scope ASPM Admin: READ
PEP 8 retrieve_relay_instances
body body · dictionary
Full body payload as JSON formatted dictionary.
additional_header body · string
Additional header to provide.
current_aws_arn body · string
Current AWS ARN.
dashboard_url body · string
URL for the related dashboard.
id body · string
ID of the node to remove.
last_health_check body · integer
Last health check.
name body · string
Name.
node_type body · string
Node type.
password body · string
pod_settings body · object
Related pod settings.
proxy_address body · string
Address of the proxy.
status body · object
Current status.
type body · string
Relay type.
use_jobs body · boolean
Flag indicating if jobs should be used.
useJobs body · boolean
Flag indicating if jobs should be used.
UseJobs body · boolean
Flag indicating if jobs should be used.
username body · string
Account username.
ID path · integer
from falconpy import ASPM
falcon = ASPM(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
pod_settings = {
"imageAddress": "string",
"imagePullSecrets": [
"string"
],
"podLabels": [
{
"key": "string",
"value": "string"
}
]
}
status = {
"State": "integer",
"StateLastUpdated": "integer",
"StateReason": "integer"
}
response = falcon.retrieve_relay_instances(additional_header="string",
current_aws_arn="string",
dashboard_url="string",
id="string",
last_health_check=integer,
name="string",
node_type="string",
pod_settings=pod_settings,
proxy_address="string",
status=status,
type="string",
use_jobs=boolean,
username="string")
print(response)
{
"error": "string",
"reason": "string"
}


Run an integration task by its ID

Method POST
Route /aspm-api-gateway/api/v1/integration_tasks/{ID}/run
Scope ASPM Analyst: WRITE
PEP 8 run_integration_task
body body · dictionary
Full body payload as JSON formatted dictionary.
access_token body · string
Integration access token.
data body · string
Integration task data.
override body · boolean
Override previous task.
scheduled body · boolean
Schedule task.
task_id body · integer
Integration task ID.
ID path · integer
ID of the integration task to execute.
category query · string
Integration task category.
parameters query · dictionary
Full query string parameters payload in JSON format. Not required when using other keywords.
from falconpy import ASPM
falcon = ASPM(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
response = falcon.run_integration_task(access_token="string",
category="string",
data="string",
ID=integer,
override=boolean,
scheduled=boolean,
task_id=integer)
print(response)
{
"action_run_id": 0
}


Run an integration task by its ID - for admin scope

Method POST
Route /aspm-api-gateway/api/v1/integration_tasks/{ID}/run/admin
Scope ASPM Admin: WRITE
PEP 8 run_integration_task_admin
body body · dictionary
Full body payload as JSON formatted dictionary.
access_token body · string
data body · string
override body · boolean
scheduled body · boolean
task_id body · integer
ID path · integer
Integration task ID.
category query · string
Integration task category.
parameters query · dictionary
Full query string parameters payload in JSON format. Not required when using other keywords.
from falconpy import ASPM
falcon = ASPM(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
response = falcon.run_integration_task_admin(ID=integer, category="string")
print(response)
{
"action_run_id": 0
}


Run an integration task by its ID

Method POST
Route /aspm-api-gateway/api/v1/integration_tasks/{ID}/run/v2
Scope ASPM Admin: WRITE
PEP 8 run_integration_task_v2
body body · dictionary
Full body payload as JSON formatted dictionary.
access_token body · string
data body · string
override body · boolean
scheduled body · boolean
task_id body · integer
ID path · integer
Integration task ID.
category query · string
Integration task category.
parameters query · dictionary
Full query string parameters payload in JSON format. Not required when using other keywords.
from falconpy import ASPM
falcon = ASPM(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
response = falcon.run_integration_task_v2(ID=integer, category="string")
print(response)
{
"action_run_id": 0
}


Method GET
Route /aspm-api-gateway/api/v1/servicenow/deployments
Scope ASPM Read-Only: READ
PEP 8 get_servicenow_deployments
ql_filters query · string
Query filter.
limit query · integer
Maximum number of records to return.
offset query · integer
Starting position of return records.
orderBy query · string
Sort order field.
direction query · string
Sort direction.
parameters query · dictionary
Full query string parameters payload in JSON format. Not required when using other keywords.
from falconpy import ASPM
falcon = ASPM(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
response = falcon.get_servicenow_deployments(ql_filters="string",
limit=integer,
offset=integer,
orderBy="string",
direction="string")
print(response)
{
"deployment_units": [
{
"deployments": [],
"service_id": "string"
}
],
"error": "string",
"total_deployments": 0
}


Method GET
Route /aspm-api-gateway/api/v1/servicenow/services
Scope ASPM Read-Only: READ
PEP 8 get_servicenow_services
ql_filters query · string
Query filter.
exclude_artifacts query · boolean
Flag indicating if artifacts should be excluded.
limit query · integer
Maximum number of records to return.
offset query · integer
Starting position of return records.
orderBy query · string
Sort order field.
direction query · string
Sort direction.
parameters query · dictionary
Full query string parameters payload in JSON format. Not required when using other keywords.
from falconpy import ASPM
falcon = ASPM(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
response = falcon.get_servicenow_services(exclude_artifacts=boolean,
ql_filters="string",
limit=integer,
offset=integer,
orderBy="string",
direction="string")
print(response)
{
"error": "string",
"services": [
{
"ServiceNowService": {},
"apis": {},
"artifacts": {},
"configurations": {},
"dependencies": {},
"deployment_units": [],
"frameworks": {},
"libraries": {},
"topics_queues": []
}
],
"total_services": 0
}


Set Cloud Security integration state

Method POST
Route /aspm-api-gateway/api/v1/cloud_security_config
Scope ASPM Admin: WRITE
PEP 8 set_cloud_security_integration_state
body body · dictionary
Full body payload as JSON formatted dictionary.
is_enabled body · boolean
Flag indicating if the state should be enabled.
isEnabled body · boolean
Flag indicating if the state should be enabled.
IsEnabled body · boolean
Flag indicating if the state should be enabled.
from falconpy import ASPM
falcon = ASPM(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
response = falcon.set_cloud_security_integration_state(is_enabled=boolean)
print(response)
{
"error": "string",
"reason": "string"
}


Update default group

Method POST
Route /aspm-api-gateway/api/v1/group/{ID}/update_default
Scope ASPM Falcon Admin: WRITE
PEP 8 update_default_group
ID path · integer
Group ID
from falconpy import ASPM
falcon = ASPM(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
response = falcon.update_default_group(id=integer)
print(response)
{
"error": "string",
"reason": "string"
}


Update an existing relay node

Method PUT
Route /aspm-api-gateway/api/v1/executor_nodes
Scope ASPM Admin: WRITE
PEP 8 update_executor_node
body body · dictionary
Full body payload as JSON formatted dictionary.
additional_header body · string
current_aws_arn body · string
dashboard_url body · string
id body · string
last_health_check body · integer
name body · string
node_type body · string
password body · string
pod_settings body · object
proxy_address body · string
status body · object
type body · string
use_jobs body · boolean
useJobs body · boolean
UseJobs body · boolean
username body · string
from falconpy import ASPM
falcon = ASPM(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
pod_settings = {
"imageAddress": "string",
"imagePullSecrets": [
"string"
],
"podLabels": [
{
"key": "string",
"value": "string"
}
]
}
response = falcon.update_executor_node(current_aws_arn="string",
dashboard_url="string",
id="string",
last_health_check=integer,
name="string",
node_type="string",
password="string",
pod_settings=pod_settings,
proxy_address="string",
type="string",
use_jobs="string",
username="string")
print(response)
{
"additional_header": "string",
"current_aws_arn": "string",
"dashboard_url": "string",
"id": "string",
"last_health_check": 0,
"name": "string",
"node_type": "string",
"password": "string",
"pod_settings": {
"imageAddress": "string",
"imagePullSecrets": [],
"podLabels": []
},
"proxy_address": "string",
"status": {
"State": 0,
"StateLastUpdated": 0,
"StateReason": 0
},
"type": "string",
"useJobs": false,
"username": "string"
}


Update group

Method POST
Route /aspm-api-gateway/api/v1/group/{ID}/v2
Scope ASPM Falcon Admin: WRITE
PEP 8 update_group
body body · dictionary
Full body payload as JSON formatted dictionary.
children body · array
IDs of child groups.
description body · string
Description of the group.
group_id body · integer
groupId body · integer
GroupId body · integer
group_type body · string
Type of the group.
groupType body · string
Type of the group.
GroupType body · string
Type of the group.
is_default body · boolean
Flag indicating if this is the default group.
isDefault body · boolean
Flag indicating if this is the default group.
IsDefault body · boolean
Flag indicating if this is the default group.
name body · string
Name of the group.
parent_id body · integer
ID of the parent group.
parentId body · integer
ID of the parent group.
ParentId body · integer
ID of the parent group.
scope body · string
Scope of the group.
ID path · integer
Group ID
from falconpy import ASPM
falcon = ASPM(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
response = falcon.update_group(id=integer,
children=[integer],
description="string",
group_type="string",
is_default=boolean,
name="string",
parent_id=integer,
scope="string")
print(response)
{
"error": "string",
"reason": "string"
}


Update an existing integration by its ID

Method PUT
Route /aspm-api-gateway/api/v1/integrations/{ID}
Scope ASPM Admin: WRITE
PEP 8 update_integration
body body · dictionary
Full body payload as JSON formatted dictionary.
integration body · object
Integration details.
overwrite_fields body · array
Fields to overwrite.
overwriteFields body · array
Fields to overwrite.
OverwriteFields body · array
Fields to overwrite.
ID path · integer
from falconpy import ASPM
falcon = ASPM(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
integration = {
"data": "string",
"enabled": "boolean",
"id": "integer",
"integration_type": {
"configured": "boolean",
"display_name": "string",
"enabled": "boolean",
"id": "integer",
"name": "string"
},
"name": "string",
"node": {
"additional_header": "string",
"current_aws_arn": "string",
"dashboard_url": "string",
"id": "integer",
"last_health_check": "integer",
"name": "string",
"node_type": "string",
"password": "string",
"pod_settings": {
"imageAddress": "string",
"imagePullSecrets": [
"string"
],
"podLabels": [
{
"key": "string",
"value": "string"
}
]
},
"proxy_address": "string",
"type": "string",
"useJobs": "boolean",
"username": "string"
},
"type": {
"configured": "boolean",
"display_name": "string",
"enabled": "boolean",
"id": "integer",
"name": "string"
},
"update_time": "integer"
}
response = falcon.update_integration(id=integer,
integration=integration,
overwrite_fields=["string"])
print(response)
{
"integration": {
"data": "string",
"enabled": false,
"id": "string",
"integration_type": {
"configured": false,
"display_name": "string",
"enabled": false,
"id": 0,
"name": "string"
},
"name": "string",
"node": {
"additional_header": "string",
"current_aws_arn": "string",
"dashboard_url": "string",
"id": "string",
"last_health_check": 0,
"name": "string",
"node_type": "string",
"password": "string",
"pod_settings": {},
"proxy_address": "string",
"status": {},
"type": "string",
"useJobs": false,
"username": "string"
},
"type": {
"configured": false,
"display_name": "string",
"enabled": false,
"id": 0,
"name": "string"
},
"update_time": 0
},
"new_executor_node": {
"additional_header": "string",
"current_aws_arn": "string",
"dashboard_url": "string",
"id": "string",
"last_health_check": 0,
"name": "string",
"node_type": "string",
"password": "string",
"pod_settings": {
"imageAddress": "string",
"imagePullSecrets": [],
"podLabels": []
},
"proxy_address": "string",
"status": {
"State": 0,
"StateLastUpdated": 0,
"StateReason": 0
},
"type": "string",
"useJobs": false,
"username": "string"
}
}


Update an existing integration task by its ID

Method PUT
Route /aspm-api-gateway/api/v1/integration_tasks/{ID}
Scope ASPM Admin: WRITE
PEP 8 update_integration_task
body body · dictionary
Full body payload as JSON formatted dictionary.
integration_task body · object
ID path · integer
ID of the integration task to update.
from falconpy import ASPM
falcon = ASPM(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
response = falcon.update_integration_task(ID=integer)
print(response)
{
"integrationTask": {
"accessToken": "string",
"additionalHeader": "string",
"businessApplication": "string",
"data": "string",
"enabled": false,
"id": "string",
"integration": {
"data": "string",
"enabled": false,
"id": "string",
"integration_type": {},
"name": "string",
"node": {},
"type": {},
"update_time": 0
},
"integrationTaskType": {
"category": "string",
"display_name": "string",
"enabled": false,
"id": 0,
"name": "string",
"required_integration_types": []
},
"latestTaskRun": {
"createTime": "string",
"events": [],
"id": "string",
"latestEvent": {},
"metadata": {},
"progress": 0,
"scheduled": false,
"traceUuid": "string"
},
"name": "string",
"nextRun": {
"nanos": 0,
"seconds": 0
},
"progress": 0,
"schedule": {
"every": 0,
"every_unit": 0,
"hour": 0,
"minute": 0,
"startTimeTimezoneOffsetMinutes": 0,
"start_time": {},
"timezone": 0,
"weekdays": []
},
"scheduleEveryUnitDisplayName": "string",
"trigger": "string",
"type": {
"category": "string",
"display_name": "string",
"enabled": false,
"id": 0,
"name": "string",
"required_integration_types": []
}
},
"newExecutorNode": {
"additional_header": "string",
"current_aws_arn": "string",
"dashboard_url": "string",
"id": "string",
"last_health_check": 0,
"name": "string",
"node_type": "string",
"password": "string",
"pod_settings": {
"imageAddress": "string",
"imagePullSecrets": [],
"podLabels": []
},
"proxy_address": "string",
"status": {
"State": 0,
"StateLastUpdated": 0,
"StateReason": 0
},
"type": "string",
"useJobs": false,
"username": "string"
}
}


Create or Update Business Applications

Method PUT
Route /aspm-api-gateway/api/v1/business_applications
Scope ASPM Analyst: WRITE
PEP 8 update_business_applications
body body · dictionary
Full body payload as JSON formatted dictionary.
name body · string
Application name.
persistent_signatures body · array
Signatures.
persistentSignatures body · array
Signatures.
PersistentSignatures body · array
Signatures.
from falconpy import ASPM
falcon = ASPM(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
response = falcon.update_business_applications(name="string",
persistent_signatures=["string"])
print(response)
{
"error": "string",
"reason": "string"
}


Create new or update existing tag.

Method PUT
Route /aspm-api-gateway/api/v1/tags
Scope ASPM Analyst: WRITE
PEP 8 update_tags
body body · dictionary
Full body payload as JSON formatted dictionary.
entries body · array
Tag entries. Overrides the is_sensitive, persistent_signature, and value keywords.
is_sensitive body · boolean
Sensitive.
name body · string
Tag name.
tag_type body · string
Tag type.
value body · string
Tag value.
from falconpy import ASPM
falcon = ASPM(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
response = falcon.update_tags(entries=["string"],
is_sensitive=boolean,
name="string",
tag_type="string",
value="string")
print(response)
{
"error": "string",
"reason": "string"
}