github

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2026 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckBroadPermissions

func CheckBroadPermissions(node *yaml.Node, filePath string) ([]finding.Finding, error)

func CheckHardcodedSecrets

func CheckHardcodedSecrets(node *yaml.Node, filePath string) ([]finding.Finding, error)

func CheckPRTMisuse

func CheckPRTMisuse(node *yaml.Node, filePath string) ([]finding.Finding, error)

func CheckScheduledWritePermissions

func CheckScheduledWritePermissions(node *yaml.Node, filePath string) ([]finding.Finding, error)

func CheckSelfHostedRunner

func CheckSelfHostedRunner(node *yaml.Node, filePath string) ([]finding.Finding, error)

func CheckTokenExposurePRT

func CheckTokenExposurePRT(node *yaml.Node, filePath string) ([]finding.Finding, error)

func CheckUnpinnedActions

func CheckUnpinnedActions(node *yaml.Node, filePath string) ([]finding.Finding, error)

func CheckUntrustedInputInRun

func CheckUntrustedInputInRun(node *yaml.Node, filePath string) ([]finding.Finding, error)

Types

type Scanner

type Scanner struct{}

func New

func New() *Scanner

func (*Scanner) ScanBytes

func (s *Scanner) ScanBytes(data []byte, filePath string) ([]finding.Finding, error)

func (*Scanner) ScanFile

func (s *Scanner) ScanFile(filePath string) ([]finding.Finding, error)

func (*Scanner) ScanPath

func (s *Scanner) ScanPath(root string) ([]finding.Finding, error)

Jump to

Keyboard shortcuts

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