Package scorecard implements the generic OpenSSF Scorecard policy
This section is empty.
This section is empty.
NewScorecard returns a new Scorecard policy.
type OrgConfig struct { OptConfig config.OrgOptConfig `json:"optConfig"` Action string `json:"action"` Checks []string `json:"checks"` Threshold int `json:"threshold"` }
OrgConfig is the org-level config definition for this policy.
type RepoConfig struct { OptConfig config.RepoOptConfig `json:"optConfig"` Action *string `json:"action"` Checks *[]string `json:"checks"` Threshold *int `json:"threshold"` }
RepoConfig is the repo-level config for this policy.
Scorecard is the Security Scorecard policy object, implements policydef.Policy.
Check performs the policy check for this policy based on the configuration stored in the org/repo, implementing policydef.Policy.Check().
Fix implementing policydef.Policy.Fix(). Scorecard checks will not have a Fix option.
GetAction returns the configured action from this policy's configuration stored in the org-level repo, default log. Implementing policydef.Policy.GetAction().
Check whether this policy is enabled or not.
Name returns the name of this policy, implementing policydef.Policy.Name().
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4