Add optional key-values that will be outputted to JSON in config
This commit is contained in:
@@ -245,6 +245,7 @@ func (l *base) convertToModel() (models.ScanResult, error) {
|
||||
Platform: l.Platform,
|
||||
KnownCves: scoredCves,
|
||||
UnknownCves: unscoredCves,
|
||||
Optional: l.ServerInfo.Optional,
|
||||
}, nil
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user