ProofpointTAP Modeling Rule

Modeling Rule

Proofpoint TAP

Details

IDProofpointTAP_modeling_rule
From Version6.8.0
To Version6.9.9

Rules (XIF)

[MODEL: dataset=proofpoint_tap_raw, model=Email]
alter XDM.Email.cc = json_extract_array(ccAddresses ,"$."),
XDM.Email.sender = fromAddress,
XDM.Email.original_event_id = GUID,
XDM.Email.message_id = messageID,
XDM.Email.attachment.filename = arraystring(arraymap (json_extract_array (messageParts ,"$."), json_extract_scalar ("@element", "$.filename")), ","),
XDM.Email.attachment.md5 = arraystring(arraymap (json_extract_array (messageParts ,"$."), json_extract_scalar ("@element", "$.md5")), ","),
XDM.Email.attachment.sha256 = arraystring(arraymap (json_extract_array (messageParts ,"$."), json_extract_scalar ("@element", "$.sha256")), ","),
XDM.Email.delivery_timestamp = messageTime,
XDM.Email.recipients = json_extract_array(recipient,"$."),
XDM.Email.return_path = sender,
XDM.Email.Server.host.ipv4_addresses = json_extract_array(senderIP,"$."),
XDM.Email.subject = subject,
XDM.Email.threat.original_threat_id = arraystring(arraymap (json_extract_array (threatsInfoMap ,"$."), json_extract_scalar ("@element", "$.threatID")), ","),
XDM.Email.threat.subcategory  = arraystring(arraymap (json_extract_array (threatsInfoMap ,"$."), json_extract_scalar ("@element", "$.threatType")), ","),
XDM.Email.observation_timestamp = clickTime,
XDM.Email.Client.host.ipv4_addresses = json_extract_array(clickIP,"$.");

Schema

proofpoint_tap_raw

Field Type Array?
GUID string
ccAddresses string Yes
clickIP string
clickTime datetime
fromAddress string Yes
messageID string
messageParts string Yes
messageTime datetime
recipient string Yes
sender string Yes
senderIP string
subject string
threatsInfoMap string Yes
Raw JSON
 {
    "proofpoint_tap_raw": {
      "ccAddresses": {
        "type": "string",
        "is_array": true
      },
      "fromAddress": {
        "type": "string",
        "is_array": true
      },
      "GUID": {
        "type": "string",
        "is_array": false
      },
      "messageID": {
        "type": "string",
        "is_array": false
      },
      "messageParts": {
        "type": "string",
        "is_array": true
      },
      "messageTime": {
        "type": "datetime",
        "is_array": false
      },
      "recipient": {
        "type": "string",
        "is_array": true
      },
      "sender": {
        "type": "string",
        "is_array": true
      },
        "senderIP": {
          "type": "string",
          "is_array": false
      },
      "subject": {
        "type": "string",
        "is_array": false
      },
      "threatsInfoMap": {
        "type": "string",
        "is_array": true
      },
      "clickIP": {
        "type": "string",
        "is_array": false
      },
      "clickTime": {
        "type": "datetime",
        "is_array": false
      }
    }
  }