---
title: "List SAST rules"
method: GET
path: "/repositories/code/sast/rules"
---

# List SAST rules

`GET /repositories/code/sast/rules`

List SAST rules. Requires scope repositories:read

## Query parameters

- `repo_id` integer

## Response `200`

A list of SAST 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 SAST rule
  - `language` 'JS' | 'TS' | 'PHP' | 'Java' | 'Scala' | 'GO' | 'PY' | 'Ruby' | '.NET' | 'RUST' | 'Dart' | 'Swift' | 'Elixir' | 'C' | 'Clojure' | 'kotlin' | 'terraform' | 'generic' — The programming language associated with this SAST 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)
