Spotlight Supported Evaluation - CrowdStrike/falconpy GitHub Wiki

CrowdStrike Falcon CrowdStrike Subreddit

Using the Spotlight Supported Evaluation service collection

Uber class support Service class support Documentation Version Page Updated

Table of Contents

Operation ID Description
combinedSupportedEvaluationExt
PEP 8 get_supported_evaluations
Perform a combined query and get for RiskSupportedEvaluation entities.

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.

combinedSupportedEvaluationExt

Perform a combined query and get for RiskSupportedEvaluation entities.

PEP8 method name

get_supported_evaluations

Endpoint

Method Route
GET /spotlight/combined/supported-evaluation-external/v1

Required Scope

risk-platform-risk:read

Content-Type

  • Produces: application/json

Keyword Arguments

Name Service Uber Type Data type Description
after Service Class Support Uber Class Support query string A pagination token used with the limit parameter to manage pagination of results. On your first request, don't provide an after token. On subsequent requests, provide the after token from the previous response to continue from that place in the results.
filter Service Class Support Uber Class Support query string Filter items using a query in Falcon Query Language (FQL). Wildcards * and empty filter values are unsupported. Available filter fields that support exact match: id, risk_id, risk_provider, finding_provider, platform. Available filter fields that support range comparisons (>, <, >=, <=): created_timestamp, updated_timestamp. Required.
limit Service Class Support Uber Class Support query integer The number of items to return in this response (default: 100, max: 400). Use with the after parameter to manage pagination of results.
offset Service Class Support Uber Class Support query string Starting index of overall result set from which to return ids.
risk_provider Service Class Support Uber Class Support query string or list of strings Zero or more risk providers. Zero means all. Supported values: S (for Falcon sensor).
sort Service Class Support Uber Class Support query string Sort vulnerabilities by their properties. Available sort options: created_timestamp|asc/desc, updated_timestamp|asc/desc.
parameters Service Class Support Uber Class Support query dictionary Full query string parameters payload in JSON format.

Usage

Service class example (PEP8 syntax)
from falconpy import SpotlightSupportedEvaluation

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

response = falcon.get_supported_evaluations(after="string",
                                            filter="string",
                                            limit=integer,
                                            offset="string",
                                            risk_provider="string",
                                            sort="string"
                                            )
print(response)
Service class example (Operation ID syntax)
from falconpy import SpotlightSupportedEvaluation

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

response = falcon.combinedSupportedEvaluationExt(after="string",
                                                  filter="string",
                                                  limit=integer,
                                                  offset="string",
                                                  risk_provider="string",
                                                  sort="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("combinedSupportedEvaluationExt",
                          after="string",
                          filter="string",
                          limit=integer,
                          offset="string",
                          risk_provider="string",
                          sort="string"
                          )
print(response)

Back to Table of Contents

⚠️ **GitHub.com Fallback** ⚠️