Skip to main content
GET
/
issues
/
iac
Get IaC Issues
curl --request GET \
  --url https://www.corgea.app/api/v1/issues/iac \
  --header 'CORGEA-TOKEN: <api-key>'
{
  "status": "ok",
  "page": 123,
  "total_pages": 123,
  "total_issues": 123,
  "issues": [
    {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "created_at": "2023-11-07T05:31:56Z",
      "title": "<string>",
      "description": "<string>",
      "message": "<string>",
      "resolution": "<string>",
      "rule_id": "<string>",
      "avd_id": "<string>",
      "primary_url": "<string>",
      "references": [
        "<unknown>"
      ],
      "provider": "<string>",
      "service": "<string>",
      "iac_type": "<string>",
      "location": {
        "path": "<string>",
        "raw_path": "<string>",
        "start_line": 123,
        "end_line": 123
      },
      "scan": {
        "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
        "branch": "<string>",
        "project": "<string>"
      }
    }
  ]
}

Documentation Index

Fetch the complete documentation index at: https://docs.corgea.app/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

CORGEA-TOKEN
string
header
required

API key for authentication

Query Parameters

project
string

Filter by project name

repo
string

Filter by repository URL

branch
string

Filter by branch name

page
integer
default:1

The page number for pagination

page_size
integer
default:20

The number of results per page

Required range: x <= 50
severity
string

Filter by severity levels (comma-separated). Valid values: CRITICAL, HIGH, MEDIUM, LOW

provider
string

Filter by cloud or platform provider

service
string

Filter by affected service

iac_type
string

Filter by IaC format

rule_id
string

Filter by rule identifier

avd_id
string

Filter by AVD identifier

path
string

Filter by file path (partial match)

Search across title, description, message, rule ID, and AVD ID

sort_by
enum<string>

Sort results by field (prefix with '-' for descending order)

Available options:
created_at,
-created_at,
severity,
-severity,
provider,
-provider,
service,
-service,
path,
-path

Response

Get IaC Issues retrieved successfully or no project found

status
string
Example:

"ok"

page
integer
total_pages
integer
total_issues
integer
issues
object[]