Skip to main content

Scanning API

This page documents the scan endpoints that match the current route structure in the codebase. Use the X-CLOUDGENI-API-KEY header for all examples here.

Repository Static Analysis

Create a Checkov-backed static analysis run for a repository:
Fetch the current active analysis for the repository:
Fetch findings for a specific analysis:

Repository IaC Scans

Create an IaC repository scan:
Use this when you want the repository scan flow exposed by the iac-scans routes rather than the Checkov-only static analysis flow.

Cloud Infra Scans

Create a cloud scan against an existing cloud integration:
The analysisEngine segment is part of the route. Current values used by the product include:
  • prowler-ocsf
  • aws-security-hub
  • azure-defender
You can also pass optional cloud-scan fields such as credentialId and regions when the route supports them.

Cloud Scan Findings

Fetch findings for a specific cloud scan:
You can filter cloud findings with query parameters such as:
  • severity
  • status
  • resourceType
  • resourceId
  • framework

CLI Equivalents

If you would rather not call raw HTTP:

Use This Page With CI

These are the same endpoint shapes used in the CI examples for: