Skip to main content
With plerion assets, you can query your cloud asset inventory, retrieve details for individual assets, and download Software Bills of Materials (SBOMs).
For more about assets in the Plerion dashboard, see Assets overview.

Synopsis

plerion assets <subcommand> [options]

Subcommands

list

List cloud assets with filtering.
plerion assets list [options]

Options

FlagTypeDescription
--providerstringCloud provider: AWS, Azure, GCP, Kubernetes (case-insensitive)
--regionstringCloud region(s)
--resource-typestringResource type (e.g. AWS::EC2::Instance)
--servicestringService filter (e.g. AWS::S3)
--severitystringVulnerability severity levels
--idsstringFilter by asset IDs (comma-separated)
--execution-idstringFilter by execution IDs (comma-separated)
--integration-idstringFilter by integration IDs (comma-separated)
--asset-group-idstringFilter by asset group IDs (comma-separated)
--environment-idstringFilter by environment IDs or names (comma-separated)
--is-publicly-exposedflagShow only publicly exposed assets
--is-vulnerableflagShow only assets with vulnerabilities
--is-exploitableflagOnly exploitable assets
--has-kevflagShow only assets with CISA KEV vulnerabilities
--has-exploitflagShow only assets with known exploits
--has-admin-privilegesflagShow only assets with admin privileges
--has-overly-permissive-privilegesflagOnly assets with overly permissive privileges
--is-susceptible-to-privilege-escalationflagOnly assets susceptible to privilege escalation
--risk-score-gtefloatMinimum risk score (0-10)
--secrets-levelstringCRITICAL, HIGH, MEDIUM, LOW (comma-separated)
--query-stringstringFilter by asset name substring
--metadatastringSubstring search against asset metadata
--operational-statestringactive or inactive
--first-observed-at-startstringFirst observed start date (ISO 8601)
--first-observed-at-endstringFirst observed end date (ISO 8601)
--sort-bystringSort field
--sort-orderstringasc or desc
--per-pagenumberResults per page (default: 50, max: 1000)
--allflagFetch all pages automatically

get

Get full details for a single asset.
plerion assets get --asset-id <asset-id> [--include <fields>]

Options

FlagTypeDescription
--includestringInclude additional data (e.g. rawData)

get-sbom

Get the Software Bill of Materials (SBOM) for an asset.
plerion assets get-sbom --asset-id <asset-id>
The SBOM response includes a pre-signed download URL. Use --output json to extract the URL programmatically.

Examples

# Publicly exposed assets
plerion assets list --is-publicly-exposed

# High-risk AWS EC2 instances
plerion assets list --provider AWS --resource-type AWS::EC2::Instance --risk-score-gte 8.0

# Assets with CISA KEV vulnerabilities
plerion assets list --has-kev --output table

# Get full asset details
plerion assets get --asset-id prn:assets:abc123

# Get SBOM for an asset
plerion assets get-sbom --asset-id prn:assets:abc123 --output json

# Export all assets
plerion assets list --all --output json > assets.json

Output columns

Table output includes all fields returned by the API:
ColumnDescription
IDAsset ID
NAMEAsset name
TYPEAsset type
PROVIDERCloud provider (AWS, Azure, GCP)
REGIONCloud region
SERVICECloud service
RESOURCE TYPEResource type (e.g. AWS::EC2::Instance)
RESOURCE IDProvider resource ID
RESOURCE NAMEResource name
FULL RESOURCE NAMEFull resource name
RISK SCORENumeric risk score
VULN SCOREVulnerability score
PUBLICWhether publicly exposed
VULNERABLEWhether has vulnerabilities
KEVHas CISA Known Exploited Vulnerability
EXPLOITHas known exploit
EXPLOITABLEWhether exploitable
IN VPCWhether inside a VPC
ADMIN PRIVSHas admin privileges
OVERLY PERMISSIVEHas overly permissive privileges
AUTHORIZERHas an authorizer
TRACINGHas tracing enabled
STATEOperational state (active, inactive)
PLATFORMPlatform (e.g. OS, runtime)
IMAGE IDContainer/AMI image ID
INTEGRATION IDIntegration ID
ACCOUNT IDCloud account/subscription ID
EXECUTION IDScan execution ID
CRITICAL/HIGH/MEDIUM/LOW VULNSVulnerability counts by severity
CRITICAL/HIGH/MEDIUM/LOW SECRETSSecret counts by severity
RESOURCE URLLink to resource in cloud console
FIRST OBSERVEDTimestamp first detected
LAST OBSERVEDTimestamp last detected
CREATED ATRecord creation timestamp
UPDATED ATRecord update timestamp
LAST SCANNEDLast scan timestamp
SCHEMA VERSIONAPI schema version