-
Notifications
You must be signed in to change notification settings - Fork 162
Container Packages
| Operation ID | Description | ||||
|---|---|---|---|---|---|
|
Retrieves the N most frequently used packages across images. | ||||
|
Retrieve packages count affected by zero day vulnerabilities. | ||||
|
Retrieve top x app packages with the most fixable vulnerabilities. | ||||
|
Retrieve top x packages with the most vulnerabilities. | ||||
|
Retrieve packages identified by the provided filter criteria for the purpose of export. | ||||
|
Retrieve packages identified by the provided filter criteria. | ||||
|
Retrieve packages identified by the provided 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.
Retrieves the N most frequently used packages across images.
read_packages_by_image_count
| Method | Route |
|---|---|
/container-security/aggregates/packages/by-image-count/v1 |
- Produces: application/json
| Name | Service | Uber | Type | Data type | Description |
|---|---|---|---|---|---|
| filter | query | string | Filter packages using a query in Falcon Query Language (FQL). Supported filter fields: ai_related, cveid, running_images, severity, type, and vulnerability_count
|
||
| limit | query | integer | Maximum number of package results to return. Default value: 5 | ||
| parameters |
|
query | dictionary | Full query string parameters payload in JSON format. Not required if using other keywords. |
from falconpy import ContainerPackages
# Do not hardcode API credentials!
falcon = ContainerPackages(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
response = falcon.read_packages_by_image_count(filter="string", limit=integer)
print(response)from falconpy import ContainerPackages
# Do not hardcode API credentials!
falcon = ContainerPackages(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
response = falcon.ReadPackagesByImageCount(filter="string", limit=integer)
print(response)from falconpy import APIHarnessV2
# Do not hardcode API credentials!
falcon = APIHarnessV2(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
response = falcon.command("ReadPackagesByImageCount", filter="string", limit=integer)
print(response)Back to Table of Contents
Retrieve packages count affected by zero day vulnerabilities.
read_zero_day_counts
| Method | Route |
|---|---|
/container-security/aggregates/packages/count-by-zero-day/v1 |
- Produces: application/json
| Name | Service | Uber | Type | Data type | Description |
|---|---|---|---|---|---|
| filter |
|
|
query | string | Filter packages using a query in Falcon Query Language (FQL). Supported filters: cid |
| parameters |
|
query | dictionary | Full query string parameters payload in JSON format. Not required if using other keywords. |
from falconpy import ContainerPackages
# Do not hardcode API credentials!
falcon = ContainerPackages(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
response = falcon.read_zero_day_counts(filter="string")
print(response)from falconpy import ContainerPackages
# Do not hardcode API credentials!
falcon = ContainerPackages(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
response = falcon.ReadPackagesCountByZeroDay(filter="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("ReadPackagesCountByZeroDay", filter="string")
print(response)Back to Table of Contents
Retrieve top x app packages with the most fixable vulnerabilities.
read_fixable_vuln_count
| Method | Route |
|---|---|
/container-security/combined/packages/app-by-fixable-vulnerability-count/v1 |
- Produces: application/json
| Name | Service | Uber | Type | Data type | Description |
|---|---|---|---|---|---|
| filter |
|
|
query | string | Filter packages using a query in Falcon Query Language (FQL). Supported filters: cid,container_id,cveid,fix_status,image_digest,license,package_name_version,severity,type,vulnerability_count |
| limit |
|
|
query | integer | The upper-bound on the number of records to retrieve. |
| offset |
|
|
query | integer | The offset from where to begin. |
| parameters |
|
query | dictionary | Full query string parameters payload in JSON format. Not required if using other keywords. |
from falconpy import ContainerPackages
# Do not hardcode API credentials!
falcon = ContainerPackages(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
response = falcon.read_fixable_vuln_count(filter="string",
limit=integer,
offset=integer
)
print(response)from falconpy import ContainerPackages
# Do not hardcode API credentials!
falcon = ContainerPackages(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
response = falcon.ReadPackagesByFixableVulnCount(filter="string",
limit=integer,
offset=integer
)
print(response)from falconpy import APIHarnessV2
# Do not hardcode API credentials!
falcon = APIHarnessV2(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
response = falcon.command("ReadPackagesByFixableVulnCount",
filter="string",
limit=integer,
offset=integer
)
print(response)Back to Table of Contents
Retrieve top x packages with the most vulnerabilities.
read_vuln_count
| Method | Route |
|---|---|
/container-security/combined/packages/by-vulnerability-count/v1 |
- Produces: application/json
| Name | Service | Uber | Type | Data type | Description |
|---|---|---|---|---|---|
| filter |
|
|
query | string | Filter packages using a query in Falcon Query Language (FQL). Supported filters: cid,container_id,cveid,fix_status,image_digest,license,package_name_version,severity,type,vulnerability_count |
| limit |
|
|
query | integer | The upper-bound on the number of records to retrieve. |
| offset |
|
|
query | integer | The offset from where to begin. |
| parameters |
|
query | dictionary | Full query string parameters payload in JSON format. Not required if using other keywords. |
from falconpy import ContainerPackages
# Do not hardcode API credentials!
falcon = ContainerPackages(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
response = falcon.read_vuln_count(filter="string",
limit=integer,
offset=integer
)
print(response)from falconpy import ContainerPackages
# Do not hardcode API credentials!
falcon = ContainerPackages(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
response = falcon.ReadPackagesByVulnCount(filter="string",
limit=integer,
offset=integer
)
print(response)from falconpy import APIHarnessV2
# Do not hardcode API credentials!
falcon = APIHarnessV2(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
response = falcon.command("ReadPackagesByVulnCount",
filter="string",
limit=integer,
offset=integer
)
print(response)Back to Table of Contents
Retrieve packages identified by the provided filter criteria for the purpose of export.
read_combined_export
| Method | Route |
|---|---|
/container-security/combined/packages/export/v1 |
- Produces: application/json
| Name | Service | Uber | Type | Data type | Description |
|---|---|---|---|---|---|
| filter |
|
|
query | string | Filter packages using a query in Falcon Query Language (FQL). Supported filters: cid,container_id,cveid,fix_status,image_digest,license,package_name_version,severity,type,vulnerability_count |
| only_zero_day_affected |
|
|
query | boolean | (true/false) load zero day affected packages, default is false |
| limit |
|
|
query | integer | The upper-bound on the number of records to retrieve. |
| offset |
|
|
query | integer | The offset from where to begin. |
| parameters |
|
query | dictionary | Full query string parameters payload in JSON format. Not required if using other keywords. | |
| sort |
|
|
query | string | The fields to sort the records on. Supported columns: [license package_name_version type] |
from falconpy import ContainerPackages
# Do not hardcode API credentials!
falcon = ContainerPackages(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
response = falcon.read_combined_export(filter="string",
only_zero_day_affected=boolean,
limit=integer,
offset=integer,
sort="string"
)
print(response)from falconpy import ContainerPackages
# Do not hardcode API credentials!
falcon = ContainerPackages(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
response = falcon.ReadPackagesCombinedExport(filter="string",
only_zero_day_affected=boolean,
limit=integer,
offset=integer,
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("ReadPackagesCombinedExport",
filter="string",
only_zero_day_affected=boolean,
limit=integer,
offset=integer,
sort="string"
)
print(response)Back to Table of Contents
Retrieve packages identified by the provided filter criteria.
read_combined
| Method | Route |
|---|---|
/container-security/combined/packages/v1 |
- Produces: application/json
| Name | Service | Uber | Type | Data type | Description |
|---|---|---|---|---|---|
| filter |
|
|
query | string | Filter packages using a query in Falcon Query Language (FQL). Supported filters: ai_related, cid, container_id, cveid, fix_status, image_digest, license, package_name_version, severity, type, and vulnerability_count
|
| only_zero_day_affected |
|
|
query | boolean | Load zero day affected packages. Default: false
|
| limit |
|
|
query | integer | The upper-bound on the number of records to retrieve. |
| offset |
|
|
query | integer | The offset from where to begin. |
| parameters |
|
query | dictionary | Full query string parameters payload in JSON format. Not required if using other keywords. | |
| sort |
|
|
query | string | The fields to sort the records on. Supported columns: license, package_name_version, and type
|
from falconpy import ContainerPackages
# Do not hardcode API credentials!
falcon = ContainerPackages(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
response = falcon.read_combined(filter="string",
only_zero_day_affected=boolean,
limit=integer,
offset=integer,
sort="string"
)
print(response)from falconpy import ContainerPackages
# Do not hardcode API credentials!
falcon = ContainerPackages(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
response = falcon.ReadPackagesCombined(filter="string",
only_zero_day_affected=boolean,
limit=integer,
offset=integer,
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("ReadPackagesCombined",
filter="string",
only_zero_day_affected=boolean,
limit=integer,
offset=integer,
sort="string"
)
print(response)Back to Table of Contents
Retrieve packages identified by the provided filter criteria.
read_packages
| Method | Route |
|---|---|
/container-security/combined/packages/v2 |
- Produces: application/json
| Name | Service | Uber | Type | Data type | Description |
|---|---|---|---|---|---|
| filter |
|
|
query | string | Filter packages using a query in Falcon Query Language (FQL). Supported filters: ai_related, cid, container_id, cveid, fix_status, image_digest, license, package_name_version, severity, type, and vulnerability_count
|
| only_zero_day_affected |
|
|
query | boolean | Load zero day affected packages. Default: false
|
| limit |
|
|
query | integer | The upper-bound on the number of records to retrieve. |
| offset |
|
|
query | integer | The offset from where to begin. |
| parameters |
|
query | dictionary | Full query string parameters payload in JSON format. Not required if using other keywords. | |
| sort |
|
|
query | string | The fields to sort the records on. Supported columns: license, package_name_version, and type
|
from falconpy import ContainerPackages
# Do not hardcode API credentials!
falcon = ContainerPackages(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
response = falcon.read_packages(filter="string",
only_zero_day_affected=boolean,
sort="string",
limit=integer,
offset=integer
)
print(response)from falconpy import ContainerPackages
# Do not hardcode API credentials!
falcon = ContainerPackages(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
response = falcon.ReadPackagesCombinedV2(filter="string",
only_zero_day_affected=boolean,
sort="string",
limit=integer,
offset=integer
)
print(response)from falconpy import APIHarnessV2
# Do not hardcode API credentials!
falcon = APIHarnessV2(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
response = falcon.command("ReadPackagesCombinedV2",
filter="string",
only_zero_day_affected=boolean,
sort="string",
limit=integer,
offset=integer
)
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
