checks

package
v5.0.0-rc2 Latest Latest
Warning

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

Go to latest
Published: May 7, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Overview

Package checks defines all Scorecard checks.

Index

Constants

View Source
const CheckBinaryArtifacts string = "Binary-Artifacts"

CheckBinaryArtifacts is the exported name for Binary-Artifacts check.

View Source
const CheckBranchProtection = "Branch-Protection"

CheckBranchProtection is the exported name for Branch-Protected check.

View Source
const CheckCIIBestPractices = "CII-Best-Practices"

CheckCIIBestPractices is the registered name for CIIBestPractices.

View Source
const CheckCITests = "CI-Tests"
View Source
const CheckCodeReview = "Code-Review"

CheckCodeReview is the registered name for DoesCodeReview.

View Source
const CheckContributors = "Contributors"

CheckContributors is the registered name for Contributors.

View Source
const CheckDangerousWorkflow = "Dangerous-Workflow"

CheckDangerousWorkflow is the exported name for Dangerous-Workflow check.

View Source
const CheckDependencyUpdateTool = "Dependency-Update-Tool"

CheckDependencyUpdateTool is the exported name for Dependency-Update-Tool.

View Source
const CheckFuzzing = "Fuzzing"

CheckFuzzing is the registered name for Fuzzing.

View Source
const CheckLicense = "License"

CheckLicense is the registered name for License.

View Source
const CheckMaintained = "Maintained"

CheckMaintained is the exported check name for Maintained.

View Source
const CheckPackaging = "Packaging"

CheckPackaging is the registered name for Packaging.

View Source
const CheckPinnedDependencies = "Pinned-Dependencies"

CheckPinnedDependencies is the registered name for FrozenDeps.

View Source
const CheckSAST = "SAST"

CheckSAST is the registered name for SAST.

View Source
const CheckSecurityPolicy = "Security-Policy"

CheckSecurityPolicy is the registered name for SecurityPolicy.

View Source
const CheckSignedReleases = "Signed-Releases"

CheckSignedReleases is the registered name for SignedReleases.

View Source
const CheckTokenPermissions = "Token-Permissions"

CheckTokenPermissions is the exported name for Token-Permissions check.

View Source
const CheckVulnerabilities = "Vulnerabilities"

CheckVulnerabilities is the registered name for the OSV check.

View Source
const (
	// CheckWebHooks is the registered name for WebHooks.
	CheckWebHooks = "Webhooks"
)

Variables

This section is empty.

Functions

func BinaryArtifacts

func BinaryArtifacts(c *checker.CheckRequest) checker.CheckResult

BinaryArtifacts will check the repository contains binary artifacts.

func BranchProtection

func BranchProtection(c *checker.CheckRequest) checker.CheckResult

BranchProtection runs the Branch-Protection check.

func CIIBestPractices

func CIIBestPractices(c *checker.CheckRequest) checker.CheckResult

CIIBestPractices will check if the maintainers have a best practice badge.

func CodeReview

func CodeReview(c *checker.CheckRequest) checker.CheckResult

CodeReview will check if the maintainers perform code review.

func Contributors

func Contributors(c *checker.CheckRequest) checker.CheckResult

Contributors run Contributors check.

func DangerousWorkflow

func DangerousWorkflow(c *checker.CheckRequest) checker.CheckResult

DangerousWorkflow will check the repository contains Dangerous-Workflow.

func DependencyUpdateTool

func DependencyUpdateTool(c *checker.CheckRequest) checker.CheckResult

DependencyUpdateTool checks if the repository uses a dependency update tool.

func Fuzzing

Fuzzing runs Fuzzing check.

func GetAll

func GetAll() checker.CheckNameToFnMap

GetAll returns the full list of default checks, excluding any experimental checks unless environment variable constraints are satisfied.

func GetAllWithExperimental

func GetAllWithExperimental() checker.CheckNameToFnMap

GetAllWithExperimental returns the full list of checks, including experimental checks.

func License

License runs License check.

func Maintained

func Maintained(c *checker.CheckRequest) checker.CheckResult

Maintained runs Maintained check.

func Packaging

Packaging runs Packaging check.

func PinningDependencies

func PinningDependencies(c *checker.CheckRequest) checker.CheckResult

PinningDependencies will check the repository for its use of dependencies.

func SAST

SAST runs SAST check.

func SecurityPolicy

func SecurityPolicy(c *checker.CheckRequest) checker.CheckResult

SecurityPolicy runs Security-Policy check.

func SignedReleases

func SignedReleases(c *checker.CheckRequest) checker.CheckResult

SignedReleases runs Signed-Releases check.

func TokenPermissions

func TokenPermissions(c *checker.CheckRequest) checker.CheckResult

TokenPermissions will run the Token-Permissions check.

func Vulnerabilities

func Vulnerabilities(c *checker.CheckRequest) checker.CheckResult

Vulnerabilities runs Vulnerabilities check.

func WebHooks

WebHooks run Webhooks check.

Types

This section is empty.

Directories

Path Synopsis
raw

Jump to

Keyboard shortcuts

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