MaineK00n
5234306ded
feat(cti): add Cyber Threat Intelligence info ( #1442 )
...
* feat(cti): add Cyber Threat Intelligence info
* chore: replace io/ioutil as it is deprecated
* chore: remove --format-csv in stdout writer
* chore(deps): go get go-cti@v0.0.1
* feat(cti): update cti dict(support MITRE ATT&CK v11.1)
* chore(deps): go get go-cti@master
2022-06-15 17:08:12 +09:00
MaineK00n
86b60e1478
feat(config): support CIDR ( #1415 )
2022-06-10 18:24:25 +09:00
MaineK00n
2477f9a8f8
chore: tidy go.mod, add arm64 and workflows update ( #1461 )
...
* chore: tidy go.mod
* chore(gh): add arm64 and workflows update
* chore: disable staticcheck SA1019 for xerrors.Errorf
* chore: fix github.com/boltdb/bolt switch to github.com/etcd-io/bbolt? #1457
2022-06-09 06:10:07 +09:00
MaineK00n
91ed318c5d
chore(deps): update trivy v0.27.1 ( #1453 )
...
* chore(deps): update trivy v0.27.1
* chore: add gosum
2022-04-27 15:43:23 +09:00
MaineK00n
bfc3828ce1
chore(deps): update goval-dictionary and gost ( #1452 )
2022-04-27 13:03:11 +09:00
dependabot[bot]
c7eac4e7fe
chore(deps): bump github.com/aquasecurity/trivy from 0.25.4 to 0.27.0 ( #1451 )
...
* chore(deps): bump github.com/aquasecurity/trivy from 0.25.4 to 0.27.0
Bumps [github.com/aquasecurity/trivy](https://github.com/aquasecurity/trivy ) from 0.25.4 to 0.27.0.
- [Release notes](https://github.com/aquasecurity/trivy/releases )
- [Changelog](https://github.com/aquasecurity/trivy/blob/main/goreleaser.yml )
- [Commits](https://github.com/aquasecurity/trivy/compare/v0.25.4...v0.27.0 )
---
updated-dependencies:
- dependency-name: github.com/aquasecurity/trivy
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
* fix(library): support go.mod scan
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: MaineK00n <mainek00n.1229@gmail.com >
2022-04-27 12:46:47 +09:00
MaineK00n
cc63a0eccf
feat(ubuntu): add Jammy Jellyfish(22.04) ( #1431 )
...
* feat(ubuntu): add Jammy Jellyfish(22.04)
* chore(deps): gost update
* chore(oval/ubuntu): fill kernel package name temporarily
2022-04-27 11:04:00 +09:00
Satoru Nihei
fd18df1dd4
feat: parse OS version from result of trivy-scan ( #1444 )
...
* chore(deps): bump github.com/aquasecurity/trivy from 0.24.2 to 0.25.4
Bumps [github.com/aquasecurity/trivy](https://github.com/aquasecurity/trivy ) from 0.24.2 to 0.25.4.
- [Release notes](https://github.com/aquasecurity/trivy/releases )
- [Changelog](https://github.com/aquasecurity/trivy/blob/main/goreleaser.yml )
- [Commits](https://github.com/aquasecurity/trivy/compare/v0.24.2...v0.25.4 )
---
updated-dependencies:
- dependency-name: github.com/aquasecurity/trivy
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
* test: add testcase
* feat: parse metadata
* refactor: change detect logic
* refactor: change parsing logic
* refactor: refactor check logic before detect
* fix: impl without reuseScannedCves
* feat: complement :latest tag
* Update contrib/trivy/parser/v2/parser.go
Co-authored-by: MaineK00n <mainek00n.1229@gmail.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: MaineK00n <mainek00n.1229@gmail.com >
2022-04-27 10:28:20 +09:00
dependabot[bot]
a9f29a6c5d
chore(deps): bump github.com/aquasecurity/trivy from 0.24.2 to 0.25.1 ( #1436 )
...
* chore(deps): bump github.com/aquasecurity/trivy from 0.24.2 to 0.25.0
Bumps [github.com/aquasecurity/trivy](https://github.com/aquasecurity/trivy ) from 0.24.2 to 0.25.0.
- [Release notes](https://github.com/aquasecurity/trivy/releases )
- [Changelog](https://github.com/aquasecurity/trivy/blob/main/goreleaser.yml )
- [Commits](https://github.com/aquasecurity/trivy/compare/v0.24.2...v0.25.0 )
---
updated-dependencies:
- dependency-name: github.com/aquasecurity/trivy
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
* chore(deps): bump up Go to 1.18 and trivy v0.25.1
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: MaineK00n <mainek00n.1229@gmail.com >
2022-04-05 13:27:49 +09:00
MaineK00n
3dfbd6b616
chore(mod): update go-exploitdb module ( #1428 )
...
* chore(mod): update go-exploitdb module
* docs: add inthewild datasource
* Unique because URLs sometimes duplicate on GitHub and InTheWild
Co-authored-by: Kota Kanbe <kotakanbe@gmail.com >
2022-03-26 05:26:06 +09:00
MaineK00n
7500f41655
chore(mod): update go-kev module ( #1425 )
2022-03-25 06:15:06 +09:00
Satoru Nihei
ec31c54caf
chore: update trivy from 0.23.0 to 0.24.02 ( #1407 )
...
* chore: update trivy from 0.23.0 to 0.24.2
* chore: deal with changing structs
see: 11f4f81123
2022-03-04 16:00:08 +09:00
MaineK00n
7d8a24ee1a
refactor(detector): standardize db.NewDB to db.CloseDB ( #1380 )
...
* feat(subcmds/report,server): read environment variables when configPath is ""
* refactor: standardize db.NewDB to db.CloseDB
* chore: clean up import
* chore: error wrap
* chore: update goval-dictionary
* fix(oval): return Pseudo instead of nil for client
* chore: fix comment
* fix: lint error
2022-02-19 09:20:45 +09:00
MaineK00n
787604de6a
fix(suse): fix openSUSE, openSUSE Leap, SLES, SLED scan ( #1384 )
...
* fix(suse): fix openSUSE, openSUSE Leap scan
* docs: update README
* fix: unknown CveContent.Type
* fix: tui reporting
* fix: listening port was duplicated in format-full-text
* fix .gitignore
* fix: add EOL data for SLES12.5
Co-authored-by: Kota Kanbe <kotakanbe@gmail.com >
2022-02-15 17:11:54 +09:00
MaineK00n
0cdc7a3af5
chore(oval): update mod ( #1385 )
2022-02-09 10:20:07 +09:00
maito1201
1cfe155a3a
feat(fedora): support fedora ( #1367 )
...
* feat(fedora): support fedora
* fix(fedora): fix modular package scan
* fix(fedora): check needs-restarting, oval arch, add source link
Co-authored-by: MaineK00n <mainek00n.1229@gmail.com >
2022-02-09 09:30:44 +09:00
MaineK00n
f2e9cd9668
fix(oval): fix query in PostgreSQL ( #1372 )
...
Co-authored-by: Kota Kanbe <kotakanbe@gmail.com >
2022-02-02 06:46:02 +09:00
Kota Kanbe
77049d6cbb
feat(libscan): support trivy v0.23.0 ( #1377 )
...
* feat(libscan): support trivy v0.23.0
* fix lint err
* review
2022-02-01 10:40:16 +09:00
dependabot[bot]
43c05d06fc
chore(deps): bump github.com/aquasecurity/trivy from 0.20.0 to 0.22.0 ( #1350 )
...
* chore(deps): bump github.com/aquasecurity/trivy from 0.20.0 to 0.22.0
Bumps [github.com/aquasecurity/trivy](https://github.com/aquasecurity/trivy ) from 0.20.0 to 0.22.0.
- [Release notes](https://github.com/aquasecurity/trivy/releases )
- [Changelog](https://github.com/aquasecurity/trivy/blob/main/goreleaser.yml )
- [Commits](https://github.com/aquasecurity/trivy/compare/v0.20.0...v0.22.0 )
---
updated-dependencies:
- dependency-name: github.com/aquasecurity/trivy
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
* fix(library): trivy scan
* chore(integration): add lockfiles
* fix(library): support gobinary scan via trivy
* chore: add pom in IsTrivySupportedLib
* chore: fix LIBS
* fix(library): support trivy offline scan
* chore(integration): move vulsio/integration repository
* chore(integration): add integration as git submodule
* chore: update .gitignore
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: MaineK00n <mainek00n.1229@gmail.com >
2022-01-18 08:27:11 +09:00
Kota Kanbe
a3f7d1d7e7
feat(go-kev): update go-kev deps ( #1352 )
2022-01-07 08:21:48 +09:00
MaineK00n
7aa296bb57
fix(oval): fix RDB query ( #1347 )
2021-12-26 07:47:52 +09:00
MaineK00n
2b7294a504
feat(amazon): support amazon linux 2022 ( #1338 )
2021-12-09 11:06:44 +09:00
MaineK00n
89d94ad85a
feat(detector): add known exploited vulnerabilities ( #1331 )
...
* feat(kevuln): add known exploited vulnerabilities
* chore: transfer repository owner
* feat: show CISA on top of CERT
* chore: rename var
* chore: rename var
* chore: fix review
* chore: fix message
2021-11-19 15:06:17 +09:00
sadayuki-matsuno
ffdb78962f
update dictionaries ( #1326 )
2021-10-29 11:24:49 +09:00
Kota Kanbe
0b62842f0e
chore: fix go-sqlite3 deps ( #1324 )
2021-10-20 12:33:59 +09:00
Kota Kanbe
6bceddeeda
chore: update goval-dictionary ( #1323 )
...
* chore: update goval-dictionary
* fix errs
2021-10-20 11:10:33 +09:00
Kota Kanbe
8659668177
fix(cpescan): bug in NvdVendorProductMatch ( #1320 )
...
* fix(cpescan): bug in NvdVendorProductMatch
* update go mod
2021-10-13 12:55:01 +09:00
Kota Kanbe
aac5ef1438
feat: update-trivy ( #1316 )
...
* feat: update-trivy
* add v2 parser
* implement v2
* refactor
* feat: add show version to future-vuls
* add test case for v2
* trivy v0.20.0
* support --list-all-pkgs
* fix lint err
* add test case for jar
* add a test case for gemspec in container
* remove v1 parser and change Library struct
* Changed the field name in the model struct LibraryScanner
* add comment
* fix comment
* fix comment
* chore
* add struct tag
2021-10-08 17:22:06 +09:00
Kota Kanbe
9ef8cee36e
refactor(exploitdb): use pipeline effectively ( #1314 )
...
https://github.com/vulsio/go-exploitdb/pull/64
2021-10-01 09:10:49 +09:00
Kota Kanbe
77808a2c05
feat(go-cve): add error handling ( #1313 )
2021-09-30 12:42:43 +09:00
MaineK00n
177e553d12
feat(go-exploitdb): add error handling ( #1310 )
...
* feat(go-exploitdb): add error handling
* chore: rename
* go get -u go-exploitdb
Co-authored-by: Kota Kanbe <kotakanbe@gmail.com >
2021-09-30 11:33:18 +09:00
MaineK00n
40f8272a28
feat(go-msfdb): add error handling and support http mode ( #1308 )
...
* feat(go-msfdb): add error handling
* feat(go-msfdb): support http mode
* go get -u go-msfdb
Co-authored-by: Kota Kanbe <kotakanbe@gmail.com >
2021-09-30 11:16:41 +09:00
MaineK00n
a7eb1141ae
feat(gost): add error handling ( #1311 )
...
* feat(gost): add error handling
* go get -u gost
Co-authored-by: Kota Kanbe <kotakanbe@gmail.com >
2021-09-30 10:51:41 +09:00
Kota Kanbe
f047a6fe0c
breaking-change: Update vuls-dictionaries ( #1307 )
...
* chore: udpate dictionaries
* update gost
* chore: update gost
* chore(go-cve-dict): use v0.8.1
* chore: change linter from golint to revive
* chore(linter): set revive config
* chore: fix commands and update golangci-lint version
* fix: lint errs
* chore: update gost
Co-authored-by: MaineK00n <mainek00n.1229@gmail.com >
2021-09-21 05:10:29 +09:00
MaineK00n
7f15a86d6a
chore: change repository owner ( #1306 )
2021-09-16 11:05:37 +09:00
Kota Kanbe
da1e515253
breaking-change(goval): change-redis-architecture ( #1305 )
...
https://github.com/kotakanbe/goval-dictionary/pull/145
2021-09-15 08:25:14 +09:00
MaineK00n
591786fde6
feat(oval): support new goval-dictionary model ( #1280 )
...
* feat(oval): support new goval-dictionary model
* chore: fix lint err
* chore: set len of slice to 0
* fix(oval): avoid contamination of AffectedPackages by writing directly to defPacks
* fix(oval): avoid contamination of AffectedPackages by writing directly to defPacks
* feat(report): do not add duplicate CveContent
* chore: goval-dictionary update
* chore: go mod tidy
* fix(oval): preload Advisory.Cves for Ubuntu
https://github.com/kotakanbe/goval-dictionary/pull/152
Co-authored-by: Kota Kanbe <kotakanbe@gmail.com >
2021-09-13 10:19:59 +09:00
Kota Kanbe
4a72295de7
feat(saas): support for library-only scanning ( #1300 )
2021-09-10 15:38:35 +09:00
Kota Kanbe
3e67f04fe4
breaking-change(cpescan): Improve Cpe scan ( #1290 )
...
* chore(cpescan): enable to pass useJvn to detector.DetectCpeURIsCves()
* review comment
* chore: go mod update go-cve
* feat(cpescan): set JvnVendorProductMatch to confidence If detected by JVN
* add NvdExactVersionMatch andd NvdRoughVersionMatch
* add confidence-over option to report
* sort CveContetens
* fix integration-test
2021-09-07 16:18:59 +09:00
Kota Kanbe
b9416ae062
fix(report): too many SQL variables ( #1296 )
...
* fix(report): too many SQL variables
https://github.com/kotakanbe/go-cve-dictionary/pull/210
* fix lint err
2021-09-01 10:42:19 +09:00
Kota Kanbe
1003f62212
chore: update go-cve-dictionary ( #1292 )
2021-08-26 13:45:40 +09:00
Kota Kanbe
9b18e1f9f0
breaking-change(go-exploitdb): support new go-exploitdb ( #1288 )
2021-08-20 08:00:57 +09:00
Kota Kanbe
24f790f474
feat(go-cve): update go-cve-dictionary ( #1287 )
...
diff: a31a3152c1...5043255
2021-08-19 05:34:03 +09:00
MaineK00n
fb8749fc5e
fix(cpescan): fix confidence in cpe uri scan ( #1286 )
...
* fix(cpescan): fix confidence in cpe uri scan
* feat(cpe): add NA case
* chore: use HasNvd, HasJvn instead of len
* chore: go-cve-dictionary update
2021-08-19 04:59:09 +09:00
MaineK00n
96c3592db1
breaking-change(go-cve-dict): support new go-cve-dictionary ( #1277 )
...
* feat(model): change CveContents(map[string]CveContent) to map[string][]CveContent
* fix(cpescan): use CveIDSource
* chore: check Nvd, Jvn data
* chore: go-cve-dictionary update
* chore: add to cveDetails as is, since CveID is embedded in the response
2021-08-13 18:00:55 +09:00
Kota Kanbe
d65421cf46
fix(cpescan): JVN scan False-Negative on RDB-backend ( #1283 )
...
https://github.com/kotakanbe/go-cve-dictionary/pull/199
2021-08-13 09:58:04 +09:00
MaineK00n
f24240bf90
feat(library): update trivy v0.19.2 ( #1278 )
2021-08-02 05:40:57 +09:00
Kota Kanbe
5f4d68cde4
feat(go-msf): update deps ( #1275 )
...
https://github.com/takuzoo3868/go-msfdb/pull/22
2021-07-21 09:13:34 +09:00
Kota Kanbe
543dc99ecd
fix(cpescan): CpeVendorProductMatch not set when Redis Backend ( #1273 )
...
* fix(cpescan): CpeVendorProductMatch not set when Redis Backend
* fix(integration): deprecated CPE URI
* fix(integration-test): add a test case for CpeVendorProductMatch
* fix review
* update deps go-cve-dict v0.6.2
2021-07-19 08:43:58 +09:00
Kota Kanbe
f0b3a8b1db
feat(cpescan): Use JVN as a second DB for CPE scan ( #1268 )
...
* feat(cpescan): Use JVN as a second DB for CPE scan
* feat(tui): display score of detectionmethod
* update go.mod
2021-07-08 12:39:46 +09:00