Documentation ¶
Index ¶
Constants ¶
View Source
const ( TypeAttackPattern = "attack-pattern" TypeBundle = "bundle" TypeCampaign = "campaign" TypeCourseOfAction = "course-of-action" TypeGrouping = "grouping" TypeIdentity = "identity" TypeIndicator = "indicator" TypeInfrastructure = "infrastructure" TypeIntrusionSet = "intrusion-set" TypeLanguageContent = "language-content" TypeLocation = "location" TypeMalware = "malware" TypeMalwareAnalysis = "malware-analysis" TypeNote = "note" TypeMarkingDefinition = "marking-definition" TypeObservedData = "observed-data" TypeOpinion = "opinion" TypeReport = "report" TypeRelationship = "relationship" TypeThreatActor = "threat-actor" TypeTool = "tool" TypeSighting = "sighting" TypeVulnerability = "vulnerability" TypeArtifact = "artifact" TypeAutonomousSystem = "autonomous-system" TypeDirectory = "directory" TypeDomainName = "domain-name" TypeEmailAddress = "email-addr" TypeEmailMessage = "email-message" TypeFile = "file" TypeIPv4Address = "ipv4-addr" TypeIPv6Address = "ipv6-addr" TypeMACAddress = "mac-addr" TypeMutex = "mutex" TypeNetworkTraffic = "network-traffic" TypeProcess = "process" TypeSoftware = "software" TypeURL = "url" TypeUserAccount = "user-account" TypeWindowsRegistryKey = "windows-registry-key" TypeX509Certificate = "x509-certificate" TypeExtensionDefinition = "extension-definition" )
Variables ¶
View Source
var ObjectTypes = map[ObjectType]bool{ TypeAttackPattern: true, TypeBundle: true, TypeCampaign: true, TypeCourseOfAction: true, TypeGrouping: true, TypeIdentity: true, TypeIndicator: true, TypeInfrastructure: true, TypeIntrusionSet: true, TypeLanguageContent: true, TypeLocation: true, TypeMalware: true, TypeMalwareAnalysis: true, TypeNote: true, TypeMarkingDefinition: true, TypeObservedData: true, TypeOpinion: true, TypeReport: true, TypeRelationship: true, TypeThreatActor: true, TypeTool: true, TypeSighting: true, TypeVulnerability: true, TypeArtifact: true, TypeAutonomousSystem: true, TypeDirectory: true, TypeDomainName: true, TypeEmailAddress: true, TypeEmailMessage: true, TypeFile: true, TypeIPv4Address: true, TypeIPv6Address: true, TypeMACAddress: true, TypeMutex: true, TypeNetworkTraffic: true, TypeProcess: true, TypeSoftware: true, TypeURL: true, TypeUserAccount: true, TypeWindowsRegistryKey: true, TypeX509Certificate: true, TypeExtensionDefinition: true, }
Functions ¶
func IsValidObjectType ¶ added in v1.0.0
func PropertyInvalid ¶ added in v1.0.0
func PropertyMissing ¶ added in v1.0.0
Types ¶
type ObjectType ¶ added in v1.0.0
type ObjectType string
type PropertyError ¶ added in v1.0.0
func (*PropertyError) Error ¶ added in v1.0.0
func (p *PropertyError) Error() string
type PropertyInvalidValueError ¶ added in v1.0.0
type PropertyInvalidValueError struct { PropertyError Value interface{} }
type PropertyMissingError ¶ added in v1.0.0
type PropertyMissingError struct {
PropertyError
}
Click to show internal directories.
Click to hide internal directories.