Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AlertV1 ¶
type AlertV1 struct { Action string `json:"action"` Name string `json:"name"` DevicePhysical string `json:"devicephysical"` DeviceVirtual string `json:"devicevirtual"` Dst string `json:"dst"` DestIp string `json:"dest_ip,omitempty"` DstPort string `json:"dstport,omitempty"` Dvc string `json:"dvc,omitempty"` Platform string `json:"platform"` Protocol string `json:"protocol"` SrcIp string `json:"src_ip"` Src string `json:"src"` Sha string `json:"sha"` ShortDesc string `json:"shortdesc"` SrcPort string `json:"srcport,omitempty"` Type string `json:"type"` Vendor string `json:"vendor"` Blobs *[]DataV1 `json:"blobs,omitempty"` Context map[string]interface{} `json:"context,omitempty"` Date string `json:"date"` Timestamp float64 `json:"timestamp"` LongdescMD string `json:"longdesc_md,omitempty"` SafeHtmlClickDesc bool `json:"safe_html_click_desc"` SafeHtmlClickEvid bool `json:"safe_html_click_evid"` SafeHtmlRenderDesc bool `json:"safe_html_render_desc"` SafeHtmlRrenderEvid bool `json:"safe_html_render_evid"` }
func (*AlertV1) AddJSONData ¶
func (*AlertV1) AddTimeStampFields ¶
func (*AlertV1) SetBlobsProperties ¶
func (*AlertV1) ValidateAlert ¶
type DataV1 ¶
type DataV1 struct { Data string `json:"data"` Ext string `json:"ext"` Name string `json:"name"` Mime string `json:"mime"` MetaData *MetaDataV1 `json:"metadata,omitempty"` }
type MetaDataV1 ¶
type MetaDataV1 struct {
Render bool `json:"render"`
}
Click to show internal directories.
Click to hide internal directories.