Documentation ¶
Index ¶
- Constants
- Variables
- func DetermineRegionFromUrl(url string) (string, error)
- func GetCodeFlagSet() *pflag.FlagSet
- func Init(engine workflow.Engine) error
- func InitAuth(engine workflow.Engine) error
- func InitCodeWorkflow(engine workflow.Engine) error
- func InitConfigWorkflow(engine workflow.Engine) error
- func InitDataTransformationWorkflow(engine workflow.Engine) error
- func InitFilterFindingsWorkflow(engine workflow.Engine) error
- func InitOutputWorkflow(engine workflow.Engine) error
- func InitReportAnalyticsWorkflow(engine workflow.Engine) error
- func InitWhoAmIWorkflow(engine workflow.Engine) error
- func OpenBrowser(authUrl string)
- func TransformToLocalFindingModel(sarifBytes []byte, summaryBytes []byte) (localFinding local_models.LocalFinding, err error)
- type SnykRegion
Constants ¶
const (
ConfigurationSastEnabled = "internal_sast_enabled"
)
const (
DataTransformationWorkflowName = "datatransformation"
)
const (
FilterFindingsWorkflowName = "findings.filter"
)
Variables ¶
var ConfigurationNewAuthenticationToken = "internal_new_snyk_token"
var WORKFLOWID_AUTH workflow.Identifier = workflow.NewWorkflowIdentifier(workflowNameAuth)
define a new workflow identifier for this workflow
var WORKFLOWID_CODE workflow.Identifier = workflow.NewWorkflowIdentifier(codeWorkflowName)
WORKFLOWID_CODE defines a new workflow identifier
var WORKFLOWID_CONFIG_ENVIRONMENT workflow.Identifier = workflow.NewWorkflowIdentifier(configEnvWorkflowName)
var WORKFLOWID_DATATRANSFORMATION = workflow.NewWorkflowIdentifier(DataTransformationWorkflowName)
var WORKFLOWID_FILTER_FINDINGS = workflow.NewWorkflowIdentifier(FilterFindingsWorkflowName)
var WORKFLOWID_OUTPUT_WORKFLOW workflow.Identifier = workflow.NewWorkflowIdentifier("output")
var (
WORKFLOWID_REPORT_ANALYTICS workflow.Identifier = workflow.NewWorkflowIdentifier(reportAnalyticsWorkflowName)
)
var WORKFLOWID_WHOAMI workflow.Identifier = workflow.NewWorkflowIdentifier(whoAmIworkflowName)
define a new workflow identifier for this workflow
Functions ¶
func DetermineRegionFromUrl ¶
func GetCodeFlagSet ¶
func Init ¶
Init initializes all local workflows localworkflows are initialized when create a new workflow engine via app.CreateAppEngine()
func InitCodeWorkflow ¶
InitCodeWorkflow initializes the code workflow before registering it with the engine.
func InitConfigWorkflow ¶
func InitOutputWorkflow ¶
InitOutputWorkflow initializes the output workflow The output workflow is responsible for handling the output destination of workflow data As part of the localworkflows package, it is registered via the localworkflows.Init method
func InitReportAnalyticsWorkflow ¶
InitReportAnalyticsWorkflow initializes the reportAnalytics workflow before registering it with the engine.
func InitWhoAmIWorkflow ¶
InitWhoAmIWorkflow initializes the whoAmI workflow before registering it with the engine.
func OpenBrowser ¶
func OpenBrowser(authUrl string)
func TransformToLocalFindingModel ¶
func TransformToLocalFindingModel(sarifBytes []byte, summaryBytes []byte) (localFinding local_models.LocalFinding, err error)
Types ¶
type SnykRegion ¶
type SnykRegion struct {
// contains filtered or unexported fields
}
Source Files ¶
Directories ¶
Path | Synopsis |
---|---|
Package local_models provides primitives to interact with the openapi HTTP API.
|
Package local_models provides primitives to interact with the openapi HTTP API. |