Documentation
¶
Index ¶
- type BaseIndicator
- type Client
- func (self *Client) GetCorrelationRuleGeneral(correl string) (CorrelationRuleGeneral, error)
- func (self *Client) GetCveGeneral(cve string) (CveGeneral, error)
- func (self *Client) GetDomainGeneral(domain string) (DomainGeneral, error)
- func (self *Client) GetDomainGeo(domain string) (Geo, error)
- func (self *Client) GetDomainMalware(domain string) ([]MalwareData, error)
- func (self *Client) GetDomainPassiveDns(domain string) (GenPassiveDns, error)
- func (self *Client) GetDomainUrlList(domain string) (DomainUrlList, error)
- func (self *Client) GetFileAnalysis(filename string) (FileAnalysis, error)
- func (self *Client) GetFileGeneral(filename string) (FileGeneral, error)
- func (self *Client) GetHostnameGeneral(hostname string) (HostnameGeneral, error)
- func (self *Client) GetHostnameGeo(hostname string) (Geo, error)
- func (self *Client) GetHostnameMalware(hostname string) ([]MalwareData, error)
- func (self *Client) GetHostnamePassiveDns(hostname string) (GenPassiveDns, error)
- func (self *Client) GetHostnameUrlList(hostname string) (HostnameUrlList, error)
- func (self *Client) GetIPv4General(ipv4 string) (IPv4General, error)
- func (self *Client) GetIPv4Geo(ipv4 string) (Geo, error)
- func (self *Client) GetIPv4Malware(ipv4 string) ([]MalwareData, error)
- func (self *Client) GetIPv4PassiveDns(ipv4 string) (GenPassiveDns, error)
- func (self *Client) GetIPv4Reputation(ipv4 string) (IPv4Reputation, error)
- func (self *Client) GetIPv4UrlList(ipv4 string) (IPv4UrlList, error)
- func (self *Client) GetIPv6General(ipv6 string) (IPv6General, error)
- func (self *Client) GetIPv6Geo(ipv6 string) (Geo, error)
- func (self *Client) GetIPv6Malware(ipv6 string) (Malware, error)
- func (self *Client) GetIPv6PassiveDns(ipv6 string) (GenPassiveDns, error)
- func (self *Client) GetIPv6Reputation(ipv6 string) (IPv6Reputation, error)
- func (self *Client) GetIPv6UrlList(ipv6 string) (IPv6UrlList, error)
- func (self *Client) GetMalware(ioctype string, target string) ([]MalwareData, error)
- func (self *Client) GetNidsGeneral(nids string) (NidsGeneral, error)
- func (self *Client) GetUrlGeneral(url string) (UrlGeneral, error)
- func (self *Client) GetUrlUrlList(url string) (UrlUrlList, error)
- type CorrelationRuleGeneral
- type CveGeneral
- type DomainFull
- type DomainGeneral
- type DomainUrlList
- type FileAnalysis
- type FileGeneral
- type GenPassiveDns
- type Geo
- type HostnameGeneral
- type HostnameUrlList
- type IPv4General
- type IPv4Reputation
- type IPv4UrlList
- type IPv6General
- type IPv6Reputation
- type IPv6UrlList
- type IndicatorTypeCounts
- type Malware
- type MalwareData
- type NidsGeneral
- type Observation
- type PassiveDns
- type Pulse
- type PulseAuthor
- type PulseGroup
- type PulseInfo
- type Reference
- type UrlEntry
- type UrlGeneral
- type UrlUrlList
- type Validation
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BaseIndicator ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func NewClientFromFile ¶
func (*Client) GetCorrelationRuleGeneral ¶
func (self *Client) GetCorrelationRuleGeneral(correl string) (CorrelationRuleGeneral, error)
func (*Client) GetCveGeneral ¶
func (self *Client) GetCveGeneral(cve string) (CveGeneral, error)
func (*Client) GetDomainGeneral ¶
func (self *Client) GetDomainGeneral(domain string) (DomainGeneral, error)
func (*Client) GetDomainMalware ¶
func (self *Client) GetDomainMalware(domain string) ([]MalwareData, error)
func (*Client) GetDomainPassiveDns ¶
func (self *Client) GetDomainPassiveDns(domain string) (GenPassiveDns, error)
func (*Client) GetDomainUrlList ¶
func (self *Client) GetDomainUrlList(domain string) (DomainUrlList, error)
func (*Client) GetFileAnalysis ¶
func (self *Client) GetFileAnalysis(filename string) (FileAnalysis, error)
func (*Client) GetFileGeneral ¶
func (self *Client) GetFileGeneral(filename string) (FileGeneral, error)
func (*Client) GetHostnameGeneral ¶
func (self *Client) GetHostnameGeneral(hostname string) (HostnameGeneral, error)
func (*Client) GetHostnameMalware ¶
func (self *Client) GetHostnameMalware(hostname string) ([]MalwareData, error)
func (*Client) GetHostnamePassiveDns ¶
func (self *Client) GetHostnamePassiveDns(hostname string) (GenPassiveDns, error)
func (*Client) GetHostnameUrlList ¶
func (self *Client) GetHostnameUrlList(hostname string) (HostnameUrlList, error)
func (*Client) GetIPv4General ¶
func (self *Client) GetIPv4General(ipv4 string) (IPv4General, error)
func (*Client) GetIPv4Malware ¶
func (self *Client) GetIPv4Malware(ipv4 string) ([]MalwareData, error)
func (*Client) GetIPv4PassiveDns ¶
func (self *Client) GetIPv4PassiveDns(ipv4 string) (GenPassiveDns, error)
func (*Client) GetIPv4Reputation ¶
func (self *Client) GetIPv4Reputation(ipv4 string) (IPv4Reputation, error)
func (*Client) GetIPv4UrlList ¶
func (self *Client) GetIPv4UrlList(ipv4 string) (IPv4UrlList, error)
func (*Client) GetIPv6General ¶
func (self *Client) GetIPv6General(ipv6 string) (IPv6General, error)
func (*Client) GetIPv6PassiveDns ¶
func (self *Client) GetIPv6PassiveDns(ipv6 string) (GenPassiveDns, error)
func (*Client) GetIPv6Reputation ¶
func (self *Client) GetIPv6Reputation(ipv6 string) (IPv6Reputation, error)
func (*Client) GetIPv6UrlList ¶
func (self *Client) GetIPv6UrlList(ipv6 string) (IPv6UrlList, error)
func (*Client) GetMalware ¶
func (self *Client) GetMalware(ioctype string, target string) ([]MalwareData, error)
func (*Client) GetNidsGeneral ¶
func (self *Client) GetNidsGeneral(nids string) (NidsGeneral, error)
func (*Client) GetUrlGeneral ¶
func (self *Client) GetUrlGeneral(url string) (UrlGeneral, error)
func (*Client) GetUrlUrlList ¶
func (self *Client) GetUrlUrlList(url string) (UrlUrlList, error)
type CorrelationRuleGeneral ¶
type CorrelationRuleGeneral struct { BaseIndicator BaseIndicator `json:"base_indicator"` Cve string `json:"cve"` Indicator string `json:"indicator"` PulseInfo PulseInfo `json:"pulse_info"` Sections []string `json:"sections"` }
type CveGeneral ¶
type CveGeneral struct { BaseIndicator BaseIndicator `json:"base_indicator"` Cve string `json:"cve"` Cvss map[string]string `json:"cvss"` Cwe string `json:"cwe"` DateCreated string `json:"date_created"` DateModified string `json:"date_modified"` Description string `json:"description"` Indicator string `json:"indicator"` MitreUrl string `json:"mitre_url"` NvdUrl string `json:"nvd_url"` Products []string `json:"products"` PulseInfo PulseInfo `json:"pulse_info"` References []Reference `json:"references"` Sections []string `json:"sections"` }
type DomainFull ¶
type DomainFull struct { PassiveDns GenPassiveDns UrlList DomainUrlList Malware Malware }
type DomainGeneral ¶
type DomainGeneral struct { Alexa string `json:"alexa"` BaseIndicator BaseIndicator `json:"base_indicator"` Indicator string `json:"indicator"` PulseInfo PulseInfo `json:"pulse_info"` Sections []string `json:"sections"` Type string `json:"type"` Validation []Validation `json:"validation"` Whois string "json:`whois`" }
type DomainUrlList ¶
type FileAnalysis ¶
type FileGeneral ¶
type FileGeneral struct { BaseIndicator BaseIndicator `json:"base_indicator"` Indicator string `json:"indicator"` PulseInfo PulseInfo `json:"pulse_info"` Sections []string `json:"sections"` Type string `json:"type"` TypeTitle string `json:"type_title"` Validation []Validation `json:"validation"` }
type GenPassiveDns ¶
type GenPassiveDns struct { Count int `json:"count"` PassiveDns []PassiveDns `json:"passive_dns"` }
type Geo ¶
type Geo struct { AreaCode int `json:"area_code"` Asn string `json:"asn"` Charset int `json:"charset"` City string `json:"city"` CityData bool `json:"city_data"` ContinentCode string `json:"continet_code"` CountryCode string `json:"country_code"` CountryCode3 string `json:"country_code3"` CountryName string `json:"country_name"` DmaCode int `json:"dma_code"` FlagTitle string `json:"flag_title"` FlagUrl string `json:"flag_url"` Latitude float32 `json:"latitude"` Longitude float32 `json:"longitude"` PostalCode string `json:"postal_code"` Region string `json:"region"` }
type HostnameGeneral ¶
type HostnameGeneral struct { Alexa string `json:"alexa"` BaseIndicator BaseIndicator `json:"base_indicator"` Indicator string `json:"indicator"` PulseInfo PulseInfo `json:"pulse_info"` Sections []string `json:"sections"` Type string `json:"type"` TypeTitle string `json:"type_title"` Validation []Validation `json:"validation"` Whois string "json:`whois`" }
type HostnameUrlList ¶
type IPv4General ¶
type IPv4General struct { AreaCode int `json:"area_code"` Asn string `json:"asn"` BaseIndicator BaseIndicator `json:"base_indicator"` Charset int `json:"charset"` City string `json:"city"` CityData bool `json:"city_data"` ContinentCode string `json:"continet_code"` CountryCode string `json:"country_code"` CountryCode3 string `json:"country_code3"` CountryName string `json:"country_name"` DmaCode int `json:"dma_code"` FlagTitle string `json:"flag_title"` FlagUrl string `json:"flag_url"` Latitude float32 `json:"latitude"` Longitude float32 `json:"longitude"` PostalCode string `json:"postal_code"` PulseInfo PulseInfo `json:"pulse_info"` Region string `json:"region"` Sections []string `json:"sections"` Type string `json:"type"` TypeTitle string `json:"type_title"` Validation []Validation `json:"validation"` Whois string "json:`whois`" }
type IPv4Reputation ¶
type IPv4Reputation struct { }
type IPv4UrlList ¶
type IPv6General ¶
type IPv6General struct { BaseIndicator BaseIndicator `json:"base_indicator"` Indicator string `json:"indicator"` PulseInfo PulseInfo `json:"pulse_info"` Reputatioin int `json:"reputation"` Sections []string `json:"sections"` Type string `json:"type"` TypeTitle string `json:"type_title"` Validation []Validation `json:"validation"` Whois string "json:`whois`" }
type IPv6Reputation ¶
type IPv6Reputation struct { }
type IPv6UrlList ¶
type IndicatorTypeCounts ¶
type Malware ¶
type Malware struct { Count int `json:"count"` Data []MalwareData `json:"data"` Next string `json:"next"` Previous string `json:"previous"` Size int `json:"size"` }
type MalwareData ¶
type NidsGeneral ¶
type NidsGeneral struct { BaseIndicator BaseIndicator `json:"base_indicator"` Category string `json:"category"` Cve string `json:"cve"` EventActivity interface{} `json:"event_activity"` Indicator string `json:"indicator"` MalwareName []string `json:"malware_name"` Name string `json:"name"` PulseInfo PulseInfo `json:"pulse_info"` Sections []string `json:"sections"` Subcategory string `json:"subcategory"` }
type Observation ¶
type Observation struct { AccessReason string `json:"access_reason"` AccessType string `json:"access_type"` Content string `json:"content"` Description string `json:"description"` Expiration string `json:"expiration"` IsActive bool `json:"is_active"` ObservationCreated string `json:"observation_created"` PulseKey string `json:"pulse_key"` Role string `json:"role"` Title string `json:"title"` }
type PassiveDns ¶
type Pulse ¶
type Pulse struct { TLP string `json:"tlp"` Adversary string `json:"adversay"` Author PulseAuthor `json:"author"` ClonedFrom interface{} `json:"cloned_from"` CommentCount int `json:"comment_count"` Created string `json:"created"` Description string `json:"description"` DownvotesCount int `json:"downvote_count"` ExportCount int `json:"export_count"` FollwerCount int `json:"follower_count"` Groups []PulseGroup `json:"groups"` Id string `json:"id"` InGroup bool `json:"in_group"` IndicatorCount int `json:"indicator_count"` IndicatorTypeCounts IndicatorTypeCounts `json:"indicator_type_counts"` Industries []string `json:"industries"` IsAuthor bool `json:"is_author"` IsFollowing bool `json:"is_following"` IsModified bool `json:"is_modified"` IsSubscribing bool `json:"is_subscribing"` Locked bool `json:"locked"` Modified string `json:"modified"` ModifiedText string `json:"modified_text"` Name string `json:"name"` Observation Observation `json:"observation"` Public bool `json:"public"` PulseSource string `json:"pulse_source"` Reference []string `json:"reference"` SubscriberCount int `json:"subscriber_count"` Tags []string `json:"tags"` TargetCountries []string `json:"target_countries"` UpvoteCount int `json:"upvote_count"` ValidatorCount int `json:"validator_count"` Vote int `json:"vote"` VoteCount int `json:"vote_count"` }
type PulseAuthor ¶
type PulseGroup ¶
type UrlGeneral ¶
type UrlGeneral struct { Alexa string `json:"alexa"` BaseIndicator BaseIndicator `json:"base_indicator"` Indicator string `json:"indicator"` PulseInfo PulseInfo `json:"pulse_info"` Sections []string `json:"sections"` Type string `json:"type"` TypeTitle string `json:"type_title"` Validation []Validation `json:"validation"` Whois string "json:`whois`" }
type UrlUrlList ¶
type UrlUrlList struct { AreaCode int `json:"area_code"` Asn string `json:"asn"` Charset int `json:"charset"` City string `json:"city"` CityData bool `json:"city_data"` ContinentCode string `json:"continet_code"` CountryCode string `json:"country_code"` CountryCode3 string `json:"country_code3"` CountryName string `json:"country_name"` DmaCode int `json:"dma_code"` FlagTitle string `json:"flag_title"` FlagUrl string `json:"flag_url"` Latitude float32 `json:"latitude"` Longitude float32 `json:"longitude"` PostalCode string `json:"postal_code"` Region string `json:"region"` UrlList []UrlEntry `json:"url_list"` }
type Validation ¶
Click to show internal directories.
Click to hide internal directories.