Documentation
¶
Index ¶
- Variables
- func GetStateFilterType(sf []StateFilter) []entity.StateFilterType
- func NewActivityEntity(activity *ActivityInput) entity.Activity
- func NewComponentEntity(component *ComponentInput) entity.Component
- func NewComponentInstanceEntity(componentInstance *ComponentInstanceInput) entity.ComponentInstance
- func NewComponentVersionEntity(componentVersion *ComponentVersionInput) entity.ComponentVersion
- func NewEvidenceEntity(evidence *EvidenceInput) entity.Evidence
- func NewIssueEntity(issue *IssueInput) entity.Issue
- func NewIssueMatchChangeEntity(imc *IssueMatchChangeInput) entity.IssueMatchChange
- func NewIssueMatchEntity(im *IssueMatchInput) entity.IssueMatch
- func NewIssueRepositoryEntity(repo *IssueRepositoryInput) entity.IssueRepository
- func NewIssueVariantEntity(issueVariant *IssueVariantInput) entity.IssueVariant
- func NewScannerRunEntity(sr *ScannerRunInput) entity.ScannerRun
- func NewServiceEntity(service *ServiceInput) entity.Service
- func NewSeverityEntity(severity *SeverityInput) entity.Severity
- func NewSupportGroupEntity(supportGroup *SupportGroupInput) entity.SupportGroup
- func NewUserEntity(user *UserInput) entity.User
- type Ccrn
- type HasToEntity
- type NodeName
- type NodeParent
Constants ¶
This section is empty.
Variables ¶
View Source
var AllIssueMatchStatusValuesOrdered = []IssueMatchStatusValues{
IssueMatchStatusValuesNew,
IssueMatchStatusValuesRiskAccepted,
IssueMatchStatusValuesFalsePositive,
IssueMatchStatusValuesMitigated,
}
View Source
var AllIssueTypesOrdered = []IssueTypes{
IssueTypesPolicyViolation,
IssueTypesSecurityEvent,
IssueTypesVulnerability,
}
View Source
var AllSeverityValuesOrdered = []SeverityValues{
SeverityValuesCritical,
SeverityValuesHigh,
SeverityValuesMedium,
SeverityValuesLow,
SeverityValuesNone,
}
Functions ¶
func GetStateFilterType ¶
func GetStateFilterType(sf []StateFilter) []entity.StateFilterType
func NewActivityEntity ¶
func NewComponentEntity ¶
func NewComponentInstanceEntity ¶
func NewComponentInstanceEntity(componentInstance *ComponentInstanceInput) entity.ComponentInstance
func NewComponentVersionEntity ¶
func NewComponentVersionEntity(componentVersion *ComponentVersionInput) entity.ComponentVersion
func NewEvidenceEntity ¶
func NewIssueEntity ¶
func NewIssueMatchChangeEntity ¶
func NewIssueMatchChangeEntity(imc *IssueMatchChangeInput) entity.IssueMatchChange
func NewIssueMatchEntity ¶
func NewIssueMatchEntity(im *IssueMatchInput) entity.IssueMatch
func NewIssueRepositoryEntity ¶
func NewIssueRepositoryEntity(repo *IssueRepositoryInput) entity.IssueRepository
func NewIssueVariantEntity ¶
func NewIssueVariantEntity(issueVariant *IssueVariantInput) entity.IssueVariant
func NewScannerRunEntity ¶
func NewScannerRunEntity(sr *ScannerRunInput) entity.ScannerRun
func NewServiceEntity ¶
func NewSeverityEntity ¶
func NewSupportGroupEntity ¶
func NewSupportGroupEntity(supportGroup *SupportGroupInput) entity.SupportGroup
func NewUserEntity ¶
Types ¶
type HasToEntity ¶
type NodeName ¶
type NodeName string
const ( ActivityNodeName NodeName = "Activity" IssueVariantNodeName NodeName = "IssueVariant" IssueRepositoryNodeName NodeName = "IssueRepository" ComponentNodeName NodeName = "Component" ComponentInstanceNodeName NodeName = "ComponentInstance" ComponentVersionNodeName NodeName = "ComponentVersion" EvidenceNodeName NodeName = "Evidence" ServiceNodeName NodeName = "Service" SupportGroupNodeName NodeName = "SupportGroup" UserNodeName NodeName = "User" IssueNodeName NodeName = "Issue" IssueMatchNodeName NodeName = "IssueMatch" IssueMatchChangeNodeName NodeName = "IssueMatchChange" )
type NodeParent ¶
Click to show internal directories.
Click to hide internal directories.