event

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: May 6, 2022 License: EUPL-1.2 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AnalysisLevel

type AnalysisLevel string
const (
	AnalysisLevelInitial  AnalysisLevel = "0"
	AnalysisLevelOngoing  AnalysisLevel = "1"
	AnalysisLevelComplete AnalysisLevel = "2"
)

type Distribution

type Distribution string
const (
	DistributionOrganisation         Distribution = "0"
	DistributionCommunity            Distribution = "1"
	DistributionConnectedCommunities Distribution = "2"
	DistributionAllCommunities       Distribution = "3"
	DistributionSharingGroup         Distribution = "4"
)

type Event

type Event struct {
	UUID               string
	ID                 string
	Published          bool
	Info               string
	ThreatLevelId      ThreatLevel `json:"threat_level_id"`
	Analysis           AnalysisLevel
	Date               string
	Timestamp          string
	PublishedTimestamp string `json:"published_timestamp"`
	OrgId              string `json:"org_id"`
	OrgcId             string `json:"orgc_id"`
	AttributeCount     string `json:"attribute_count"`
	Distribution       Distribution
	SharingGroupId     string `json:"sharing_group_id"`
	ExtendsUUID        string `json:"extends_uuid"`
	ProposalEmailLock  bool   `json:"proposal_email_lock"`
	Locked             bool
	DisableCorrelation bool   `json:"disable_correlation"`
	EventCreatorEmail  string `json:"event_creator_email"`
	Org                organisation.Org
	Orgc               organisation.Orgc
	SharingGroup       sharinggroup.Group
	Attribute          []*attribute.Attribute
	ShadowAttribute    []*attribute.ShadowAttribute
	RelatedEvent       []Relation
	Galaxy             []interface{}
	Object             []*object.Object
	Tag                []tag.Tag
}

type Relation

type Relation struct {
	Event Event
}

type ThreatLevel

type ThreatLevel string
const (
	ThreatLevelUndefined ThreatLevel = "4"
	ThreatLevelLow       ThreatLevel = "3"
	ThreatLevelMedium    ThreatLevel = "2"
	ThreatLevelHigh      ThreatLevel = "1"
)

Jump to

Keyboard shortcuts

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