CrowdStrike Falcon CrowdStrike Subreddit

Using the SaaS Security service collection

Uber class support Service class support Documentation Version Page Updated

Table of Contents

Operation IDDescription
DismissAffectedEntityV3
PEP 8dismiss_affected_entity
Dismiss affected entity.
DismissSecurityCheckV3
PEP 8dismiss_security_check
Dismiss security check.
GetActivityMonitorV3
PEP 8get_activity_monitor
Get activity monitor.
GetAlertsV3
PEP 8get_alerts
Get alerts.
GetAppInventory
PEP 8get_application_inventory
Get application inventory.
GetAppInventoryUsers
PEP 8get_application_users
Get application inventory users.
GetAssetInventoryV3
PEP 8get_asset_inventory
Get asset inventory.
GetDeviceInventoryV3
PEP 8get_device_inventory
Get device inventory.
GetIntegrationsV3
PEP 8get_integrations
Get integrations.
GetMetricsV3
PEP 8get_metrics
Get metrics.
GetSecurityCheckAffectedV3
PEP 8get_security_check
Get affected resources for security checks.
GetSecurityCheckComplianceV3
PEP 8get_security_check_compliance
Get security check compliance.
GetSecurityChecksV3
PEP 8get_security_checks
Get security checks.
GetSupportedSaasV3
PEP 8get_supported_saas
Get supported SaaS applications.
GetSystemLogsV3
PEP 8get_system_logs
Get system logs.
GetSystemUsersV3
PEP 8get_system_users
Get system users.
GetUserInventoryV3
PEP 8get_user_inventory
Get user inventory.
IntegrationBuilderEndTransactionV3
PEP 8complete_integration_upload
End integration builder transaction.
IntegrationBuilderGetStatusV3
PEP 8get_integration_builder_status
Get integration builder status.
IntegrationBuilderResetV3
PEP 8reset_integration_builder
Reset integration builder.
IntegrationBuilderUploadV3
PEP 8upload_integration_builder
Upload integration builder.

Passing credentials

WARNING

client_id and client_secret are keyword arguments that contain your CrowdStrike API credentials. Please note that all examples below do not hard code these values. (These values are ingested as strings.)

CrowdStrike does not recommend hard coding API credentials or customer identifiers within source code.

DismissAffectedEntityV3

Dismiss affected entity for a security check.

PEP8 method name

dismiss_affected_entity

Endpoint

MethodRoute
POST/saas-security/entities/check-dismiss-affected/v3

Required Scope

saas-security:write

Content-Type

  • Consumes: application/json
  • Produces: application/json

Parameters

NameServiceUberTypeData typeDescription
body
Service Class Support

Uber Class Support
bodydictionaryFull body payload in JSON format. Not required if using other keywords.
entities
Service Class Support

No Uber Class Support
bodystringEntities.
id
Service Class Support

Uber Class Support
querystringSecurity Check ID.
parameters
Service Class Support

Uber Class Support
querydictionaryFull parameters payload in JSON format.
reason
Service Class Support

No Uber Class Support
bodystringReason for dismiss.

Usage

Service class example (PEP8 syntax)
from falconpy import SaasSecurity

# Do not hardcode API credentials!
falcon = SaasSecurity(client_id=CLIENT_ID,
                            client_secret=CLIENT_SECRET
                            )

response = falcon.dismiss_affected_entity(entities="string",
                                             id="string",
                                             reason="string"
                                             )
print(response)
Service class example (Operation ID syntax)
from falconpy import SaasSecurity

# Do not hardcode API credentials!
falcon = SaasSecurity(client_id=CLIENT_ID,
                            client_secret=CLIENT_SECRET
                            )

response = falcon.DismissAffectedEntityV3(entities="string",
                                          id="string",
                                          reason="string"
                                          )
print(response)
Uber class example
from falconpy import APIHarnessV2

# Do not hardcode API credentials!
falcon = APIHarnessV2(client_id=CLIENT_ID,
                      client_secret=CLIENT_SECRET
                      )

body_payload = {
    "entities": "string",
    "reason": "string"
}

response = falcon.command("DismissAffectedEntityV3",
                          body=body_payload,
                          id="string"
                          )
print(response)

Back to Table of Contents

DismissSecurityCheckV3

Dismiss security check by ID.

PEP8 method name

dismiss_security_check

Endpoint

MethodRoute
POST/saas-security/entities/check-dismiss/v3

Required Scope

saas-security:write

Content-Type

  • Consumes: application/json
  • Produces: application/json

Parameters

NameServiceUberTypeData typeDescription
body
Service Class Support

Uber Class Support
bodydictionaryFull body payload in JSON format. Not required if using other keywords.
id
Service Class Support

Uber Class Support
querystringSecurity Check ID.
parameters
Service Class Support

Uber Class Support
querydictionaryFull parameters payload in JSON format.
reason
Service Class Support

No Uber Class Support
bodystringReason for dismissal.

Usage

Service class example (PEP8 syntax)
from falconpy import SaasSecurity

# Do not hardcode API credentials!
falcon = SaasSecurity(client_id=CLIENT_ID,
                            client_secret=CLIENT_SECRET
                            )

response = falcon.dismiss_security_check(id="string",
                                            reason="string"
                                            )
print(response)
Service class example (Operation ID syntax)
from falconpy import SaasSecurity

# Do not hardcode API credentials!
falcon = SaasSecurity(client_id=CLIENT_ID,
                            client_secret=CLIENT_SECRET
                            )

response = falcon.DismissSecurityCheckV3(id="string",
                                         reason="string"
                                         )
print(response)
Uber class example
from falconpy import APIHarnessV2

