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
@@ -32,6 +32,12 @@ import (
|
||||
"golang.org/x/xerrors"
|
||||
)
|
||||
|
||||
const (
|
||||
scannedViaRemote = "remote"
|
||||
scannedViaLocal = "local"
|
||||
scannedViaPseudo = "pseudo"
|
||||
)
|
||||
|
||||
var (
|
||||
errOSFamilyHeader = xerrors.New("X-Vuls-OS-Family header is required")
|
||||
errOSReleaseHeader = xerrors.New("X-Vuls-OS-Release header is required")
|
||||
|
||||
Reference in New Issue
Block a user