commonint

package
v0.17.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 17, 2025 License: AGPL-3.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddPipelineTemplate

func AddPipelineTemplate(content []byte, template string) string

func CreateNewVulnEventBasedOnComment

func CreateNewVulnEventBasedOnComment(vulnID string, vulnType models.VulnType, userID, comment string, artifactName string) models.VulnEvent

func GenerateFourDigitNumber

func GenerateFourDigitNumber() int

func GetLabels

func GetLabels(vuln models.Vuln) []string

func RenderPathToComponent

func RenderPathToComponent(componentRepository core.ComponentRepository, assetID uuid.UUID, assetVersionName string, artifacts []models.Artifact, pURL string) (string, error)

this function returns a string containing a mermaids js flow chart to the given pURL

func SetupAndPushPipeline

func SetupAndPushPipeline(accessToken string, gitlabURL string, projectName string, templatePath string, branchName string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL