For the complete documentation index, see llms.txt. This page is also available as Markdown.

getIncidentRelatedIssues

Issues on the incident's monitored libraries that belong to a different policy than its own exposure, returned as code and container evidence groups (Findings-tab Related Issues section).

Examples

query GetIncidentRelatedIssues($incidentId: String!) {
  getIncidentRelatedIssues(incidentId: $incidentId) {
    groups {
      category
      totalCount
      stateCounts {
        state
        count
      }
      stateBreakdown {
        label
        count
      }
      latestAsOf
      severityCounts {
        severity
        count
      }
      breakdownCounts {
        label
        count
      }
      items {
        id
        incidentId
        category
        state
        severity
        title
        resourceName
        resourceDetail
        pipelineOutcome
        targetBranch
        appName
        appType
        hitIndicatorValues
        isRunning
        isInternetExposed
        dependencyType
        stateReason
        externalUrl
        asOf
        developerEmail
        resourceOwner
        issueId
        sbomAppId
        sbomLibrary
        isFixAvailable
        hasTicket
        commentCount
        isGptAvailable
        isExcluded
      }
    }
  }
}

Variables

This is an example input showing all available input fields. Only fields marked as required in the schema are mandatory.

Arguments

You can use the following argument(s) to customize your getIncidentRelatedIssues query.

Argument
Description
Supported fields

incidentId String! required

Fields

Return type: IncidentEvidenceResult!

You can use the following field(s) to specify what information your getIncidentRelatedIssues query will return. Please note that some fields may have their own subfields.

Field
Description
Supported fields

category EvidenceCategory! totalCount Int! stateCounts [EvidenceStateCount!]! stateBreakdown [IncidentNamedCount!]! latestAsOf DateTime severityCounts [SeverityHistogramBucket!]! breakdownCounts [IncidentNamedCount!]! items [IncidentEvidenceItem!]!

Last updated