Compliances

Retrieve compliance frameworks and details, such as their status and compliance scores, using the Tenable One Cloud Exposure API. You can return all compliances or filter the results by framework ID or scope (for example, limit to your production account).

query {
  Compliances(filter:{Ids: ["AwsFsbp_1_0"], ScopeId: "123456789012"}) {
    Id,
    Name,
    Description,
    Status,
    Score,
  }
}

Sample response

{
  "data": {
    "Compliances": [
      {
        "Id": "Example_1_0",
        "Name": "AWS Foundational Security Best Practices v1.0.0 (FSBP)",
        "Description": "A set of controls that detect when your AWS accounts and resources deviate from security best practices. The standard lets you continuously evaluate all of your AWS accounts and workloads to quickly identify areas of deviation from best practices.",
        "Status": "Enabled",
        "Score": 0.94
      }
    ]
  }
}

Did this page help you?