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

getIncidentEvidenceFilters

Per-option evidence counts for the Evidence-tab filter sidebar (own field excluded).

Examples

query GetIncidentEvidenceFilters($incidentId: String!, $input: IncidentEvidenceFilterInput) {
  getIncidentEvidenceFilters(incidentId: $incidentId, input: $input) {
    warnings
    type
    items {
      value
      count
      label
    }
    isTruncated
  }
}

Variables

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

{
  "incidentId": "example",
  "input": {
    "cursor": "example",
    "conditionalFilters": [
      {
        "fieldName": "example",
        "values": ["example"],
        "condition": "OR"
      }
    ],
    "search": "example",
    "category": "CodeIssue",
    "itemLimit": 42,
    "safeVersions": true,
    "includeFactorEvidence": true,
    "related": true,
    "sortBy": "Severity",
    "sortOrder": "asc"
  }
}

Arguments

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

Argument
Description
Supported fields

incidentId String! required

cursor String conditionalFilters [IncidentConditionalFilterInput!] search String category EvidenceCategory itemLimit Int itemOffset Int ⚠️ safeVersions Boolean includeFactorEvidence Boolean related Boolean sortBy EvidenceSortField sortOrder SortOrder

Fields

Return type: [IncidentEvidenceFilterGroup!]!

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

Field
Description
Supported fields

warnings [String!]

Explains which optional search sources are unavailable and can make these counts incomplete.

type String!

The name of the filter field the options belong to.

The options of the filter field with their counts.

value String! count Int! label String

isTruncated Boolean

This flag is set on an affected-resources facet group when its counts include cloud accounts and only a limited number of those accounts were evaluated, so the cloud account share of the counts is partial. It is absent on every other facet group.

Last updated