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
MaineK00n
8775b5efdf
chore: fix lint error ( #1438 )
...
* chore: fix lint: revive error
* chore: golanci-lint uses go 1.18
* chore: refactor tasks in GNUmakefile
* chore: add trivy binary in fvuls image
2022-04-15 18:12:13 +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
Satoru Nihei
05fdde48f9
feat: support server scan for suse with text/plain ( #1433 )
2022-04-04 12:45:44 +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 >
v0.19.5
2022-03-26 05:26:06 +09:00
MaineK00n
04f246cf8b
chore: add fvuls image ( #1426 )
2022-03-25 06:17:33 +09:00
MaineK00n
7500f41655
chore(mod): update go-kev module ( #1425 )
2022-03-25 06:15:06 +09:00
MaineK00n
a1cc152e81
feat(library): add auto detect library ( #1417 )
2022-03-17 18:08:40 +09:00
Masato Yagi
1c77bc1ba3
feat: replace NVD-column with packages-column at output of report ( #1414 )
...
* replace NVD-col with packages-col
* fix typo
* set table row line
2022-03-17 17:14:41 +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
Satoru Nihei
2f05864813
fix: handling when image contains no trivy-target ( #1405 )
...
* fix: handling when image contains no trivy-target
* refactor: use scanResult.Optional
* fix: add suppoted list to error message
2022-03-02 06:13:26 +09:00
Kota Kanbe
2fbc0a001e
fix: nil pointer when no match for any OS ( #1401 )
...
* refactor: rename serverapi.go to scanner.go
* fix: nil pointer if no match for any OS
2022-02-24 07:58:29 +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
7750347010
fix(oval/suse): use def.Advisory.Cves[0].CveID instead of def.Title ( #1397 )
2022-02-17 19:16:14 +09:00
MaineK00n
9bcffcd721
fix(configtest,scan): fix validateSSHConfig ( #1395 )
...
* fix(configtest,scan): support StrictHostKeyChecking no
* fix(configtest,scan): support ServerTypePseudo
* fix(configtest,scan): skip if using proxy
v0.19.4
2022-02-17 08:15:23 +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
5164fb1423
fix(util): Major() behavior for major version ( #1393 )
2022-02-15 07:59:29 +09:00
MaineK00n
07335617d3
fix(configtest,scan): support SSH config file ( #1388 )
...
* fix(configtest,scan): support SSH config file
* chore(subcmds): remove askKeyPassword flag
2022-02-12 21:50:56 +09:00
MaineK00n
e5855922c1
fix(redhat): detect RedHat version ( #1387 )
...
* fix(redhat): detect RedHat version
* fix err fmt string
Co-authored-by: Kota Kanbe <kotakanbe@gmail.com >
2022-02-12 20:09:51 +09:00
MaineK00n
671be3f2f7
feat(configtest,scan): detect known_hosts error ( #1386 )
2022-02-11 12:54:17 +09:00
MaineK00n
fe8d252c51
feat(debian): validate running kernel version ( #1382 )
...
* feat(debian): validate running kernel version
* chore(gost/debian): only stash when there is linux package
2022-02-11 12:36:48 +09:00
MaineK00n
0cdc7a3af5
chore(oval): update mod ( #1385 )
v0.19.3
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
2923cbc645
fix(centos): identify CentOS and CentOS Stream ( #1360 )
2022-02-03 05:32:03 +09:00
MaineK00n
7c209cc9dc
fix(gost): add nil check ( #1379 )
2022-02-03 05:25:11 +09:00
MaineK00n
84fa4ce432
feat(alpine): add Alpine 3.14, 3.15 EOL ( #1359 )
...
* feat(alpine): add Alpine 3.14, 3.15 EOL
* fix(alpine): change test case
2022-02-02 06:46:52 +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
sadayuki-matsuno
b4c23c158b
fix(scanner/base) export libFile fields ( #1366 )
2022-01-18 11:56:12 +09:00
sadayuki-matsuno
964b4aa389
fix(scanner/base) export libFile ( #1365 )
2022-01-18 11:31:36 +09:00
Kota Kanbe
dc5aa35db7
chore: update git submodule for integration test ( #1364 )
2022-01-18 10:22:00 +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 >
v0.19.2
2022-01-18 08:27:11 +09:00
Kota Kanbe
a3f7d1d7e7
feat(go-kev): update go-kev deps ( #1352 )
v0.19.1
2022-01-07 08:21:48 +09:00
Kota Kanbe
bb4a1ca6c2
GPLv3 ( #1351 )
2021-12-26 09:08:38 +09:00
Kota Kanbe
57cce640e1
Create SECURITY.md
2021-12-26 08:51:44 +09:00
kurita0
1eb5d36668
fix configtest stalled with scanMode=fast-root ( #1339 )
...
* fix configtest stalled with scanMode=fast-root
* repoquery does not require sudo privileges on centos
2021-12-26 08:31:11 +09:00
MaineK00n
6bc4850596
fix(detector/ospkg): Skip OVAL/gost search when the number of packages is 0 ( #1343 )
...
* fix(detector/ospkg): Skip OVAL/gost search when the number of packages is 0
* chore: easy refactoring
2021-12-26 07:53:18 +09:00
MaineK00n
24005ae7ae
chore(GHActions): replace with dependabot ( #1348 )
...
* chore(GHActions): replace with dependabot
* chore(GHActions): remove tidy.yml due to deprecation
2021-12-26 07:48:11 +09:00
MaineK00n
7aa296bb57
fix(oval): fix RDB query ( #1347 )
2021-12-26 07:47:52 +09:00
Kota Kanbe
3829ed2f8e
Fix the parsing logic of FreeBSD pkg-audit ( #1334 )
...
* fix scanUnsecurePackages for FreeBSD pkg audit output change
* Add test case TestParseBlock for FreeBSD pkg audit output change
* Fix for no CVE in a block
* fix(scan): parse logic of pkg-audit
* fix
ca761fb218
Co-authored-by: User Kurita <kurita@vuls0.digitiminimi.com >
2021-12-24 10:27:38 +09:00
MaineK00n
2b7294a504
feat(amazon): support amazon linux 2022 ( #1338 )
2021-12-09 11:06:44 +09:00
MaineK00n
0c6a892893
style: fix lint ( #1335 )
v0.19.0
2021-11-19 15:46:51 +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
321dae37ce
chore: update readme
2021-10-24 17:38:57 +09:00
Kota Kanbe
a31797af0b
Merge branch 'sakura'
2021-10-24 17:33:48 +09:00
Kota Kanbe
32999cf432
chore: udpate readme
2021-10-24 17:32:35 +09:00
Kota Kanbe
88218f5d92
chore: update sponsor ( #1325 )
2021-10-24 17:25:03 +09:00
Kota Kanbe
15761933ac
chore: update sponsor
2021-10-24 17:01:35 +09:00