Skip to content

Configuration Assessment

The Configuration Assessment service collection provides operations for searching assessments in your environment and retrieving rule details. Use FQL filters to query HostFinding entities and retrieve compliance rule information.

LanguageLast Update
Pythonv1.4.6
PowerShellv2.2.9
Gov0.20.0
TypeScriptv0.6.0
Rustv0.7.0
Rubyv1.2.0
OperationDescription
getCombinedAssessmentsQuery
query_combined_assessments
Search for assessments in your environment by providing an FQL filter and paging details. Returns a set of HostFinding entities which match the filter criteria
getRuleDetails
get_rule_details
Get rules details for provided one or more rule IDs

Search for assessments in your environment by providing an FQL filter and paging details. Returns a set of HostFinding entities which match the filter criteria

GET /configuration-assessment/combined/assessments/v1
Scope Configuration Assessment: READ Consumes · Produces application/json
PEP 8 query_combined_assessments
NameTypeData typeDescription
afterquerystringA 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.
limitqueryintegerThe number of items to return in this response (default: 100, max: 5000). Use with the after parameter to manage pagination of results.
sortquerystringSort assessment by their properties. Common sort options include: created_timestamp|desc, updated_timestamp|asc
filterquerystringFilter items using a query in Falcon Query Language (FQL). Wildcards * are unsupported. Common filter options include: created_timestamp:>‘2019-11-25T22:36:12Z’, updated_timestamp:>‘2019-11-25T22:36:12Z’, aid:‘8e7656b27d8c49a34a1af416424d6231’
facetquerylist of stringsSelect various details blocks to be returned for each assessment entity. Supported values: host, finding.rule, finding.evaluation_logic
parametersquerydictionaryFull query string parameters payload in JSON format. Not required if using other keywords.
from falconpy import ConfigurationAssessment
falcon = ConfigurationAssessment(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
response = falcon.query_combined_assessments(after="string",
limit="string",
sort="string",
filter="string",
facet="string")
print(response)

Get rules details for provided one or more rule IDs

GET /configuration-assessment/entities/rule-details/v1
Scope Configuration Assessment: READ Consumes · Produces application/json
PEP 8 get_rule_details
NameTypeData typeDescription
idsquerystring or list of stringsOne or more rules IDs (max: 400)
parametersquerydictionaryFull query string parameters payload in JSON format. Not required if using other keywords.
from falconpy import ConfigurationAssessment
falcon = ConfigurationAssessment(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_rule_details(ids=id_list)
print(response)