Query Examples

The Tenable One Cloud Exposure GraphQL API lets you query and manage your Cloud Exposure data programmatically. The following pages provide example queries and mutations, with sample responses, for each area of the API. To set up access and send your first request, see Get Started. For large result sets, see Pagination.

PageDescription
Account ManagementRetrieve the organizational folder hierarchy, and add, move, and monitor onboarded cloud accounts.
Audit LogRetrieve audit events for user actions in the Console, filtered by action, account, or user.
CompliancesRetrieve compliance frameworks with their status and compliance scores, for all frameworks or by framework ID or scope.
ExclusionsList, retrieve, and delete exclusions.
FindingsRetrieve finding data for investigation and analysis in third-party tools.
IntegrationsMonitor connected integrations, their connection status, and their provider-specific configuration.
InventoryQuery the asset inventory for cloud resources and their configurations.
JITManage Just-in-Time (JIT) eligibilities and access requests for temporary access to cloud resources.
Least Privilege Policies and RolesGenerate fine-grained least privilege policies for the supported resources.
LicensingRetrieve license information and usage.
PermissionsQuery the permissions granted to cloud identities.
PoliciesList built-in and custom policies with their name, ID, and category.
ProjectsCreate and manage projects, and automate role assignments at scale.
ScopesRetrieve basic information for all or some of your cloud accounts.
ThreatsExport threat stories, detections, and rules to third-party tools for investigation and analytics.
Users and GroupsManage user and group access to the Console.
Vulnerability ManagementRetrieve Workload Protection vulnerability data for your workflows and third-party tools.

Did this page help you?