Documentation
¶
Index ¶
- type Report
- type ReportActor
- type ReportActors
- type ReportAffectedIndustries
- type ReportCveIDs
- type ReportFile
- type ReportFiles
- type ReportIndexItem
- type ReportIntendedEffects
- type ReportMain
- type ReportMalwareFamilies
- type ReportMalwareFamily
- type ReportMotivations
- type ReportNetwork
- type ReportNetworks
- type ReportSourceGeographies
- type ReportTagSection
- type ReportTargetGeographies
- type ReportTargetedInformations
- type ReportThreatScape
- type ReportTtps
- type ReportWrapper
- type Result
- type ResultErrorMessage
- type Vulnerability
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Report ¶
type Report struct { Audience []string `json:"audience"` Copyright string `json:"copyright"` CveIDs *ReportCveIDs `json:"cveIds"` ExecSummary string `json:"execSummary"` IntelligenceType string `json:"intelligenceType"` PublishDate string `json:"publishDate"` ReportID string `json:"reportId"` ReportType string `json:"reportType"` TagSection *ReportTagSection `json:"tagSection"` ThreatScape *ReportThreatScape `json:"ThreatScape"` Title string `json:"title"` Version string `json:"version"` Version1PublishDate string `json:"version1PublishDate"` }
Report struct
type ReportActor ¶
ReportActor struct
type ReportActors ¶
type ReportActors struct {
Actor []*ReportActor `json:"actor"`
}
ReportActors struct
type ReportAffectedIndustries ¶
type ReportAffectedIndustries struct {
AffectedIndustry []string `json:"affectedIndustry"`
}
ReportAffectedIndustries struct
type ReportFile ¶
type ReportFile struct { Sha1 string `json:"sha1"` Identifier string `json:"identifier"` Actor string `json:"actor"` FileName string `json:"fileName"` FileSize string `json:"fileSize"` ActorID string `json:"actorId"` Sha256 string `json:"sha256"` Type string `json:"type"` Md5 string `json:"md5"` }
ReportFile struct
type ReportIndexItem ¶
type ReportIndexItem struct {
ReportID string `json:"reportId"`
}
ReportIndexItem one item in array returned on /report/index we only want the reportID so we can use it to get /report/{reportID}
type ReportIntendedEffects ¶
type ReportIntendedEffects struct {
IntendedEffect []string `json:"intendedEffect"`
}
ReportIntendedEffects struct
type ReportMain ¶
type ReportMain struct { Actors *ReportActors `json:"actors"` AffectedIndustries *ReportAffectedIndustries `json:"affectedIndustries"` IntendedEffects *ReportIntendedEffects `json:"intendedEffects"` MalwareFamilies *ReportMalwareFamilies `json:"malwareFamilies"` Motivations *ReportMotivations `json:"motivations"` SourceGeographies *ReportSourceGeographies `json:"sourceGeographies"` TargetedInformations *ReportTargetedInformations `json:"targetedInformations"` TargetGeographies *ReportTargetGeographies `json:"targetGeographies"` Ttps *ReportTtps `json:"ttps"` }
ReportMain struct
type ReportMalwareFamilies ¶
type ReportMalwareFamilies struct {
MalwareFamily []*ReportMalwareFamily `json:"malwareFamily"`
}
ReportMalwareFamilies struct
type ReportMalwareFamily ¶
ReportMalwareFamily struct
type ReportMotivations ¶
type ReportMotivations struct {
Motivation []string `json:"motivation"`
}
ReportMotivations struct
type ReportNetwork ¶
type ReportNetwork struct { URL string `json:"url"` NetworkType string `json:"networkType"` Identifier string `json:"identifier"` Actor string `json:"actor"` ActorID string `json:"actorId"` Domain string `json:"domain"` }
ReportNetwork struct
type ReportNetworks ¶
type ReportNetworks struct {
Networks []*ReportNetwork `json:"network"`
}
ReportNetworks struct
type ReportSourceGeographies ¶
type ReportSourceGeographies struct {
SourceGeography []string `json:"sourceGeography"`
}
ReportSourceGeographies struct
type ReportTagSection ¶
type ReportTagSection struct { Files *ReportFiles `json:"files"` Main *ReportMain `json:"main"` Networks *ReportNetworks `json:"networks"` }
ReportTagSection struct
type ReportTargetGeographies ¶
type ReportTargetGeographies struct {
TargetGeography []string `json:"targetGeography"`
}
ReportTargetGeographies struct
type ReportTargetedInformations ¶
type ReportTargetedInformations struct {
TargetedInformation []string `json:"targetedInformation"`
}
ReportTargetedInformations struct
type ReportThreatScape ¶
type ReportThreatScape struct {
Product []string `json:"product"`
}
ReportThreatScape struct
type ReportWrapper ¶
type ReportWrapper struct {
Report Report `json:"report"`
}
ReportWrapper struct
type Result ¶
type Result struct { Success bool `json:"success"` Message interface{} `json:"message"` }
Result struct
type ResultErrorMessage ¶
type ResultErrorMessage struct { Error string `json:"error"` Description string `json:"description"` URL string `json:"url"` }
ResultErrorMessage struct
type Vulnerability ¶
type Vulnerability struct { ThreatScape []string `json:"ThreatScape"` AttackingEase string `json:"attackingEase"` Audience []string `json:"audience"` CPE string `json:"cpe"` CVEIds []string `json:"cveIds"` CVEOriginalReleaseDate int64 `json:"cveOriginalReleaseDate"` CvssBaseScore string `json:"cvssBaseScore"` CvssBaseScoreLink string `json:"cvssBaseScoreLink"` CvssBaseVector string `json:"cvssBaseVector"` CvssTemporalScore string `json:"cvssTemporalScore"` CvssTemporalScoreLink string `json:"cvssTemporalScoreLink"` CvssTemporalVector string `json:"cvssTemporalVector"` ExploitInTheWild bool `json:"exploitInTheWild"` ExploitRating string `json:"exploitRating"` IntelligenceType string `json:"intelligenceType"` Mitigations []string `json:"mitigations"` PublishDate int64 `json:"publishDate"` ReportID string `json:"reportId"` ReportLink string `json:"reportLink"` RiskRating string `json:"riskRating"` Title string `json:"title"` Version string `json:"version"` Version1PublishDate int64 `json:"version1PublishDate"` WebLink string `json:"webLink"` }
Vulnerability struct
func (*Vulnerability) Convert ¶
func (item *Vulnerability) Convert() (*nvd.NVDCVEFeedJSON10DefCVEItem, error)
func (*Vulnerability) ID ¶
func (item *Vulnerability) ID() string