Documentation ¶
Index ¶
- func Csv(report Report, out string)
- func CycloneDXJson(report Report, out string)
- func CycloneDXXml(report Report, out string)
- func Dsdx(report Report, out string)
- func DsdxJson(report Report, out string)
- func DsdxXml(report Report, out string)
- func Html(report Report, out string)
- func Json(report Report, out string)
- func Saas(report Report) error
- func Save(report Report, output string)
- func Spdx(report Report, out string)
- func SpdxJson(report Report, out string)
- func SpdxXml(report Report, out string)
- func Sqlite(report Report, out string)
- func Statis(report Report) string
- func SwidJson(report Report, out string)
- func SwidXml(report Report, out string)
- func Xml(report Report, out string)
- type Report
- type TaskInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CycloneDXJson ¶
func CycloneDXXml ¶
Types ¶
type Report ¶
type Report struct { TaskInfo TaskInfo `json:"task_info" xml:"task_info"` *detail.DepDetailGraph }
type TaskInfo ¶
type TaskInfo struct { ToolVersion string `json:"tool_version" xml:"tool_version" ` // 检测目标名 AppName string `json:"app_name" xml:"app_name" ` // 检测文件大小 Size int64 `json:"size" xml:"size" ` // 任务开始时间 StartTime string `json:"start_time" xml:"start_time" ` // 任务结束时间 EndTime string `json:"end_time" xml:"end_time" ` // 任务检测耗时 单位s CostTime float64 `json:"cost_time" xml:"cost_time" ` // 错误信息 ErrorString string `json:"error,omitempty" xml:"error,omitempty"` }
Click to show internal directories.
Click to hide internal directories.