# Do not hardcode API credentials!
falcon = APIHarnessV2(client_id=CLIENT_ID,
                      client_secret=CLIENT_SECRET
                      )

body_payload = {
    "reason": "string"
}

response = falcon.command("DismissSecurityCheckV3",
                          body=body_payload,
                          id="string"
                          )
print(response)

Back to Table of Contents

GetActivityMonitorV3

Get activity monitor data for SaaS security monitoring.

PEP8 method name

get_activity_monitor

Endpoint

MethodRoute
GET/saas-security/entities/monitor/v3

Required Scope

saas-security:read

Content-Type

  • Produces: application/json

Parameters

NameServiceUberTypeData typeDescription
actor
Service Class Support

Uber Class Support
querystringActor.
category
Service Class Support

Uber Class Support
querystringComma separated list of categories.
from_date
Service Class Support

Uber Class Support
querystringFrom Date.
integration_id
Service Class Support

Uber Class Support
querystringIntegration ID.
limit
Service Class Support

Uber Class Support
queryintegerMax number of logs to fetch.
projection
Service Class Support

Uber Class Support
querystringComma separated list of projections.
skip
Service Class Support

Uber Class Support
queryintegerNumber of logs to skip.
to_date
Service Class Support

Uber Class Support
querystringTo Date.
parameters
Service Class Support

Uber Class Support
querydictionaryFull parameters payload in JSON format.

Usage

Service class example (PEP8 syntax)
from falconpy import SaasSecurity

# Do not hardcode API credentials!
falcon = SaasSecurity(client_id=CLIENT_ID,
                            client_secret=CLIENT_SECRET
                            )

response = falcon.get_activity_monitor(integration_id="string",
                                       actor="string",
                                       category="string",
                                       projection="string",
                                       from_date="2023-01-01T00:00:00Z",
                                       to_date="2023-01-31T23:59:59Z",
                                       limit=integer,
                                       skip=0
                                       )
print(response)
Service class example (Operation ID syntax)
from falconpy import SaasSecurity

# Do not hardcode API credentials!
falcon = SaasSecurity(client_id=CLIENT_ID,
                             client_secret=CLIENT_SECRET
                             )

response = falcon.GetActivityMonitorV3(integration_id="string",
                                       actor="string",
                                       category="string",
                                       projection="string",
                                       from_date="2023-01-01T00:00:00Z",
                                       to_date="2023-01-31T23:59:59Z",
                                       limit=integer,
                                       skip=0
                                       )
print(response)
Uber class example
from falconpy import APIHarnessV2

# Do not hardcode API credentials!
falcon = APIHarnessV2(client_id=CLIENT_ID,
                      client_secret=CLIENT_SECRET
                      )

response = falcon.command("GetActivityMonitorV3",
                          integration_id="string",
                          actor="string",
                          category="string",
                          projection="string",
                          from_date="2023-01-01T00:00:00Z",
                          to_date="2023-01-31T23:59:59Z",
                          limit=integer,
                          skip=0
                          )
print(response)

Back to Table of Contents

GetAlertsV3

Get alerts for SaaS security monitoring.

PEP8 method name

get_alerts

Endpoint

MethodRoute
GET/saas-security/entities/alerts/v3

Required Scope

saas-security:read

Content-Type

  • Produces: application/json

Parameters

NameServiceUberTypeData typeDescription
ascending
Service Class Support

Uber Class Support
querybooleanSort in ascending order.
from_date
Service Class Support

Uber Class Support
querystringThe start date of the alert you want to get (in YYYY-MM-DD format).
id
Service Class Support

Uber Class Support
querystringAlert ID.
integration_id
Service Class Support

Uber Class Support
querystringComma separated list of integration ID's of the alert you want to get.
last_id
Service Class Support

Uber Class Support
querystringThe last id of the alert you want to get.
limit
Service Class Support

Uber Class Support
queryintegerThe maximum number of objects to return.
offset
Service Class Support

Uber Class Support
queryintegerThe starting index of the results.
to_date
Service Class Support

Uber Class Support
querystringThe end date of the alert you want to get (in YYYY-MM-DD format).
type
Service Class Support

Uber Class Support
querystringThe type of alert you want to get. Allowed values: configuration_drift, check_degraded, integration_failure, Threat.
parameters
Service Class Support

Uber Class Support
querydictionaryFull parameters payload in JSON format.

Usage

Service class example (PEP8 syntax)
from falconpy import SaasSecurity

# Do not hardcode API credentials!
falcon = SaasSecurity(client_id=CLIENT_ID,
                             client_secret=CLIENT_SECRET
                             )

response = falcon.get_alerts(id="string",
                             limit=integer,
                             offset=integer,
                             last_id="string",
                             type="configuration_drift",
                             integration_id="string",
                             from_date="2023-01-01",
                             to_date="2023-01-31",
                             ascending=boolean
                             )
print(response)
Service class example (Operation ID syntax)
from falconpy import SaasSecurity

# Do not hardcode API credentials!
falcon = SaasSecurity(client_id=CLIENT_ID,
                             client_secret=CLIENT_SECRET
                             )

response = falcon.GetAlertsV3(id="string",
                              limit=integer,
                              offset=integer,
                              last_id="string",
                              type="configuration_drift",
                              integration_id="string",
                              from_date="2023-01-01",
                              to_date="2023-01-31",
                              ascending=boolean
                              )
print(response)
Uber class example
from falconpy import APIHarnessV2

# Do not hardcode API credentials!
falcon = APIHarnessV2(client_id=CLIENT_ID,
                      client_secret=CLIENT_SECRET
                      )

