raw

package
v5.0.0-rc1 Latest Latest
Warning

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

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

Documentation

Overview

Copyright 2022 OpenSSF Scorecard Authors

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Index

Constants

View Source
const CheckSAST = "SAST"

Variables

This section is empty.

Functions

func BinaryArtifacts

func BinaryArtifacts(req *checker.CheckRequest) (checker.BinaryArtifactData, error)

BinaryArtifacts retrieves the raw data for the Binary-Artifacts check.

func BranchProtection

func BranchProtection(cr *checker.CheckRequest) (checker.BranchProtectionsData, error)

BranchProtection retrieves the raw data for the Branch-Protection check.

func CIIBestPractices

func CIIBestPractices(c *checker.CheckRequest) (checker.CIIBestPracticesData, error)

CIIBestPractices retrieves the raw data for the CIIBestPractices check.

func CITests

func CodeReview

CodeReview retrieves the raw data for the Code-Review check.

func Contributors

func Contributors(cr *checker.CheckRequest) (checker.ContributorsData, error)

Contributors retrieves the raw data for the Contributors check.

func DangerousWorkflow

func DangerousWorkflow(c *checker.CheckRequest) (checker.DangerousWorkflowData, error)

DangerousWorkflow retrieves the raw data for the DangerousWorkflow check.

func DependencyUpdateTool

func DependencyUpdateTool(c clients.RepoClient) (checker.DependencyUpdateToolData, error)

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

func Fuzzing

Fuzzing runs Fuzzing check.

func License

License retrieves the raw data for the License check.

func Maintained

Maintained checks for maintenance.

func PinningDependencies

func PinningDependencies(c *checker.CheckRequest) (checker.PinningDependenciesData, error)

PinningDependencies checks for (un)pinned dependencies.

func SAST

SAST checks for presence of static analysis tools.

func SecurityPolicy

func SecurityPolicy(c *checker.CheckRequest) (checker.SecurityPolicyData, error)

SecurityPolicy checks for presence of security policy and applicable content discovered by checkSecurityPolicyFileContent().

func SignedReleases

func SignedReleases(c *checker.CheckRequest) (checker.SignedReleasesData, error)

SignedReleases checks for presence of signed release check.

func TestLicense

func TestLicense(name string) bool

TestLicense used for testing purposes.

func TokenPermissions

func TokenPermissions(c *checker.CheckRequest) (checker.TokenPermissionsData, error)

TokenPermissions runs Token-Permissions check.

func Vulnerabilities

func Vulnerabilities(c *checker.CheckRequest) (checker.VulnerabilitiesData, error)

Vulnerabilities retrieves the raw data for the Vulnerabilities check.

func WebHook

WebHook retrieves the raw data for the WebHooks check.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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