Versions in this module Expand all Collapse all v1 v1.0.3 Sep 12, 2019 Changes in this version + var ErrUnknownProtocol = errors.New("Unknown protocol") + type EmptyMispResponse struct + func (emr EmptyMispResponse) Iter() chan MispObject + type MispAttribute struct + Category string + Comment string + Deleted bool + Distribution string + EventID string + ID string + SharingGroupID string + StrTimestamp string + ToIDS bool + Type string + UUID string + Value string + func (ma MispAttribute) Timestamp() time.Time + type MispAttributeDict struct + Attribute []MispAttribute + type MispAttributeQuery struct + Category string + EventID string + From string + Last string + Org string + Tags string + To string + Type string + UUID string + Value string + func (maq MispAttributeQuery) Prepare() (j []byte) + type MispAttributeResponse struct + Response MispAttributeDict + func (mar MispAttributeResponse) Iter() (moc chan MispObject) + type MispCon struct + APIKey string + Client *http.Client + Host string + Proto string + func NewCon(proto, host, apiKey string) MispCon + func NewInsecureCon(proto, host, apiKey string) MispCon + func (mc MispCon) Search(mq MispQuery) (MispResponse, error) + func (mc MispCon) TextExport(flags ...string) (out []string, err error) + type MispConfig struct + APIKey string + Host string + Proto string + func LoadConfig(path string) (mc MispConfig) + type MispError struct + Message string + StatusCode int + func (me MispError) Error() string + type MispEvent struct + Analysis string + Attribute []MispAttribute + AttributeCount string + Date string + Distribution string + Galaxy []MispRelatedEvent + ID string + Info string + Locked bool + Org Org + OrgID string + Orgc Org + OrgcID string + ProposalEmailLock bool + Published bool + RelatedEvent []MispRelatedEvent + ShadowAttribute []MispAttribute + SharingGroupID string + StrPublishedTimestamp string + StrTimestamp string + ThreatLevelID string + UUID string + func (me MispEvent) PublishedTimestamp() time.Time + func (me MispEvent) Timestamp() time.Time + type MispEventDict struct + Event MispEvent + type MispEventQuery struct + Category string + EventID string + From string + Last string + Metadata string + Org string + QuickFilter string + SearchAll int8 + Tags string + To string + Type string + Value string + WithAttachments string + func (meq MispEventQuery) Prepare() (j []byte) + type MispEventResponse struct + Response []MispEventDict + func (mer MispEventResponse) Iter() (moc chan MispObject) + type MispObject interface + type MispQuery interface + Prepare func() []byte + type MispRelatedEvent struct + Analysis string + Date string + Distribution string + ID string + Info string + Org Org + OrgID string + Orgc Org + OrgcID string + Published bool + StrTimestamp string + ThreatLevelID string + UUID string + func (mre *MispRelatedEvent) Timestamp() time.Time + type MispRequest struct + Request MispQuery + type MispResponse interface + Iter func() chan MispObject + type Org struct + ID string + Name string + UUID string