add scannedVia field to know the way of access such as SSH, local or pseudo (#811)
* add sacnned via * change scannedVia type to const
This commit is contained in:
committed by
Kota Kanbe
parent
824fbb6368
commit
53aaea9fe2
@@ -51,6 +51,7 @@ type ScanResult struct {
|
||||
ScannedVersion string `json:"scannedVersion"`
|
||||
ScannedRevision string `json:"scannedRevision"`
|
||||
ScannedBy string `json:"scannedBy"`
|
||||
ScannedVia string `json:"scannedVia"`
|
||||
ScannedIPv4Addrs []string `json:"scannedIpv4Addrs,omitempty"`
|
||||
ScannedIPv6Addrs []string `json:"scannedIpv6Addrs,omitempty"`
|
||||
ReportedAt time.Time `json:"reportedAt"`
|
||||
|
||||
Reference in New Issue
Block a user