-
Notifications
You must be signed in to change notification settings - Fork 0
/
model_native_report_summary.go
34 lines (31 loc) · 1.1 KB
/
model_native_report_summary.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
/*
* Harbor API
*
* These APIs provide services for manipulating Harbor project.
*
* API version: 2.0
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
package swagger
import (
"time"
)
// The summary for the native report
type NativeReportSummary struct {
// id of the native scan report
ReportId string `json:"report_id,omitempty"`
// The status of the report generating process
ScanStatus string `json:"scan_status,omitempty"`
// The overall severity
Severity string `json:"severity,omitempty"`
// The seconds spent for generating the report
Duration int64 `json:"duration,omitempty"`
Summary *VulnerabilitySummary `json:"summary,omitempty"`
// The start time of the scan process that generating report
StartTime time.Time `json:"start_time,omitempty"`
// The end time of the scan process that generating report
EndTime time.Time `json:"end_time,omitempty"`
// The complete percent of the scanning which value is between 0 and 100
CompletePercent int32 `json:"complete_percent,omitempty"`
Scanner *Scanner `json:"scanner,omitempty"`
}