Documentation ¶
Index ¶
- Constants
- func AddWorkflow(name string, workflowParameters WorkflowParameters) (string, error)
- func CreatePR(Action string) error
- func GetGitHubWorkflowContents(queryStringParams map[string]string) (string, error)
- func SecureWorkflow(queryStringParams map[string]string, inputYaml string, ...) (*permissions.SecureWorkflowReponse, error)
- func StoreMissingActions(missingActions []string, svc dynamodbiface.DynamoDBAPI) error
- type Repo
- type WorkflowParameters
Constants ¶
View Source
const ( CodeQLWorkflowFileName = "codeql.yml" DependencyReviewFileName = "dependency-review.yml" ScorecardFileName = "scorecards.yml" CodeQL = "CodeQL" DependencyReview = "Dependency-review" Scorecard = "Scorecard" )
View Source
const ( ActionPermissionsTable = "ActionPermissions" MissingActionsTable = "MissingActions" )
View Source
const ( HardenRunnerActionPathWithTag = "nextlinux/harden-runner@v2" HardenRunnerActionPath = "nextlinux/harden-runner" HardenRunnerActionName = "Harden Runner" )
Variables ¶
This section is empty.
Functions ¶
func AddWorkflow ¶
func AddWorkflow(name string, workflowParameters WorkflowParameters) (string, error)
func SecureWorkflow ¶
func SecureWorkflow(queryStringParams map[string]string, inputYaml string, svc dynamodbiface.DynamoDBAPI) (*permissions.SecureWorkflowReponse, error)
func StoreMissingActions ¶
func StoreMissingActions(missingActions []string, svc dynamodbiface.DynamoDBAPI) error
Types ¶
type WorkflowParameters ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.