Skip to content

Spotlight Evaluation Logic

The Spotlight Evaluation Logic service collection provides operations for querying the evaluation rules that Spotlight uses to assess vulnerabilities. Search for evaluation logic definitions by FQL filter to understand how specific CVEs are detected and scored across your environment.

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


OperationDescription
combinedQueryEvaluationLogic
query_evaluation_logic_combined
Search for evaluation logic in your environment by providing a FQL filter and paging details.
combinedSupportedEvaluationExt
get_supported_evaluations
Performs a combined query and get operation for retrieving RiskSupportedEvaluation entities.
getEvaluationLogic
get_evaluation_logic
Get details on evaluation logic items by providing one or more IDs.
queryEvaluationLogic
query_evaluation_logic
Search for evaluation logic in your environment by providing a FQL filter and paging details.

Search for evaluation logic in your environment by providing a FQL filter and paging details.

Method GET
Route /spotlight/combined/evaluation-logic/v1
Scope Vulnerabilities: READ
PEP 8 query_evaluation_logic_combined
after 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.
limit query · integer
Maximum number of entities to return.
filter query · string
FQL query specifying the filter parameters.
sort query · string
Sort evaluation logic by their properties.
parameters query · dictionary
Full query string parameters payload in JSON format. Not required when using other keywords.
from falconpy import SpotlightEvaluationLogic
falcon = SpotlightEvaluationLogic(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
response = falcon.query_evaluation_logic_combined(after="string",
filter="string",
limit=integer,
sort="string")
print(response)
[
{
"aid": "string",
"cid": "string",
"created_timestamp": "string",
"data_provider": "string",
"host_info": {},
"id": "string",
"logic": [],
"scanner_id": "string",
"simplified_logic": [],
"updated_timestamp": "string"
}
]


Performs a combined query and get operation for retrieving RiskSupportedEvaluation entities.

Method GET
Route /spotlight/combined/supported-evaluation-external/v1
Scope Risk Platform - Risk: READ
PEP 8 get_supported_evaluations
after 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.
offset query · string
Starting index of overall result set from which to return ids.
limit 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.
sort query · string
Sort vulnerabilities by their properties. Available sort options: created_timestamp|asc/desc, updated_timestamp|asc/desc.
filter query · string
Filter items using a query in Falcon Query Language (FQL). Wildcards * and empty filter values are unsupported. Available filter fields:
Available values (4)
risk_idrisk_providerfinding_provider
updated_timestamp
risk_provider query · string or list of strings
zero or more risk providers - zero means all. Supported values:
Available values (2)
SSee
parameters query · dictionary
Full query string parameters payload in JSON format. Not required when using other keywords.
from falconpy import SpotlightEvaluationLogic
falcon = SpotlightEvaluationLogic(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_supported_evaluations(after="string",
filter="string",
limit=integer,
offset="string",
risk_provider=id_list,
sort="string")
print(response)
[
{
"cid": "string",
"created_timestamp": "string",
"finding_provider": "string",
"finding_provider_full_name": "string",
"id": "string",
"platform": "string",
"risk_id": "string",
"risk_provider": "string",
"risk_provider_full_name": "string",
"updated_timestamp": "string"
}
]


Get details on evaluation logic items by providing one or more IDs.

Method GET
Route /spotlight/entities/evaluation-logic/v1
Scope Vulnerabilities: READ
PEP 8 get_evaluation_logic
ids query · string or list of strings
One or more evaluation logic IDs.
parameters query · dictionary
Full query string parameters payload in JSON format. Not required when using other keywords.
from falconpy import SpotlightEvaluationLogic
falcon = SpotlightEvaluationLogic(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_evaluation_logic(ids=id_list)
print(response)
[
{
"aid": "string",
"cid": "string",
"created_timestamp": "string",
"data_provider": "string",
"host_info": {},
"id": "string",
"logic": [],
"scanner_id": "string",
"simplified_logic": [],
"updated_timestamp": "string"
}
]


Search for evaluation logic in your environment by providing a FQL filter and paging details.

Method GET
Route /spotlight/queries/evaluation-logic/v1
Scope Vulnerabilities: READ
PEP 8 query_evaluation_logic
after 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.
limit query · integer
Maximum number of entities to return.
filter query · string
FQL query specifying the filter parameters.
sort query · string
Sort evaluation logic by their properties.
parameters query · dictionary
Full query string parameters payload in JSON format. Not required when using other keywords.
from falconpy import SpotlightEvaluationLogic
falcon = SpotlightEvaluationLogic(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
response = falcon.query_evaluation_logic(after="string",
filter="string",
limit=integer,
sort="string")
print(response)
[
"string"
]