{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-inspector/json-schema/amazon-inspector-send-cis-session-telemetry-request-schema.json",
  "title": "SendCisSessionTelemetryRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-inspector-cissession-api-openapi.yml#/components/schemas/SendCisSessionTelemetryRequest",
  "type": "object",
  "properties": {
    "scanJobId": {
      "type": "string",
      "description": "A unique identifier for the scan job."
    },
    "sessionToken": {
      "type": "string",
      "description": "The unique token that identifies the CIS session."
    },
    "messages": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/CisSessionMessage"
      },
      "description": "The CIS session telemetry messages."
    }
  },
  "required": [
    "scanJobId",
    "sessionToken",
    "messages"
  ],
  "$defs": {
    "CisSessionMessage": {
      "type": "object",
      "properties": {
        "ruleId": {
          "type": "string",
          "description": "The rule ID for the CIS session message."
        },
        "status": {
          "type": "string",
          "enum": [
            "FAILED",
            "PASSED",
            "NOT_EVALUATED",
            "INFORMATIONAL",
            "UNKNOWN",
            "NOT_APPLICABLE",
            "ERROR"
          ],
          "description": "The status of the CIS session message."
        },
        "cisRuleDetails": {
          "type": "string",
          "format": "byte",
          "description": "The CIS rule details for the CIS session message."
        }
      },
      "required": [
        "ruleId",
        "status",
        "cisRuleDetails"
      ]
    }
  }
}