Skip to content

Container Security

The Container Alerts service collection provides operations for searching and reading container alert data using Falcon Query Language (FQL) filters.

The Container Detections service collection provides operations for querying and aggregating container security detections. Retrieve runtime detections, aggregate counts by severity and type, and search detection entities using FQL filters.

The Container Image Compliance service collection provides operations for aggregating compliance assessment data across clusters, images, and rules. This service collection has been renamed and is still available using the deprecated name. Legacy service collection name: Compliance Assessments.

The Container Images service collection provides operations for assessing and managing container images in your CrowdStrike Falcon environment. Retrieve assessment history, aggregate image counts by base OS, state, and vulnerability count, retrieve combined image details and export data, manage base images, and review issues and vulnerability summaries per image.

The Container Vulnerabilities service collection provides operations for aggregating and retrieving container vulnerability data. Query vulnerability counts grouped by various criteria, retrieve detailed vulnerability information for images, and get combined vulnerability data filtered by FQL expressions.

The Drift Indicators service collection provides operations for monitoring and investigating container drift activity. Retrieve drift indicator counts by date, query total counts over time, search and read drift indicator entities by criteria, fetch entities by ID, and query for matching indicator IDs.

The Image Assessment Policies service collection provides operations for managing container image assessment policies, exclusions, and policy groups. Create, update, delete, and retrieve policies and policy groups, manage exclusion conditions, and set policy precedence order.

LanguageLast Update
Pythonv1.6.7
PowerShellv2.2.9
Gov0.25.0
TypeScriptv0.9.0
Rustv0.7.1
Rubyv1.6.0

OperationDescription
AggregateImageAssessmentHistory
aggregate_assessment_history
Image assessment history
AggregateImageCount
aggregate_count
Aggregate count of images
AggregateImageCountByBaseOS
aggregate_count_by_base_os
Aggregate count of images grouped by Base OS distribution
AggregateImageCountByState
aggregate_count_by_state
Aggregate count of images grouped by state
CombinedBaseImages
get_combined_base_images
Retrieves a list of base images for the provided filter.
CombinedImageByVulnerabilityCount
get_combined_images_by_vulnerability_count
Retrieve top x images with the most vulnerabilities
CombinedImageDetail
get_combined_detail
Retrieve image entities identified by the provided filter criteria
CombinedImageIssuesSummary
get_combined_issues_summary
Retrieve image issues summary such as Image detections, Runtime detections, Policies, vulnerabilities
CombinedImageVulnerabilitySummary
get_combined_vulnerabilities_summary
aggregates information about vulnerabilities for an image
CreateBaseImagesEntities
create_base_images
Creates base images using the provided details
CreatePolicies
create_policies
Create Image Assessment policies
CreatePolicyGroups
create_policy_groups
Create Image Assessment Policy Group entities
DeleteBaseImages
delete_base_images
Delete base images by base image uuid
DeletePolicy
delete_policy
Delete Image Assessment Policy by policy UUID
DeletePolicyGroup
delete_policy_group
Delete Image Assessment Policy Group entities
extAggregateClusterAssessments
aggregate_cluster_assessments
get the assessments for each cluster
extAggregateFailedContainersByRulesPath
aggregate_failed_containers_by_rules
get the containers grouped into rules on which they failed
extAggregateFailedContainersCountBySeverity
aggregate_failed_containers_count_by_severity
get the failed containers count grouped into severity levels
extAggregateFailedImagesByRulesPath
aggregate_failed_images_by_rules
get the images grouped into rules on which they failed
extAggregateFailedImagesCountBySeverity
aggregate_failed_images_count_by_severity
get the failed images count grouped into severity levels
extAggregateFailedRulesByClusters
aggregate_failed_rules_by_clusters
get the failed rules for each cluster grouped into severity levels
extAggregateFailedRulesByImages
aggregate_failed_rules_by_image
get images with failed rules, rule count grouped by severity for each image
extAggregateFailedRulesCountBySeverity
aggregate_failed_rules_count_by_severity
get the failed rules count grouped into severity levels
extAggregateImageAssessments
aggregate_image_assessments
get the assessments for each image
extAggregateRulesAssessments
aggregate_rules_assessments
get the assessments for each rule
extAggregateRulesByStatus
aggregate_rules_by_status
get the rules grouped by their statuses
GetCombinedImages
get_combined_images
Get image assessment results by providing an FQL filter and paging details
GetDriftIndicatorsValuesByDate
get_drift_indicators_by_date
Returns the count of Drift Indicators by the date. by default it’s for 7 days.
GetRuntimeDetectionsCombinedV2
search_runtime_detections
Retrieve container runtime detections by the provided search criteria
ReadCombinedDetections
read_combined_detections
Retrieve image assessment detections identified by the provided filter criteria
ReadCombinedImagesExport
read_combined_export
Retrieves a paginated list of images, with an option to expand aggregated vulnerabilities/detections.
ReadCombinedVulnerabilities
read_combined_vulnerabilities
Retrieves a paginated list of vulnerabilities filtered by the provided FQL.
ReadCombinedVulnerabilitiesDetails
read_combined_vulnerability_detail
Retrieve vulnerability details related to an image
ReadCombinedVulnerabilitiesInfo
read_combined_vulnerabilities_info
Retrieve vulnerability and package related info for this customer
ReadContainerAlertsCount
read_counts
Search Container Alerts by the provided search criteria
ReadContainerAlertsCountBySeverity
read_counts_by_severity
Get Container Alerts counts by severity
ReadDetections
read_detections
Retrieve image assessment detection entities identified by the provided filter criteria
ReadDetectionsCount
read_detections_count
Aggregate count of detections
ReadDetectionsCountBySeverity
read_detection_counts_by_severity
Aggregate counts of detections by severity
ReadDetectionsCountByType
read_detections_count_by_type
Aggregate counts of detections by detection type
ReadDriftIndicatorEntities
read_drift_indicator_entities
Retrieve Drift Indicator entities identified by the provided IDs
ReadDriftIndicatorsCount
read_drift_indicator_counts
Returns the total count of Drift indicators over a time period
ReadPolicies
read_policies
Get all Image Assessment policies
ReadPolicyExclusions
read_policy_exclusions
Retrieve Image Assessment Policy Exclusion entities
ReadPolicyGroups
read_policy_groups
Retrieve Image Assessment Policy Group entities
ReadVulnerabilitiesByImageCount
read_vulnerabilities_by_count
Retrieve top x vulnerabilities with the most impacted images
ReadVulnerabilitiesPublicationDate
read_vulnerabilities_by_pub_date
Retrieve top x vulnerabilities with the most recent publication date
ReadVulnerabilityCount
read_vulnerability_count
Aggregate count of vulnerabilities
ReadVulnerabilityCountByActivelyExploited
read_vulnerability_counts_by_active_exploited
Aggregate count of vulnerabilities grouped by actively exploited
ReadVulnerabilityCountByCPSRating
read_vulnerability_counts_by_cps_rating
Aggregate count of vulnerabilities grouped by csp_rating
ReadVulnerabilityCountByCVSSScore
read_vulnerability_counts_by_cvss_score
Aggregate count of vulnerabilities grouped by CVSS score
ReadVulnerabilityCountBySeverity
read_vulnerability_counts_by_severity
Aggregate count of vulnerabilities grouped by severity
SearchAndReadContainerAlerts
search_and_read
Search Container Alerts by the provided search criteria
SearchAndReadDriftIndicatorEntities
search_and_read_drift_indicators
Retrieve Drift Indicators by the provided search criteria
SearchDetections
search_detections
Retrieve image assessment detection entities identified by the provided filter criteria
SearchDriftIndicators
search_drift_indicators
Retrieve all drift indicators that match the given query
UpdatePolicies
update_policies
Update Image Assessment Policy entities
UpdatePolicyExclusions
update_policy_exclusions
Update Image Assessment Policy Exclusion entities
UpdatePolicyGroups
update_policy_groups
Update Image Assessment Policy Group entities
UpdatePolicyPrecedence
update_policy_precedence
Update Image Assessment Policy precedence

Image assessment history

