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