{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Asset",
  "description": "An asset tracked in the XSIAM asset inventory.",
  "$id": "https://raw.githubusercontent.com/api-evangelist/palo-alto-networks/refs/heads/main/json-schema/cortex-xsiam-api-asset-schema.json",
  "type": "object",
  "properties": {
    "asset_id": {
      "type": "string"
    },
    "asset_name": {
      "type": "string"
    },
    "asset_type": {
      "type": "string",
      "enum": [
        "DEVICE",
        "CLOUD_RESOURCE",
        "USER",
        "SERVICE_ACCOUNT"
      ]
    },
    "operating_system": {
      "type": "string"
    },
    "ip_addresses": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "risk_score": {
      "type": "number",
      "description": "Asset risk score (0.0 to 100.0)."
    },
    "first_seen": {
      "type": "integer",
      "description": "First observation timestamp as Unix epoch milliseconds."
    },
    "last_seen": {
      "type": "integer"
    },
    "tags": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "sources": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Data sources that reported this asset."
    }
  }
}
