Skip to main content

Lists All Errors in File Path

POST 

/code/api/v1/errors/file

deprecated

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

List errors in files

Request

Query Parameters

    limit int32

    Possible values: >= 1 and <= 100

    offset int32

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]

    filePath stringrequired
    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 in file

Schema
    data object[]required
  • Array [
  • author stringrequired
    category IncidentCategory (string)required

    Possible values: [IAM, Logging, Monitoring, Networking, Kubernetes, General, Serverless, Elasticsearch, Storage, Secrets, Public, Vulnerabilities, Compute, VCS, BuildIntegrity, Licenses, Drift, Policy3D, Sast, Artifact Integrity Validation, Cider Kill Chain, Credential Hygiene, Data Protection, Dependency Chain Abuse, Dependency Chains, Flow Control Mechanisms, Input Validation, Patches & Updates, Pipeline-Based Access Controls (PBAC), Pipeline Flow Control, Poisoned Pipeline Execution (PPE), System Configuration, Supply Chain]

    commitHash stringrequired
    createdBy string
    cves object[]
  • Array [
  • causePackageId stringrequired
    causePackageName stringrequired
    causePackageVersion stringrequired
    cveId stringrequired
    cveStatus stringrequired
    cvss doublerequired
    description stringrequired
    errorLines double[]
    fixVersion stringrequired
    imageName string
    link stringrequired
    packageName stringrequired
    packageVersion stringrequired
    publishedDate date-timerequired
    riskFactors stringrequired
    severity stringrequired
    status stringrequired
    uuid stringrequired
    vector stringrequired
    violationId stringrequired
  • ]
  • date date-timerequired
    errorId stringrequired
    errorLines double[]required
    fileMetadataUuid stringrequired
    filePath stringrequired
    fixPath stringrequired
    fixedCode stringrequired
    fixes object[]required
  • Array [
  • code string
    fixedCode string
    id stringrequired
    inspectedKey stringrequired
    percent doublerequired
    recommenderType stringrequired
    times doublerequired
  • ]
  • frameworkType stringrequired
    isFixable boolean
    licenses object[]
  • Array [
  • id stringrequired
    license stringrequired
    packageId stringrequired
    packageName stringrequired
    packageVersion stringrequired
    parentId stringrequired
    status stringrequired
  • ]
  • lines double[]required
    metadataChecksMetadataPath stringrequired
    module objectrequired
    code stringrequired
    fixedCode stringrequired
    moduleFile stringrequired
    moduleReferences object[]required
  • Array [
  • code stringrequired
    displayPath stringrequired
    lines double[]required
    name stringrequired
    path stringrequired
  • ]
  • resourceCode stringrequired
    resourceId stringrequired
    resourceType stringrequired
    runtimeFrameworkType string
    runtimeId stringrequired
    runtimeSourceId stringrequired
    scannerType stringrequired
    secretValidationStatus SecretValidationStatus (string)required

    Possible values: [Privileged, Valid, Invalid, Unknown, Unavailable]

    secrets object[]
  • Array [
  • author stringrequired
    category IncidentCategory (string)required

    Possible values: [IAM, Logging, Monitoring, Networking, Kubernetes, General, Serverless, Elasticsearch, Storage, Secrets, Public, Vulnerabilities, Compute, VCS, BuildIntegrity, Licenses, Drift, Policy3D, Sast, Artifact Integrity Validation, Cider Kill Chain, Credential Hygiene, Data Protection, Dependency Chain Abuse, Dependency Chains, Flow Control Mechanisms, Input Validation, Patches & Updates, Pipeline-Based Access Controls (PBAC), Pipeline Flow Control, Poisoned Pipeline Execution (PPE), System Configuration, Supply Chain]

    commitHash stringrequired
    date date-timerequired
    errorId stringrequired
    errorLines double[]required
    fileMetadataUuid stringrequired
    filePath stringrequired
    fixPath stringrequired
    frameworkType stringrequired
    lines double[]required
    metadataChecksMetadataPath stringrequired
    module objectrequired
    moduleFile stringrequired
    moduleReferences object[]required
  • Array [
  • code stringrequired
    displayPath stringrequired
    lines double[]required
    name stringrequired
    path stringrequired
  • ]
  • resourceCode stringrequired
    resourceFixCode string
    resourceId stringrequired
    resourceType stringrequired
    resourceUuid string
    runtimeFrameworkType string
    runtimeId stringrequired
    runtimeSourceId stringrequired
    s3FilePath string
    scannerType stringrequired
    secretValidationStatus SecretValidationStatus (string)required

    Possible values: [Privileged, Valid, Invalid, Unknown, Unavailable]

    sourceType 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]

    status stringrequired
    variableCode string
    variableFixCode string
    variableRendering objectrequired
    code stringrequired
    lines double[]required
    path stringrequired
  • ]
  • selectedFix objectnullable
    code string
    fixedCode string
    id stringrequired
    inspectedKey stringrequired
    percent doublerequired
    recommenderType stringrequired
    times doublerequired
    sourceType 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]

    status stringrequired
    variableRendering objectrequired
    code stringrequired
    fixedCode stringrequired
    lines double[]required
    path stringrequired
  • ]
  • hasNext booleanrequired
Loading...