security

package
v1.15.21 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2025 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

Package security defines the security actions.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Action

type Action struct {
	*actions.DataTool
}

Action represents a general security action.

type Scan

type Scan struct {
	*Action
	SourceFile              string
	GatherArtifactReference string
	Output                  []string
	VulnerabilityLevel      string
	DryRun                  bool
	DisplayCVE              bool
	DisplayPlatforms        bool
	PushReport              bool
}

Scan represents the scan action.

func (*Scan) Run

func (action *Scan) Run(ctx context.Context) error

Run executes the security scan Run() action.

Jump to

Keyboard shortcuts

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