{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/kenna-security/main/json-schema/kenna-security-os-inference-response-schema-schema.json", "title": "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/os_inference_response_schema", "type": "object", "properties": { "meta": { "type": "object", "properties": { "request_agent": { "type": "string" }, "request_params": { "type": "object", "properties": { "minimum_vulnerability_score": { "type": "number" } } } } }, "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": {} } } }, "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": { "updated_at": { "type": "string", "format": "date" }, "checksum": { "type": "string" }, "checksum_updated_at": { "type": "string", "format": "date-time" }, "fixes": { "type": "array", "items": { "type": "object", "properties": { "arch": { "type": "string" }, "type": { "type": "string", "enum": [ "kb", "package", "security_update" ] }, "fix_name": { "type": "string" }, "fix_version": { "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" }, "vendor_advisory_id": { "type": "string" }, "vendor_advisory_uri": { "type": "string" } } } }, "vendor_data_types": { "type": "array", "items": { "type": "string" } }, "affected_products": { "type": "array", "items": { "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" } } } }, "cve": { "type": "object", "properties": { "description": { "type": "string" }, "cve_id": { "type": "string" }, "internal_updated_at": { "type": "string", "format": "date-time" }, "vendor_updated_at": { "type": "string", "format": "date-time" }, "vendor_published_at": { "type": "string", "format": "date-time" }, "remote_code_execution": { "type": "boolean" } } }, "risk": { "type": "object", "properties": { "vulnerability_score": { "type": "number" }, "easily_exploitable": { "type": "boolean" }, "malware_exploitable": { "type": "boolean" }, "active_internet_breach": { "type": "boolean" }, "last_seen_breach_at": { "type": "string", "format": "date-time" }, "malware_count": { "type": "integer" }, "risk_data_updated_at": { "type": "string", "format": "date-time" } } }, "vendor_data": { "type": "object", "properties": { "nvd": { "type": "object", "properties": { "summary": { "type": "string" }, "description": { "type": "string" }, "v2": { "type": "object", "properties": { "score": { "type": "number" }, "exploit_subscore": { "type": "number" }, "impact_subscore": { "type": "integer" }, "vector": { "type": "string" }, "access_complexity": { "type": "string", "enum": [ "Low", "Medium", "High" ] }, "access_vector": { "type": "string", "enum": [ "Local access", "Adjacent network", "Network" ] }, "authentication": { "type": "string", "enum": [ "None required", "Requires single instance", "Requires multiple instances" ] }, "availability_impact": { "type": "string", "enum": [ "None", "Partial", "Complete" ] }, "confidentiality_impact": { "type": "string", "enum": [ "None", "Partial", "Complete" ] }, "integrity_impact": { "type": "string", "enum": [ "None", "Partial", "Complete" ] }, "temporal_score": { "type": "number" } } }, "v3.1": { "type": "object", "properties": { "score": { "type": "number" }, "exploit_subscore": { "type": "number" }, "impact_subscore": { "type": "number" }, "vector": { "type": "string" }, "temporal_score": { "type": "number" } } } } } } } } } }, "success": { "type": "boolean" }, "errors": { "type": "array", "items": {} } } } }, "success": { "type": "boolean" }, "errors": { "type": "array", "items": {} }, "has_application_errors": { "type": "boolean" } } }