Documentation ¶
Index ¶
- func ConvertToLicenseScanTableRow(rows []LicenseRow) (tableRows []licenseScanTableRow)
- func ConvertToLicenseTableRow(rows []LicenseRow) (tableRows []licenseTableRow)
- func ConvertToLicenseViolationScanTableRow(rows []LicenseViolationRow) (tableRows []licenseViolationScanTableRow)
- func ConvertToLicenseViolationTableRow(rows []LicenseViolationRow) (tableRows []licenseViolationTableRow)
- func ConvertToOperationalRiskViolationScanTableRow(rows []OperationalRiskViolationRow) (tableRows []operationalRiskViolationScanTableRow)
- func ConvertToOperationalRiskViolationTableRow(rows []OperationalRiskViolationRow) (tableRows []operationalRiskViolationTableRow)
- func ConvertToVulnerabilityScanTableRow(rows []VulnerabilityOrViolationRow) (tableRows []vulnerabilityScanTableRow)
- func ConvertToVulnerabilityTableRow(rows []VulnerabilityOrViolationRow) (tableRows []vulnerabilityTableRow)
- type ComponentRow
- type CveRow
- type JfrogResearchInformation
- type JfrogResearchSeverityReason
- type LicenseRow
- type LicenseViolationRow
- type OperationalRiskViolationRow
- type SimpleJsonError
- type SimpleJsonResults
- type VulnerabilityOrViolationRow
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConvertToLicenseScanTableRow ¶ added in v2.31.1
func ConvertToLicenseScanTableRow(rows []LicenseRow) (tableRows []licenseScanTableRow)
func ConvertToLicenseTableRow ¶
func ConvertToLicenseTableRow(rows []LicenseRow) (tableRows []licenseTableRow)
func ConvertToLicenseViolationScanTableRow ¶ added in v2.31.1
func ConvertToLicenseViolationScanTableRow(rows []LicenseViolationRow) (tableRows []licenseViolationScanTableRow)
func ConvertToLicenseViolationTableRow ¶
func ConvertToLicenseViolationTableRow(rows []LicenseViolationRow) (tableRows []licenseViolationTableRow)
func ConvertToOperationalRiskViolationScanTableRow ¶ added in v2.31.1
func ConvertToOperationalRiskViolationScanTableRow(rows []OperationalRiskViolationRow) (tableRows []operationalRiskViolationScanTableRow)
func ConvertToOperationalRiskViolationTableRow ¶
func ConvertToOperationalRiskViolationTableRow(rows []OperationalRiskViolationRow) (tableRows []operationalRiskViolationTableRow)
func ConvertToVulnerabilityScanTableRow ¶ added in v2.31.1
func ConvertToVulnerabilityScanTableRow(rows []VulnerabilityOrViolationRow) (tableRows []vulnerabilityScanTableRow)
func ConvertToVulnerabilityTableRow ¶
func ConvertToVulnerabilityTableRow(rows []VulnerabilityOrViolationRow) (tableRows []vulnerabilityTableRow)
Types ¶
type ComponentRow ¶
type JfrogResearchInformation ¶ added in v2.13.4
type JfrogResearchInformation struct { Summary string `json:"summary,omitempty"` Details string `json:"details,omitempty"` Severity string `json:"severity,omitempty"` SeverityReasons []JfrogResearchSeverityReason `json:"severityReasons,omitempty"` Remediation string `json:"remediation,omitempty"` }
type JfrogResearchSeverityReason ¶ added in v2.13.4
type LicenseRow ¶
type LicenseRow struct { LicenseKey string `json:"licenseKey"` ImpactedDependencyName string `json:"impactedPackageName"` ImpactedDependencyVersion string `json:"impactedPackageVersion"` ImpactedDependencyType string `json:"impactedPackageType"` Components []ComponentRow `json:"components"` ImpactPaths [][]ComponentRow `json:"impactPaths"` }
type LicenseViolationRow ¶
type LicenseViolationRow struct { LicenseKey string `json:"licenseKey"` Severity string `json:"severity"` SeverityNumValue int `json:"-"` // For sorting ImpactedDependencyName string `json:"impactedPackageName"` ImpactedDependencyVersion string `json:"impactedPackageVersion"` ImpactedDependencyType string `json:"impactedPackageType"` Components []ComponentRow `json:"components"` }
type OperationalRiskViolationRow ¶
type OperationalRiskViolationRow struct { Severity string `json:"severity"` SeverityNumValue int `json:"-"` // For sorting ImpactedDependencyName string `json:"impactedPackageName"` ImpactedDependencyVersion string `json:"impactedPackageVersion"` ImpactedDependencyType string `json:"impactedPackageType"` Components []ComponentRow `json:"components"` RiskReason string `json:"riskReason"` IsEol string `json:"isEndOfLife"` EolMessage string `json:"endOfLifeMessage"` Cadence string `json:"cadence"` Commits string `json:"commits"` Committers string `json:"committers"` NewerVersions string `json:"newerVersions"` LatestVersion string `json:"latestVersion"` }
type SimpleJsonError ¶ added in v2.13.4
type SimpleJsonResults ¶
type SimpleJsonResults struct { Vulnerabilities []VulnerabilityOrViolationRow `json:"vulnerabilities"` SecurityViolations []VulnerabilityOrViolationRow `json:"securityViolations"` LicensesViolations []LicenseViolationRow `json:"licensesViolations"` Licenses []LicenseRow `json:"licenses"` OperationalRiskViolations []OperationalRiskViolationRow `json:"operationalRiskViolations"` Errors []SimpleJsonError `json:"errors"` }
This struct holds the sorted results of the simple-json output.
type VulnerabilityOrViolationRow ¶
type VulnerabilityOrViolationRow struct { Summary string `json:"summary"` Severity string `json:"severity"` SeverityNumValue int `json:"-"` // For sorting ImpactedDependencyName string `json:"impactedPackageName"` ImpactedDependencyVersion string `json:"impactedPackageVersion"` ImpactedDependencyType string `json:"impactedPackageType"` FixedVersions []string `json:"fixedVersions"` Components []ComponentRow `json:"components"` Cves []CveRow `json:"cves"` IssueId string `json:"issueId"` References []string `json:"references"` ImpactPaths [][]ComponentRow `json:"impactPaths"` JfrogResearchInformation *JfrogResearchInformation `json:"jfrogResearchInformation"` Technology coreutils.Technology `json:"-"` }
Used for vulnerabilities and security violations
Click to show internal directories.
Click to hide internal directories.