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: [build.gradle
, gradle.properties
, build.gradle.kts
, pom.xml
, requirements.txt
, package-lock.json
, package.json
, bower.json
, go.sum
, go.mod
]
search object
Possible values: [path
, code
]
Possible values: [title
, constructive_title
, descriptive_title
]
Possible values: [CRITICAL
, HIGH
, MEDIUM
, LOW
, INFO
]
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