func (dqe *DNSQueryEvent) GetMessage() string {
	if dqe.Alert&kernel.DNSAlert == kernel.DNSAlert {
		return fmt.Sprintf(
			"Suspicious %s DNS traffic detected: %s",
			dqe.DataPath,
			dqe.Alert,
		)
	} else if dqe.Alert != 0 {
		return fmt.Sprintf(
			"Suspicious %s traffic detected: %s violation(s) detected",
			dqe.DataPath,
			dqe.Alert,
		)
	}
	return fmt.Sprintf(
		"%s DNS traffic",
		dqe.DataPath,
	)
}
// GetMessage - Returns a message for this event
Returns a message for this event
// GetMessage - Returns a message for this event
func (dqe *DNSQueryEvent) GetMessage() string {
	if dqe.Alert&kernel.DNSAlert == kernel.DNSAlert {
		return fmt.Sprintf(
			"Suspicious %s DNS traffic detected: %s",
			dqe.DataPath,
			dqe.Alert,
		)
	} else if dqe.Alert != 0 {
		return fmt.Sprintf(
			"Suspicious %s traffic detected: %s violation(s) detected",
			dqe.DataPath,
			dqe.Alert,
		)
	}
	return fmt.Sprintf(
		"%s DNS traffic",
		dqe.DataPath,
	)
}
func ( dqe * DNSQueryEvent ) GetMessage ( ) string { if dqe . Alert & kernel . DNSAlert == kernel . DNSAlert { return fmt . Sprintf ( " " , dqe . DataPath , dqe . Alert , ) } else if dqe . Alert != 0 { return fmt . Sprintf ( " " , dqe . DataPath , dqe . Alert , ) } return fmt . Sprintf ( " " , dqe . DataPath , ) }
Returns a message for this event
Returns a message for this event