getIssuesConditionalFiltersLazy

Retrieves available filters and their values for conditional filtering of issues. Helps users understand what filter options are available based on their current data.

Examples

query GetIssuesConditionalFiltersLazy($getIssuesInput: IssuesInput) {
  getIssuesConditionalFiltersLazy(getIssuesInput: $getIssuesInput) {
    total
    totalFiltered
    filters {
      type
      items {
        id
        filterId
        label
        count
        percent
        changeNumber
        policyId
        extraInfo {
          key
          value
        }
      }
    }
  }
}

Variables

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

{
  "getIssuesInput": {
    "scanID": "",
    "limit": 100,
    "page": 1,
    "search": [
      {
        "fieldName": "example",
        "value": ["example"]
      }
    ],
    "offset": 0,
    "sort": {
      "fields": ["Category"],
      "order": ["ASC"]
    },
    "owners": ["example"],
    "tagIds": ["example"],
    "inventoryFilters": ["New"],
    "dateRange": {
      "from": 1749000000000,
      "to": 1749900000000
    },
    "limitAggItems": 42,
    "offsetAggItems": 42,
    "ignoreEnvCheck": true,
    "exportsOptions": {
      "flattenAgg": true,
      "isDemoEnabled": true,
      "columns": [
        {
          "key": "Severity",
          "name": "SomeName"
        }
      ],
      "rowsLimit": 42
    },
    "issueId": "30966426-oxPolicy_securityCloudScan_100-example",
    "topOffset": 42,
    "topLevelSearch": "example",
    "scrollDirection": "example",
    "openItems": ["digest"],
    "conditionalFilters": [
      {
        "condition": "AND",
        "fieldName": "digest",
        "values": ["example"],
        "greaterThan": 13.37,
        "lessThan": 13.37
      }
    ],
    "getLatestStableData": true,
    "isCloudResourcesTabEnabled": true
  }
}

Arguments

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

Argument
Description
Supported fields

getIssuesInput IssuesInput

Parameters to determine which filters should be available based on current search criteria and organization context

scanID String limit Int! page Int search [AutoCompleteSearch] offset Int! filters IssueFilters sort IssuesSort owners [String] tagIds [String] inventoryFilters [InventoryTypes] dateRange DateRange limitAggItems Int offsetAggItems Int ignoreEnvCheck Boolean exportsOptions IssuesExportOptions issueId String topOffset Int topLevelSearch String scrollDirection String openItems [FilterTypes] conditionalFilters [ConditionalFilters] getLatestStableData Boolean isCloudResourcesTabEnabled Boolean

Fields

Return type: FilterLazyResponse

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

Field
Description
Supported fields

total Int

Total number of items available

totalFiltered Int

Total number of items after applying filters

filters [FilterLazy]

List of filter categories with their items

Last updated