> ## 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.

# The pods of one namespace joined to their scanned workload's findings

> The running pods of one namespace on one cluster, each container joined to the findings of the scanned workload container behind it through the pod's owner chain. A container without a report is marked scanned=false. Narrow to one workload with workload_uid, or workload_kind and workload_name.



## OpenAPI

````yaml https://platform.ankra.app/openapi.json get /org/security/pods
openapi: 3.1.0
info:
  title: FastAPI
  version: 0.1.0
servers:
  - url: https://platform.ankra.app
security: []
paths:
  /org/security/pods:
    get:
      tags:
        - security
      summary: The pods of one namespace joined to their scanned workload's findings
      description: >-
        The running pods of one namespace on one cluster, each container joined
        to the findings of the scanned workload container behind it through the
        pod's owner chain. A container without a report is marked scanned=false.
        Narrow to one workload with workload_uid, or workload_kind and
        workload_name.
      operationId: list_security_pods
      parameters:
        - in: query
          name: cluster_id
          required: true
          schema:
            format: uuid
            type: string
        - in: query
          name: namespace
          required: true
          schema:
            type: string
        - in: query
          name: workload_uid
          required: false
          schema:
            type: string
        - in: query
          name: workload_kind
          required: false
          schema:
            type: string
        - in: query
          name: workload_name
          required: false
          schema:
            type: string
        - in: query
          name: page
          required: false
          schema:
            default: 1
            maximum: 10000
            minimum: 1
            type: integer
        - description: Values above 100 are clamped to 100.
          in: query
          name: page_size
          required: false
          schema:
            default: 50
            minimum: 1
            type: integer
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SecurityPodListResponse'
          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:
    SecurityPodListResponse:
      properties:
        result:
          items:
            $ref: '#/components/schemas/SecurityPodSummary'
          type: array
        pagination:
          $ref: '#/components/schemas/SecurityPagination'
        capped:
          description: true when the namespace held more pods than one read loads.
          type: boolean
      required:
        - result
        - pagination
        - capped
      title: SecurityPodListResponse
      type: object
    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
    SecurityPodSummary:
      properties:
        name:
          type: string
        uid:
          anyOf:
            - type: string
            - type: 'null'
        namespace:
          type: string
        node:
          anyOf:
            - type: string
            - type: 'null'
        phase:
          anyOf:
            - type: string
            - type: 'null'
        owner_kind:
          anyOf:
            - type: string
            - type: 'null'
        owner_name:
          anyOf:
            - type: string
            - type: 'null'
        workload_kind:
          anyOf:
            - type: string
            - type: 'null'
        workload_name:
          anyOf:
            - type: string
            - type: 'null'
        created_at:
          anyOf:
            - format: date-time
              type: string
            - type: 'null'
        containers:
          items:
            $ref: '#/components/schemas/SecurityPodContainer'
          type: array
        scanned:
          type: boolean
        observed:
          type: integer
        actionable:
          $ref: '#/components/schemas/SecuritySeverityCounts'
        known_exploited:
          type: integer
        fixable_severe:
          type: integer
        priority:
          enum:
            - critical
            - high
            - medium
            - low
            - unknown
            - clean
            - unscanned
          type: string
      required:
        - name
        - uid
        - namespace
        - node
        - phase
        - owner_kind
        - owner_name
        - workload_kind
        - workload_name
        - created_at
        - containers
        - scanned
        - observed
        - actionable
        - known_exploited
        - fixable_severe
        - priority
      title: SecurityPodSummary
      type: object
    SecurityPagination:
      properties:
        page:
          type: integer
        page_size:
          type: integer
        total_count:
          type: integer
        total_pages:
          type: integer
      required:
        - page
        - page_size
        - total_pages
        - total_count
      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
    SecurityPodContainer:
      properties:
        name:
          type: string
        image:
          type: string
        image_digest:
          anyOf:
            - type: string
            - type: 'null'
        ready:
          type: boolean
        restart_count:
          type: integer
        scanned:
          description: >-
            false when no scanner report covers this container; not the same as
            clean.
          type: boolean
        observed:
          type: integer
        actionable:
          $ref: '#/components/schemas/SecuritySeverityCounts'
        known_exploited:
          type: integer
        fixable_severe:
          type: integer
      required:
        - name
        - image
        - image_digest
        - ready
        - restart_count
        - scanned
        - observed
        - actionable
        - known_exploited
        - fixable_severe
      title: SecurityPodContainer
      type: object
    SecuritySeverityCounts:
      properties:
        critical:
          type: integer
        high:
          type: integer
        low:
          type: integer
        medium:
          type: integer
        unknown:
          type: integer
      required:
        - critical
        - high
        - medium
        - low
        - unknown
      type: object

````