response = falcon.command("GetAlertsV3",
                         id="string",
                         limit=integer,
                         offset=integer,
                         last_id="string",
                         type="configuration_drift",
                         integration_id="string",
                         from_date="2023-01-01",
                         to_date="2023-01-31",
                         ascending=boolean
                         )
print(response)

Back to Table of Contents

GetAppInventory

Get application inventory data.

PEP8 method name

get_application_inventory

Endpoint

MethodRoute
GET/saas-security/entities/apps/v3

Required Scope

saas-security:read

Content-Type

  • Produces: application/json

Parameters

NameServiceUberTypeData typeDescription
access_level
Service Class Support

Uber Class Support
querystringComma separated list of access levels.
groups
Service Class Support

Uber Class Support
querystringComma separated list of groups.
integration_id
Service Class Support

Uber Class Support
querystringComma separated list of integration IDs.
last_activity
Service Class Support

Uber Class Support
querystringLast activity was within or was not within the last 'value' days. Format: 'was value' or 'was not value' or 'value' (implies 'was value'). 'value' is an integer.
limit
Service Class Support

Uber Class Support
queryintegerThe maximum number of objects to return.
offset
Service Class Support

Uber Class Support
queryintegerThe starting index of the results.
scopes
Service Class Support

Uber Class Support
querystringComma separated list of scopes.
status
Service Class Support

Uber Class Support
querystringComma separated list of application statuses. Allowed values: approved, in review, rejected, unclassified.
type
Service Class Support

Uber Class Support
querystringComma separated list of app types.
users
Service Class Support

Uber Class Support
querystringUsers. Format: 'is equal value' or 'contains value' or 'value' (implies 'is equal value').
parameters
Service Class Support

Uber Class Support
querydictionaryFull parameters payload in JSON format.

Usage

Service class example (PEP8 syntax)
from falconpy import SaasSecurity

# Do not hardcode API credentials!
falcon = SaasSecurity(client_id=CLIENT_ID,
                            client_secret=CLIENT_SECRET
                            )

response = falcon.get_application_inventory(type="string",
                                  limit=integer,
                                  offset=integer,
                                  status="approved,in review",
                                  access_level="string",
                                  scopes="string",
                                  users="string",
                                  groups="string",
                                  last_activity="was 30",
                                  integration_id="string"
                                  )
print(response)
Service class example (Operation ID syntax)
from falconpy import SaasSecurity

# Do not hardcode API credentials!
falcon = SaasSecurity(client_id=CLIENT_ID,
                            client_secret=CLIENT_SECRET
                            )

response = falcon.GetAppInventory(type="string",
                                limit=integer,
                                offset=integer,
                                status="approved,in review",
                                access_level="string",
                                scopes="string",
                                users="string",
                                groups="string",
                                last_activity="was 30",
                                integration_id="string"
                                )
print(response)
Uber class example
from falconpy import APIHarnessV2

# Do not hardcode API credentials!
falcon = APIHarnessV2(client_id=CLIENT_ID,
                      client_secret=CLIENT_SECRET
                      )

response = falcon.command("GetAppInventory",
                         type="string",
                         limit=integer,
                         offset=integer,
                         status="approved,in review",
                         access_level="string",
                         scopes="string",
                         users="string",
                         groups="string",
                         last_activity="was 30",
                         integration_id="string"
                         )
print(response)

Back to Table of Contents

GetAppInventoryUsers

Get application inventory users for a specific application.

PEP8 method name

get_application_users

Endpoint

MethodRoute
GET/saas-security/entities/app-users/v3

Required Scope

saas-security:read

Content-Type

  • Produces: application/json

Parameters

NameServiceUberTypeData typeDescription
item_id
Service Class Support

Uber Class Support
querystringItem ID in format: 'integration_id|||app_id' (item_id).

Usage

Service class example (PEP8 syntax)
from falconpy import SaasSecurity

# Do not hardcode API credentials!
falcon = SaasSecurity(client_id=CLIENT_ID,
                            client_secret=CLIENT_SECRET
                            )

response = falcon.get_application_users(item_id="integration_id|||app_id")
print(response)
Service class example (Operation ID syntax)
from falconpy import SaasSecurity

# Do not hardcode API credentials!
falcon = SaasSecurity(client_id=CLIENT_ID,
                            client_secret=CLIENT_SECRET
                            )

response = falcon.GetAppInventoryUsers(item_id="integration_id|||app_id")
print(response)
Uber class example
from falconpy import APIHarnessV2

# Do not hardcode API credentials!
falcon = APIHarnessV2(client_id=CLIENT_ID,
                      client_secret=CLIENT_SECRET
                      )

response = falcon.command("GetAppInventoryUsers",
                         item_id="integration_id|||app_id"
                         )
print(response)

Back to Table of Contents

GetAssetInventoryV3

Get data inventory from SaaS security monitoring.

PEP8 method name

get_asset_inventory

Endpoint

MethodRoute
GET/saas-security/entities/data/v3

Required Scope

saas-security:read

Content-Type

  • Produces: application/json

Parameters

NameServiceUberTypeData typeDescription
access_level
Service Class Support

Uber Class Support
querystringComma separated list of access levels.
integration_id
Service Class Support

Uber Class Support
querystringComma separated list of integration IDs.
last_accessed
Service Class Support

Uber Class Support
querystringLast accessed date was within or was not within the last 'value' days. Format: 'was value' or 'was not value' or 'value' (implies 'was value'). 'value' is an integer.
last_modified
Service Class Support

Uber Class Support
querystringLast modified date was within or was not within the last 'value' days. Format: 'was value' or 'was not value' or 'value' (implies 'was value'). 'value' is an integer.
limit
Service Class Support

Uber Class Support
queryintegerThe maximum number of objects to return.
offset
Service Class Support

Uber Class Support
queryintegerThe starting index of the results.
password_protected
Service Class Support

Uber Class Support
querybooleanPassword protected.
resource_name
Service Class Support

Uber Class Support
querystringResource name contains 'value' (case insensitive).
resource_owner
Service Class Support

Uber Class Support
querystringResource owner contains 'value' (case insensitive).
resource_owner_enabled
Service Class Support

Uber Class Support
querybooleanResource owner enabled.
resource_type
Service Class Support

Uber Class Support
querystringComma separated list of resource types.
unmanaged_domain
Service Class Support

Uber Class Support
querystringComma separated list of unmanaged domains.
parameters
Service Class Support

Uber Class Support
querydictionaryFull parameters payload in JSON format.

Usage

Service class example (PEP8 syntax)
from falconpy import SaasSecurity

# Do not hardcode API credentials!
falcon = SaasSecurity(client_id=CLIENT_ID,
                             client_secret=CLIENT_SECRET
                             )

response = falcon.get_asset_inventory(integration_id="string",
                                      limit=integer,
                                      offset=integer,
                                      resource_type="string",
                                      access_level="string",
                                      last_accessed="was 30",
                                      last_modified="was 30",
                                      resource_name="string",
                                      password_protected=boolean,
                                      resource_owner="string",
                                      resource_owner_enabled=boolean,
                                      unmanaged_domain="string"
                                      )
print(response)
Service class example (Operation ID syntax)
from falconpy import SaasSecurity

# Do not hardcode API credentials!
falcon = SaasSecurity(client_id=CLIENT_ID,
                             client_secret=CLIENT_SECRET
                             )

response = falcon.GetAssetInventoryV3(integration_id="string",
                                      limit=integer,
                                      offset=integer,
                                      resource_type="string",
                                      access_level="string",
                                      last_accessed="was 30",
                                      last_modified="was 30",
                                      resource_name="string",
                                      password_protected=boolean,
                                      resource_owner="string",
                                      resource_owner_enabled=boolean,
                                      unmanaged_domain="string"
                                      )
print(response)
Uber class example
from falconpy import APIHarnessV2

# Do not hardcode API credentials!
falcon = APIHarnessV2(client_id=CLIENT_ID,
                      client_secret=CLIENT_SECRET
                      )

response = falcon.command("GetAssetInventoryV3",
                          integration_id="string",
                          limit=integer,
                          offset=integer,
                          resource_type="string",
                          access_level="string",
                          last_accessed="was 30",
                          last_modified="was 30",
                          resource_name="string",
                          password_protected=boolean,
                          resource_owner="string",
                          resource_owner_enabled=boolean,
                          unmanaged_domain="string"
                          )
print(response)

Back to Table of Contents

GetDeviceInventoryV3

Get device inventory from SaaS security monitoring.

PEP8 method name

get_device_inventory

Endpoint

MethodRoute
GET/saas-security/entities/devices/v3

Required Scope

saas-security:read

Content-Type

  • Produces: application/json

Parameters

NameServiceUberTypeData typeDescription
email
Service Class Support

Uber Class Support
querystringEmail.
integration_id
Service Class Support

Uber Class Support
querystringComma separated integration ID's.
limit
Service Class Support

Uber Class Support
queryintegerThe maximum number of objects to return.
offset
Service Class Support

Uber Class Support
queryintegerThe starting index of the results.
privileged_only
Service Class Support

Uber Class Support
querybooleanPrivileged Only.
unassociated_devices
Service Class Support

Uber Class Support
querybooleanUnassociated Devices.
parameters
Service Class Support

Uber Class Support
querydictionaryFull parameters payload in JSON format.

Usage

Service class example (PEP8 syntax)
from falconpy import SaasSecurity

# Do not hardcode API credentials!
falcon = SaasSecurity(client_id=CLIENT_ID,
                            client_secret=CLIENT_SECRET
                            )

response = falcon.get_device_inventory(integration_id="string",
                                        limit=integer,
                                        offset=integer,
                                        email="user@example.com",
                                        privileged_only=boolean,
                                        unassociated_devices=boolean
                                        )
print(response)
Service class example (Operation ID syntax)
from falconpy import SaasSecurity

# Do not hardcode API credentials!
falcon = SaasSecurity(client_id=CLIENT_ID,
                            client_secret=CLIENT_SECRET
                            )

response = falcon.GetDeviceInventoryV3(integration_id="string",
                                     limit=integer,
                                     offset=integer,
                                     email="user@example.com",
                                     privileged_only=boolean,
                                     unassociated_devices=boolean
                                     )
print(response)
Uber class example
from falconpy import APIHarnessV2

# Do not hardcode API credentials!
falcon = APIHarnessV2(client_id=CLIENT_ID,
                      client_secret=CLIENT_SECRET
                      )

response = falcon.command("GetDeviceInventoryV3",
                         integration_id="string",
                         limit=integer,
                         offset=integer,
                         email="user@example.com",
                         privileged_only=boolean,
                         unassociated_devices=boolean
                         )
print(response)

Back to Table of Contents

GetIntegrationsV3

Get integrations configured for SaaS security monitoring.

PEP8 method name

get_integrations

Endpoint

MethodRoute
GET/saas-security/entities/integrations/v3

Required Scope

saas-security:read

Content-Type

  • Produces: application/json

Parameters

NameServiceUberTypeData typeDescription
saas_id
Service Class Support

Uber Class Support
querystringComma separated SaaS ID's.
parameters
Service Class Support

Uber Class Support
querydictionaryFull parameters payload in JSON format.

Usage

Service class example (PEP8 syntax)
from falconpy import SaasSecurity

