objects

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 15, 2021 License: Apache-2.0 Imports: 1 Imported by: 0

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

Functions

func IsValidObjectType added in v1.0.0

func IsValidObjectType(t string) bool

func PropertyInvalid added in v1.0.0

func PropertyInvalid(propertyName string, value interface{}, extraInfo string) error

func PropertyMissing added in v1.0.0

func PropertyMissing(propertyName string) error

Types

type ObjectType added in v1.0.0

type ObjectType string

type PropertyError added in v1.0.0

type PropertyError struct {
	PropertyName string
	Err          error
}

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
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL