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

getIncidentRemediationFilters

Returns the per-option counts for the Remediation filter bar: issue, application, appTag, businessUnit and fixType. Each facet counts rows with the search and every other filter applied and its own field excluded. The section, itemLimit, cursor, sortBy and sortOrder of the input are ignored. The counts are unavailable and the request is refused while any section has more than 20,000 rows.

Examples

query GetIncidentRemediationFilters($incidentId: String!, $input: GetIncidentRemediationPageInput) {
  getIncidentRemediationFilters(incidentId: $incidentId, input: $input) {
    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": {
    "section": "PullRequest",
    "itemLimit": 42,
    "cursor": "example",
    "search": "example",
    "conditionalFilters": [
      {
        "fieldName": "example",
        "values": ["example"],
        "condition": "OR"
      }
    ],
    "sortBy": "Title",
    "sortOrder": "asc"
  }
}

Arguments

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

Argument
Description
Supported fields

incidentId String! required

The input carries the search and filters that the counts are computed under. When omitted, no search and no filters apply.

section RemediationSection itemLimit Int cursor String search String conditionalFilters [IncidentConditionalFilterInput!] sortBy RemediationSortField sortOrder SortOrder

Fields

Return type: [IncidentEvidenceFilterGroup!]!

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

Field
Description
Supported fields

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