{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/kenna-security/json-schema/kenna-security-assets-get-response-schema-schema.json",
  "title": "assets_get_response_schema",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/kenna-security-assets-api-openapi.yml#/components/schemas/assets_get_response_schema",
  "type": "object",
  "properties": {
    "id": {
      "type": "integer",
      "default": 0
    },
    "created_at": {
      "type": "string",
      "format": "date-time"
    },
    "last_seen_time": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "operating_system": {
      "type": [
        "string",
        "null"
      ]
    },
    "last_booted_at": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "ipv6": {
      "type": [
        "string",
        "null"
      ]
    },
    "locator": {
      "type": "string"
    },
    "primary_locator": {
      "type": "string"
    },
    "network_ports": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "default": 0
          },
          "protocol": {
            "type": "string"
          },
          "port_number": {
            "type": "integer",
            "default": 0
          },
          "name": {
            "type": "string"
          },
          "product": {
            "type": "string"
          },
          "version": {
            "type": "string"
          },
          "state": {
            "type": "string"
          },
          "ostype": {
            "type": "string"
          }
        }
      }
    },
    "tags": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "vulnerabilities_count": {
      "type": "integer",
      "default": 0
    },
    "inactive_at": {
      "type": "string"
    },
    "status_set_manually": {
      "type": "boolean",
      "default": true
    },
    "overage": {
      "type": "boolean",
      "default": false,
      "description": "Indicates if the asset is in overage. If true, no vulnerabilities will be imported for this asset until client overage is resolved."
    },
    "urls": {
      "type": "object",
      "properties": {
        "vulnerabilities": {
          "type": "string"
        }
      }
    },
    "notes": {},
    "priority": {
      "type": "integer",
      "default": 0
    },
    "hostname": {},
    "mac_address": {},
    "ec2": {},
    "external_id": {},
    "netbios": {},
    "fqdn": {},
    "ip_address": {
      "type": "string"
    },
    "url": {},
    "file": {},
    "database": {},
    "application": {},
    "risk_meter_score": {
      "type": "integer",
      "default": 0
    },
    "asset_groups": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "default": 0
          },
          "name": {
            "type": "string"
          }
        }
      }
    },
    "status": {
      "type": "string"
    },
    "owner": {
      "type": "string"
    }
  }
}