actions

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ActionDisplay

type ActionDisplay struct {
	Endpoint bool `json:"endpoint,omitempty"`
	APT      bool `json:"apt,omitempty"`
}

type ActionExpanded

type ActionExpanded ActionForUserState

func (ActionExpanded) Summary

func (a ActionExpanded) Summary() (any, error)

type ActionForUserState

type ActionForUserState struct {
	ID           string                        `json:"id"`
	Key          string                        `json:"key"`
	Name         string                        `json:"name"`
	ReleaseDate  time.Time                     `json:"release_date"`
	Description  string                        `json:"description"`
	Severity     string                        `json:"severity"`
	Exposures    []string                      `json:"exposures"`
	Platforms    []string                      `json:"platforms"`
	Info         ActionInfoForUserState        `json:"info"`
	Type         string                        `json:"type"`
	Display      ActionDisplay                 `json:"display"`
	MitreTactics []models.MitreTacticTechnique `json:"mitre"`
	Rules        []models.Rule                 `json:"rules"`
	Conditions   []string                      `json:"conditions"`
	Tags         models.Tag                    `json:"tags"`
}

type ActionInfoForUserState

type ActionInfoForUserState struct {
	Steps []ActionStepForUserState `json:"steps"`
}

type ActionStepForUserState

type ActionStepForUserState struct {
	Description string `json:"description"`
}

type ActionSummary

type ActionSummary struct {
	ID         string `json:"id"`
	Name       string `json:"name"`
	Severity   string `json:"severity"`
	Platforms  string `json:"platforms"`
	ReleasedAt string `json:"released_at"`
}

Jump to

Keyboard shortcuts

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