---
title: "VulnerabilitiesMetricsQueryResult"
url: "https://nov18-dev.movespot.fyi/apis/konnect-service-catalog-dev-1/versions/d755cd20-1635-4c78-a12c-5f42a75fa20d/schemas/VulnerabilitiesMetricsQueryResult"
---

> Full API specification: https://nov18-dev.movespot.fyi/apis/konnect-service-catalog-dev-1/versions/d755cd20-1635-4c78-a12c-5f42a75fa20d.md

# VulnerabilitiesMetricsQueryResult

A query result with metrics grouped by the dimensions specified in the query, at a particular time.

## OpenAPI definition

```yaml
openapi: 3.0.3
info:
  title: Konnect Service Catalog
  version: 1.3.0
servers:
  - url: https://us.api.konghq.com/v1
    description: United-States Production region
  - url: https://eu.api.konghq.com/v1
    description: Europe Production region
  - url: https://au.api.konghq.com/v1
    description: Australia Production region
  - url: https://me.api.konghq.com/v1
    description: Middle-East Production region
  - url: https://in.api.konghq.com/v1
    description: India Production region
  - url: https://sg.api.konghq.com/v1
    description: Singapore Production region
components:
  schemas:
    VulnerabilitiesMetricsQueryResultEvent:
      description: Payload containing the aggregated metric data and associated
        dimensions included in the query.
      oneOf:
        - $ref: "#/components/schemas/VulnerabilityCountMetricEvent"
    VulnerabilityCountMetricEvent:
      description: Payload containing the aggregated vulnerability count metric data
        and associated dimensions included in the query.
      type: object
      properties:
        service:
          type: string
          format: uuid
        severity:
          $ref: "#/components/schemas/VulnerabilitySeverity"
        state:
          $ref: "#/components/schemas/VulnerabilityState"
        type:
          $ref: "#/components/schemas/VulnerabilityType"
        source:
          type: string
          example: trivy
        environment:
          type: string
          example: prod
        region:
          type: string
          example: us-east-1
        vulnerability_count:
          type: number
          format: int32
      example:
        vulnerability_count: 58
        state: open
        service: 7f9fd312-a987-4628-b4c5-bb4f4fddd5f7
      required:
        - vulnerability_count
    VulnerabilitySeverity:
      type: string
      example: low
      enum:
        - low
        - medium
        - high
        - critical
    VulnerabilityState:
      type: string
      example: dismissed
      enum:
        - open
        - fixed
        - dismissed
    VulnerabilityType:
      type: string
      example: container_image
      enum:
        - container_image
        - library
      readOnly: true
    VulnerabilitiesMetricsQueryResult:
      description: A query result with metrics grouped by the dimensions specified in
        the query, at a particular time.
      type: object
      properties:
        timestamp:
          description: >
            Timestamp corresponding to the aggregated metric data in the `event`
            object.

            RFC-3339 format with a "T" character separating date from time
            within the field value.
          type: string
          format: date-time
          example: 2025-04-01T07:20:50.000Z
        event:
          $ref: "#/components/schemas/VulnerabilitiesMetricsQueryResultEvent"
      required:
        - timestamp
        - event
```
