security

package
v0.1.12 Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckResponseSize

func CheckResponseSize(size, max int64) error

func Contains

func Contains(s, sub string) bool

func Redact

func Redact(text string) string

func ValidateArchivePath

func ValidateArchivePath(name string) error

func ValidateCommandArgs

func ValidateCommandArgs(args []string) error

Types

type ExternalToolLock

type ExternalToolLock struct {
	Name            string
	Version         string
	ContainerDigest string
}

func (ExternalToolLock) Validate

func (l ExternalToolLock) Validate() error

type RetentionPolicy

type RetentionPolicy struct {
	KeepPrivateNotes bool
	RetentionDays    int
}

func (RetentionPolicy) Validate

func (p RetentionPolicy) Validate() error

Jump to

Keyboard shortcuts

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