---
title: "List IaC rules"
method: GET
path: "/repositories/code/iac/rules"
---

# List IaC rules

`GET /repositories/code/iac/rules`

List IaC rules. Requires scope repositories:read

## Query parameters

- `repo_id` integer

## Response `200`

A list of IaC rules

- object[]
  - `id` string — The unique identifier of this rule
  - `title` string — The title of this rule
  - `base_score` integer — A numeric value from 1 to 100 indicating how severe the issue associated with this rule is
  - `description` string — A summary of what the issue associated with this rule is
  - `how_to_fix` string — A description on how to fix the issue associated with this IaC rule
  - `language` string — The programming language associated with this IaC rule
  - `open_issues_count` integer — A numeric value indicating how many open single issues are associated with this rule

---

[API](https://skmtc.net/aikido/apis/authorization.md) · [All operations](https://skmtc.net/aikido/apis/authorization/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aikido/authorization/versions/5445e7c21137/schema)
