Skip to main content

IaC Errors by Category

POST 

/code/api/v2/dashboard/iac-errors-by-category

Gets the count for each type of IaC misconfiguration issue detected. The IaC misconfiguration types are:

  • IAM
  • Logging
  • Monitoring
  • Networking
  • Kubernetes
  • General
  • Serverless
  • Elasticsearch
  • Storage
  • Public
  • Compute
  • Drift

You can set the repositories and severities parameters in the request body to filter the results.

Request

Body

required
    repositories Repository (string)[]

    The repositories filter enables you to retrieve issues related to one or more repositories. You must provide the UUIDs of the repositories that you want to include in the filter. To retrieve the UUID of a repository use the List repository list endpoint. (the id field of the response has the UUID of the repository).

    severities Severity (string)[]

    Possible values: [INFO, LOW, MEDIUM, HIGH, CRITICAL]

    The severity level of the vulnerability or misconfiguration.

    • Critical: Critical severity indicates a high-risk vulnerability or misconfiguration that could lead to significant security breaches or data leaks. These issues require immediate attention and remediation.
    • High: High severity indicates a significant security issue that has the potential to be exploited or result in significant damage if left unaddressed. These findings should be addressed as a priority.
    • Medium: Medium severity indicates issues that pose a potential security risk that are less severe than Critical and High. Remediation of these issues should be prioritized, but they may not require immediate attention.
    • Low: Low severity indicates issues that have a minimal impact on security or are relatively low-risk. While they may not pose an immediate threat, it is still recommended to address them to maintain a robust security posture.
    • Info: Info severity is used for informational findings or recommendations that do not pose an immediate security risk but provide helpful guidance, best practices, or suggestions for optimization. These findings can be considered as part of ongoing security hygiene efforts.
    size double

    The maximum number of results included in the response.

Responses

IaC Errors By Category

Schema
    data object[]required
  • Array [
  • category stringrequired

    A category, such as IAM, Logging, Monitoring, Networking, or Kubernetes.

    count stringrequired

    Number of issues for the IaC misconfiguration category.

  • ]
  • lastScanDate stringrequired

    The time when the last scan was triggered.

Loading...