# Do not hardcode API credentials!
falcon = SaasSecurity(client_id=CLIENT_ID,
                            client_secret=CLIENT_SECRET
                            )

response = falcon.get_integrations(saas_id="string")
print(response)
Service class example (Operation ID syntax)
from falconpy import SaasSecurity

# Do not hardcode API credentials!
falcon = SaasSecurity(client_id=CLIENT_ID,
                            client_secret=CLIENT_SECRET
                            )

response = falcon.GetIntegrationsV3(saas_id="string")
print(response)
Uber class example
from falconpy import APIHarnessV2

# Do not hardcode API credentials!
falcon = APIHarnessV2(client_id=CLIENT_ID,
                      client_secret=CLIENT_SECRET
                      )

response = falcon.command("GetIntegrationsV3",
                         saas_id="string"
                         )
print(response)

Back to Table of Contents

GetMetricsV3

Get metrics for SaaS security checks and exposures.

PEP8 method name

get_metrics

Endpoint

MethodRoute
GET/saas-security/aggregates/check-metrics/v3

Required Scope

saas-security:read

Content-Type

  • Produces: application/json

Parameters

NameServiceUberTypeData typeDescription
check_type
Service Class Support

Uber Class Support
querystringCheck Type. Allowed values: apps, devices, users, assets, permissions, Falcon Shield Security Check, custom.
compliance
Service Class Support

Uber Class Support
querybooleanCompliance.
impact
Service Class Support

Uber Class Support
querystringImpact. Allowed values: 1, 2, 3.
integration_id
Service Class Support

Uber Class Support
querystringComma separated list of integration IDs.
limit
Service Class Support

Uber Class Support
queryintegerThe maximum number of objects to return.
offset
Service Class Support

Uber Class Support
queryintegerThe starting index of the results.
status
Service Class Support

Uber Class Support
querystringExposure status. Allowed values: Passed, Failed, Dismissed, Pending, Can't Run, Stale.
parameters
Service Class Support

Uber Class Support
querydictionaryFull parameters payload in JSON format.

Usage

Service class example (PEP8 syntax)
from falconpy import SaasSecurity

# Do not hardcode API credentials!
falcon = SaasSecurity(client_id=CLIENT_ID,
                            client_secret=CLIENT_SECRET
                            )

response = falcon.get_metrics(status="Failed",
                               limit=integer,
                               offset=integer,
                               integration_id="string",
                               impact="1",
                               compliance=boolean,
                               check_type="apps"
                               )
print(response)
Service class example (Operation ID syntax)
from falconpy import SaasSecurity

# Do not hardcode API credentials!
falcon = SaasSecurity(client_id=CLIENT_ID,
                            client_secret=CLIENT_SECRET
                            )

response = falcon.GetMetricsV3(status="Failed",
                             limit=integer,
                             offset=integer,
                             integration_id="string",
                             impact="1",
                             compliance=boolean,
                             check_type="apps"
                             )
print(response)
Uber class example
from falconpy import APIHarnessV2

# Do not hardcode API credentials!
falcon = APIHarnessV2(client_id=CLIENT_ID,
                      client_secret=CLIENT_SECRET
                      )

response = falcon.command("GetMetricsV3",
                         status="Failed",
                         limit=integer,
                         offset=integer,
                         integration_id="string",
                         impact="1",
                         compliance=boolean,
                         check_type="apps"
                         )
print(response)

Back to Table of Contents

GetSecurityCheckAffectedV3

Get affected resources for security checks.

PEP8 method name

get_security_check

Endpoint

MethodRoute
GET/saas-security/entities/check-affected/v3

Required Scope

saas-security:read

Content-Type

  • Produces: application/json

Parameters

NameServiceUberTypeData typeDescription
id
Service Class Support

Uber Class Support
querystringSecurity Check ID.
limit
Service Class Support

Uber Class Support
queryintegerThe maximum number of objects to return.
offset
Service Class Support

Uber Class Support
queryintegerThe starting index of the results.
parameters
Service Class Support

Uber Class Support
querydictionaryFull parameters payload in JSON format.

Usage

Service class example (PEP8 syntax)
from falconpy import SaasSecurity

# Do not hardcode API credentials!
falcon = SaasSecurity(client_id=CLIENT_ID,
                            client_secret=CLIENT_SECRET
                            )

response = falcon.get_security_check(id="string",
                                               limit=integer,
                                               offset=integer
                                               )
print(response)
Service class example (Operation ID syntax)
from falconpy import SaasSecurity

# Do not hardcode API credentials!
falcon = SaasSecurity(client_id=CLIENT_ID,
                            client_secret=CLIENT_SECRET
                            )

response = falcon.GetSecurityCheckAffectedV3(id="string",
                                           limit=integer,
                                           offset=integer
                                           )
print(response)
Uber class example
from falconpy import APIHarnessV2

# Do not hardcode API credentials!
falcon = APIHarnessV2(client_id=CLIENT_ID,
                      client_secret=CLIENT_SECRET
                      )

response = falcon.command("GetSecurityCheckAffectedV3",
                         id="string",
                         limit=integer,
                         offset=integer
                         )
print(response)

Back to Table of Contents

GetSecurityCheckComplianceV3

Get security check compliance information.

PEP8 method name

get_security_check_compliance

Endpoint

MethodRoute
GET/saas-security/entities/compliance/v3

Required Scope

saas-security:read

Content-Type

  • Produces: application/json

Parameters

NameServiceUberTypeData typeDescription
id
Service Class Support

Uber Class Support
querystringSecurity Check ID.
parameters
Service Class Support

Uber Class Support
querydictionaryFull parameters payload in JSON format.

