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

getIncidentFilters

Per-option incident counts for the list filter sidebar (faceted: own field excluded).

Examples

query GetIncidentFilters($input: GetIncidentsInput) {
  getIncidentFilters(input: $input) {
    type
    items {
      value
      count
    }
  }
}

Variables

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

{
  "input": {
    "search": "example",
    "statuses": ["Open"],
    "severities": ["Low"],
    "types": ["MaliciousLibrary"],
    "owners": ["example"],
    "isOxDeclared": true,
    "createdFrom": "example",
    "createdTo": "example",
    "conditionalFilters": [
      {
        "fieldName": "example",
        "values": ["example"],
        "condition": "OR"
      }
    ],
    "sortBy": "updatedAt",
    "sortOrder": "asc",
    "limit": 100,
    "offset": 0
  }
}

Arguments

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

Argument
Description
Supported fields

search String statuses [IncidentStatus!] severities [IncidentSeverity!] types [IncidentType!] owners [String!] isOxDeclared Boolean createdFrom DateTime createdTo DateTime conditionalFilters [IncidentConditionalFilterInput!] sortBy IncidentSortField sortOrder SortOrder limit Int offset Int

Fields

Return type: [IncidentFilterGroup!]!

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

Field
Description
Supported fields

type String!

value String! count Int!

Last updated