{
  "$id": "https://opendata.rapid7.com/sonar.https/",
  "type": "object",
  "definitions": {},
  "$schema": "http://json-schema.org/draft-07/schema#",
  "additionalProperties": false,
  "properties": {
    "data": {
      "$id": "/properties/data",
      "type": "string",
      "description": "The base64 encoded HTTPS response"
    },
    "host": {
      "$id": "/properties/host",
      "type": "string",
      "description": "The name or IP of the HTTPS endpoint"
    },
    "ip": {
      "$id": "/properties/ip",
      "type": "string",
      "description": "The IP of the HTTPS endpoint"
    },
    "path": {
      "$id": "/properties/path",
      "type": "string",
      "description": "The HTTP path requested"
    },
    "port": {
      "$id": "/properties/port",
      "type": "integer",
      "description": "The HTTP port of the HTTPS endpoint"
    },
    "vhost": {
      "$id": "/properties/vhost",
      "type": "string",
      "description": "The HTTP 1.1 Host header used to specify a virtualhost"
    },
    "subject": {
      "$id": "/properties/subject",
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "OU": {
          "$id": "/properties/subject/properties/OU",
          "type": "string",
          "description": "The OrganizationalUnit (OU) extracted from the SSL certificate on the HTTPS endpoint"
        },
        "CN": {
          "$id": "/properties/subject/properties/CN",
          "type": "string",
          "description": "The CommonName (CN) extracted from the SSL certificate on the HTTPS endpoint"
        }
      }
    }
  }
}
