List IaC rules

List IaC rules. Requires scope repositories:read

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

Query parameters

repo_idinteger

Optional: Filters the open issue count to only count the issues related to the specified repo

Response

A list of IaC rules

idstring

The unique identifier of this rule

titlestring

The title of this rule

base_scoreinteger

A numeric value from 1 to 100 indicating how severe the issue associated with this rule is

descriptionstring

A summary of what the issue associated with this rule is

how_to_fixstring

A description on how to fix the issue associated with this IaC rule

languagestring

The programming language associated with this IaC rule

open_issues_countinteger

A numeric value indicating how many open single issues are associated with this rule

Example response

[
  {
    "id": "CKV_AZURE_59",
    "title": "Azure Storage Account allow public access",
    "base_score": 75,
    "description": "As a best practice, do not allow anonymous/public access to storage accounts unless you have a very good reason. The all networks option includes the entire internet.",
    "how_to_fix": "Add public_network_access_enabled = false to the settings of the Storage account resource.",
    "language": "",
    "open_issues_count": 1
  }
]

Changes

No recorded changes to this operation across all 1 revision of this API.