Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DependencyVulnDTO ¶
type DependencyVulnDTO struct {
Message *string `json:"message"`
AssetVersionName string `json:"assetVersionId"`
AssetID string `json:"assetId"`
State dtos.VulnState `json:"state"`
CVE dtos.CVEDTO `json:"cve"`
CVEID string `json:"cveID"`
ComponentPurl string `json:"componentPurl"`
ComponentFixedVersion *string `json:"componentFixedVersion"`
VulnerabilityPath []string `json:"vulnerabilityPath"`
DirectDependencyFixedVersion *string `json:"directDependencyFixedVersion"`
Effort *int `json:"effort"`
RiskAssessment *int `json:"riskAssessment"`
RawRiskAssessment *float64 `json:"rawRiskAssessment"`
Priority *int `json:"priority"`
LastDetected time.Time `json:"lastDetected"`
CreatedAt time.Time `json:"createdAt"`
TicketID *string `json:"ticketId"`
TicketURL *string `json:"ticketUrl"`
ManualTicketCreation bool `json:"manualTicketCreation"`
Artifacts []dtos.ArtifactDTO `json:"artifacts"`
Exploits []dtos.ExploitDTO `json:"exploits"`
RiskRecalculatedAt time.Time `json:"riskRecalculatedAt"`
}
type FirstPartyScanResponse ¶
type FirstPartyScanResponse struct {
AmountOpened int `json:"amountOpened"`
AmountClosed int `json:"amountClosed"`
FirstPartyVulns []FirstPartyVulnDTO `json:"firstPartyVulns"`
}
type FirstPartyVulnDTO ¶
type FirstPartyVulnDTO struct {
ScannerIDs string `json:"scannerIds"`
Message *string `json:"message"`
AssetVersionName string `json:"assetVersionName"`
AssetID string `json:"assetId"`
State dtos.VulnState `json:"state"`
RuleID string `json:"ruleId"`
URI string `json:"uri"`
SnippetContents []dtos.SnippetContent `json:"snippetContents"`
CreatedAt time.Time `json:"createdAt"`
TicketID *string `json:"ticketId"`
TicketURL *string `json:"ticketUrl"`
ManualTicketCreation bool `json:"manualTicketCreation"`
Commit string `json:"commit"`
Email string `json:"email"`
Author string `json:"author"`
Date string `json:"date"`
RuleName string `json:"ruleName"`
RuleHelp string `json:"ruleHelp"`
RuleHelpURI string `json:"ruleHelpURI"`
RuleDescription string `json:"ruleDescription"`
RuleProperties map[string]any `json:"ruleProperties"`
}
type ScanResponse ¶
type ScanResponse struct {
AmountOpened int `json:"amountOpened"`
AmountClosed int `json:"amountClosed"`
DependencyVulns []DependencyVulnDTO `json:"dependencyVulns"`
}
Click to show internal directories.
Click to hide internal directories.