cmd

package
v0.0.0-...-608af11 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2026 License: Apache-2.0 Imports: 46 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute() error

Types

type CheckovCheckResult

type CheckovCheckResult struct {
	Result        string   `json:"result"`
	EvaluatedKeys []string `json:"evaluated_keys"`
}

type CheckovConfig

type CheckovConfig struct {
	// Exclusions are checkov failures which should not lead to a failure.
	Exclusions map[string]CheckovExclusions `json:"exclusions"`
}

CheckovConfig represents the configuration for this tool to define exclusions.

type CheckovExclusion

type CheckovExclusion struct {
	CheckovFailure
	// contains filtered or unexported fields
}

CheckovExclusion is a exclusion for a checkov finding with a found bool to help tracking if the exclusion has been found during analyzation.

type CheckovExclusions

type CheckovExclusions []*CheckovExclusion

CheckovExclusions is a list of exclusions for checkov reports.

type CheckovFailedCheck

type CheckovFailedCheck struct {
	CheckID     string             `json:"check_id"`
	CheckName   string             `json:"check_name"`
	CheckResult CheckovCheckResult `json:"check_result"`
	FilePath    string             `json:"file_path"`
	Resource    string             `json:"resource"`
	Guideline   string             `json:"guideline"`
}

type CheckovFailure

type CheckovFailure struct {
	CheckID       string   `json:"check_id"`
	Resource      string   `json:"resource"`
	EvaluatedKeys []string `json:"evaluated_keys"`
	// contains filtered or unexported fields
}

CheckovFailure is the data struct used in the reports created by running checkov.

func (CheckovFailure) String

func (c CheckovFailure) String() string

type CheckovReport

type CheckovReport struct {
	Results CheckovResults `json:"results"`
}

type CheckovResults

type CheckovResults struct {
	FailedChecks []CheckovFailedCheck `json:"failed_checks"`
}

type JUnitTestSuites

type JUnitTestSuites struct {
	XMLName    xml.Name                `xml:"testsuites"`
	TestSuites []report.JUnitTestSuite `xml:"testsuite"`
}

JUnitTestSuites represents the root element of the JUnit XML

Directories

Path Synopsis
Package gitlab holds the "dpfdev gitlab" command group: subcommands that talk to the GitLab API (pipeline schedules today, runners and others over time).
Package gitlab holds the "dpfdev gitlab" command group: subcommands that talk to the GitLab API (pipeline schedules today, runners and others over time).

Jump to

Keyboard shortcuts

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