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: 8 Imported by: 0

Documentation

Index

Constants

View Source
const EndpointActionsV2URI = "/api/v2/actions"

EndpointChainsV2URI is the base endpoint for the endpoint chains API

View Source
const ListEndpointActionsV2URI = "/api/v2/content/actions"

ListEndpointActionsV2URI is the base endpoint for listing endpoint actions

Variables

This section is empty.

Functions

func ExecuteEndpointAction

func ExecuteEndpointAction(ctx context.Context, h *api.HTTPAPI, attackRun models.AttackRunActionsStagers) (models.GetExecutionResponse, error)

ExecuteEndpointChain executes an endpoint attack chain by chain ID on specified assets

Types

type ListEndpointActionOpts added in v1.2.0

type ListEndpointActionOpts struct {
	Size             int               `json:"size"`
	Offset           int               `json:"offset"`
	StartReleaseDate time.Time         `json:"start_release_date,omitempty"`
	EndReleaseDate   time.Time         `json:"end_release_date,omitempty"`
	ID               string            `json:"id,omitempty"`
	Name             string            `json:"name,omitempty"`
	Severity         models.Severity   `json:"severity,omitempty"`
	Platforms        []models.Platform `json:"platforms,omitempty"`
	Type             string            `json:"type,omitempty"`
}

Jump to

Keyboard shortcuts

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