Usage

Service class example (PEP8 syntax)
from falconpy import SaasSecurity

# Do not hardcode API credentials!
falcon = SaasSecurity(client_id=CLIENT_ID,
                            client_secret=CLIENT_SECRET
                            )

response = falcon.get_security_check_compliance(id="string")
print(response)
Service class example (Operation ID syntax)
from falconpy import SaasSecurity

# Do not hardcode API credentials!
falcon = SaasSecurity(client_id=CLIENT_ID,
                            client_secret=CLIENT_SECRET
                            )

response = falcon.GetSecurityCheckComplianceV3(id="string")
print(response)
Uber class example
from falconpy import APIHarnessV2

# Do not hardcode API credentials!
falcon = APIHarnessV2(client_id=CLIENT_ID,
                      client_secret=CLIENT_SECRET
                      )

response = falcon.command("GetSecurityCheckComplianceV3",
                         id="string"
                         )
print(response)

Back to Table of Contents

GetSecurityChecksV3

Get security checks from SaaS security monitoring.

PEP8 method name

get_security_checks

Endpoint

MethodRoute
GET/saas-security/entities/checks/v3

Required Scope

saas-security:read

Content-Type

  • Produces: application/json

Parameters

NameServiceUberTypeData typeDescription
check_tags
Service Class Support

Uber Class Support
querystringComma separated list of check tags names or ids.
check_type
Service Class Support

Uber Class Support
querystringCheck Type. Allowed values: apps, devices, users, assets, permissions, Falcon Shield Security Check, custom.
compliance
Service Class Support

Uber Class Support
querybooleanCompliance.
id
Service Class Support

Uber Class Support
querystringSecurity Check ID.
impact
Service Class Support

Uber Class Support
querystringImpact. Allowed values: Low, Medium, High.
integration_id
Service Class Support

Uber Class Support
querystringComma separated list of integration IDs.
limit
Service Class Support

Uber Class Support
queryintegerThe maximum number of objects to return.
offset
Service Class Support

Uber Class Support
queryintegerThe starting index of the results.
status
Service Class Support

Uber Class Support
querystringExposure status. Allowed values: Passed, Failed, Dismissed, Pending, Can't Run, Stale.
parameters
Service Class Support

Uber Class Support
querydictionaryFull parameters payload in JSON format.

Usage

Service class example (PEP8 syntax)
from falconpy import SaasSecurity

# Do not hardcode API credentials!
falcon = SaasSecurity(client_id=CLIENT_ID,
                            client_secret=CLIENT_SECRET
                            )

response = falcon.get_security_checks(id="string",
                                      limit=integer,
                                      offset=integer,
                                      status="Failed",
                                      integration_id="string",
                                      impact="High",
                                      compliance=boolean,
                                      check_type="apps",
                                      check_tags="string"
                                      )
print(response)
Service class example (Operation ID syntax)
from falconpy import SaasSecurity

# Do not hardcode API credentials!
falcon = SaasSecurity(client_id=CLIENT_ID,
                             client_secret=CLIENT_SECRET
                             )

response = falcon.GetSecurityChecksV3(id="string",
                                      limit=integer,
                                      offset=integer,
                                      status="Failed",
                                      integration_id="string",
                                      impact="High",
                                      compliance=boolean,
                                      check_type="apps",
                                      check_tags="string"
                                      )
print(response)
Uber class example
from falconpy import APIHarnessV2

# Do not hardcode API credentials!
falcon = APIHarnessV2(client_id=CLIENT_ID,
                      client_secret=CLIENT_SECRET
                      )

response = falcon.command("GetSecurityChecksV3",
                          id="string",
                          limit=integer,
                          offset=integer,
                          status="Failed",
                          integration_id="string",
                          impact="High",
                          compliance=boolean,
                          check_type="apps",
                          check_tags="string"
                          )
print(response)

Back to Table of Contents

GetSupportedSaasV3

Get supported SaaS applications for security monitoring.

PEP8 method name

get_supported_saas

Endpoint

MethodRoute
GET/saas-security/entities/supported-saas/v3

Required Scope

saas-security:read

Content-Type

  • Produces: application/json

Parameters

NameServiceUberTypeData typeDescription
parameters
Service Class Support

Uber Class Support
querydictionaryFull parameters payload in JSON format.

Usage

Service class example (PEP8 syntax)
from falconpy import SaasSecurity

# Do not hardcode API credentials!
falcon = SaasSecurity(client_id=CLIENT_ID,
                            client_secret=CLIENT_SECRET
                            )

response = falcon.get_supported_saas()
print(response)
Service class example (Operation ID syntax)
from falconpy import SaasSecurity

# Do not hardcode API credentials!
falcon = SaasSecurity(client_id=CLIENT_ID,
                            client_secret=CLIENT_SECRET
                            )

response = falcon.GetSupportedSaasV3()
print(response)
Uber class example
from falconpy import APIHarnessV2

# Do not hardcode API credentials!
falcon = APIHarnessV2(client_id=CLIENT_ID,
                      client_secret=CLIENT_SECRET
                      )

response = falcon.command("GetSupportedSaasV3")
print(response)

Back to Table of Contents

GetSystemLogsV3

Get system logs from SaaS security monitoring.

PEP8 method name

get_system_logs

Endpoint

MethodRoute
GET/saas-security/entities/system-logs/v3

Required Scope

saas-security:read

Content-Type

  • Produces: application/json

Parameters

NameServiceUberTypeData typeDescription
from_date
Service Class Support

Uber Class Support
querystringFrom Date (in YYYY-MM-DD format).
limit
Service Class Support

Uber Class Support
queryintegerThe maximum number of objects to return.
offset
Service Class Support

