Lists Files with Errors
POST/code/api/v1/errors/files
This endpoint has been deprecated and may be replaced or removed in future versions of the API.
List files with errors
Request
- application/json
Body
required
- Array [
- ]
Possible values: [IAM
, Compute
, Monitoring
, Networking
, Kubernetes
, General
, Storage
, Secrets
, Public
, Vulnerabilities
, Drift
, BuildIntegrity
, Licenses
]
Possible values: [hasFix
]
Possible values: [IAM
, Compute
, Monitoring
, Networking
, Kubernetes
, General
, Storage
, Secrets
, Public
, Vulnerabilities
, Drift
, BuildIntegrity
, Licenses
]
Possible values: [tf
, json
, yml
, yaml
, template
, .checkov.baseline
, hcl
, Dockerfile
, package.json
, package-lock.json
, bower.json
, pom.xml
, build.gradle
, build.gradle.kts
, gradle.properties
, gradle-wrapper.properties
, go.sum
, go.mod
, requirements.txt
, METADATA
, bicep
, Pipfile.lock
, Pipfile
, yarn.lock
, Gemfile
, Gemfile.lock
, gemspec
, env
, settings.py
, main.py
, application.py
, config.py
, app.js
, config.js
, dev.js
, db.properties
, application.properties
, private.pem
, privatekey.pem
, index.php
, config.php
, config.xml
, strings.xml
, app.module.ts
, environment.ts
, tpl
, tfvars
, unknown
, csproj
, packages.config
, Directory.Packages.props
, paket.dependencies
, paket.references
, paket.lock
, sln
, config
, composer.json
, composer.lock
]
search object
Possible values: [path
, code
]
Possible values: [title
, constructive_title
, descriptive_title
]
Possible values: [INFO
, LOW
, MEDIUM
, HIGH
, CRITICAL
]
Possible values: [Github
, Bitbucket
, Gitlab
, AzureRepos
, cli
, AWS
, Azure
, GCP
, Docker
, githubEnterprise
, gitlabEnterprise
, bitbucketEnterprise
, terraformCloud
, githubActions
, circleci
, codebuild
, jenkins
, tfcRunTasks
, tfeRunTasks
, admissionController
, terraformEnterprise
]
tags object[]
Possible values: [Errors
, Suppressed
, Passed
, Fixed
, Awaiting Remediation
]
Responses
- 200
- 422
- 500
Get errors files
- application/json
- Schema
- Example (from schema)
- Example 1
Schema
- Array [
- ]
data object[]required
Possible values: [violation
, dockerCve
, packageCve
, organization
]
{
"data": [
{
"awaitingRemediationCount": 0,
"errorsCount": 0,
"filePath": "string",
"fixedCount": 0,
"openErrorsCount": 0,
"passedCount": 0,
"suppressedErrorsCount": 0,
"type": "violation"
}
]
}
{
"data": [
{
"awaitingRemediationCount": 0,
"errorsCount": 0,
"filePath": "/terraform/gcp/instances.tf",
"fixedCount": 0,
"openErrorsCount": 0,
"passedCount": 3,
"suppressedErrorsCount": 0
}
]
}
Request arguments validation error
Couldn't fetch files with errors