Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Alert ¶
type Alert struct { Id string `json:"_id,omitempty"` Type string `json:"type"` Source string `json:"source"` SourceRef string `json:"sourceRef"` Title string `json:"title"` Description string `json:"description"` ExternalLink string `json:"externalLink"` Tags []string `json:"tags"` Observables []Observable `json:"observables"` }
type Observable ¶
type TheHiveClient ¶
type TheHiveClient struct { HTTP *fiber.Agent Logger *zap.Logger // contains filtered or unexported fields }
func GetHiveClient ¶
func (*TheHiveClient) CreateAlert ¶
func (s *TheHiveClient) CreateAlert(alert Alert) (id string, err error)
Click to show internal directories.
Click to hide internal directories.