Policies

List available policies

List all available policies (built-in and custom), along with relevant details such as name, ID, and category.

You can use the Id value from the response as a filter in the Findings query to retrieve all findings associated with the policy ID. See API - Findings for more information.

📘

Note

  • This query doesn't retrieve IaC policies.
  • If you created multiple custom policies from the same template, each policy is given a unique ID (for example, if you used the AWS > Monitor Permissions > Only these principals should have these permissions template to create two different policies).
query {
  Policies {
    Id
    Name
    Description
    Category
  }
}

Sample Response

{
 "data": {
    "Policies": [
      {
        "Id": "433778fe-dc03-44e3-af61-9f903f419175",
        "Name": "App Registration certificate is not rotated",
        "Description": "App registration certificates should be rotated periodically to minimize the risk of a compromise. Tenable recommends a timeframe of at least once a year.\n\nNote: You can change the default rotation period (https://docs.ermetic.com/docs/view-and-manage-policies) for this policy to comply with internal standards.",
        "Category": "Iam"
      },
      {
        "Id": "ea4c1876-06ca-479b-a547-eadd2c14a721",
        "Name": "App Registration secret is not rotated",
        "Description": "App registration secrets should be rotated periodically to minimize the risk of a compromise. Tenable recommends a timeframe of every 180 days or less.\n\nNote: You can change the default rotation period (https://docs.ermetic.com/docs/view-and-manage-policies) for this policy to comply with internal standards.",
        "Category": "Iam"
      }
    ]
  }
}

Did this page help you?