Method GET
Route /container-security/aggregates/images/assessment-history/v1
Scope Falcon Container Image: READ
PEP 8 aggregate_assessment_history
filter query · string
Filter using a query in Falcon Query Language (FQL). Supported filter fields:
Available values (3)
cidregistryrepository
parameters query · dictionary
Full query string parameters payload in JSON format. Not required when using other keywords.
from falconpy import ContainerSecurity
falcon = ContainerSecurity(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
response = falcon.aggregate_assessment_history(filter="string")
print(response)
[
{
"buckets": [],
"name": "string"
}
]


Aggregate count of images

Method GET
Route /container-security/aggregates/images/count/v1
Scope Falcon Container Image: READ
PEP 8 aggregate_count
filter query · string
Filter images using a query in Falcon Query Language (FQL). Supported filter fields:
Available values (28)
ai_relatedai_vulnerability_countarchitecture
base_oscidcontainer_id
container_running_statuscps_ratingcrowdstrike_user
cve_iddetection_countdetection_name
detection_severityfirst_seenimage_digest
image_idinclude_base_image_vulnindex_digest
kev_vulnerability_countlayer_digestmulti_arch
package_name_versionregistryrepository
sourcetagvulnerability_count
vulnerability_severity
parameters query · dictionary
Full query string parameters payload in JSON format. Not required when using other keywords.
from falconpy import ContainerSecurity
falcon = ContainerSecurity(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
response = falcon.aggregate_count(filter="string")
print(response)
[
{
"count": 0
}
]


Aggregate count of images grouped by Base OS distribution

Method GET
Route /container-security/aggregates/images/count-by-os-distribution/v1
Scope Falcon Container Image: READ
PEP 8 aggregate_count_by_base_os
filter query · string
Filter images using a query in Falcon Query Language (FQL). Supported filter fields:
Available values (12)
architecturebase_oscid
first_seenimage_digestimage_id
index_digestmulti_archregistry
repositorysourcetag
parameters query · dictionary
Full query string parameters payload in JSON format. Not required when using other keywords.
from falconpy import ContainerSecurity
falcon = ContainerSecurity(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
response = falcon.aggregate_count_by_base_os(filter="string")
print(response)
[
{
"buckets": [],
"name": "string"
}
]


Aggregate count of images grouped by state

Method GET
Route /container-security/aggregates/images/count-by-state/v1
Scope Falcon Container Image: READ
PEP 8 aggregate_count_by_state
filter query · string
Filter images using a query in Falcon Query Language (FQL). Supported filter fields:
Available values (12)
architecturebase_oscid
first_seenimage_digestimage_id
index_digestmulti_archregistry
repositorysourcetag
parameters query · dictionary
Full query string parameters payload in JSON format. Not required when using other keywords.
from falconpy import ContainerSecurity
falcon = ContainerSecurity(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
response = falcon.aggregate_count_by_state(filter="string")
print(response)
[
{
"buckets": [],
"name": "string"
}
]


Retrieves a list of base images for the provided filter.

Method GET
Route /container-security/combined/base-images/v1
Scope Falcon Container Image: READ
PEP 8 get_combined_base_images
filter query · string
Search base images using a query in Falcon Query Language (FQL). Supported filter fields:
Available values (5)
image_digestimage_idregistry
repositorytag
parameters query · dictionary
Full query string parameters payload in JSON format. Not required when using other keywords.
from falconpy import ContainerSecurity
falcon = ContainerSecurity(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
response = falcon.get_combined_base_images(filter="string")
print(response)
{}


Retrieve top x images with the most vulnerabilities

Method GET
Route /container-security/combined/images/by-vulnerability-count/v1
Scope Falcon Container Image: READ
PEP 8 get_combined_images_by_vulnerability_count
filter query · string
Filter images using a query in Falcon Query Language (FQL). Supported filter fields:
Available values (12)
architecturebase_oscid
first_seenimage_digestimage_id
index_digestmulti_archregistry
repositorysourcetag
limit query · integer
The upper-bound on the number of records to retrieve.
offset query · integer
The fields to sort the records on. **Not supported.**
parameters query · dictionary
Full query string parameters payload in JSON format. Not required when using other keywords.
from falconpy import ContainerSecurity
falcon = ContainerSecurity(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
response = falcon.get_combined_images_by_vulnerability_count(filter="string",
limit=integer,
offset=integer)
print(response)
[
{
"image_id": "string",
"registry": "string",
"repository": "string",
"tag": "string",
"vulnerability_count": 0
}
]


Retrieve image entities identified by the provided filter criteria

Method GET
Route /container-security/combined/images/detail/v1
Scope Falcon Container Image: READ
PEP 8 get_combined_detail
filter query · string
Filter images using a query in Falcon Query Language (FQL). Supported filter fields:
Available values (12)
architecturebase_oscid
first_seenimage_digestimage_id
index_digestmulti_archregistry
repositorysourcetag
with_config query · boolean
(true/false) include image config, default is false
sort query · string
The fields to sort the records on.
limit query · integer
The upper-bound on the number of records to retrieve. Maximum limit: 100.
offset query · integer
The offset from where to begin. Maximum offset = 10000 - limit.
parameters query · dictionary
Full query string parameters payload in JSON format. Not required when using other keywords.
from falconpy import ContainerSecurity
falcon = ContainerSecurity(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
response = falcon.get_combined_detail(filter="string",
with_config=boolean,
limit=integer,
offset=integer,
sort="string")
print(response)
[
{
"ai_related": false,
"base_image_id": "string",
"base_os": "string",
"base_os_version": "string",
"cid": "string",
"config": {},
"created_at": "string",
"crowdstrike_user": "string",
"digest": "string",
"eol_date": "string",
"first_scanned": "string",
"image_id": "string",
"image_scanning_active": false,
"image_size": 0,
"index_digest": "string",
"is_base_image": false,
"multi_arch": false,
"registry": "string",
"repository": "string",
"source": "string",
"source_base_image": {},
"tag": "string",
"updated_at": "string",
"uuid": "string",
"warning": 0
}
]


Retrieve image issues summary such as Image detections, Runtime detections, Policies, vulnerabilities

Method GET
Route /container-security/combined/images/issues-summary/v1
Scope Falcon Container Image: READ
PEP 8 get_combined_issues_summary
cid query · string
CS Customer ID
registry query · string
Registry
repository query · string
Repository name
tag query · string
Tag name
image_digest query · string
Digest ID
include_base_image_vuln query · boolean
Include base image vulnerabilities.
parameters query · dictionary
Full query string parameters payload in JSON format. Not required when using other keywords.
from falconpy import ContainerSecurity
falcon = ContainerSecurity(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
response = falcon.get_combined_issues_summary(cid="string",
image_digest="string",
registry="string",
repository="string",
tag="string",
include_base_image_vuln=boolean)
print(response)
[
{
"image_container_info": {},
"image_detections": [],
"is_dca_run": false,
"known_issues": 0,
"packages_info": {},
"policies_summary": [],
"runtime_detections": [],
"vulnerabilities_summary": [],
"zero_day_impacted": false
}
]


aggregates information about vulnerabilities for an image

Method GET
Route /container-security/combined/images/vulnerabilities-summary/v1
Scope Falcon Container Image: READ
PEP 8 get_combined_vulnerabilities_summary
cid query · string
CS Customer ID
registry query · string
Registry
repository query · string
Repository name
tag query · string
Tag name
image_digest query · string
Digest ID
include_base_image_vuln query · boolean
Include base image vulnerabilities.
parameters query · dictionary
Full query string parameters payload in JSON format. Not required when using other keywords.
from falconpy import ContainerSecurity
falcon = ContainerSecurity(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
response = falcon.get_combined_vulnerabilities_summary(cid="string",
image_digest="string",
registry="string",
repository="string",
tag="string",
include_base_image_vuln=boolean)
print(response)
[
{
"app_packages_with_vulnerabilities": 0,
"app_vuln_by_severity": [],
"image_vuln_by_severity": [],
"layers_with_vulnerabilities": 0,
"os_packages_with_vulnerabilities": 0,
"os_vuln_by_severity": [],
"total_app_packages": 0,
"total_os_packages": 0,
"total_vulnerabilities": 0
}
]


Creates base images using the provided details

Method POST
Route /container-security/entities/base-images/v1
Scope Falcon Container Image: WRITE
PEP 8 create_base_images
body body · dictionary
Full body payload as JSON formatted dictionary.
base_images body · array
image_digest body · string
Image digest.
image_id body · string
UUID for the image.
registry body · string
Image registry.
repository body · string
Image repository.
tag body · string
Image tag.
from falconpy import ContainerSecurity
falcon = ContainerSecurity(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
response = falcon.create_base_images(image_digest="string",
image_id="string",
registry="string",
repository="string",
tag="string")
print(response)
{}


Create Image Assessment policies

Method POST
Route /container-security/entities/image-assessment-policies/v1
Scope Falcon Container Image: WRITE
PEP 8 create_policies
body body · dictionary
Full body payload as JSON formatted dictionary.
description body · string
Policy description.
name body · string
Policy name.
from falconpy import ContainerSecurity
falcon = ContainerSecurity(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
response = falcon.create_policies(description="string", name="string")
print(response)
[
{
"created_at": "string",
"description": "string",
"is_enabled": false,
"name": "string",
"policy_data": {},
"policy_id": "string",
"precedence": 0,
"updated_at": "string"
}
]


Create Image Assessment Policy Group entities

Method POST
Route /container-security/entities/image-assessment-policy-groups/v1
Scope Falcon Container Image: WRITE
PEP 8 create_policy_groups
body body · dictionary
Full body payload as JSON formatted dictionary.
description body · string
Policy group description.
name body · string
Policy group name.
policy_group_data body · object
Policy group conditions.
policy_id body · string
Policy ID to update.
conditions body · string
List of policy conditions to apply. Dictionary or list of dictionaries. Overridden if policy_group_data is supplied.
from falconpy import ContainerSecurity
falcon = ContainerSecurity(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
policy_group_data = {
"conditions": [
{}
]
}
response = falcon.create_policy_groups(conditions="string",
description="string",
name="string",
policy_group_data=policy_group_data,
policy_id="string")
print(response)
[
{
"created_at": "string",
"description": "string",
"name": "string",
"policy_group_data": {},
"policy_uuid": "string",
"updated_at": "string",
"uuid": "string"
}
]


Delete base images by base image uuid

Method DELETE
Route /container-security/entities/base-images/v1
Scope Falcon Container Image: WRITE
PEP 8 delete_base_images
ids query · string or list of strings
BaseImageIDs
parameters query · dictionary
Full query string parameters payload in JSON format. Not required when using other keywords.
from falconpy import ContainerSecurity
falcon = ContainerSecurity(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
id_list = 'ID1,ID2,ID3' # Can also pass a list here: ['ID1', 'ID2', 'ID3']
response = falcon.delete_base_images(ids=id_list)
print(response)
{}


Delete Image Assessment Policy by policy UUID

Method DELETE
Route /container-security/entities/image-assessment-policies/v1
Scope Falcon Container Image: WRITE
PEP 8 delete_policy
id query · string
Image Assessment Policy entity UUID
parameters query · dictionary
Full query string parameters payload in JSON format. Not required when using other keywords.
from falconpy import ContainerSecurity
falcon = ContainerSecurity(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
response = falcon.delete_policy(id="string")
print(response)
{}


Delete Image Assessment Policy Group entities

Method DELETE
Route /container-security/entities/image-assessment-policy-groups/v1
Scope Falcon Container Image: WRITE
PEP 8 delete_policy_group
id query · string
Policy Image Group entity UUID
parameters query · dictionary
Full query string parameters payload in JSON format. Not required when using other keywords.
from falconpy import ContainerSecurity
falcon = ContainerSecurity(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
response = falcon.delete_policy_group(id="string")
print(response)
{}


get the assessments for each cluster

Method GET
Route /container-compliance/aggregates/compliance-by-clusters/v2
Scope Falcon Container Image: READ
PEP 8 aggregate_cluster_assessments
filter query · string
Filter results using a query in Falcon Query Language (FQL).
parameters query · dictionary
Full query string parameters payload in JSON format. Not required when using other keywords.
from falconpy import ContainerSecurity
falcon = ContainerSecurity(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
response = falcon.aggregate_cluster_assessments(filter="string")
print(response)
[
{
"cid": "string",
"cloud_account_id": "string",
"cloud_provider": "string",
"cloud_region": "string",
"cluster_name": "string",
"failed_critical_rules": 0,
"failed_high_rules": 0,
"failed_rules": 0,
"failed_rules_list": "string",
"non_compliant_containers": 0,
"non_compliant_images": 0,
"passed_rules": 0,
"percentage_of_compliant_assets": 0.0,
"total_containers": 0,
"total_images": 0
}
]


get the containers grouped into rules on which they failed

Method GET
Route /container-compliance/aggregates/failed-containers-by-rules/v2
Scope Falcon Container Image: READ
PEP 8 aggregate_failed_containers_by_rules
filter query · string
Filter results using a query in Falcon Query Language (FQL).
parameters query · dictionary
Full query string parameters payload in JSON format. Not required when using other keywords.
from falconpy import ContainerSecurity
falcon = ContainerSecurity(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
response = falcon.aggregate_failed_containers_by_rules(filter="string")
print(response)
[
{
"not_applicable_filters": "string",
"rules": []
}
]


extAggregateFailedContainersCountBySeverity

Section titled “extAggregateFailedContainersCountBySeverity”

get the failed containers count grouped into severity levels

Method GET
Route /container-compliance/aggregates/failed-containers-count-by-severity/v2
Scope Falcon Container Image: READ
PEP 8 aggregate_failed_containers_count_by_severity
filter query · string
Filter results using a query in Falcon Query Language (FQL).
parameters query · dictionary
Full query string parameters payload in JSON format. Not required when using other keywords.
from falconpy import ContainerSecurity
falcon = ContainerSecurity(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
response = falcon.aggregate_failed_containers_count_by_severity(filter="string")
print(response)
[
{
"1": 0,
"2": 0,
"3": 0,
"4": 0,
"not_applicable_filters": "string"
}
]


get the images grouped into rules on which they failed

Method GET
Route /container-compliance/aggregates/failed-images-by-rules/v2
Scope Falcon Container Image: READ
PEP 8 aggregate_failed_images_by_rules
filter query · string
Filter results using a query in Falcon Query Language (FQL).
parameters query · dictionary
Full query string parameters payload in JSON format. Not required when using other keywords.
from falconpy import ContainerSecurity
falcon = ContainerSecurity(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
response = falcon.aggregate_failed_images_by_rules(filter="string")
print(response)
[
{
"not_applicable_filters": "string",
"rules": []
}
]


get the failed images count grouped into severity levels

Method GET
Route /container-compliance/aggregates/failed-images-count-by-severity/v2
Scope Falcon Container Image: READ
PEP 8 aggregate_failed_images_count_by_severity
filter query · string
Filter results using a query in Falcon Query Language (FQL).
parameters query · dictionary
Full query string parameters payload in JSON format. Not required when using other keywords.
from falconpy import ContainerSecurity
falcon = ContainerSecurity(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
response = falcon.aggregate_failed_images_count_by_severity(filter="string")
print(response)
[
{
"1": 0,
"2": 0,
"3": 0,
"4": 0,
"not_applicable_filters": "string"
}
]


get the failed rules for each cluster grouped into severity levels

Method GET
Route /container-compliance/aggregates/failed-rules-by-clusters/v2
Scope Falcon Container Image: READ
PEP 8 aggregate_failed_rules_by_clusters
filter query · string
Filter results using a query in Falcon Query Language (FQL).
parameters query · dictionary
Full query string parameters payload in JSON format. Not required when using other keywords.
from falconpy import ContainerSecurity
falcon = ContainerSecurity(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
response = falcon.aggregate_failed_rules_by_clusters(filter="string")
print(response)
[
{
"1": 0,
"2": 0,
"3": 0,
"4": 0,
"cluster_id": "string",
"cluster_name": "string"
}
]


get images with failed rules, rule count grouped by severity for each image

Method GET
Route /container-compliance/aggregates/failed-rules-by-images/v2
Scope Falcon Container Image: READ
PEP 8 aggregate_failed_rules_by_image
filter query · string
Filter results using a query in Falcon Query Language (FQL).
parameters query · dictionary
Full query string parameters payload in JSON format. Not required when using other keywords.
from falconpy import ContainerSecurity
falcon = ContainerSecurity(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
response = falcon.aggregate_failed_rules_by_image(filter="string")
print(response)
[
{
"images": [],
"not_applicable_filters": "string"
}
]


get the failed rules count grouped into severity levels

Method GET
Route /container-compliance/aggregates/failed-rules-count-by-severity/v2
Scope Falcon Container Image: READ
PEP 8 aggregate_failed_rules_count_by_severity
filter query · string
Filter results using a query in Falcon Query Language (FQL).
parameters query · dictionary
Full query string parameters payload in JSON format. Not required when using other keywords.
from falconpy import ContainerSecurity
falcon = ContainerSecurity(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
response = falcon.aggregate_failed_rules_count_by_severity(filter="string")
print(response)
[
{
"1": 0,
"2": 0,
"3": 0,
"4": 0
}
]


get the assessments for each image

Method GET
Route /container-compliance/aggregates/compliance-by-images/v2
Scope Falcon Container Image: READ
PEP 8 aggregate_image_assessments
filter query · string
Filter results using a query in Falcon Query Language (FQL).
after query · string
’after’ value from the last response. Keep it empty for the first request.
limit query · string
number of images to return in the response after ‘after’ key. Keep it empty for the default number of 10000
parameters query · dictionary
Full query string parameters payload in JSON format. Not required when using other keywords.
from falconpy import ContainerSecurity
falcon = ContainerSecurity(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
response = falcon.aggregate_image_assessments(filter="string",
after="string",
limit="string")
print(response)
{
"after": {},
"results": []
}


get the assessments for each rule

Method GET
Route /container-compliance/aggregates/compliance-by-rules/v2
Scope Falcon Container Image: READ
PEP 8 aggregate_rules_assessments
filter query · string
Filter results using a query in Falcon Query Language (FQL).
parameters query · dictionary
Full query string parameters payload in JSON format. Not required when using other keywords.
from falconpy import ContainerSecurity
falcon = ContainerSecurity(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
response = falcon.aggregate_rules_assessments(filter="string")
print(response)
[
{
"asset_type": "string",
"authority": "string",
"clusters": 0,
"clusters_list": "string",
"failed_containers": 0,
"failed_images": 0,
"name": "string",
"passed_containers": 0,
"passed_images": 0,
"rule_id": "string",
"severity": 0.0,
"total_containers": 0,
"total_images": 0
}
]


get the rules grouped by their statuses

Method GET
Route /container-compliance/aggregates/rules-by-status/v2
Scope Falcon Container Image: READ
PEP 8 aggregate_rules_by_status
filter query · string
Filter results using a query in Falcon Query Language (FQL).
parameters query · dictionary
Full query string parameters payload in JSON format. Not required when using other keywords.
from falconpy import ContainerSecurity
falcon = ContainerSecurity(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
response = falcon.aggregate_rules_by_status(filter="string")
print(response)
[
{
"not_applicable_filters": "string",
"percentage_of_passed_rules": 0.0,
"rule_status_list": []
}
]


Get image assessment results by providing an FQL filter and paging details

Method GET
Route /container-security/combined/image-assessment/images/v1
Scope Falcon Container Image: READ
PEP 8 get_combined_images
filter query · string
Filter images using a query in Falcon Query Language (FQL). Supported filter fields:
Available values (16)
ai_relatedarchitecturecontainer_id
container_running_statuscve_iddetection_name
detection_severityfirst_seenimage_digest
image_idindex_digestmulti_arch
registryrepositorytag
vulnerability_severity
sort query · string
The fields to sort the records on. Supported columns:
Available values (12)
architecturefirst_seenhighest_detection_severity
highest_vulnerability_severityimage_digestimage_id
index_digestmulti_archregistry
repositorysourcetag
limit query · integer
The upper-bound on the number of records to retrieve. Maximum limit: 100.
offset query · integer
The offset from where to begin. Maximum offset = 10000 - limit.
parameters query · dictionary
Full query string parameters payload in JSON format. Not required when using other keywords.
from falconpy import ContainerSecurity
falcon = ContainerSecurity(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
response = falcon.get_combined_images(filter="string",
limit=integer,
offset=integer,
sort="string")
print(response)
[
{
"ai_related": false,
"architecture": "string",
"base_os": "string",
"cid": "string",
"containers": 0,
"detections": 0,
"first_seen": "string",
"highest_detection_severity": "string",
"highest_vulnerability_severity": "string",
"image_digest": "string",
"image_id": "string",
"index_digest": "string",
"last_seen": "string",
"layers_with_vulnerabilities": 0,
"multi_arch": false,
"packages": 0,
"registry": "string",
"report_url_by_id_and_digest": "string",
"report_url_by_repo_and_tag": "string",
"repository": "string",
"tag": "string",
"vulnerabilities": 0,
"warning": 0
}
]


Returns the count of Drift Indicators by the date. by default it’s for 7 days.

Method GET
Route /container-security/aggregates/drift-indicators/count-by-date/v1
Scope Falcon Container Image: READ
PEP 8 get_drift_indicators_by_date
filter query · string
Filter Drift Indicators using a query in Falcon Query Language (FQL). Supported filter fields:
Available values (16)
cidcloud_namecommand_line
container_idfile_namefile_sha256
host_idindicator_process_idnamespace
occurred_atparent_process_idpod_name
preventedscheduler_nameseverity
worker_node_name
limit query · integer
The upper-bound on the number of records to retrieve.
parameters query · dictionary
Full query string parameters payload in JSON format. Not required when using other keywords.
from falconpy import ContainerSecurity
falcon = ContainerSecurity(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
response = falcon.get_drift_indicators_by_date(filter="string", limit=integer)
print(response)
[
{
"buckets": [],
"name": "string"
}
]


Retrieve container runtime detections by the provided search criteria

Method GET
Route /container-security/combined/runtime-detections/v2
Scope Falcon Container Image: READ
PEP 8 search_runtime_detections
filter query · string
Filter Container Runtime Detections using a query in Falcon Query Language (FQL). Supported filter fields:
Available values (16)
agent_typeaidcid
cloud_namecloudcluster_name
computer_namecontainer_iddetect_timestamp
host_idhost_typeimage_id
namenamespacepod_name
severity
sort query · string
The fields to sort the records on. Supported fields:
Available values (6)
containers_impacteddetection_namedetection_severity
detection_typeimages_impactedlast_detected
limit query · integer
The upper-bound on the number of records to retrieve. Maximum limit: 100.
offset query · integer
The offset from where to begin. Maximum offset = 10000 - limit.
parameters query · dictionary
Full query string parameters payload in JSON format. Not required when using other keywords.
from falconpy import ContainerSecurity
falcon = ContainerSecurity(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
response = falcon.search_runtime_detections(filter="string",
limit=integer,
offset=integer,
sort="string")
print(response)
[
{
"action_taken": "string",
"agent_type": "string",
"aid": "string",
"assigned_to": "string",
"cid": "string",
"cloud": "string",
"cloud_account_id": "string",
"cloud_id": "string",
"cloud_instance_id": "string",
"cloud_name": "string",
"cluster_name": "string",
"command_line": "string",
"computer_name": "string",
"container_devices": [],
"container_id": "string",
"container_interactive_mode": "string",
"container_name": "string",
"container_network_ip_address": "string",
"container_privileged": "string",
"container_read_only_root_fs": "string",
"container_user_info": "string",
"containers_impacted_count": "string",
"detect_timestamp": "string",
"detection_description": "string",
"detection_id": "string",
"detection_name": [],
"executable_sha_256": "string",
"file_name": "string",
"file_path": "string",
"host_containers_count": "string",
"host_detections_count": "string",
"host_detections_ids": [],
"host_id": "string",
"host_last_seen_timestamp": "string",
"host_type": "string",
"image_digest": "string",
"image_first_seen_timestamp": "string",
"image_id": "string",
"image_label": "string",
"image_last_seen_timestamp": "string",
"image_maintainer": "string",
"image_name": "string",
"images_container_count": "string",
"namespace": "string",
"network_ip_address": "string",
"os_version": "string",
"pod_id": "string",
"pod_name": "string",
"pod_namespace": "string",
"sensor_version": "string",
"severity": "string",
"tactic_and_technique": "string",
"type": "string",
"vulnerabilities_count": "string"
}
]


Retrieve image assessment detections identified by the provided filter criteria

Method GET
Route /container-security/combined/detections/v1
Scope Falcon Container Image: READ
PEP 8 read_combined_detections
filter query · string
Filter images detections using a query in Falcon Query Language (FQL). Supported filter fields:
Available values (7)
ciddetection_typeimage_digest
image_registryimage_repositoryimage_tag
severity
sort query · string
The fields to sort the records on. Supported columns:
Available values (6)
containers_impacteddetection_namedetection_severity
detection_typeimages_impactedlast_detected
limit query · integer
The upper-bound on the number of records to retrieve. Maximum limit: 100.
offset query · integer
The offset from where to begin. Maximum offset = 10000 - limit.
parameters query · dictionary
Full query string parameters payload in JSON format. Not required when using other keywords.
from falconpy import ContainerSecurity
falcon = ContainerSecurity(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
response = falcon.read_combined_detections(filter="string",
limit=integer,
offset=integer,
sort="string")
print(response)
[
{
"cid": "string",
"containers_impacted": 0,
"description": "string",
"details": [],
"detection_id": "string",
"detection_name": "string",
"detection_severity": "string",
"detection_type": "string",
"images_impacted": 0,
"last_detected": "string",
"remediation": "string",
"title": "string"
}
]


Retrieves a paginated list of images, with an option to expand aggregated vulnerabilities/detections.

Method GET
Route /container-security/combined/images/export/v1
Scope Falcon Container Image: READ
PEP 8 read_combined_export
filter query · string
Filter images using a query in Falcon Query Language (FQL). Supported filter fields:
Available values (28)
ai_relatedai_vulnerability_countarchitecture
base_oscidcontainer_id
container_running_statuscps_ratingcrowdstrike_user
cve_iddetection_countdetection_name
detection_severityfirst_seenimage_digest
image_idinclude_base_image_vulnindex_digest
kev_vulnerability_countlayer_digestmulti_arch
package_name_versionregistryrepository
sourcetagvulnerability_count
vulnerability_severity
expand_vulnerabilities query · boolean
Expand vulnerabilities details
expand_detections query · boolean
Expand detections details
limit query · integer
The upper-bound on the number of records to retrieve. Maximum limit: 100.
offset query · integer
The offset from where to begin. Maximum offset = 10000 - limit.
sort query · string
The fields to sort the records on. Supported columns:
Available values (23)
ai_vulnerabilitiesarchitecturebase_os
ciddetectionsfirstScanned
first_seenhighest_cps_current_ratinghighest_detection_severity
highest_vulnerability_severityimage_digestimage_id
index_digestkev_vulnerabilitieslast_seen
layers_with_vulnerabilitiesmulti_archpackages
registryrepositorysource
tagvulnerabilities
parameters query · dictionary
Full query string parameters payload in JSON format. Not required when using other keywords.
from falconpy import ContainerSecurity
falcon = ContainerSecurity(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
response = falcon.read_combined_export(filter="string",
expand_vulnerabilities=boolean,
expand_detections=boolean,
limit=integer,
offset=integer,
sort="string")
print(response)
[
{
"ai_related": false,
"architecture": "string",
"base_os": "string",
"business_impact": [],
"business_unit": [],
"cid": "string",
"cloud_groups_v2": [],
"cve_exploited_status": 0,
"cve_first_seen": "string",
"cve_id": "string",
"cve_publication_date": "string",
"cvss_score": "string",
"detection_name": "string",
"detection_severity": "string",
"detection_type": "string",
"environment": [],
"first_seen": "string",
"groups": [],
"has_cisa_kev": false,
"image_build_date": "string",
"image_digest": "string",
"image_id": "string",
"index_digest": "string",
"is_base_image": false,
"last_seen": "string",
"package_name_version": "string",
"packages_impacted": 0,
"registry": "string",
"repository": "string",
"source": "string",
"started_containers": 0,
"stopped_containers": 0,
"tag": "string",
"vulnerability_cps_rating": "string",
"vulnerability_description": "string",
"vulnerability_severity": "string"
}
]


Retrieves a paginated list of vulnerabilities filtered by the provided FQL.

Method GET
Route /container-security/combined/vulnerabilities/v1
Scope Falcon Container Image: READ
PEP 8 read_combined_vulnerabilities
filter query · string
Filter vulnerabilities using a query in Falcon Query Language (FQL). Supported filter fields:
Available values (26)
ai_relatedbase_oscid
cisa_kev_date_addedcisa_kev_date_duecontainer_id
container_running_statuscontainers_impacted_rangecps_rating
cve_idcvss_scoredescription
exploited_status_nameexploited_statusfix_status
image_digestimage_idimages_impacted_range
include_base_image_vulnindex_digestis_on_cisa_kev
package_name_versionregistryrepository
severitytag
limit query · integer
The upper-bound on the number of records to retrieve. Maximum limit: 100.
offset query · integer
The offset from where to begin. Maximum offset = 10000 - limit.
sort query · string
The fields to sort the records on. Supported columns:
Available values (10)
cisa_kev_date_addedcisa_kev_date_duecps_current_rating
cve_idcvss_scoredescription
images_impactedis_on_cisa_kevpackages_impacted
severity
parameters query · dictionary
Full query string parameters payload in JSON format. Not required when using other keywords.
from falconpy import ContainerSecurity
falcon = ContainerSecurity(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
response = falcon.read_combined_vulnerabilities(filter="string",
limit=integer,
offset=integer,
sort="string")
print(response)
[
{
"ai_related": false,
"cisa_kev_date_added": "string",
"cisa_kev_date_due": "string",
"containers_impacted": 0,
"cps_current_rating": "string",
"cve_id": "string",
"cvss_score": 0.0,
"description": "string",
"exploit_found": false,
"exploited_status": 0,
"exploited_status_string": "string",
"images_impacted": 0,
"is_on_cisa_kev": false,
"packages_impacted": 0,
"published_date": "string",
"remediation_available": false,
"severity": "string"
}
]


Retrieve vulnerability details related to an image

Method GET
Route /container-security/combined/vulnerabilities/details/v1
Scope Falcon Container Image: READ
PEP 8 read_combined_vulnerability_detail
id query · string
Image UUID
filter query · string
Filter the vulnerabilities using a query in Falcon Query Language (FQL). Supported vulnerability filter fields:
Available values (10)
cidcps_ratingcve_id
cvss_scoreexploited_status_nameexploited_status
include_base_image_vulnis_zero_dayremediation_available
severity
limit query · integer
The upper-bound on the number of records to retrieve. Maximum limit: 5000.
offset query · integer
The offset from where to begin. Maximum offset = 10000 - limit.
parameters query · dictionary
Full query string parameters payload in JSON format. Not required when using other keywords.
from falconpy import ContainerSecurity
falcon = ContainerSecurity(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
response = falcon.read_combined_vulnerability_detail(id="string",
filter="string",
limit=integer,
offset=integer)
print(response)
[
{
"cps_current_rating": "string",
"cve_id": "string",
"cvss_score": "string",
"exploited_status": 0,
"layer_command": "string",
"layer_index": 0,
"package_name_version": "string",
"package_path": "string",
"remediation_available": false,
"severity": "string"
}
]


Retrieve vulnerability and package related info for this customer

Method GET
Route /container-security/combined/vulnerabilities/info/v1
Scope Falcon Container Image: READ
PEP 8 read_combined_vulnerabilities_info
cve_id query · string
Vulnerability CVE ID
limit query · integer
The upper-bound on the number of records to retrieve. Maximum limit: 100.
offset query · integer
The offset from where to begin. Maximum offset = 10000 - limit.
parameters query · dictionary
Full query string parameters payload in JSON format. Not required when using other keywords.
from falconpy import ContainerSecurity
falcon = ContainerSecurity(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
response = falcon.read_combined_vulnerabilities_info(cve_id="string",
limit=integer,
offset=integer)
print(response)
[
{
"cisa_kev_date_added": "string",
"cisa_kev_date_due": "string",
"cps_current_rating": "string",
"cve_id": "string",
"cvss_score": "string",
"description": "string",
"exploit_found": "string",
"exploited_status_string": "string",
"images_impacted": 0,
"is_on_cisa_kev": false,
"packages": [],
"published_date": "string",
"severity": "string",
"threat_actors": []
}
]


Search Container Alerts by the provided search criteria

Method GET
Route /container-security/aggregates/container-alerts/count/v1
Scope Falcon Container Image: READ
PEP 8 read_counts
filter query · string
Search Container Alerts using a query in Falcon Query Language (FQL). Supported filters:
Available values (2)
cidlast_seen
parameters query · dictionary
Full query string parameters payload in JSON format. Not required when using other keywords.
from falconpy import ContainerSecurity
falcon = ContainerSecurity(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
response = falcon.read_counts(filter="string")
print(response)
[
{
"count": 0,
"label": "string"
}
]


Get Container Alerts counts by severity

Method GET
Route /container-security/aggregates/container-alerts/count-by-severity/v1
Scope Falcon Container Image: READ
PEP 8 read_counts_by_severity
filter query · string
Search Container Alerts using a query in Falcon Query Language (FQL). Supported filter fields:
Available values (3)
cidcontainer_idlast_seen
parameters query · dictionary
Full query string parameters payload in JSON format. Not required when using other keywords.
from falconpy import ContainerSecurity
falcon = ContainerSecurity(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
response = falcon.read_counts_by_severity(filter="string")
print(response)
[
{
"count": 0,
"label": "string"
}
]


Retrieve image assessment detection entities identified by the provided filter criteria

Method GET
Route /container-security/entities/detections/v1
Scope Falcon Container Image: READ
PEP 8 read_detections
filter query · string
Filter images detections using a query in Falcon Query Language (FQL). Supported filter fields:
Available values (7)
ciddetection_typeimage_digest
image_registryimage_repositoryimage_tag
severity
limit query · integer
The upper-bound on the number of records to retrieve. Maximum limit: 100.
offset query · integer
The offset from where to begin. Maximum offset = 10000 - limit.
parameters query · dictionary
Full query string parameters payload in JSON format. Not required when using other keywords.
from falconpy import ContainerSecurity
falcon = ContainerSecurity(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
response = falcon.read_detections(filter="string",
limit=integer,
offset=integer)
print(response)
[
{
"description": "string",
"details": "string",
"detection_type": "string",
"id": "string",
"image_architecture": "string",
"image_created_at": "string",
"image_digest": "string",
"image_id": "string",
"image_registry": "string",
"image_repository": "string",
"image_size": "string",
"image_tag": "string",
"name": "string",
"os_name": "string",
"os_version": "string",
"remediation": "string",
"severity": "string",
"title": "string"
}
]


Aggregate count of detections

Method GET
Route /container-security/aggregates/detections/count/v1
Scope Falcon Container Image: READ
PEP 8 read_detections_count
filter query · string
Filter images detections using a query in Falcon Query Language (FQL). Supported filter fields:
Available values (7)
ciddetection_typeimage_digest
image_registryimage_repositoryimage_tag
severity
parameters query · dictionary
Full query string parameters payload in JSON format. Not required when using other keywords.
from falconpy import ContainerSecurity
falcon = ContainerSecurity(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
response = falcon.read_detections_count(filter="string")
print(response)
[
{
"count": 0
}
]


Aggregate counts of detections by severity

Method GET
Route /container-security/aggregates/detections/count-by-severity/v1
Scope Falcon Container Image: READ
PEP 8 read_detection_counts_by_severity
filter query · string
Filter images detections using a query in Falcon Query Language (FQL). Supported filter fields:
Available values (7)
ciddetection_typeimage_digest
image_registryimage_repositoryimage_tag
severity
parameters query · dictionary
Full query string parameters payload in JSON format. Not required when using other keywords.
from falconpy import ContainerSecurity
falcon = ContainerSecurity(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
response = falcon.read_detection_counts_by_severity(filter="string")
print(response)
[
{
"buckets": [],
"name": "string"
}
]


Aggregate counts of detections by detection type

Method GET
Route /container-security/aggregates/detections/count-by-type/v1
Scope Falcon Container Image: READ
PEP 8 read_detections_count_by_type
filter query · string
Filter images detections using a query in Falcon Query Language (FQL). Supported filter fields:
Available values (7)
ciddetection_typeimage_digest
image_registryimage_repositoryimage_tag
severity
parameters query · dictionary
Full query string parameters payload in JSON format. Not required when using other keywords.
from falconpy import ContainerSecurity
falcon = ContainerSecurity(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
response = falcon.read_detections_count_by_type(filter="string")
print(response)
[
{
"buckets": [],
"name": "string"
}
]


Retrieve Drift Indicator entities identified by the provided IDs

Method GET
Route /container-security/entities/drift-indicators/v1
Scope Falcon Container Image: READ
PEP 8 read_drift_indicator_entities
ids query · string or list of strings
Search Drift Indicators by ids - The maximum amount is 100 IDs
parameters query · dictionary
Full query string parameters payload in JSON format. Not required when using other keywords.
from falconpy import ContainerSecurity
falcon = ContainerSecurity(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
id_list = 'ID1,ID2,ID3' # Can also pass a list here: ['ID1', 'ID2', 'ID3']
response = falcon.read_drift_indicator_entities(ids=id_list)
print(response)
[
{
"agent_id": "string",
"aid": "string",
"cid": "string",
"cloud_name": "string",
"command_line": "string",
"computer_name": "string",
"container_id": "string",
"detection_description": "string",
"detection_id": "string",
"detection_name": "string",
"file_name": "string",
"host_id": "string",
"indicator_process_id": "string",
"namespace": "string",
"occurred_at": "string",
"parent_process_id": "string",
"pod_id": "string",
"pod_name": "string",
"prevented": false,
"prevention_status": [],
"prevention_status_string": "string",
"scheduler_name": "string",
"severity": "string",
"sha256": "string",
"timestamp": "string"
}
]


Returns the total count of Drift indicators over a time period

Method GET
Route /container-security/aggregates/drift-indicators/count/v1
Scope Falcon Container Image: READ
PEP 8 read_drift_indicator_counts
filter query · string
Filter Drift Indicators using a query in Falcon Query Language (FQL). Supported filter fields:
Available values (16)
cidcloud_namecommand_line
container_idfile_namefile_sha256
host_idindicator_process_idnamespace
occurred_atparent_process_idpod_name
preventedscheduler_nameseverity
worker_node_name
parameters query · dictionary
Full query string parameters payload in JSON format. Not required when using other keywords.
from falconpy import ContainerSecurity
falcon = ContainerSecurity(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
response = falcon.read_drift_indicator_counts(filter="string")
print(response)
[
{
"count": 0,
"label": "string"
}
]


Get all Image Assessment policies

Method GET
Route /container-security/entities/image-assessment-policies/v1
Scope Falcon Container Image: READ
PEP 8 read_policies
from falconpy import ContainerSecurity
falcon = ContainerSecurity(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
response = falcon.read_policies()
print(response)
[
{
"created_at": "string",
"description": "string",
"is_enabled": false,
"name": "string",
"policy_data": {},
"policy_id": "string",
"precedence": 0,
"updated_at": "string"
}
]


Retrieve Image Assessment Policy Exclusion entities

Method GET
Route /container-security/entities/image-assessment-policy-exclusions/v1
Scope Falcon Container Image: READ
PEP 8 read_policy_exclusions
from falconpy import ContainerSecurity
falcon = ContainerSecurity(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
response = falcon.read_policy_exclusions()
print(response)
[
{
"conditions": [],
"created_at": "string",
"description": "string",
"name": "string",
"policy_type_uuid": "string",
"updated_at": "string"
}
]


Retrieve Image Assessment Policy Group entities

Method GET
Route /container-security/entities/image-assessment-policy-groups/v1
Scope Falcon Container Image: READ
PEP 8 read_policy_groups
from falconpy import ContainerSecurity
falcon = ContainerSecurity(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
response = falcon.read_policy_groups()
print(response)
[
{
"created_at": "string",
"description": "string",
"name": "string",
"policy_group_data": {},
"policy_uuid": "string",
"updated_at": "string",
"uuid": "string"
}
]


Retrieve top x vulnerabilities with the most impacted images

Method GET
Route /container-security/combined/vulnerabilities/by-image-count/v1
Scope Falcon Container Image: READ
PEP 8 read_vulnerabilities_by_count
filter query · string
Filter vulnerabilities using a query in Falcon Query Language (FQL). Supported filter fields:
Available values (5)
cidcve_idregistry
repositorytag
limit query · integer
The upper-bound on the number of records to retrieve. Maximum limit: 100.
offset query · integer
The offset from where to begin. Maximum offset = 10000 - limit.
parameters query · dictionary
Full query string parameters payload in JSON format. Not required when using other keywords.
from falconpy import ContainerSecurity
falcon = ContainerSecurity(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
response = falcon.read_vulnerabilities_by_count(filter="string",
limit=integer,
offset=integer)
print(response)
[
{
"cve_id": "string",
"images_impacted": 0,
"product": [],
"severity": "string"
}
]


Retrieve top x vulnerabilities with the most recent publication date

Method GET
Route /container-security/combined/vulnerabilities/by-published-date/v1
Scope Falcon Container Image: READ
PEP 8 read_vulnerabilities_by_pub_date
filter query · string
Filter vulnerabilities using a query in Falcon Query Language (FQL). Supported filter fields:
Available values (5)
cidcve_idregistry
repositorytag
limit query · integer
The upper-bound on the number of records to retrieve. Maximum limit: 100.
offset query · integer
The offset from where to begin. Maximum offset = 10000 - limit.
parameters query · dictionary
Full query string parameters payload in JSON format. Not required when using other keywords.
from falconpy import ContainerSecurity
falcon = ContainerSecurity(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
response = falcon.read_vulnerabilities_by_pub_date(filter="string",
limit=integer,
offset=integer)
print(response)
[
{
"containers_impacted": 0,
"cve_id": "string",
"cvss_score": 0.0,
"images_impacted": 0,
"published_date": "string",
"severity": "string"
}
]


Aggregate count of vulnerabilities

Method GET
Route /container-security/aggregates/vulnerabilities/count/v1
Scope Falcon Container Image: READ
PEP 8 read_vulnerability_count
filter query · string
Filter vulnerabilities using a query in Falcon Query Language (FQL). Supported filter fields:
Available values (26)
ai_relatedbase_oscid
cisa_kev_date_addedcisa_kev_date_duecontainer_id
container_running_statuscontainers_impacted_rangecps_rating
cve_idcvss_scoredescription
exploited_status_nameexploited_statusfix_status
image_digestimage_idimages_impacted_range
include_base_image_vulnindex_digestis_on_cisa_kev
package_name_versionregistryrepository
severitytag
limit query · integer
The upper-bound on the number of records to retrieve. Maximum limit: 100.
offset query · integer
The offset from where to begin. Maximum offset = 10000 - limit.
parameters query · dictionary
Full query string parameters payload in JSON format. Not required when using other keywords.
from falconpy import ContainerSecurity
falcon = ContainerSecurity(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
response = falcon.read_vulnerability_count(filter="string",
limit=integer,
offset=integer)
print(response)
[
{
"count": 0
}
]


Aggregate count of vulnerabilities grouped by actively exploited

Method GET
Route /container-security/aggregates/vulnerabilities/count-by-actively-exploited/v1
Scope Falcon Container Image: READ
PEP 8 read_vulnerability_counts_by_active_exploited
filter query · string
Filter vulnerabilities using a query in Falcon Query Language (FQL). Supported filter fields:
Available values (26)
ai_relatedbase_oscid
cisa_kev_date_addedcisa_kev_date_duecontainer_id
container_running_statuscontainers_impacted_rangecps_rating
cve_idcvss_scoredescription
exploited_status_nameexploited_statusfix_status
image_digestimage_idimages_impacted_range
include_base_image_vulnindex_digestis_on_cisa_kev
package_name_versionregistryrepository
severitytag
limit query · integer
The upper-bound on the number of records to retrieve. Maximum limit: 100.
offset query · integer
The offset from where to begin. Maximum offset = 10000 - limit.
parameters query · dictionary
Full query string parameters payload in JSON format. Not required when using other keywords.
from falconpy import ContainerSecurity
falcon = ContainerSecurity(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
response = falcon.read_vulnerability_counts_by_active_exploited(filter="string",
limit=integer,
offset=integer)
print(response)
[
{
"count": 0
}
]


Aggregate count of vulnerabilities grouped by csp_rating

Method GET
Route /container-security/aggregates/vulnerabilities/count-by-cps-rating/v1
Scope Falcon Container Image: READ
PEP 8 read_vulnerability_counts_by_cps_rating
filter query · string
Filter vulnerabilities using a query in Falcon Query Language (FQL). Supported filter fields:
Available values (26)
ai_relatedbase_oscid
cisa_kev_date_addedcisa_kev_date_duecontainer_id
container_running_statuscontainers_impacted_rangecps_rating
cve_idcvss_scoredescription
exploited_status_nameexploited_statusfix_status
image_digestimage_idimages_impacted_range
include_base_image_vulnindex_digestis_on_cisa_kev
package_name_versionregistryrepository
severitytag
limit query · integer
The upper-bound on the number of records to retrieve. Maximum limit: 100.
offset query · integer
The offset from where to begin. Maximum offset = 10000 - limit.
parameters query · dictionary
Full query string parameters payload in JSON format. Not required when using other keywords.
from falconpy import ContainerSecurity
falcon = ContainerSecurity(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
response = falcon.read_vulnerability_counts_by_cps_rating(filter="string",
limit=integer,
offset=integer)
print(response)
[
{
"buckets": [],
"name": "string"
}
]


Aggregate count of vulnerabilities grouped by CVSS score

Method GET
Route /container-security/aggregates/vulnerabilities/count-by-cvss-score/v1
Scope Falcon Container Image: READ
PEP 8 read_vulnerability_counts_by_cvss_score
filter query · string
Filter vulnerabilities using a query in Falcon Query Language (FQL). Supported filter fields:
Available values (26)
ai_relatedbase_oscid
cisa_kev_date_addedcisa_kev_date_duecontainer_id
container_running_statuscontainers_impacted_rangecps_rating
cve_idcvss_scoredescription
exploited_status_nameexploited_statusfix_status
image_digestimage_idimages_impacted_range
include_base_image_vulnindex_digestis_on_cisa_kev
package_name_versionregistryrepository
severitytag
limit query · integer
The upper-bound on the number of records to retrieve. Maximum limit: 100.
offset query · integer
The offset from where to begin. Maximum offset = 10000 - limit.
parameters query · dictionary
Full query string parameters payload in JSON format. Not required when using other keywords.
from falconpy import ContainerSecurity
falcon = ContainerSecurity(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
response = falcon.read_vulnerability_counts_by_cvss_score(filter="string",
limit=integer,
offset=integer)
print(response)
[
{
"buckets": [],
"name": "string"
}
]


Aggregate count of vulnerabilities grouped by severity

Method GET
Route /container-security/aggregates/vulnerabilities/count-by-severity/v1
Scope Falcon Container Image: READ
PEP 8 read_vulnerability_counts_by_severity
filter query · string
Filter vulnerabilities using a query in Falcon Query Language (FQL). Supported filter fields:
Available values (26)
ai_relatedbase_oscid
cisa_kev_date_addedcisa_kev_date_duecontainer_id
container_running_statuscontainers_impacted_rangecps_rating
cve_idcvss_scoredescription
exploited_status_nameexploited_statusfix_status
image_digestimage_idimages_impacted_range
include_base_image_vulnindex_digestis_on_cisa_kev
package_name_versionregistryrepository
severitytag
limit query · integer
The upper-bound on the number of records to retrieve. Maximum limit: 100.
offset query · integer
The offset from where to begin. Maximum offset = 10000 - limit.
parameters query · dictionary
Full query string parameters payload in JSON format. Not required when using other keywords.
from falconpy import ContainerSecurity
falcon = ContainerSecurity(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
response = falcon.read_vulnerability_counts_by_severity(filter="string",
limit=integer,
offset=integer)
print(response)
[
{
"buckets": [],
"name": "string"
}
]


Search Container Alerts by the provided search criteria

Method GET
Route /container-security/combined/container-alerts/v1
Scope Falcon Container Image: READ
PEP 8 search_and_read
filter query · string
Search Container Alerts using a query in Falcon Query Language (FQL). Supported filter fields:
Available values (7)
cidcontainer_idcontext_image_filename
last_seennamesensor_type
severity
limit query · integer
The upper-bound on the number of records to retrieve. Maximum limit: 100.
offset query · integer
The offset from where to begin. Maximum offset = 10000 - limit.
sort query · string
The fields to sort the records on.
parameters query · dictionary
Full query string parameters payload in JSON format. Not required when using other keywords.
from falconpy import ContainerSecurity
falcon = ContainerSecurity(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
response = falcon.search_and_read(filter="string",
limit=integer,
offset=integer,
sort="string")
print(response)
[
{
"containers_impacted_count": "string",
"containers_impacted_ids": [],
"detection_description": "string",
"detection_event_simple_name": "string",
"detection_name": "string",
"first_seen_timestamp": "string",
"last_seen_timestamp": "string",
"severity": "string"
}
]


Retrieve Drift Indicators by the provided search criteria

Method GET
Route /container-security/combined/drift-indicators/v1
Scope Falcon Container Image: READ
PEP 8 search_and_read_drift_indicators
filter query · string
Filter Drift Indicators using a query in Falcon Query Language (FQL). Supported filter fields:
Available values (16)
cidcloud_namecommand_line
container_idfile_namefile_sha256
host_idindicator_process_idnamespace
occurred_atparent_process_idpod_name
preventedscheduler_nameseverity
worker_node_name
sort query · string
The fields to sort the records on.
limit query · integer
The upper-bound on the number of records to retrieve. Maximum limit: 100.
offset query · integer
The offset from where to begin. Maximum offset = 10000 - limit.
parameters query · dictionary
Full query string parameters payload in JSON format. Not required when using other keywords.
from falconpy import ContainerSecurity
falcon = ContainerSecurity(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
response = falcon.search_and_read_drift_indicators(filter="string",
limit=integer,
offset=integer,
sort="string")
print(response)
[
{
"agent_id": "string",
"aid": "string",
"cid": "string",
"cloud_name": "string",
"command_line": "string",
"computer_name": "string",
"container_id": "string",
"detection_description": "string",
"detection_id": "string",
"detection_name": "string",
"file_name": "string",
"host_id": "string",
"indicator_process_id": "string",
"namespace": "string",
"occurred_at": "string",
"parent_process_id": "string",
"pod_id": "string",
"pod_name": "string",
"prevented": false,
"prevention_status": [],
"prevention_status_string": "string",
"scheduler_name": "string",
"severity": "string",
"sha256": "string",
"timestamp": "string"
}
]


Retrieve image assessment detection entities identified by the provided filter criteria

Method GET
Route /container-security/queries/detections/v1
Scope Falcon Container Image: READ
PEP 8 search_detections
filter query · string
Filter images detections using a query in Falcon Query Language (FQL). Supported filter fields:
Available values (7)
ciddetection_typeimage_digest
image_registryimage_repositoryimage_tag
severity
limit query · integer
The upper-bound on the number of records to retrieve. Maximum limit: 100.
offset query · integer
The offset from where to begin. Maximum offset = 10000 - limit.
parameters query · dictionary
Full query string parameters payload in JSON format. Not required when using other keywords.
from falconpy import ContainerSecurity
falcon = ContainerSecurity(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
response = falcon.search_detections(filter="string",
limit=integer,
offset=integer)
print(response)
[
"string"
]


Retrieve all drift indicators that match the given query

Method GET
Route /container-security/queries/drift-indicators/v1
Scope Falcon Container Image: READ
PEP 8 search_drift_indicators
filter query · string
Filter Drift Indicators using a query in Falcon Query Language (FQL). Supported filter fields:
Available values (16)
cidcloud_namecommand_line
container_idfile_namefile_sha256
host_idindicator_process_idnamespace
occurred_atparent_process_idpod_name
preventedscheduler_nameseverity
worker_node_name
sort query · string
The fields to sort the records on.
limit query · integer
The upper-bound on the number of records to retrieve. Maximum limit: 100.
offset query · integer
The offset from where to begin. Maximum offset = 10000 - limit.
parameters query · dictionary
Full query string parameters payload in JSON format. Not required when using other keywords.
from falconpy import ContainerSecurity
falcon = ContainerSecurity(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
response = falcon.search_drift_indicators(filter="string",
limit=integer,
offset=integer,
sort="string")
print(response)
[
"string"
]


Update Image Assessment Policy entities

Method PATCH
Route /container-security/entities/image-assessment-policies/v1
Scope Falcon Container Image: WRITE
PEP 8 update_policies
body body · dictionary
Full body payload as JSON formatted dictionary.
description body · string
Policy description.
is_enabled body · boolean
Flag indicating if the policy is enabled.
name body · string
Policy name.
policy_data body · object
Policy detail in JSON format.
id query · string
Image Assessment Policy entity UUID
parameters query · dictionary
Full query string parameters payload in JSON format. Not required when using other keywords.
rules body · string
List of rules for the policy. List of dictionaries or a single dictionary. Overridden if policy_data is supplied.
from falconpy import ContainerSecurity
falcon = ContainerSecurity(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
policy_data = {
"rules": [
{
"action": "string",
"policy_rules_data": {
"conditions": [
{}
]
}
}
]
}
response = falcon.update_policies(id="string",
description="string",
is_enabled=boolean,
name="string",
policy_data=policy_data,
rules="string")
print(response)
[
{
"created_at": "string",
"description": "string",
"is_enabled": false,
"name": "string",
"policy_data": {},
"policy_id": "string",
"precedence": 0,
"updated_at": "string"
}
]


Update Image Assessment Policy Exclusion entities

Method POST
Route /container-security/entities/image-assessment-policy-exclusions/v1
Scope Falcon Container Image: WRITE
PEP 8 update_policy_exclusions
body body · dictionary
Full body payload as JSON formatted dictionary.
conditions body · array
List of conditions to apply to the exclusion policy.
description body · string
Condition description. Ignored if conditions list is provided.
prop body · string
Condition property. Ignored if conditions list is provided.
ttl body · integer
Condition time to live. Ignored if conditions list is provided.
value body · list of strings
Condition values. Ignored if conditions list is provided.
from falconpy import ContainerSecurity
falcon = ContainerSecurity(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
conditions = [
{
"description": "string",
"prop": "string",
"ttl": 0,
"value": [
"string"
]
}
]
response = falcon.update_policy_exclusions(conditions=conditions,
description="string",
prop="string",
ttl=integer,
value=["string"])
print(response)
[
{
"conditions": [],
"created_at": "string",
"description": "string",
"name": "string",
"policy_type_uuid": "string",
"updated_at": "string"
}
]


Update Image Assessment Policy Group entities

Method PATCH
Route /container-security/entities/image-assessment-policy-groups/v1
Scope Falcon Container Image: WRITE
PEP 8 update_policy_groups
body body · dictionary
Full body payload as JSON formatted dictionary.
description body · string
Policy group description.
name body · string
Policy group name.
policy_group_data body · object
List of policy conditions.
id query · string
Policy Image Group entity UUID
parameters query · dictionary
Full query string parameters payload in JSON format. Not required when using other keywords.
conditions body · string
List of policy conditions to apply. Dictionary or list of dictionaries. Overridden if policy_group_data is supplied.
from falconpy import ContainerSecurity
falcon = ContainerSecurity(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
policy_group_data = {
"conditions": [
{}
]
}
response = falcon.update_policy_groups(conditions="string",
description="string",
id="string",
name="string",
policy_group_data=policy_group_data)
print(response)
[
{
"created_at": "string",
"description": "string",
"name": "string",
"policy_group_data": {},
"policy_uuid": "string",
"updated_at": "string",
"uuid": "string"
}
]


Update Image Assessment Policy precedence

Method POST
Route /container-security/entities/image-assessment-policy-precedence/v1
Scope Falcon Container Image: WRITE
PEP 8 update_policy_precedence
body body · dictionary
Full body payload as JSON formatted dictionary.
precedence body · array
List of policy IDs in precedence order.
from falconpy import ContainerSecurity
falcon = ContainerSecurity(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
id_list = 'ID1,ID2,ID3' # Can also pass a list here: ['ID1', 'ID2', 'ID3']
response = falcon.update_policy_precedence(precedence=id_list)
print(response)
[
{
"created_at": "string",
"description": "string",
"is_enabled": false,
"name": "string",
"policy_data": {},
"policy_id": "string",
"precedence": 0,
"updated_at": "string"
}
]