-
Notifications
You must be signed in to change notification settings - Fork 164
Zero Trust Assessment
| Operation ID | Description | ||||
|---|---|---|---|---|---|
|
Get Zero Trust Assessment data for one or more hosts by providing agent IDs (AID) and a customer ID (CID). | ||||
|
Get the Zero Trust Assessment audit report for one customer ID (CID). | ||||
|
Get Zero Trust Assessment data for one or more hosts by providing a customer ID (CID) and a range of scores. | ||||
|
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 | ||||
WARNING
client_idandclient_secretare 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.
Get Zero Trust Assessment data for one or more hosts by providing agent IDs (AID) and a customer ID (CID).
get_assessment
| Method | Route |
|---|---|
/zero-trust-assessment/entities/assessments/v1 |
- Consumes: application/json
- Produces: application/json
| Name | Service | Uber | Type | Data type | Description |
|---|---|---|---|---|---|
| ids |
|
|
query | string or list of strings | One or more agent IDs, which you can find in the data.zta file, or the Falcon console. |
| parameters |
|
|
query | dictionary | Full query string parameters payload in JSON format. |
from falconpy import ZeroTrustAssessment
# Do not hardcode API credentials!
falcon = ZeroTrustAssessment(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_assessment(ids=id_list)
print(response)from falconpy import ZeroTrustAssessment
# Do not hardcode API credentials!
falcon = ZeroTrustAssessment(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
id_list = 'ID1,ID2,ID3' # Can also pass a list here: ['ID1', 'ID2', 'ID3']
response = falcon.getAssessmentV1(ids=id_list)
print(response)from falconpy import APIHarnessV2
# Do not hardcode API credentials!
falcon = APIHarnessV2(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
id_list = 'ID1,ID2,ID3' # Can also pass a list here: ['ID1', 'ID2', 'ID3']
response = falcon.command("getAssessmentV1", ids=id_list)
print(response)Back to Table of Contents
Get the Zero Trust Assessment audit report for one customer ID (CID).
get_audit
This operation ID has recently been changed.
FalconPy supports deprecated IDs and method names via aliases. Developers should consider moving code to leverage the updated ID and method name for this operation whenever possible.
- Legacy Operation ID:
getComplianceV1 - Legacy PEP8 method name:
get_compliance
| Method | Route |
|---|---|
/zero-trust-assessment/entities/audit/v1 |
- Consumes: application/json
- Produces: application/json
No keywords or arguments accepted.
from falconpy import ZeroTrustAssessment
# Do not hardcode API credentials!
falcon = ZeroTrustAssessment(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
response = falcon.get_audit()
print(response)from falconpy import ZeroTrustAssessment
# Do not hardcode API credentials!
falcon = ZeroTrustAssessment(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
response = falcon.getAuditV1()
print(response)from falconpy import APIHarnessV2
# Do not hardcode API credentials!
falcon = APIHarnessV2(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
response = falcon.command("getAuditV1")
print(response)Back to Table of Contents
Get Zero Trust Assessment data for one or more hosts by providing a customer ID (CID) and a range of scores.
get_assessments_by_score
| Method | Route |
|---|---|
/zero-trust-assessment/queries/assessments/v1 |
- Consumes: application/json
- Produces: application/json
| Name | Service | Uber | Type | Data type | Description |
|---|---|---|---|---|---|
| filter |
|
|
query | string | FQL formatted string containing the filter to use to limit results. |
| limit |
|
|
query | integer | The number of scores to return in this response. (Min: 1, Max: 1,000, Default: 100). Use in conjuction with the after parameter to limit results. |
| after |
|
|
query | string | A pagination token used with the limit parameter to manage pagination of results. On your first request, do not provided an after token. On subsequent requests, provide the after token from the previous response to continue from that place in the results. |
| sort |
|
|
query | string |
FQL formatted string containing the sort specification. A single sort field is allowed score, which can be sorted ascending or descending. (Defaults to desc, Example: score|asc or score|desc). |
| parameters |
|
|
query | dictionary | Full query string parameters payload in JSON format. |
from falconpy import ZeroTrustAssessment
# Do not hardcode API credentials!
falcon = ZeroTrustAssessment(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
response = falcon.get_assessments_by_score(filter="string",
limit=integer,
after="string",
sort="string"
)
print(response)from falconpy import ZeroTrustAssessment
# Do not hardcode API credentials!
falcon = ZeroTrustAssessment(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
response = falcon.getAssessmentsByScoreV1(filter="string",
limit=integer,
after="string",
sort="string"
)
print(response)from falconpy import APIHarnessV2
# Do not hardcode API credentials!
falcon = APIHarnessV2(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
response = falcon.command("getAssessmentsByScoreV1",
filter="string",
limit=integer,
after="string",
sort="string"
)
print(response)Back to Table of Contents
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
query_combined_assessments
| Method | Route |
|---|---|
/configuration-assessment/combined/assessments/v1 |
- Produces: application/json
| Name | Service | Uber | Type | Data type | Description |
|---|---|---|---|---|---|
| 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 | The number of items to return in this response (default: 100, max: 5000). Use with the after parameter to manage pagination of results. |
| sort |
|
|
query | string | Sort assessment by their properties. Common sort options include: |
- created_timestamp|desc
- updated_timestamp|asc


Common filter options include:
- created_timestamp:>'2019-11-25T22:36:12Z'
- updated_timestamp:>'2019-11-25T22:36:12Z'
- aid:'8e7656b27d8c49a34a1af416424d6231'


- host
- finding.rule


from falconpy import ZeroTrustAssessment
# Do not hardcode API credentials!
falcon = ZeroTrustAssessment(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
response = falcon.query_combined_assessments(after="string",
limit=integer,
sort="string",
filter="string",
facet=["string"]
)
print(response)from falconpy import ZeroTrustAssessment
# Do not hardcode API credentials!
falcon = ZeroTrustAssessment(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
response = falcon.getCombinedAssessmentsQuery(after="string",
limit=integer,
sort="string",
filter="string",
facet=["string"]
)
print(response)from falconpy import APIHarnessV2
# Do not hardcode API credentials!
falcon = APIHarnessV2(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
response = falcon.command("getCombinedAssessmentsQuery",
after="string",
limit=integer,
sort="string",
filter="string",
facet=["string"]
)
print(response)Back to Table of Contents

- Home
- Discussions Board
- Glossary of Terms
- Installation, Upgrades and Removal
- Samples Collection
- Using FalconPy
- API Operations
-
Service Collections
- Admission Control Policies
- Alerts
- API Integrations
- ASPM
- CAO Hunting
- Case Management
- Certificate Based Exclusions
- Cloud AWS Registration
- Cloud Azure Registration
- Cloud GCP Registration
- Cloud OCI Registration
- Cloud Policies
- Cloud Connect AWS (deprecated)
- Cloud Security Assets
- Cloud Security
- Cloud Security Compliance
- Cloud Security Detections
- Cloud Snapshots
- Configuration Assessment
- Configuration Assessment Evaluation Logic
- Container Alerts
- Container Detections
- Container Image Compliance
- Container Images
- Container Packages
- Container Vulnerabilities
- Content Update Policies
- Correlation Rules
- Correlation Rules Admin
- CSPM Registration
- Custom IOAs
- Custom Storage
- D4C Registration (deprecated)
- Data Protection Configuration
- DataScanner (deprecated)
- Delivery Settings
- Deployments
- Detects (deprecated)
- Device Content
- Device Control Policies
- Discover
- Downloads
- Drift Indicators
- Event Streams
- Exposure Management
- FaaS Execution
- Falcon Complete Dashboard
- Falcon Container
- Falcon Intelligence Sandbox
- FDR
- FileVantage
- Firewall Management
- Firewall Policies
- Foundry LogScale
- Host Group
- Host Migration
- Hosts
- Identity Protection
- Image Assessment Policies
- Incidents
- Installation Tokens
- Intel
- Intelligence Feeds
- Intelligence Indicator Graph
- IOA Exclusions
- IOC
- IOCs (deprecated)
- IT Automation
- Kubernetes Container Compliance
- Kubernetes Protection
- MalQuery
- Message Center
- ML Exclusions
- Mobile Enrollment
- MSSP (Flight Control)
- NGSIEM
- OAuth2
- ODS (On Demand Scan)
- Prevention Policy
- Quarantine
- Quick Scan
- Quick Scan Pro
- Real Time Response
- Real Time Response Admin
- Real Time Response Audit
- Recon
- Report Executions
- Response Policies
- Sample Uploads
- SaaS Security
- Scheduled Reports
- Sensor Download
- Sensor Update Policy
- Sensor Usage
- Sensor Visibility Exclusions
- Serverless Exports
- Serverless Vulnerabilities
- Spotlight Evaluation Logic
- Spotlight Vulnerabilities
- Spotlight Vulnerability Metadata
- Tailored Intelligence
- ThreatGraph
- Unidentified Containers
- User Management
- Workflows
- Zero Trust Assessment
- Documentation Support
-
CrowdStrike SDKs
- Crimson Falcon - Ruby
- FalconPy - Python 3
- FalconJS - Javascript
- goFalcon - Go
- PSFalcon - Powershell
- Rusty Falcon - Rust