Uber Class Support
queryintegerThe starting index of the results.
to_date
Service Class Support

Uber Class Support
querystringTo Date (in YYYY-MM-DD format).
total_count
Service Class Support

Uber Class Support
querybooleanFetch Total Count?
parameters
Service Class Support

Uber Class Support
querydictionaryFull parameters payload in JSON format.

Usage

Service class example (PEP8 syntax)
from falconpy import SaasSecurity

# Do not hardcode API credentials!
falcon = SaasSecurity(client_id=CLIENT_ID,
                            client_secret=CLIENT_SECRET
                            )

response = falcon.get_system_logs(from_date="2023-01-01",
                                  limit=integer,
                                  offset=integer,
                                  to_date="2023-01-31",
                                  total_count=boolean
                                  )
print(response)
Service class example (Operation ID syntax)
from falconpy import SaasSecurity

# Do not hardcode API credentials!
falcon = SaasSecurity(client_id=CLIENT_ID,
                             client_secret=CLIENT_SECRET
                             )

response = falcon.GetSystemLogsV3(from_date="2023-01-01",
                                  limit=integer,
                                  offset=integer,
                                  to_date="2023-01-31",
                                  total_count=boolean
                                  )
print(response)
Uber class example
from falconpy import APIHarnessV2

# Do not hardcode API credentials!
falcon = APIHarnessV2(client_id=CLIENT_ID,
                      client_secret=CLIENT_SECRET
                      )

response = falcon.command("GetSystemLogsV3",
                          from_date="2023-01-01",
                          limit=integer,
                          offset=integer,
                          to_date="2023-01-31",
                          total_count=boolean
                          )
print(response)

Back to Table of Contents

GetSystemUsersV3

Get system users from SaaS security monitoring.

PEP8 method name

get_system_users

Endpoint

MethodRoute
GET/saas-security/entities/system-users/v3

Required Scope

saas-security:read

Content-Type

  • Produces: application/json

Parameters

NameServiceUberTypeData typeDescription
parameters
Service Class Support

Uber Class Support
querydictionaryFull parameters payload in JSON format.

Usage

Service class example (PEP8 syntax)
from falconpy import SaasSecurity

# Do not hardcode API credentials!
falcon = SaasSecurity(client_id=CLIENT_ID,
                            client_secret=CLIENT_SECRET
                            )

response = falcon.get_system_users()
print(response)
Service class example (Operation ID syntax)
from falconpy import SaasSecurity

# Do not hardcode API credentials!
falcon = SaasSecurity(client_id=CLIENT_ID,
                            client_secret=CLIENT_SECRET
                            )

response = falcon.GetSystemUsersV3()
print(response)
Uber class example
from falconpy import APIHarnessV2

# Do not hardcode API credentials!
falcon = APIHarnessV2(client_id=CLIENT_ID,
                      client_secret=CLIENT_SECRET
                      )

response = falcon.command("GetSystemUsersV3")
print(response)

Back to Table of Contents

GetUserInventoryV3

Get user inventory from SaaS security monitoring.

PEP8 method name

get_user_inventory

Endpoint

MethodRoute
GET/saas-security/entities/users/v3

Required Scope

saas-security:read

Content-Type

  • Produces: application/json

Parameters

NameServiceUberTypeData typeDescription
email
Service Class Support

Uber Class Support
querystringEmail.
integration_id
Service Class Support

Uber Class Support
querystringComma separated integration ID's.
limit
Service Class Support

Uber Class Support
queryintegerThe maximum number of objects to return.
offset
Service Class Support

Uber Class Support
queryintegerThe starting index of the results.
privileged_only
Service Class Support

Uber Class Support
querybooleanPrivileged Only.
parameters
Service Class Support

Uber Class Support
querydictionaryFull parameters payload in JSON format.

Usage

Service class example (PEP8 syntax)
from falconpy import SaasSecurity

# Do not hardcode API credentials!
falcon = SaasSecurity(client_id=CLIENT_ID,
                            client_secret=CLIENT_SECRET
                            )

response = falcon.get_user_inventory(integration_id="string",
                                     limit=integer,
                                     offset=integer,
                                     email="user@example.com",
                                     privileged_only=boolean
                                     )
print(response)
Service class example (Operation ID syntax)
from falconpy import SaasSecurity

# Do not hardcode API credentials!
falcon = SaasSecurity(client_id=CLIENT_ID,
                            client_secret=CLIENT_SECRET
                            )

response = falcon.GetUserInventoryV3(integration_id="string",
                                     limit=integer,
                                     offset=integer,
                                     email="user@example.com",
                                     privileged_only=boolean
                                     )
print(response)
Uber class example
from falconpy import APIHarnessV2

# Do not hardcode API credentials!
falcon = APIHarnessV2(client_id=CLIENT_ID,
                      client_secret=CLIENT_SECRET
                      )

response = falcon.command("GetUserInventoryV3",
                          integration_id="string",
                          limit=integer,
                          offset=integer,
                          email="user@example.com",
                          privileged_only=boolean
                          )
print(response)

Back to Table of Contents

IntegrationBuilderEndTransactionV3

End data upload transaction for custom integration.

PEP8 method name

complete_integration_upload

Endpoint

MethodRoute
POST/saas-security/entities/custom-integration-close/v3

Required Scope

saas-security:write

Content-Type

  • Produces: application/json

Parameters

NameServiceUberTypeData typeDescription
id
Service Class Support

Uber Class Support
querystringIntegration ID.
parameters
Service Class Support

Uber Class Support
querydictionaryFull parameters payload in JSON format.

Usage

Service class example (PEP8 syntax)
from falconpy import SaasSecurity

