Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(libscan): support trivy v0.23.0 #1377

Merged
merged 3 commits into from
Feb 1, 2022
Merged

feat(libscan): support trivy v0.23.0 #1377

merged 3 commits into from
Feb 1, 2022

Conversation

kotakanbe
Copy link
Member

@kotakanbe kotakanbe commented Feb 1, 2022

What did you implement:

aquasecurity/trivy#1652

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

How Has This Been Tested?

for jsonfile in ''/home/ubuntu/go/src/github.com/future-architect/vuls/integration/results'/2022-02-01T09:29:56+09:00'/*.json ;  do echo $jsonfile; cat $jsonfile | jq ".scannedCves | length" ; done
/home/ubuntu/go/src/github.com/future-architect/vuls/integration/results/2022-02-01T09:29:56+09:00/bundler.json
56
/home/ubuntu/go/src/github.com/future-architect/vuls/integration/results/2022-02-01T09:29:56+09:00/cargo.json
14
/home/ubuntu/go/src/github.com/future-architect/vuls/integration/results/2022-02-01T09:29:56+09:00/composer.json
13
/home/ubuntu/go/src/github.com/future-architect/vuls/integration/results/2022-02-01T09:29:56+09:00/gobinary.json
2
/home/ubuntu/go/src/github.com/future-architect/vuls/integration/results/2022-02-01T09:29:56+09:00/gomod.json
27
/home/ubuntu/go/src/github.com/future-architect/vuls/integration/results/2022-02-01T09:29:56+09:00/jar.json
4
/home/ubuntu/go/src/github.com/future-architect/vuls/integration/results/2022-02-01T09:29:56+09:00/jvn_vendor_product.json
1
/home/ubuntu/go/src/github.com/future-architect/vuls/integration/results/2022-02-01T09:29:56+09:00/jvn_vendor_product_nover.json
4
/home/ubuntu/go/src/github.com/future-architect/vuls/integration/results/2022-02-01T09:29:56+09:00/npm.json
31
/home/ubuntu/go/src/github.com/future-architect/vuls/integration/results/2022-02-01T09:29:56+09:00/nuget-config.json
2
/home/ubuntu/go/src/github.com/future-architect/vuls/integration/results/2022-02-01T09:29:56+09:00/nuget-lock.json
2
/home/ubuntu/go/src/github.com/future-architect/vuls/integration/results/2022-02-01T09:29:56+09:00/nvd_exact.json
51
/home/ubuntu/go/src/github.com/future-architect/vuls/integration/results/2022-02-01T09:29:56+09:00/nvd_match_no_jvn.json
62
/home/ubuntu/go/src/github.com/future-architect/vuls/integration/results/2022-02-01T09:29:56+09:00/nvd_rough.json
23
/home/ubuntu/go/src/github.com/future-architect/vuls/integration/results/2022-02-01T09:29:56+09:00/nvd_vendor_product.json
91
/home/ubuntu/go/src/github.com/future-architect/vuls/integration/results/2022-02-01T09:29:56+09:00/pip.json
1
/home/ubuntu/go/src/github.com/future-architect/vuls/integration/results/2022-02-01T09:29:56+09:00/pipenv.json
16
/home/ubuntu/go/src/github.com/future-architect/vuls/integration/results/2022-02-01T09:29:56+09:00/poetry.json
8
/home/ubuntu/go/src/github.com/future-architect/vuls/integration/results/2022-02-01T09:29:56+09:00/pom.json
4
/home/ubuntu/go/src/github.com/future-architect/vuls/integration/results/2022-02-01T09:29:56+09:00/yarn.json
50
for jsonfile in ''/home/ubuntu/go/src/github.com/future-architect/vuls/integration/results'/2022-02-01T09:29:57+09:00'/*.json ;  do echo $jsonfile; cat $jsonfile | jq ".scannedCves | length" ; done
/home/ubuntu/go/src/github.com/future-architect/vuls/integration/results/2022-02-01T09:29:57+09:00/bundler.json
56
/home/ubuntu/go/src/github.com/future-architect/vuls/integration/results/2022-02-01T09:29:57+09:00/cargo.json
14
/home/ubuntu/go/src/github.com/future-architect/vuls/integration/results/2022-02-01T09:29:57+09:00/composer.json
12
/home/ubuntu/go/src/github.com/future-architect/vuls/integration/results/2022-02-01T09:29:57+09:00/gobinary.json
2
/home/ubuntu/go/src/github.com/future-architect/vuls/integration/results/2022-02-01T09:29:57+09:00/gomod.json
27
/home/ubuntu/go/src/github.com/future-architect/vuls/integration/results/2022-02-01T09:29:57+09:00/jar.json
4
/home/ubuntu/go/src/github.com/future-architect/vuls/integration/results/2022-02-01T09:29:57+09:00/jvn_vendor_product.json
1
/home/ubuntu/go/src/github.com/future-architect/vuls/integration/results/2022-02-01T09:29:57+09:00/jvn_vendor_product_nover.json
4
/home/ubuntu/go/src/github.com/future-architect/vuls/integration/results/2022-02-01T09:29:57+09:00/npm.json
31
/home/ubuntu/go/src/github.com/future-architect/vuls/integration/results/2022-02-01T09:29:57+09:00/nuget-config.json
2
/home/ubuntu/go/src/github.com/future-architect/vuls/integration/results/2022-02-01T09:29:57+09:00/nuget-lock.json
2
/home/ubuntu/go/src/github.com/future-architect/vuls/integration/results/2022-02-01T09:29:57+09:00/nvd_exact.json
51
/home/ubuntu/go/src/github.com/future-architect/vuls/integration/results/2022-02-01T09:29:57+09:00/nvd_match_no_jvn.json
62
/home/ubuntu/go/src/github.com/future-architect/vuls/integration/results/2022-02-01T09:29:57+09:00/nvd_rough.json
23

/home/ubuntu/go/src/github.com/future-architect/vuls/integration/results/2022-02-01T09:29:57+09:00/nvd_vendor_product.json
91
/home/ubuntu/go/src/github.com/future-architect/vuls/integration/results/2022-02-01T09:29:57+09:00/pip.json
2
/home/ubuntu/go/src/github.com/future-architect/vuls/integration/results/2022-02-01T09:29:57+09:00/pipenv.json

13

/home/ubuntu/go/src/github.com/future-architect/vuls/integration/results/2022-02-01T09:29:57+09:00/poetry.json
7
/home/ubuntu/go/src/github.com/future-architect/vuls/integration/results/2022-02-01T09:29:57+09:00/pom.json
4
/home/ubuntu/go/src/github.com/future-architect/vuls/integration/results/2022-02-01T09:29:57+09:00/yarn.json
50

Checklist:

You don't have to satisfy all of the following.

  • Write tests
  • Write documentation
  • Check that there aren't other open pull requests for the same issue/feature
  • Format your source code by make fmt
  • Pass the test by make test
  • Provide verification config / commands
  • Enable "Allow edits from maintainers" for this PR
  • Update the messages below

Is this ready for review?: YES

@MaineK00n
Copy link
Collaborator

MaineK00n commented Feb 1, 2022

Changes in data sources around Python in the process of upgrading from v1 to v2
refs. aquasecurity/trivy-db#175

@kotakanbe kotakanbe merged commit 77049d6 into master Feb 1, 2022
@kotakanbe kotakanbe deleted the trivy-v0.23 branch February 1, 2022 01:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants