chore: add test data for integration test (#1254)
This commit is contained in:
6
.gitignore
vendored
6
.gitignore
vendored
@@ -1,5 +1,6 @@
|
||||
.vscode
|
||||
*.txt
|
||||
*.swp
|
||||
*.sqlite3*
|
||||
*.db
|
||||
tags
|
||||
@@ -8,10 +9,13 @@ coverage.out
|
||||
issues/
|
||||
vendor/
|
||||
log/
|
||||
results/
|
||||
results
|
||||
!integration/data/results
|
||||
config.toml
|
||||
!setup/docker/*
|
||||
.DS_Store
|
||||
dist/
|
||||
.idea
|
||||
vuls.*
|
||||
vuls
|
||||
!cmd/vuls
|
||||
|
||||
6534
integration/data/results/amazon_2.json
Executable file
6534
integration/data/results/amazon_2.json
Executable file
File diff suppressed because it is too large
Load Diff
5634
integration/data/results/centos_7.json
Executable file
5634
integration/data/results/centos_7.json
Executable file
File diff suppressed because it is too large
Load Diff
5631
integration/data/results/debian_10.json
Executable file
5631
integration/data/results/debian_10.json
Executable file
File diff suppressed because it is too large
Load Diff
3031
integration/data/results/oracle.json
Normal file
3031
integration/data/results/oracle.json
Normal file
File diff suppressed because it is too large
Load Diff
131
integration/data/results/rails.json
Normal file
131
integration/data/results/rails.json
Normal file
@@ -0,0 +1,131 @@
|
||||
{
|
||||
"jsonVersion": 4,
|
||||
"lang": "",
|
||||
"serverUUID": "",
|
||||
"serverName": "rails",
|
||||
"family": "pseudo",
|
||||
"release": "",
|
||||
"container": {
|
||||
"containerID": "",
|
||||
"name": "",
|
||||
"image": "",
|
||||
"type": "",
|
||||
"uuid": ""
|
||||
},
|
||||
"platform": {
|
||||
"name": "other",
|
||||
"instanceID": ""
|
||||
},
|
||||
"scannedAt": "2021-03-31T12:22:26.428630183+09:00",
|
||||
"scanMode": "fast mode",
|
||||
"scannedVersion": "v0.15.9",
|
||||
"scannedRevision": "build-20210331_121257_1a58c94",
|
||||
"scannedBy": "dev",
|
||||
"scannedVia": "pseudo",
|
||||
"scannedIpv4Addrs": [
|
||||
"172.19.0.1",
|
||||
"172.17.0.1",
|
||||
"172.27.0.1"
|
||||
],
|
||||
"reportedAt": "0001-01-01T00:00:00Z",
|
||||
"reportedVersion": "",
|
||||
"reportedRevision": "",
|
||||
"reportedBy": "",
|
||||
"errors": [],
|
||||
"warnings": [],
|
||||
"scannedCves": {},
|
||||
"runningKernel": {
|
||||
"release": "",
|
||||
"version": "",
|
||||
"rebootRequired": false
|
||||
},
|
||||
"packages": {},
|
||||
"config": {
|
||||
"scan": {
|
||||
"logDir": "/var/log/vuls",
|
||||
"resultsDir": "/home/ubuntu/go/src/github.com/future-architect/vuls/results",
|
||||
"default": {
|
||||
"port": "22",
|
||||
"scanMode": [
|
||||
"fast"
|
||||
]
|
||||
},
|
||||
"servers": {
|
||||
"rails": {
|
||||
"serverName": "rails",
|
||||
"cpeNames": [
|
||||
"cpe:/a:rubyonrails:ruby_on_rails:3.0.1"
|
||||
],
|
||||
"scanMode": [
|
||||
"fast"
|
||||
],
|
||||
"type": "pseudo",
|
||||
"wordpress": {}
|
||||
}
|
||||
},
|
||||
"cveDict": {
|
||||
"Name": "cveDict",
|
||||
"Type": "sqlite3",
|
||||
"SQLite3Path": "/home/ubuntu/go/src/github.com/kotakanbe/go-cve-dictionary/cve.sqlite3",
|
||||
"DebugSQL": false
|
||||
},
|
||||
"ovalDict": {
|
||||
"Name": "ovalDict",
|
||||
"Type": "sqlite3",
|
||||
"SQLite3Path": "/home/ubuntu/go/src/github.com/kotakanbe/goval-dictionary/oval.sqlite3",
|
||||
"DebugSQL": false
|
||||
},
|
||||
"gost": {
|
||||
"Name": "gost",
|
||||
"Type": "sqlite3",
|
||||
"SQLite3Path": "/home/ubuntu/go/src/github.com/future-architect/vuls/gost.sqlite3",
|
||||
"DebugSQL": false
|
||||
},
|
||||
"exploit": {
|
||||
"Name": "exploit",
|
||||
"Type": "sqlite3",
|
||||
"SQLite3Path": "/home/ubuntu/go/src/github.com/vulsio/go-exploitdb/go-exploitdb.sqlite3",
|
||||
"DebugSQL": false
|
||||
},
|
||||
"metasploit": {
|
||||
"Name": "metasploit",
|
||||
"Type": "sqlite3",
|
||||
"SQLite3Path": "/home/ubuntu/go/src/github.com/takuzoo3868/go-msfdb/go-msfdb.sqlite3",
|
||||
"DebugSQL": false
|
||||
}
|
||||
},
|
||||
"report": {
|
||||
"default": {},
|
||||
"cveDict": {
|
||||
"Name": "",
|
||||
"Type": "",
|
||||
"SQLite3Path": "",
|
||||
"DebugSQL": false
|
||||
},
|
||||
"ovalDict": {
|
||||
"Name": "",
|
||||
"Type": "",
|
||||
"SQLite3Path": "",
|
||||
"DebugSQL": false
|
||||
},
|
||||
"gost": {
|
||||
"Name": "",
|
||||
"Type": "",
|
||||
"SQLite3Path": "",
|
||||
"DebugSQL": false
|
||||
},
|
||||
"exploit": {
|
||||
"Name": "",
|
||||
"Type": "",
|
||||
"SQLite3Path": "",
|
||||
"DebugSQL": false
|
||||
},
|
||||
"metasploit": {
|
||||
"Name": "",
|
||||
"Type": "",
|
||||
"SQLite3Path": "",
|
||||
"DebugSQL": false
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
5158
integration/data/results/rhel_71.json
Executable file
5158
integration/data/results/rhel_71.json
Executable file
File diff suppressed because it is too large
Load Diff
6926
integration/data/results/rhel_8.json
Executable file
6926
integration/data/results/rhel_8.json
Executable file
File diff suppressed because it is too large
Load Diff
8609
integration/data/results/ubuntu_1804.json
Executable file
8609
integration/data/results/ubuntu_1804.json
Executable file
File diff suppressed because it is too large
Load Diff
8559
integration/data/results/ubuntu_2004.json
Executable file
8559
integration/data/results/ubuntu_2004.json
Executable file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user