---
title: securityFrameworks query | Wartiva GraphQL API
description: Retrieves the security frameworks policy rules are filed under, each with the products (SecurityCategory) and sections (SecuritySubCategory) its rules cite.
url: https://wartiva.com/api-docs/queries/security-frameworks.html
updated: 2026-10-07
---

Policies and findings · GraphQL query

# `securityFrameworks` query

Retrieves the security frameworks policy rules are filed under, each with the products ([SecurityCategory](https://wartiva.com/api-docs/types/security-category.html)) and sections ([SecuritySubCategory](https://wartiva.com/api-docs/types/security-sub-category.html)) its rules cite. It returns the same [SecurityFrameworkReference](https://wartiva.com/api-docs/types/security-framework-reference.html) shape a rule carries, so the catalog and a single rule are walked the same way. Use it to discover the values a rule search accepts.

A product or section with no rules is not listed.

## Response

Returns a [`SecurityFrameworksPayload!`](https://wartiva.com/api-docs/types/security-frameworks-payload.html)

## Arguments

| Name | Description |
|---|---|
| `input` - [`SecurityFrameworksInput`](https://wartiva.com/api-docs/types/security-frameworks-input.html) | Framework filter. Omit to return every framework. |

## Example

### Query

```graphql
query securityFrameworks($input: SecurityFrameworksInput) {
  securityFrameworks(input: $input) {
    frameworks {
      framework {
        ...SecurityFrameworkFragment
      }
      frameworkId
      categories {
        ...SecurityCategoryReferenceFragment
      }
    }
  }
}

```

### Variables

```json
{"input": SecurityFrameworksInput}

```

### Response

```json
{
  "data": {
    "securityFrameworks": {
      "frameworks": [SecurityFrameworkReference]
    }
  }
}

```

---

Wartiva is in early access. Request access: https://wartiva.com/early-access.html  
All pages: https://wartiva.com/llms.txt