# Do not hardcode API credentials!
falcon = SaasSecurity(client_id=CLIENT_ID,
                             client_secret=CLIENT_SECRET
                             )

response = falcon.complete_integration_upload(id="string")
print(response)
Service class example (Operation ID syntax)
from falconpy import SaasSecurity

# Do not hardcode API credentials!
falcon = SaasSecurity(client_id=CLIENT_ID,
                             client_secret=CLIENT_SECRET
                             )

response = falcon.IntegrationBuilderEndTransactionV3(id="string")
print(response)
Uber class example
from falconpy import APIHarnessV2

# Do not hardcode API credentials!
falcon = APIHarnessV2(client_id=CLIENT_ID,
                      client_secret=CLIENT_SECRET
                      )

response = falcon.command("IntegrationBuilderEndTransactionV3",
                          id="string"
                          )
print(response)

Back to Table of Contents

IntegrationBuilderGetStatusV3

Get status of custom integration builder.

PEP8 method name

get_integration_builder_status

Endpoint

MethodRoute
GET/saas-security/entities/custom-integration-status/v3

Required Scope

saas-security:read

Content-Type

  • Produces: application/json

Parameters

NameServiceUberTypeData typeDescription
id
Service Class Support

Uber Class Support
querystringIntegration ID.
parameters
Service Class Support

Uber Class Support
querydictionaryFull parameters payload in JSON format.

Usage

Service class example (PEP8 syntax)
from falconpy import SaasSecurity

# Do not hardcode API credentials!
falcon = SaasSecurity(client_id=CLIENT_ID,
                            client_secret=CLIENT_SECRET
                            )

response = falcon.get_integration_builder_status(id="string")
print(response)
Service class example (Operation ID syntax)
from falconpy import SaasSecurity

# Do not hardcode API credentials!
falcon = SaasSecurity(client_id=CLIENT_ID,
                            client_secret=CLIENT_SECRET
                            )

response = falcon.IntegrationBuilderGetStatusV3(id="string")
print(response)
Uber class example
from falconpy import APIHarnessV2

# Do not hardcode API credentials!
falcon = APIHarnessV2(client_id=CLIENT_ID,
                      client_secret=CLIENT_SECRET
                      )

response = falcon.command("IntegrationBuilderGetStatusV3",
                         id="string"
                         )
print(response)

Back to Table of Contents

IntegrationBuilderResetV3

Reset custom integration builder.

PEP8 method name

reset_integration_builder

Endpoint

MethodRoute
POST/saas-security/entities/custom-integration-reset/v3

Required Scope

saas-security:write

Content-Type

  • Produces: application/json

Parameters

NameServiceUberTypeData typeDescription
id
Service Class Support

Uber Class Support
querystringIntegration ID.
parameters
Service Class Support

Uber Class Support
querydictionaryFull parameters payload in JSON format.

Usage

Service class example (PEP8 syntax)
from falconpy import SaasSecurity

# Do not hardcode API credentials!
falcon = SaasSecurity(client_id=CLIENT_ID,
                            client_secret=CLIENT_SECRET
                            )

response = falcon.reset_integration_builder(id="string")
print(response)
Service class example (Operation ID syntax)
from falconpy import SaasSecurity

# Do not hardcode API credentials!
falcon = SaasSecurity(client_id=CLIENT_ID,
                            client_secret=CLIENT_SECRET
                            )

response = falcon.IntegrationBuilderResetV3(id="string")
print(response)
Uber class example
from falconpy import APIHarnessV2

# Do not hardcode API credentials!
falcon = APIHarnessV2(client_id=CLIENT_ID,
                      client_secret=CLIENT_SECRET
                      )

response = falcon.command("IntegrationBuilderResetV3",
                         id="string"
                         )
print(response)

Back to Table of Contents

IntegrationBuilderUploadV3

Upload data for custom integration builder.

PEP8 method name

upload_integration_builder

Endpoint

MethodRoute
POST/saas-security/entities/custom-integration-upload/v3

Required Scope

saas-security:write

Content-Type

  • Consumes: application/json
  • Produces: application/json

Parameters

NameServiceUberTypeData typeDescription
body
Service Class Support

Uber Class Support
bodydictionaryFull body payload in JSON format.
data
Service Class Support

No Uber Class Support
bodystringData.
id
Service Class Support

Uber Class Support
querystringIntegration ID.
source_id
Service Class Support

Uber Class Support
querystringSource ID.
parameters
Service Class Support

Uber Class Support
querydictionaryFull parameters payload in JSON format.

Usage

Service class example (PEP8 syntax)
from falconpy import SaasSecurity

# Do not hardcode API credentials!
falcon = SaasSecurity(client_id=CLIENT_ID,
                            client_secret=CLIENT_SECRET
                            )

response = falcon.upload_integration_builder(data="string",
                                                id="string",
                                                source_id="string"
                                                )
print(response)
Service class example (Operation ID syntax)
from falconpy import SaasSecurity

# Do not hardcode API credentials!
falcon = SaasSecurity(client_id=CLIENT_ID,
                             client_secret=CLIENT_SECRET
                             )

response = falcon.IntegrationBuilderUploadV3(data="string",
                                             id="string",
                                             source_id="string"
                                             )
print(response)
Uber class example
from falconpy import APIHarnessV2

# Do not hardcode API credentials!
falcon = APIHarnessV2(client_id=CLIENT_ID,
                      client_secret=CLIENT_SECRET
                      )

body_payload = {
    "data": "string"
}

response = falcon.command("IntegrationBuilderUploadV3",
                          body=body_payload,
                          id="string",
                          source_id="string"
                          )

print(response)

Back to Table of Contents