Findings
NoteSome features are not available in the Cloud Vulnerability Management license.
Tenable One Cloud Exposure exports findings for investigation in third-party tools through the API. This page lists examples of how to fetch finding data from Tenable for programmatic analytics.
List all findings
query {
Findings {
nodes {
AccountId
AccountName
AccountPath
CreationTime
Description
OpenTime
Policy {
Category
Name
}
Provider
Remediation {
Console {
Steps
}
}
Resources {
Id
}
Severity
Status
SubStatus
StatusUpdateTime
}
}
}Sample Response
{
"data": {
"Findings": {
"nodes": [
{
"AccountId": "a0a3bcee-f538-4d22-8e6c-a2e491158c59",
"AccountName": "example-production",
"AccountPath": "Root/example",
"CreationTime": "2025-10-19T16:06:17.816Z",
"Description": "The container image on maliciousEC2, stored in docker.example, has 357 suspected malicious files",
"OpenTime": "2025-11-16T02:44:25.466Z",
"Policy": {
"Category": "WorkloadProtection",
"Name": "Container Image has a suspected malicious file"
},
"Provider": "AWS",
"Remediation": {
"Console": {
"Steps": "1. If you believe these files are benign, you can mark them as trusted."
}
},
"Resources": [
{
"Id": "2a78900a-97ce-4262-8ae4-adaf1367c348"
}
],
"Severity": "Critical",
"Status": "Open",
"SubStatus": "Reopened",
"StatusUpdateTime": "2025-11-16T02:44:25.466Z"
}
]
}
}
}List all findings associated with a policy
You can use PolicyIds as a filter to retrieve all findings associated with a specific policy ID. To obtain ID values, first use the Policies query to retrieve a list of policies. See API - Policies for more information.
query {
Findings(
filter: {
Statuses: Open
PolicyIds: ["c44889cb-62ec-40b1-96b6-460b463ca597"]
})
{
nodes {
Policy {
Name
Id
}
Status
CreationTime
}
}
}Sample Response
{
"data": {
"Findings": {
"nodes": [
{
"Policy": {
"Name": "all resources should be managed as code",
"Id": "c44889cb-62ec-40b1-96b6-460b463ca597"
},
"Status": "Open",
"CreationTime": "2026-05-14T12:05:04.199Z"
},
{
"Policy": {
"Name": "all resources should be managed as code",
"Id": "c44889cb-62ec-40b1-96b6-460b463ca597"
},
"Status": "Open",
"CreationTime": "2026-05-14T12:05:03.871Z"
}
]
}
}
}IaC: List all code findings with code commits
This query retrieves open code findings, including policy details, finding status, creation time, and related commit information, with support for pagination.
Example query
query {
Findings(
filter: {
Statuses: Open
Families: [Code]
})
{
nodes {
... on CodeFinding {
Policy {
Name
Id
}
Status
CreationTime
Commit {
AuthorName
BranchName
Hash
}
}
}
pageInfo {
hasNextPage
endCursor
}
}
}Sample response
{
"data": {
"Findings": {
"nodes": [
{
"Policy": {
"Name": "Public IAM Role",
"Id": "804c8ef6-a8dc-4d0a-a253-444455556666"
},
"Status": "Open",
"CreationTime": "2026-06-25T12:10:40.153Z",
"Commit": {
"AuthorName": "John Smith",
"BranchName": "main",
"Hash": "f83b9c1e4a7d5d3a274cf82aa19b20e5bcd8f764"
}
}
],
"pageInfo": {
"hasNextPage": true,
"endCursor": "VGVzdEJhc2U2NEN1cnNvcg=="
}
}
}
}List findings within a specific time range
query {
Findings(filter: {
Statuses: Open
SystemCreationTimes: {
startTime: "2025-10-27T10:00:00Z"
endTime: "2025-11-27T11:00:00Z"
}
}) {
nodes {
Policy {
Category
}
Status
CreationTime
}
pageInfo {
hasNextPage
endCursor
}
}
}Sample response
{
"data": {
"Findings": {
"nodes": [
{
"Policy": {
"Category": "Iam"
},
"Status": "Open",
"CreationTime": "2026-08-04T06:54:33.887Z"
},
{
"Policy": {
"Category": "Iam"
},
"Status": "Open",
"CreationTime": "2026-08-04T06:53:15.354Z"
}
],
"pageInfo": {
"hasNextPage": true,
"endCursor": "ewogICJTb3J0VmFsdWVzIjogWwogICAgIjMgMjAyNS0xMS0yMCAwMjozNzozNi41NDUwIiwKICAgICI4ZWY2MzViNC04ZDFjLTQ1YTctODQ0Yi03ZDI1YTA5Yjk0YzAiCiAgXQp9"
}
}
}
}List vulnerability-related findings
This example shows a query that fetches open findings of types VirtualMachineOperatingSystemUnpatchedFinding and VirtualMachineVulnerabilityFinding, and returns the following properties for them: ID, Policy Name, Remediation Steps, Description, Resources Names, and Vulnerability IDs (if found in a VM).
query {
Findings(
filter: {
Statuses: [Open],
Types: [
VirtualMachineOperatingSystemUnpatchedFinding,
VirtualMachineVulnerabilityFinding
]}
first: 1
) {
edges {
node {
Id
Policy {Name}
Remediation {Console {Steps}}
Description
Resources {
Name
... on VirtualMachine {
Software {
Paths
}
Vulnerabilities {
Id
VprScore
VprSeverity
CvssScore
Sources{
Severity
Name
}
}
}
}
}
}
}
}Sample response
{
"data": {
"Findings": {
"edges": [
{
"node": {
"Id": "a731f20f-92c6-4b1a-848e-9a435926ec40",
"Policy": {
"Name": "Virtual Machine has vulnerabilities"
},
"Remediation": {
"Console": {
"Steps": "Review the finding in the console, then apply the recommended remediation."
}
},
"Resources": [
{
"Name": "example-resource",
"Vulnerabilities": [
{
"Id": "cve-2016-1585",
"VprScore": 6.7,
"VprSeverity": "Medium",
"CvssScore": 9.8,
"CvssSeverity": "Critical",
"Sources": [
{
"Severity": "Critical",
"Name": "example-resource"
}
]
}
]
}
]
}
}
]
}
}
}Fetch AWS excessive permission findings and suggested least-privilege policies
query {
Findings(
filter: {
Statuses: Open
Types: [
AwsExcessivePermissionRoleFinding,
AwsExcessivePermissionUserFinding,
AwsExcessivePermissionGroupFinding,
AwsExcessivePermissionPermissionSetFinding
]
}
first: 5)
{
nodes {
Policy {
Name
ScopeId
}
Status
CreationTime
AccountId
Severity
Resources {
... on AwsIamPrincipal {
Arn
Name
Policies {
Id
Name
}
}
}
Remediation {
... on AwsExcessivePermissionFindingRemediation {
PolicyDocuments
}
}
}
pageInfo {
hasNextPage
endCursor
}
}
}Sample response
{
"data": {
"Findings": {
"nodes": [
{
"Policy": "Overprivileged IAM role",
"Status": "Open",
"CreationTime": "2026-02-21T00:11:18.152Z",
"Remediation": {
"PolicyDocuments": [
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": [
"s3:GetObject"
],
"Resource": "arn:aws:s3:::example-bucket/*"
}
]
}
]
}
}
],
"pageInfo": {
"hasNextPage": true,
"endCursor": "VGVzdEJhc2U2NEN1cnNvcg=="
}
}
}
}Update the status of a finding
See View Findings in the Tenable Cloud Exposure User Guide to learn more about finding statuses.
mutation {
UpdateFindingStatus(
input: {
Id: "fb442587-4654-470b-8ae2-24b74ae212ef",
Status: Ignored,
IgnoreReason: Exception,
IgnoreExpirationDate: "2027-09-06"
})
{ Success }
}Sample response
{
"data": {
"UpdateFindingStatus": {
"Success": true
}
}
}View related resources for an aggregated finding
Some findings are created on the root cause resource rather than on all affected resources. For example, when several EC2 instances are publicly accessible and launched from the same Launch Template, a single finding is created for the Launch Template, rather than multiple findings for each EC2 instance.
With the RelatedResources field, you can retrieve all aggregated resources associated with the finding.
NoteThe
RelatedResourcesfield is available only for specific finding types that can be aggregated.
Example query
query {
Findings(filter: {Types: [AwsInboundExternalEc2InstanceFinding]}) {
nodes {
Policy {
Name
ScopeId
}
RelatedResources {
Name
}
Resources {
Name
}
}
}
}Sample response
{
"data": {
"Findings": {
"nodes": [
{
"Policy": "Public EC2 Instance",
"RelatedResources": [
{
"Name": "tenable-ec2-instance"
}
],
"Resources": [
{
"Name": "tenable-launch-template"
}
]
}
]
}
}
}Context Field Limitation
The Findings.Context field returns contextual information related to findings. This field is supported for the following subset of policies, and will return Null values for all other policies.
ImportantTenable strongly recommends against using
Findings.Contextin your integrations. This field has limited policy support and is planned for deprecation in a future release.
| Provider | Category | Policies |
|---|---|---|
| AWS | Anomaly Detection |
|
| AWS | IAM |
|
| AWS | Network |
|
| AWS, Azure | Anomaly Detection |
|
| AWS, Azure, GCP | Anomaly Detection |
|
| AWS, Azure, GCP, Container Registries | Workload Protection |
|
| AWS, Azure, GCP, Container Registries, OCI | Kubernetes |
|
| AWS, Azure, GCP, Container Registries, OCI | Workload Protection |
|
| AWS, Azure, GCP, OCI | Workload Protection |
|
| Azure | IAM |
|
| GCP | IAM |
|
| Microsoft Entra ID | IAM |
|
Updated 20 days ago
