Versions in this module Expand all Collapse all v0 v0.2.0 Sep 29, 2019 Changes in this version + const ARM + const ARM64 + const Alpha + const AlphaAll + const ArmAll12 + const ArmV4T + const ArmV5TEJ + const ArmV6 + const ArmV6M + const ArmV7 + const ArmV7EM + const ArmV7F + const ArmV7K + const ArmV7M + const ArmV7S + const ArmXScale + const BigEndian + const Binary + const Bits32 + const Bits64 + const Celeron + const CeleronMobile + const Code + const Err + const Files + const HPPA + const Hppa7100 + const Hppa7100LC + const I386 + const I386All + const I486 + const I486Sx + const I586 + const I860 + const I860860 + const I860All + const Info + const InfoStatus + const InsecureStatus + const IntelHTT + const IntelModelAll + const Itanium + const Itanium2 + const LittleEndian + const MC68030Only + const MC68040 + const MC680X0 + const MC680X0All + const MC88000 + const MC88100 + const MC88110 + const MC98000 + const MC98000All + const MC98601 + const MIPS + const Mc880000All + const MipsAll + const MipsR2000 + const MipsR2000a + const MipsR2300 + const MipsR2600 + const MipsR2800 + const MipsR3000 + const MipsR3000a + const None + const ObjC + const PentiiM3 + const PentiiM5 + const Pentium3 + const Pentium3M + const Pentium3Xeon + const Pentium4 + const Pentium4M + const PentiumM + const PentiumPro + const Plist + const PowerPC + const PowerPC601 + const PowerPC602 + const PowerPC603 + const PowerPC603e + const PowerPC603ev + const PowerPC604 + const PowerPC604e + const PowerPC620 + const PowerPC64 + const PowerPC7400 + const PowerPC7450 + const PowerPC750 + const PowerPC970 + const PowerPCAll + const SPARC + const SecureStatus + const SparcAll + const Static + const Store + const Swift + const Undefined + const UvAxI + const UvAxII + const UvaxIII + const VAX + const Vax730 + const Vax750 + const Vax780 + const Vax785 + const Vax8200 + const Vax8500 + const Vax8600 + const Vax8650 + const Vax8800 + const VaxAll + const Warn + const WarningStatus + const X8664 + const X8664All + const X86Arch1 + const Xeon + const XeonMP + var ItunesCountryCodes = map[string]string + func Validate(e Entity) []validator.FieldError + type AnalysisCheck string + const DoBinary + const DoCode + const DoFiles + const DoPList + const DoStore + type AnalysisName string + type ApiFinding struct + Paths []string + func (e *ApiFinding) FromMap(m map[string]interface{}) (ent Entity, err error) + func (e *ApiFinding) ToMap() map[string]interface{} + func (e *ApiFinding) Validate() []validator.FieldError + type ApiMatcher struct + Match Match + func (e *ApiMatcher) FromMap(m map[string]interface{}) (ent Entity, err error) + func (e *ApiMatcher) ToMap() map[string]interface{} + func (e *ApiMatcher) Validate() []validator.FieldError + type ApiRule struct + Description string + func (e *ApiRule) FromMap(m map[string]interface{}) (ent Entity, err error) + func (e *ApiRule) ToMap() map[string]interface{} + func (e *ApiRule) Validate() []validator.FieldError + type BinType string + type BinaryAnalysis struct + BinType BinType + Libraries []string + Macho MachoInfo + Results []BinaryAnalysisResult + func (e *BinaryAnalysis) FromMap(m map[string]interface{}) (ent Entity, err error) + func (e *BinaryAnalysis) ToMap() map[string]interface{} + func (e *BinaryAnalysis) Validate() []validator.FieldError + type BinaryAnalysisResult struct + CWE string + Cvss float64 + Description string + Issue string + Status Status + func (e *BinaryAnalysisResult) FromMap(m map[string]interface{}) (ent Entity, err error) + func (e *BinaryAnalysisResult) ToMap() map[string]interface{} + func (e *BinaryAnalysisResult) Validate() []validator.FieldError + type Bits uint + type BundleUrlType struct + Name string + Schemas []string + func (e *BundleUrlType) FromMap(m map[string]interface{}) (ent Entity, err error) + func (e *BundleUrlType) ToMap() map[string]interface{} + func (e *BundleUrlType) Validate() []validator.FieldError + type CodeAnalysis struct + Apis []ApiFinding + BadDomains []string + Codes []CodeFinding + Emails []EmailFinding + Urls []UrlFinding + func (e *CodeAnalysis) FromMap(m map[string]interface{}) (ent Entity, err error) + func (e *CodeAnalysis) ToMap() map[string]interface{} + func (e *CodeAnalysis) Validate() []validator.FieldError + type CodeFinding struct + Paths []string + func (e *CodeFinding) FromMap(m map[string]interface{}) (ent Entity, err error) + func (e *CodeFinding) ToMap() map[string]interface{} + func (e *CodeFinding) Validate() []validator.FieldError + type CodeMatcher struct + Match Match + func (e *CodeMatcher) FromMap(m map[string]interface{}) (ent Entity, err error) + func (e *CodeMatcher) ToMap() map[string]interface{} + func (e *CodeMatcher) Validate() []validator.FieldError + type CodeRule struct + Cvss float64 + Cwe string + Description string + Level Level + func (e *CodeRule) FromMap(m map[string]interface{}) (ent Entity, err error) + func (e *CodeRule) ToMap() map[string]interface{} + func (e *CodeRule) Validate() []validator.FieldError + type Command struct + Analysis map[AnalysisCheck]bool + AppId string + AppName string + Country string + Output io.Writer + Path string + Quiet bool + Source bool + SourcePath string + Summary bool + T *testing.T + Tools string + VirusTotalKey string + func (c Command) FromMap(m map[string]interface{}) (ent Entity, err error) + func (c Command) ToMap() map[string]interface{} + func (c Command) Validate() []validator.FieldError + type Configuration struct + Analysis []string + BinaryPath string + DefaultCountry string + JSONFormat bool + PerformDomainCheck bool + QuietMode bool + SourcePath string + SummaryMode bool + ToolsPath string + VirusScanKey string + type CpuType string + type EmailFinding struct + Email string + Paths []string + func (e *EmailFinding) FromMap(m map[string]interface{}) (ent Entity, err error) + func (e *EmailFinding) ToMap() map[string]interface{} + func (e *EmailFinding) Validate() []validator.FieldError + type Endianness string + type Entity interface + FromMap func(m map[string]interface{}) (Entity, error) + ToMap func() map[string]interface{} + Validate func() []validator.FieldError + type Error struct + Analysis AnalysisName + E error + func (e *Error) FromMap(m map[string]interface{}) (ent Entity, err error) + func (e *Error) ToMap() map[string]interface{} + func (e *Error) Validate() []validator.FieldError + type FileAnalysis struct + Certifications []string + Databases []string + Files []string + PLists []string + func (e *FileAnalysis) FromMap(m map[string]interface{}) (ent Entity, err error) + func (e *FileAnalysis) ToMap() map[string]interface{} + func (e *FileAnalysis) Validate() []validator.FieldError + type InsecureConnections struct + AllowArbitraryLoads bool + Domains []string + func (e *InsecureConnections) FromMap(m map[string]interface{}) (ent Entity, err error) + func (e *InsecureConnections) ToMap() map[string]interface{} + func (e *InsecureConnections) Validate() []validator.FieldError + type Level string + const GoodLevel + const HighLevel + const InfoLevel + const WarningLevel + type LogLevel int + type LogMessage struct + Analysis AnalysisName + Level LogLevel + Message string + func (e *LogMessage) FromMap(m map[string]interface{}) (ent Entity, err error) + func (e *LogMessage) ToMap() map[string]interface{} + func (e *LogMessage) Validate() []validator.FieldError + type MachoInfo struct + Bits Bits + Cpu CpuType + Endianness Endianness + Err bool + SubCpu SubCpuType + func (e *MachoInfo) FromMap(m map[string]interface{}) (ent Entity, err error) + func (e *MachoInfo) ToMap() map[string]interface{} + func (e *MachoInfo) Validate() []validator.FieldError + type Match func(string) bool + type PListAnalysis struct + Bin string + BinName string + Build string + BundleLocalizations []string + BundleName string + BundleSupportedPlatforms []string + BundleUrlTypes []BundleUrlType + BundleVersionName string + Id string + InsecureConnections InsecureConnections + MinimumVersion string + Permissions []Permission + Platform string + SDK string + Xml string + func (e *PListAnalysis) FromMap(m map[string]interface{}) (ent Entity, err error) + func (e *PListAnalysis) ToMap() map[string]interface{} + func (e *PListAnalysis) Validate() []validator.FieldError + type Permission struct + Description string + Name string + Reason string + func (e *Permission) FromMap(m map[string]interface{}) (ent Entity, err error) + func (e *Permission) ToMap() map[string]interface{} + func (e *Permission) Validate() []validator.FieldError + type StaticAnalysis struct + Binary BinaryAnalysis + Code CodeAnalysis + Files FileAnalysis + HasBinary bool + HasCode bool + HasFiles bool + HasPlist bool + HasStore bool + HasVirus bool + Plist PListAnalysis + Store StoreAnalysis + Virus VirusAnalysis + func (e *StaticAnalysis) FromMap(m map[string]interface{}) (ent Entity, err error) + func (e *StaticAnalysis) ToMap() map[string]interface{} + func (e *StaticAnalysis) Validate() []validator.FieldError + type Status string + type StoreAnalysis struct + Count int + Results []StoreResult + func (e *StoreAnalysis) FromMap(m map[string]interface{}) (ent Entity, err error) + func (e *StoreAnalysis) ToMap() map[string]interface{} + func (e *StoreAnalysis) Validate() []validator.FieldError + type StoreResult struct + AppId string + Categories []string + Description string + DeveloperId int + DeveloperName string + DeveloperUrl string + DeveloperWebsite string + Features []string + IconUrl100 string + IconUrl512 string + IconUrl60 string + Price float64 + Score float64 + SupportedDevices []string + Title string + Url string + func (e *StoreResult) FromMap(m map[string]interface{}) (ent Entity, err error) + func (e *StoreResult) ToMap() map[string]interface{} + func (e *StoreResult) Validate() []validator.FieldError + type SubCpuType string + type ToolUrls struct + ClassDumpSwift string + ClassDumpZ string + JTool string + func (e *ToolUrls) FromMap(m map[string]interface{}) (ent Entity, err error) + func (e *ToolUrls) ToMap() map[string]interface{} + func (e *ToolUrls) Validate() []validator.FieldError + type UrlFinding struct + Paths []string + Url string + func (e *UrlFinding) FromMap(m map[string]interface{}) (ent Entity, err error) + func (e *UrlFinding) ToMap() map[string]interface{} + func (e *UrlFinding) Validate() []validator.FieldError + type VirusAnalysis struct + HasReport bool + Report VirusReport + Response VirusResponse + func (e *VirusAnalysis) FromMap(m map[string]interface{}) (ent Entity, err error) + func (e *VirusAnalysis) ToMap() map[string]interface{} + func (e *VirusAnalysis) Validate() []validator.FieldError + type VirusReport struct + Md5 string + Positives int + ScanDate string + Scans map[string]VirusScan + Sha1 string + Total int + func (e *VirusReport) FromMap(m map[string]interface{}) (ent Entity, err error) + func (e *VirusReport) ToMap() map[string]interface{} + func (e *VirusReport) Validate() []validator.FieldError + type VirusResponse struct + Permalink string + Resource string + ResponseCode int + ScanId string + Sha256 string + VerboseMsg string + func (e *VirusResponse) FromMap(m map[string]interface{}) (ent Entity, err error) + func (e *VirusResponse) ToMap() map[string]interface{} + func (e *VirusResponse) Validate() []validator.FieldError + type VirusScan struct + Detected bool + Result string + Update string + Version string + func (e *VirusScan) FromMap(m map[string]interface{}) (ent Entity, err error) + func (e *VirusScan) ToMap() map[string]interface{} + func (e *VirusScan) Validate() []validator.FieldError