configuration

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const ConfigFilename = "kusari.yaml"

Variables

View Source
var DefaultConfig = configuration.Config{
	GitHubActionVersionPinningCheckEnabled: true,
	ContainerVersionPinningCheckEnabled:    true,
	StatusCheckName:                        "Kusari Inspector",
	PostCommentOnFailure:                   true,
	PostCommentOnSuccess:                   false,
	FullCodeReviewEnabled:                  false,

	SBOMGenerationEnabled:      false,
	SBOMComponentName:          "",
	SBOMSubjectNameOverride:    "",
	SBOMSubjectVersionOverride: "",
}
View Source
var ErrFileExists = fmt.Errorf("file %s exists, not overwriting (specify '--force' to overwrite)", ConfigFilename)

Functions

func GenerateConfig

func GenerateConfig(forceWrite bool) error

func UpdateConfig added in v0.6.0

func UpdateConfig() error

Types

This section is empty.

Jump to

Keyboard shortcuts

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