Skip to main content

Lists Files with Errors

POST 

/code/api/v1/errors/files

deprecated

This endpoint has been deprecated and may be replaced or removed in future versions of the API.

List files with errors.

Request

Body

required
    CICDRunId double
    authors string[]
    branch stringnullable
    categories Category (string)[]

    Possible values: [IAM, Compute, Monitoring, Networking, Kubernetes, General, Storage, Secrets, Public, Vulnerabilities, Drift, BuildIntegrity, Licenses]

    codeStatus CodeStatus (string)[]

    Possible values: [hasFix]

    excludeCategories Category (string)[]

    Possible values: [IAM, Compute, Monitoring, Networking, Kubernetes, General, Storage, Secrets, Public, Vulnerabilities, Drift, BuildIntegrity, Licenses]

    fileTypes ProjectFileType (string)[]

    Possible values: [build.gradle, gradle.properties, build.gradle.kts, pom.xml, requirements.txt, package-lock.json, package.json, bower.json, go.sum, go.mod]

    repository stringrequired
    repositoryId string
    search object
    options string[]required

    Possible values: [path, code]

    text stringrequired
    title string

    Possible values: [title, constructive_title, descriptive_title]

    severities Severity (string)[]

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

    sourceTypes SourceType (string)[]required

    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[]
  • Array [
  • key stringrequired
    value stringrequired
  • ]
  • types Type (string)[]

    Possible values: [Errors, Suppressed, Passed, Fixed, Awaiting Remediation]

Responses

Get errors files

Schema
    data object[]required
  • Array [
  • awaitingRemediationCount doublerequired
    errorsCount doublerequired
    filePath stringrequired
    fixedCount doublerequired
    openErrorsCount doublerequired
    passedCount doublerequired
    suppressedErrorsCount doublerequired
    type ErrorType (string)required

    Possible values: [violation, dockerCve, packageCve, organization]

  • ]
Loading...