Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateDockerfilePinningRemediation ¶ added in v4.5.0
func CreateDockerfilePinningRemediation(name *string) *checker.Remediation
CreateDockerfilePinningRemediation create remediaiton for pinning Dockerfile images.
Types ¶
type RemediationMetadata ¶ added in v4.6.0
type RemediationMetadata struct {
// contains filtered or unexported fields
}
TODO fix how this info makes it checks/evaluation.
func New ¶ added in v4.6.0
func New(c *checker.CheckRequest) (RemediationMetadata, error)
New returns remediation relevant metadata from a CheckRequest.
func (*RemediationMetadata) CreateWorkflowPermissionRemediation ¶ added in v4.6.0
func (r *RemediationMetadata) CreateWorkflowPermissionRemediation(filepath string) *checker.Remediation
CreateWorkflowPermissionRemediation create remediation for workflow permissions.
func (*RemediationMetadata) CreateWorkflowPinningRemediation ¶ added in v4.6.0
func (r *RemediationMetadata) CreateWorkflowPinningRemediation(filepath string) *checker.Remediation
CreateWorkflowPinningRemediation create remediaiton for pinninn GH Actions.
Click to show internal directories.
Click to hide internal directories.