Include config in json result

This commit is contained in:
kota kanbe
2017-08-18 22:39:45 +09:00
parent 71490aebd9
commit 648a999514
4 changed files with 20 additions and 4 deletions

View File

@@ -449,6 +449,7 @@ func scanVulns(jsonDir string, scannedAt time.Time, timeoutSec int) error {
for _, s := range append(servers, errServers...) {
r := s.convertToModel()
r.ScannedAt = scannedAt
r.Config.Scan = config.Conf
results = append(results, r)
}