Versions in this module Expand all Collapse all v1 v1.0.2 Nov 23, 2020 Changes in this version + const ReceiverDataLimit + type Click struct + Blocked bool + CampaignID string + Category string + Classification string + ClickIPAddress string + ClickTimestamp time.Time + GUID string + ID string + Permitted bool + RecipientEmailAddresses string + SenderEmailddress string + SenderIPAddress string + ThreatID string + ThreatStatus string + ThreatTimestamp time.Time + ThreatURL string + URL string + UserAgent string + type Client struct + func NewClient(opts map[string]interface{}) (*Client, error) + func (c *Client) Close() + func (c *Client) GetData(serviceName, serviceOperation string, opts map[string]interface{}) ([]string, error) + func (c *Client) GetSiemAll(opts map[string]interface{}) ([]*Click, []*Message, error) + func (c *Client) GetSiemBlockedClicks(opts map[string]interface{}) ([]*Click, error) + func (c *Client) GetSiemBlockedMessages(opts map[string]interface{}) ([]*Message, error) + func (c *Client) GetSiemDeliveredMessages(opts map[string]interface{}) ([]*Message, error) + func (c *Client) GetSiemIssues(opts map[string]interface{}) ([]*Click, []*Message, error) + func (c *Client) GetSiemPermittedClicks(opts map[string]interface{}) ([]*Click, error) + func (c *Client) Info() + func (c *Client) SetHost(s string) error + func (c *Client) SetPort(p int) error + func (c *Client) SetPrincipalSecret(s string) error + func (c *Client) SetProtocol(s string) error + func (c *Client) SetServicePrincipal(s string) error + func (c *Client) SetValidateServerCertificate() error + type Message struct + Blocked bool + CarbonCopyHeaderAddresses []string + Category string + ClusterName string + CompletelyRewritten bool + Delivered bool + FromHeader string + FromHeaderAddresses []string + GUID string + ID string + ImpostorScore float64 + MalwareScore float64 + MessageID string + MessageParts []*MessagePart + MessageSize float64 + MessageTimestamp time.Time + ModulesRun []string + PhishScore float64 + PolicyRoutes []string + QID string + QuarantineFolder string + QuarantineRule string + RecipientEmailAddress []string + ReplyToHeader string + ReplyToHeaderAddress []string + SenderEmailAddress string + SenderIPAddress string + SpamScore float64 + Subject string + Threats []*Threat + ToHeaderAddresses []string + XmailerHeader string + type MessagePart struct + ContentType string + DeclaredContentType string + Disposition string + FileName string + MD5 string + SHA256 string + SandboxStatus string + type SiemResponse struct + BlockedClicks []*Click + BlockedMessages []*Message + DeliveredMessages []*Message + PermittedClicks []*Click + QueryEndTime string + type Threat struct + CampaignID string + Classification string + ID string + Name string + ThreatStatus string + Timestamp time.Time + Type string + URL string