threatactor

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2018 License: Apache-2.0 Imports: 2 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ThreatActor

type ThreatActor struct {
	baseobject.CommonObjectProperties
	properties.NameProperty
	properties.DescriptionProperty
	ThreatActorType []string `json:"threat_actor_types,omitempty"`
	properties.AliasesProperty
	Roles []string `json:"roles,omitempty"`
	properties.GoalsProperty
	Sophistication string `json:"sophistication,omitempty"`
	properties.ResourceLevelProperty
	properties.MotivationProperties
	PersonalMotivations []string `json:"personal_motivations,omitempty"`
}

ThreatActor - This type implements the STIX 2 Threat Actor SDO and defines all of the properties methods needed to create and work with the STIX Threat Actor SDO. All of the methods not defined local to this type are inherited from the individual properties.

The following information comes directly from the STIX 2 specification documents.

Threat Actors are actual individuals, groups, or organizations believed to be operating with malicious intent. A Threat Actor is not an Intrusion Set but may support or be affiliated with various Intrusion Sets, groups, or organizations over time.

Threat Actors leverage their resources, and possibly the resources of an Intrusion Set, to conduct attacks and run Campaigns against targets.

Threat Actors can be characterized by their motives, capabilities, goals, sophistication level, past activities, resources they have access to, and their role in the organization.

func New

func New() *ThreatActor

New - This function will create a new STIX Threat Actor object and return it as a pointer.

func (*ThreatActor) AddPersonalMotivation

func (o *ThreatActor) AddPersonalMotivation(s string) error

AddPersonalMotivation - This method takes in a string value representing the motivation of a threat actor from the threat-actor-motivation-ov and adds it to the personal motivations property.

func (*ThreatActor) AddRole

func (o *ThreatActor) AddRole(s string) error

AddRole - This method takes in a string value representing a threat actor role from the threat-actor-role-ov and adds it to the role property.

func (*ThreatActor) AddType

func (o *ThreatActor) AddType(s string) error

AddType - This method takes in a string value representing a threat actor type from the threat-actor-type-ov and adds it to the threat actor type property.

func (*ThreatActor) SetSophistication

func (o *ThreatActor) SetSophistication(s string) error

SetSophistication - This method takes in a string value representing the sophistication level of a threat actor from the threat-actor-sophistication-ov and adds it to the sophistication property.

Jump to

Keyboard shortcuts

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