> ## Documentation Index
> Fetch the complete documentation index at: https://docs.ankra.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Security filter options

> The values the namespace and add-on filters can match: the distinct namespaces and high-confidence add-on slugs on the organisation’s active occurrences, narrowed to one cluster when cluster_id is given. Feeds the console’s filter pickers, so every value returned filters the findings and workloads lists to a non-empty result.



## OpenAPI

````yaml https://platform.ankra.app/openapi.json get /api/v1/org/security/filter-options
openapi: 3.1.0
info:
  title: FastAPI
  version: 0.1.0
servers:
  - url: https://platform.ankra.app
security: []
paths:
  /api/v1/org/security/filter-options:
    get:
      tags:
        - security
      summary: Security filter options
      description: >-
        The values the namespace and add-on filters can match: the distinct
        namespaces and high-confidence add-on slugs on the organisation’s active
        occurrences, narrowed to one cluster when cluster_id is given. Feeds the
        console’s filter pickers, so every value returned filters the findings
        and workloads lists to a non-empty result.
      operationId: list_security_filter_options_api_v1
      parameters:
        - in: query
          name: cluster_id
          required: false
          schema:
            format: uuid
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SecurityFilterOptions'
          description: Successful response
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SecurityDetailError'
          description: Business validation error
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SecurityPermissionDenied'
          description: Permission denied
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SecurityDetailError'
          description: Organization-scoped resource not found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
components:
  schemas:
    SecurityFilterOptions:
      type: object
      description: >-
        The distinct namespace and add-on values the security filters can match,
        for the whole organisation or for one cluster.
      required:
        - namespaces
        - addon_slugs
      properties:
        namespaces:
          type: array
          items:
            type: string
          description: Lower-cased namespaces carrying active occurrences, sorted.
        addon_slugs:
          type: array
          items:
            type: string
          description: Add-on slugs attributed with high confidence, sorted.
    SecurityDetailError:
      properties:
        detail:
          type: string
      required:
        - detail
      type: object
    SecurityPermissionDenied:
      properties:
        detail:
          enum:
            - permission_denied
          type: string
        permission:
          type: string
        scope_type:
          type: string
      required:
        - detail
        - permission
        - scope_type
      type: object
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          title: Detail
          type: array
      title: HTTPValidationError
      type: object
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          title: Location
          type: array
        msg:
          title: Message
          type: string
        type:
          title: Error Type
          type: string
      required:
        - loc
        - msg
        - type
      title: ValidationError
      type: object

````