curl --request GET \
--url https://{region}.api.plerion.com/v1/tenant/risks \
--header 'Authorization: Bearer <token>'{
"data": [
{
"id": "<string>",
"riskTypeId": "<string>",
"organizationId": "<string>",
"tenantId": "<string>",
"integrationId": "<string>",
"description": "<string>",
"primaryAssetId": "<string>",
"resolutions": [
{
"key": "<string>",
"type": "<string>",
"title": "<string>"
}
],
"score": 5,
"likelihood": 5,
"impact": 5,
"severityLevel": "CRITICAL",
"factors": [
{
"key": "<string>",
"meta": {},
"title": "<string>",
"value": 123,
"verificationState": "<string>",
"description": "<string>"
}
],
"meta": {
"assetName": "<string>",
"resourceType": "<string>",
"fullResourceName": "<string>"
},
"discoveredAt": "2023-11-07T05:31:56Z",
"lifecycleState": "DISMISSED_ACCEPTED",
"primaryAsset": {
"schemaVersion": "2022-06-09",
"id": "prn:assets:afeb4e5f-0370-4b43-8e37-7e4efc719358:aws:ec2:instance:ap-southeast-2:i-085a328dba59f229b",
"organizationId": "dc16d897-7f52-4b73-be57-96c7c9a853da",
"tenantId": "42749bc1-c99b-4c2c-a081-a6cda9370081",
"integrationId": "458511a1-9bc2-4fce-97a0-0e3139588e6e",
"executionId": 1675576960384,
"provider": "AWS",
"type": "AWS::EC2::Instance",
"name": "i-085a328dba59f229b",
"createdAt": "2023-02-04T06:07:09.092Z",
"firstObservedAt": "2023-02-04T06:02:40.594Z",
"lastObservedAt": "2023-02-05T06:02:40.384Z",
"updatedAt": "2023-02-05T06:07:02.959Z",
"tags": [
{
"Key": "Department",
"Value": "Finance"
}
],
"isPubliclyExposed": false,
"isVulnerable": false,
"numberOfLowVulnerabilities": 85,
"numberOfMediumVulnerabilities": 60,
"numberOfHighVulnerabilities": 15,
"numberOfCriticalVulnerabilities": 5,
"vulnerabilityScore": 9,
"hasKev": false,
"hasExploit": false,
"isExploitable": false,
"isInVpc": false,
"lastScanId": 1679594910265,
"lastScannedAt": "2023-03-23T18:17:20.003Z",
"imageId": "<string>",
"platform": "<string>",
"hasAdminPrivileges": false,
"hasOverlyPermissivePrivileges": false,
"hasAuthorizer": false,
"hasTracingEnabled": false,
"policy": {},
"numberOfLowSecrets": 3,
"numberOfMediumSecrets": 1,
"numberOfHighSecrets": 0,
"numberOfCriticalSecrets": 2,
"lowSecrets": [
{}
],
"mediumSecrets": [
{}
],
"highSecrets": [
{}
],
"criticalSecrets": [
{}
],
"operatingSystem": [
{
"architecture": "x86_64",
"name": "Ubuntu",
"platform": "Linux/UNIX",
"version": "24.04.2 LTS (Noble Numbat)",
"versionId": 24.04,
"activeKernel": "4.14.246-197.484.amzn2.x86_64",
"buildNumber": "20348.fe_release.210507-1500",
"lcuVersion": "10.0.20348.2762"
}
],
"riskScore": 9.36,
"region": "us-east-1",
"service": "AWS::EC2",
"resourceId": "i-085a328dba59f229b",
"resourceName": "test-instance",
"resourceTags": [
{
"Key": "Public",
"Value": true
}
],
"resourceType": "AWS::EC2::Instance",
"fullResourceName": "arn:aws:iam::1111222233334444:policy/test-policy",
"providerAccountId": 123456789012,
"resourceURL": "https://us-east-1.console.aws.amazon.com/iam/home#/policies/arn:aws:iam::1111222233334444:policy/test-policy"
},
"integration": {
"integrationId": "31497927-86af-4fba-afc6-c0cf2311a55b",
"name": "Integration 001",
"tenantId": "12345678-86af-4fba-afc6-c0cf12345678",
"organizationId": "12345678-86af-4fba-afc6-c0cf87654321",
"schedule": "59 6 * * *",
"scanInterval": 24,
"createdAt": "2023-02-04T06:07:09.092Z",
"updatedAt": "2023-02-05T06:07:02.959Z",
"provider": "AWS",
"type": "AWSAccount",
"detectionSettingId": "12345678-86af-4fba-afc6-c0cf87654321",
"status": "Active",
"riskScore": 8.19,
"awsAccountId": "123456789012",
"azureSubscriptionId": "12345678-1234-5678-1234-567812345678",
"azureDirectoryId": "87654321-4321-8765-4321-876543218765",
"gcpProjectId": "my-gcp-project"
}
}
],
"meta": {
"perPage": 100,
"total": 200,
"cursor": 100
}
}Use the list risks API to retrieve and filter risks across the tenant.
curl --request GET \
--url https://{region}.api.plerion.com/v1/tenant/risks \
--header 'Authorization: Bearer <token>'{
"data": [
{
"id": "<string>",
"riskTypeId": "<string>",
"organizationId": "<string>",
"tenantId": "<string>",
"integrationId": "<string>",
"description": "<string>",
"primaryAssetId": "<string>",
"resolutions": [
{
"key": "<string>",
"type": "<string>",
"title": "<string>"
}
],
"score": 5,
"likelihood": 5,
"impact": 5,
"severityLevel": "CRITICAL",
"factors": [
{
"key": "<string>",
"meta": {},
"title": "<string>",
"value": 123,
"verificationState": "<string>",
"description": "<string>"
}
],
"meta": {
"assetName": "<string>",
"resourceType": "<string>",
"fullResourceName": "<string>"
},
"discoveredAt": "2023-11-07T05:31:56Z",
"lifecycleState": "DISMISSED_ACCEPTED",
"primaryAsset": {
"schemaVersion": "2022-06-09",
"id": "prn:assets:afeb4e5f-0370-4b43-8e37-7e4efc719358:aws:ec2:instance:ap-southeast-2:i-085a328dba59f229b",
"organizationId": "dc16d897-7f52-4b73-be57-96c7c9a853da",
"tenantId": "42749bc1-c99b-4c2c-a081-a6cda9370081",
"integrationId": "458511a1-9bc2-4fce-97a0-0e3139588e6e",
"executionId": 1675576960384,
"provider": "AWS",
"type": "AWS::EC2::Instance",
"name": "i-085a328dba59f229b",
"createdAt": "2023-02-04T06:07:09.092Z",
"firstObservedAt": "2023-02-04T06:02:40.594Z",
"lastObservedAt": "2023-02-05T06:02:40.384Z",
"updatedAt": "2023-02-05T06:07:02.959Z",
"tags": [
{
"Key": "Department",
"Value": "Finance"
}
],
"isPubliclyExposed": false,
"isVulnerable": false,
"numberOfLowVulnerabilities": 85,
"numberOfMediumVulnerabilities": 60,
"numberOfHighVulnerabilities": 15,
"numberOfCriticalVulnerabilities": 5,
"vulnerabilityScore": 9,
"hasKev": false,
"hasExploit": false,
"isExploitable": false,
"isInVpc": false,
"lastScanId": 1679594910265,
"lastScannedAt": "2023-03-23T18:17:20.003Z",
"imageId": "<string>",
"platform": "<string>",
"hasAdminPrivileges": false,
"hasOverlyPermissivePrivileges": false,
"hasAuthorizer": false,
"hasTracingEnabled": false,
"policy": {},
"numberOfLowSecrets": 3,
"numberOfMediumSecrets": 1,
"numberOfHighSecrets": 0,
"numberOfCriticalSecrets": 2,
"lowSecrets": [
{}
],
"mediumSecrets": [
{}
],
"highSecrets": [
{}
],
"criticalSecrets": [
{}
],
"operatingSystem": [
{
"architecture": "x86_64",
"name": "Ubuntu",
"platform": "Linux/UNIX",
"version": "24.04.2 LTS (Noble Numbat)",
"versionId": 24.04,
"activeKernel": "4.14.246-197.484.amzn2.x86_64",
"buildNumber": "20348.fe_release.210507-1500",
"lcuVersion": "10.0.20348.2762"
}
],
"riskScore": 9.36,
"region": "us-east-1",
"service": "AWS::EC2",
"resourceId": "i-085a328dba59f229b",
"resourceName": "test-instance",
"resourceTags": [
{
"Key": "Public",
"Value": true
}
],
"resourceType": "AWS::EC2::Instance",
"fullResourceName": "arn:aws:iam::1111222233334444:policy/test-policy",
"providerAccountId": 123456789012,
"resourceURL": "https://us-east-1.console.aws.amazon.com/iam/home#/policies/arn:aws:iam::1111222233334444:policy/test-policy"
},
"integration": {
"integrationId": "31497927-86af-4fba-afc6-c0cf2311a55b",
"name": "Integration 001",
"tenantId": "12345678-86af-4fba-afc6-c0cf12345678",
"organizationId": "12345678-86af-4fba-afc6-c0cf87654321",
"schedule": "59 6 * * *",
"scanInterval": 24,
"createdAt": "2023-02-04T06:07:09.092Z",
"updatedAt": "2023-02-05T06:07:02.959Z",
"provider": "AWS",
"type": "AWSAccount",
"detectionSettingId": "12345678-86af-4fba-afc6-c0cf87654321",
"status": "Active",
"riskScore": 8.19,
"awsAccountId": "123456789012",
"azureSubscriptionId": "12345678-1234-5678-1234-567812345678",
"azureDirectoryId": "87654321-4321-8765-4321-876543218765",
"gcpProjectId": "my-gcp-project"
}
}
],
"meta": {
"perPage": 100,
"total": 200,
"cursor": 100
}
}Bearer API Key. For example, "Bearer {Tenant API Key}"
Bearer API Key. For example, "Bearer {Tenant API Key}"
Filter by risk IDs. Accepts a comma-separated list.
Select specific risk fields to include in the response. Only applies to risk properties. Accepts a comma-separated list of risk fields. Example fields: id, name, severityLevel, score
Filter by risk type IDs. Accepts a comma-separated list.
Filter by integration IDs. Accepts a comma-separated list.
Filter by primary asset IDs. Accepts a comma-separated list.
Filter by severity levels. Accepts a comma-separated list.
CRITICAL, HIGH, MEDIUM, LOW Filter by lifecycle states. Accepts a comma-separated list.
DISMISSED_ACCEPTED, DISMISSED_NOT_A_RISK, OPEN Filter by resource types. Accepts a comma-separated list.
Start of the date range for filtering risks based on the discovered date. Specify the start of the range using a valid ISO 8601 date-time string. If discoveredAtStart is provided and discoveredAtEnd is omitted, results will include risks from this date to the present. Supported formats include: - yyyy-MM-ddTHH:mm:ssZ (e.g., 2025-02-18T08:00:00Z) - yyyy-MM-ddTHH:mm:ss.SSSZ (e.g., 2025-02-18T08:00:00.000Z)
End of the date range for filtering risks based on the discovered date. Specify the end of the range using a valid ISO 8601 date-time string. If discoveredAtEnd is provided and discoveredAtStart is omitted, results will include risks up to this date. Supported formats include: - yyyy-MM-ddTHH:mm:ssZ (e.g., 2025-02-18T08:00:00Z) - yyyy-MM-ddTHH:mm:ss.SSSZ (e.g., 2025-02-18T08:00:00.000Z)
This parameter is for loading relationships in the risk response. Available options: - primaryAsset: includes the complete primary asset object for each risk - integration: includes the complete integration object for each risk
"primaryAsset,integration"
Order the list by supported field. Can accept discoveredAt or score. The default is discoveredAt.
discoveredAt, score "score"
The sort order of the list. Can accept asc or desc. The default is desc.
asc, desc "desc"
Get the next batch of risks. Used for pagination.
"k3d83a9b-k3dk-5lkd-2ldk-9kd77c1beb6"
Number of items per page
1 <= x <= 100Risks list
Show child attributes
Unique identifier of the risk
ID of the risk type
ID of the organization
ID of the tenant
ID of the integration that the risk is a part of
Description of the risk
ID of the primary asset affected by the risk
Overall risk score
0 <= x <= 10Likelihood score of the risk
0 <= x <= 10Impact score of the risk
0 <= x <= 10Severity level of the risk
CRITICAL, HIGH, MEDIUM, LOW Contributing factors to the risk
Show child attributes
Unique key for the factor
Additional metadata for the factor
Title of the factor
Numerical value of the factor
Current verification state
Detailed description of the factor
Timestamp when the risk was discovered
Current state in the risk lifecycle
DISMISSED_ACCEPTED, DISMISSED_NOT_A_RISK, OPEN Show child attributes
"2022-06-09"
"prn:assets:afeb4e5f-0370-4b43-8e37-7e4efc719358:aws:ec2:instance:ap-southeast-2:i-085a328dba59f229b"
"dc16d897-7f52-4b73-be57-96c7c9a853da"
"42749bc1-c99b-4c2c-a081-a6cda9370081"
"458511a1-9bc2-4fce-97a0-0e3139588e6e"
1675576960384
"AWS"
"AWS::EC2::Instance"
"i-085a328dba59f229b"
"2023-02-04T06:07:09.092Z"
"2023-02-04T06:02:40.594Z"
"2023-02-05T06:02:40.384Z"
"2023-02-05T06:07:02.959Z"
false
false
85
60
15
5
9
false
false
false
false
1679594910265
"2023-03-23T18:17:20.003Z"
false
false
false
false
3
1
0
2
Show child attributes
The architecture of the operating system.
"x86_64"
The name of the operating system.
"Ubuntu"
The OS platform.
"Linux/UNIX"
The version of the operating system including version name.
"24.04.2 LTS (Noble Numbat)"
The version of the operating system.
24.04
The kernel version of the operating system.
"4.14.246-197.484.amzn2.x86_64"
The build number of the windows operating system.
"20348.fe_release.210507-1500"
The latest cumulative update version of the windows operating.
"10.0.20348.2762"
9.36
"us-east-1"
"AWS::EC2"
"i-085a328dba59f229b"
"test-instance"
"AWS::EC2::Instance"
"arn:aws:iam::1111222233334444:policy/test-policy"
123456789012
"https://us-east-1.console.aws.amazon.com/iam/home#/policies/arn:aws:iam::1111222233334444:policy/test-policy"
Show child attributes
"31497927-86af-4fba-afc6-c0cf2311a55b"
"Integration 001"
"12345678-86af-4fba-afc6-c0cf12345678"
"12345678-86af-4fba-afc6-c0cf87654321"
String representing a cron expression for scan schedule
"59 6 * * *"
Represents the scan interval.
6, 8, 12, 24 24
"2023-02-04T06:07:09.092Z"
"2023-02-05T06:07:02.959Z"
"AWS"
Type of integration.
AWSAccount, AzureAccount, AzureActiveDirectory, AzureSubscription, GCPProject, CdrAws, Kubernetes, CASM "AWSAccount"
Available if Integration is attached to any custom Detection Setting.
"12345678-86af-4fba-afc6-c0cf87654321"
Active, Delete Failed, Delete In Progress Risk score of the integration (if available)
8.19
AWS account ID. Only returned for AWS integrations.
"123456789012"
Azure Subscription ID. Only returned for Azure integrations.
"12345678-1234-5678-1234-567812345678"
Azure Directory (Tenant) ID. Only returned for Azure integrations.
"87654321-4321-8765-4321-876543218765"
GCP Project ID. Only returned for GCP integrations.
"my-gcp-project"
Was this page helpful?