{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/kenna-security/main/json-schema/kenna-security-v3-os-inference-response-schema-schema.json", "title": "v3_os_inference_response_schema", "x-generated": "2026-10-14", "x-method": "derived", "x-generator": "derive-json-schema.py", "x-source": "openapi/kenna-security-inference-api-openapi.yml#/components/schemas/v3_os_inference_response_schema", "type": "object", "properties": { "meta": { "type": "object", "properties": { "request_uuid": { "type": "string" }, "request_agent": { "type": "string" }, "request_params": { "type": "object", "properties": { "minimum_vulnerability_score": { "type": "number" } } }, "request_notes": { "type": "string" } } }, "os": { "type": "object", "properties": { "os_information": { "type": "object", "properties": { "os_name": { "type": "string" }, "version": { "type": "string" }, "platform": { "type": "string", "enum": [ "rhel", "ubuntu", "amzn", "sles", "opensuse-leap", "alma", "oracle", "windows", "darwin" ] }, "arch": { "type": "string" }, "os_name_normalized": { "type": "string" }, "vendor_status": { "type": "string", "enum": [ "Active Support", "Maintenance Support", "End Of Life" ] }, "end_of_support_date": { "type": "string", "format": "date" }, "end_of_life_date": { "type": "string", "format": "date" } } }, "vulnerabilities": { "type": "array", "items": { "type": "object", "properties": { "cve_id": { "type": "string" }, "checksum": { "type": "string" }, "checksum_updated_at": { "type": "string", "format": "date-time" }, "vulnerability_score": { "type": "number" }, "first_matched_product": { "type": "object", "properties": { "cpe_uri": { "type": "string" }, "affected_versions": { "type": "array", "items": { "type": "object", "properties": { "lower_bound_type": { "type": "string" }, "lower_bound": { "type": "string" }, "upper_bound_type": { "type": "string" }, "upper_bound": { "type": "string" } } } }, "cpe_schema_version": { "type": "string" } } }, "fixes": { "type": "array", "items": { "type": "object", "properties": { "type": { "type": "string", "enum": [ "kb", "package", "security_update" ] }, "vendor_fix_id": { "type": "string" }, "vendor_link": { "type": "string" }, "internal_created_at": { "type": "string", "format": "date-time" }, "internal_updated_at": { "type": "string", "format": "date-time" }, "vendor_published_at": { "type": "string", "format": "date-time" } } } } } } } } }, "applications": { "type": "array", "items": { "type": "object", "properties": { "application_information": { "type": "object", "properties": { "application_name": { "type": "string" }, "vendor": { "type": "string" }, "version": { "type": "string" } } }, "vulnerabilities": { "type": "array", "items": { "type": "object", "properties": { "cve_id": { "type": "string" }, "checksum": { "type": "string" }, "checksum_updated_at": { "type": "string", "format": "date-time" }, "vulnerability_score": { "type": "number" }, "first_matched_product": { "type": "object", "properties": { "cpe_uri": { "type": "string" }, "affected_versions": { "type": "array", "items": { "type": "object", "properties": { "lower_bound_type": { "type": "string" }, "lower_bound": { "type": "string" }, "upper_bound_type": { "type": "string" }, "upper_bound": { "type": "string" } } } }, "cpe_schema_version": { "type": "string" } } }, "fixes": { "type": "array", "items": {} } } } }, "success": { "type": "boolean" }, "errors": { "type": "array", "items": {} }, "warnings": { "type": "array", "items": {} } } } }, "success": { "type": "boolean" }, "errors": { "type": "array", "items": {} }, "warnings": { "type": "array", "items": {} }, "has_application_errors": { "type": "boolean" }, "inferred_kbs": { "type": "array", "items": { "type": "string" } } } }