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

# List IaC rules

`GET /repositories/code/iac/rules`

## Request

- Base URL: `https://app.aikido.dev/api/public/v1`
- URL: `https://app.aikido.dev/api/public/v1/repositories/code/iac/rules`
- Auth: OAuth 2
  - Client credentials
  - Token URL: `https://app.aikido.io/api/oauth/token` scopes: `repositories:read`

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.dev/aikido/apis/aikido-security-api-documentation.md) - [All operations](https://skmtc.dev/aikido/apis/aikido-security-api-documentation/llms.txt) - [OpenAPI document](https://skmtc.dev/aikido/apis/aikido-security-api-documentation/revisions/da8691338133?raw)
