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 ¶
- func BinaryArtifacts(c clients.RepoClient) (checker.BinaryArtifactData, error)
- func BranchProtection(c clients.RepoClient) (checker.BranchProtectionsData, error)
- func CIIBestPractices(c *checker.CheckRequest) (checker.CIIBestPracticesData, error)
- func CITests(c clients.RepoClient) (checker.CITestData, error)
- func CodeReview(c clients.RepoClient) (checker.CodeReviewData, error)
- func Contributors(c clients.RepoClient) (checker.ContributorsData, error)
- func DangerousWorkflow(c clients.RepoClient) (checker.DangerousWorkflowData, error)
- func DependencyUpdateTool(c clients.RepoClient) (checker.DependencyUpdateToolData, error)
- func Fuzzing(c *checker.CheckRequest) (checker.FuzzingData, error)
- func License(c *checker.CheckRequest) (checker.LicenseData, error)
- func Maintained(c *checker.CheckRequest) (checker.MaintainedData, error)
- func PinningDependencies(c *checker.CheckRequest) (checker.PinningDependenciesData, error)
- func SecurityPolicy(c *checker.CheckRequest) (checker.SecurityPolicyData, error)
- func SignedReleases(c *checker.CheckRequest) (checker.SignedReleasesData, error)
- func TestLicense(name string) bool
- func TokenPermissions(c *checker.CheckRequest) (checker.TokenPermissionsData, error)
- func Vulnerabilities(c *checker.CheckRequest) (checker.VulnerabilitiesData, error)
- func WebHook(c *checker.CheckRequest) (checker.WebhooksData, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BinaryArtifacts ¶
func BinaryArtifacts(c clients.RepoClient) (checker.BinaryArtifactData, error)
BinaryArtifacts retrieves the raw data for the Binary-Artifacts check.
func BranchProtection ¶
func BranchProtection(c clients.RepoClient) (checker.BranchProtectionsData, error)
BranchProtection retrieves the raw data for the Branch-Protection check.
func CIIBestPractices ¶ added in v4.3.0
func CIIBestPractices(c *checker.CheckRequest) (checker.CIIBestPracticesData, error)
CIIBestPractices retrieves the raw data for the CIIBestPractices check.
func CITests ¶ added in v4.8.0
func CITests(c clients.RepoClient) (checker.CITestData, error)
func CodeReview ¶ added in v4.1.0
func CodeReview(c clients.RepoClient) (checker.CodeReviewData, error)
CodeReview retrieves the raw data for the Code-Review check.
func Contributors ¶ added in v4.3.1
func Contributors(c clients.RepoClient) (checker.ContributorsData, error)
Contributors retrieves the raw data for the Contributors check.
func DangerousWorkflow ¶ added in v4.2.0
func DangerousWorkflow(c clients.RepoClient) (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 Depdendency-Update-Tool.
func Fuzzing ¶ added in v4.3.1
func Fuzzing(c *checker.CheckRequest) (checker.FuzzingData, error)
Fuzzing runs Fuzzing check.
func License ¶ added in v4.2.0
func License(c *checker.CheckRequest) (checker.LicenseData, error)
License retrieves the raw data for the License check.
func Maintained ¶ added in v4.2.0
func Maintained(c *checker.CheckRequest) (checker.MaintainedData, error)
Maintained checks for maintenance.
func PinningDependencies ¶ added in v4.4.0
func PinningDependencies(c *checker.CheckRequest) (checker.PinningDependenciesData, error)
PinningDependencies checks for (un)pinned dependencies.
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 ¶ added in v4.2.0
func SignedReleases(c *checker.CheckRequest) (checker.SignedReleasesData, error)
SignedReleases checks for presence of signed release check.
func TestLicense ¶ added in v4.2.0
TestLicense used for testing purposes.
func TokenPermissions ¶ added in v4.5.0
func TokenPermissions(c *checker.CheckRequest) (checker.TokenPermissionsData, error)
TokenPermissions runs Token-Permissions check.
func Vulnerabilities ¶ added in v4.1.0
func Vulnerabilities(c *checker.CheckRequest) (checker.VulnerabilitiesData, error)
Vulnerabilities retrieves the raw data for the Vulnerabilities check.
func WebHook ¶ added in v4.2.0
func WebHook(c *checker.CheckRequest) (checker.WebhooksData, error)
WebHook retrieves the raw data for the WebHooks check.
Types ¶
This section is empty.
Source Files ¶
- binary_artifact.go
- branch_protection.go
- ci_tests.go
- cii_best_practices.go
- code_review.go
- contributors.go
- dangerous_workflow.go
- dependency_update_tool.go
- errors.go
- fuzzing.go
- license.go
- maintained.go
- permissions.go
- pinned_dependencies.go
- security_policy.go
- shell_download_validate.go
- signed_releases.go
- vulnerabilities.go
- webhook.go