---
title: "Get benchmark controls"
method: GET
path: "/compliance/api/v1/benchmarks/{benchmark_id}/controls"
tags: ["compliance"]
---

# Get benchmark controls

`GET /compliance/api/v1/benchmarks/{benchmark_id}/controls`

## Path parameters

- `benchmark_id` string, required

## Query parameters

- `integrationId` string[]
- `connectionGroup` string[]
- `timeAt` integer
- `tag` string[]

## Response `200`

OK

- GithubComOpengovernOpengovernancePkgComplianceApiBenchmarkControlSummary
  - `benchmark` GithubComOpengovernOpengovernancePkgComplianceApiBenchmark
    - `autoAssign` boolean — Whether the benchmark is auto assigned or not
    - `category` string — Benchmark category
    - `children` string[] — Benchmark children
    - `controls` string[] — Benchmark controls
    - `createdAt` string — Benchmark creation date
    - `description` string — Benchmark description
    - `documentURI` string — Benchmark document URI
    - `id` string — Benchmark ID
    - `integrationTypes` string[] — Benchmark connectors
    - `logoURI` string — Benchmark logo URI
    - `referenceCode` string — Benchmark display code
    - `tags` object — Benchmark tags
    - `title` string — Benchmark title
    - `tracksDriftEvents` boolean — Whether the benchmark tracks drift events or not
    - `updatedAt` string — Benchmark last update date
  - `children` GithubComOpengovernOpengovernancePkgComplianceApiBenchmarkControlSummary[]
  - `control` GithubComOpengovernOpengovernancePkgComplianceApiControlSummary[]
    - `benchmarks` GithubComOpengovernOpengovernancePkgComplianceApiBenchmark[]
      - `autoAssign` boolean — Whether the benchmark is auto assigned or not
      - `category` string — Benchmark category
      - `children` string[] — Benchmark children
      - `controls` string[] — Benchmark controls
      - `createdAt` string — Benchmark creation date
      - `description` string — Benchmark description
      - `documentURI` string — Benchmark document URI
      - `id` string — Benchmark ID
      - `integrationTypes` string[] — Benchmark connectors
      - `logoURI` string — Benchmark logo URI
      - `referenceCode` string — Benchmark display code
      - `tags` object — Benchmark tags
      - `title` string — Benchmark title
      - `tracksDriftEvents` boolean — Whether the benchmark tracks drift events or not
      - `updatedAt` string — Benchmark last update date
    - `control` GithubComOpengovernOpengovernancePkgComplianceApiControl
      - `cliRemediation` string
      - `connector` string[]
      - `createdAt` string
      - `description` string
      - `documentURI` string
      - `enabled` boolean
      - `explanation` string
      - `guardrailRemediation` string
      - `id` string
      - `managed` boolean
      - `manualRemediation` string
      - `manualVerification` boolean
      - `nonComplianceCost` string
      - `programmaticRemediation` string
      - `query` GithubComOpengovernOpengovernancePkgComplianceApiQuery
        - `Global` boolean
        - `createdAt` string
        - `engine` string
        - `id` string
        - `integrationType` string[]
        - `listOfTables` string[]
        - `parameters` GithubComOpengovernOpengovernancePkgComplianceApiQueryParameter[]
          - `key` string
          - `required` boolean
        - `primaryTable` string
        - `queryToExecute` string
        - `updatedAt` string
      - `severity` 'none' | 'low' | 'medium' | 'high' | 'critical'
      - `tags` object
      - `title` string
      - `updatedAt` string
      - `usefulExample` string
    - `costImpact` number
    - `evaluatedAt` string
    - `failedConnectionCount` integer
    - `failedResourcesCount` integer
    - `passed` boolean
    - `resourceType` GithubComOpengovernOpengovernancePkgInventoryApiResourceType
      - `attributes` string[] — List supported steampipe Attributes (columns) for this resource type - Metadata (GET only)
      - `compliance` string[] — List of Compliance that support this Resource Type - Metadata (GET only)
      - `compliance_count` integer — Number of Compliance that use this Resource Type - Metadata
      - `count` integer — Number of Resources of this Resource Type - Metric
      - `integration_type` string — Cloud Provider
      - `logo_uri` string — Logo URI
      - `old_count` integer — Number of Resources of this Resource Type in the past - Metric
      - `resource_name` string — Resource Name
      - `resource_type` string — Resource Type
      - `service_name` string — Service Name
      - `tags` string[] — Tags
    - `totalConnectionCount` integer
    - `totalResourcesCount` integer

---

[API](https://skmtc.net/opengovern/apis/opengovernance-service-api.md) · [All operations](https://skmtc.net/opengovern/apis/opengovernance-service-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/opengovern/opengovernance-service-api/revisions/ab05295c4094/schema)
