jabielecki
1805a956a3
refactor for newest fanal ( #305 )
...
Changes for compatilibity with PR aquasecurity/fanal#47
Signed-off-by: Jakub Bielecki <jakub.bielecki@codilime.com >
2019-12-15 10:22:48 +02:00
Teppei Fukuda
74717b888e
feat: support client/server mode ( #295 )
...
* chore(app): change dir
* feat(rpc): add a proto file and auto-generated files
* chore(dep): add dependencies
* fix(app): fix import path
* fix(integration): fix import path
* fix(protoc): use enum for severity
* chore(Makefile): add fmt andd protoc
* chore(clang): add .clang-format
* refactor: split functions for client/server (#296 )
* refactor(db): split db.Download
* refactor(standalone): create a different package
* refactor(vulnerability): split FillAndFilter
* fix(protoc): use enum for severity
* chore(Makefile): add fmt andd protoc
* chore(clang): add .clang-format
* fix(db): remove an unused variable
* fix(db): expose the github client as an argument of constructor
* refactor(vulnerability): add the detail message
* feat(rpc): add rpc client (#302 )
* fix(protoc): use enum for severity
* chore(Makefile): add fmt andd protoc
* chore(clang): add .clang-format
* feat(rpc): convert types
* feat(rpc): add rpc client
* token: Refactor to handle bad headers being set
Signed-off-by: Simarpreet Singh <simar@linux.com >
* feat(rpc): add rpc server (#303 )
* feat(rpc): add rpc server
* feat(utils): add CopyFile
* feat(server/config): add config struct
* feat(detector): add detector
* feat(scanner): delegate procedures to detector
* fix(scanner): fix the interface
* test(mock): add mocks
* test(rpc/server): add tests
* test(rpc/ospkg/server): add tests
* tets(os/detector): add tests
* refactor(library): move directories
* chore(dependency): add google/wire
* refactor(library): introduce google/wire
* refactor(ospkg/detector): move directory
* feat(rpc): add eosl
* refactor(ospkg): introduce google/wire
* refactor(wire): bind an interface
* refactor(client): use wire.Struct
* chore(Makefile): fix wire
* test(server): add AssertExpectations
* test(server): add AssertExpectations
* refactor(server): remove debug log
* refactor(error): add more context messages
* test(server): fix error message
* refactor(test): create a constructor of mock
* refactor(config): remove an unused variable
* test(config): add an assertion to test the config struct
* feat(client/server): add sub commands (#304 )
* feat(rpc): add rpc server
* feat(utils): add CopyFile
* feat(server/config): add config struct
* feat(detector): add detector
* feat(scanner): delegate procedures to detector
* fix(scanner): fix the interface
* feat(client/server): add sub commands
* merge(server3)
* test(scan): remove an unused mock
* refactor(client): generate the constructor by wire
* fix(cli): change the default port
* fix(server): use auto-generated constructor
* feat(ospkg): return eosl
* test(integration): add integration tests for client/server (#306 )
* fix(server): remove unnecessary options
* test(integration): add integration tests for client/server
* fix(server): wrap an error
* fix(server): change the update interval
* fix(server): display the error detail
* test(config): add an assertion to test the config struct
* fix(client): returns an error when failing to initizlie a logger
* test(ospkg/server): add eosl
* Squashed commit of the following:
* test(server): refactor and add tests (#307 )
* test(github): create a mock
* test(db): create a mock
* test(server): add tests for DB hot update
* chore(db): add a log message
* refactor(db): introduce google/wire
* refactor(rpc): move directory
* refactor(injector): fix import name
* refactor(import): remove new lines
* fix(server): display the error detail
* fix(server): change the update interval
* fix(server): wrap an error
* test(integration): add integration tests for client/server
* fix(server): remove unnecessary options
* refactor(server): return an error when failing to initialize a logger
* refactor(server): remove unused error
* fix(client/server): fix default port
* chore(README): add client/server
* chore(README): update
2019-12-13 15:00:11 +02:00
Teppei Fukuda
f8509846cf
test(integration): add integration tests ( #201 )
...
* divide into NewApp function
* sort scan results for idempotency
* chore(integration): add integration tests
* tar_input_test: strengthen assertions
Signed-off-by: Simarpreet Singh <simar@linux.com >
* writer_test: Add a happy path for TestReportWriter
Signed-off-by: Simarpreet Singh <simar@linux.com >
* writer_test: switch to table test cases
Signed-off-by: Simarpreet Singh <simar@linux.com >
* writer_test: Add more scenarios for TestReportWriter_Table
Signed-off-by: Simarpreet Singh <simar@linux.com >
* writer: Change back to []Results and add happy path for JSON writer
Signed-off-by: Simarpreet Singh <simar@linux.com >
* writer_test: Switch to a table driven format
Signed-off-by: Simarpreet Singh <simar@linux.com >
* writer_test: cleanup
Signed-off-by: Simarpreet Singh <simar@linux.com >
* scan: Go back to report.Result by value
Signed-off-by: Simarpreet Singh <simar@linux.com >
* Revert "scan: Go back to report.Result by value"
This reverts commit 03b6f7abd7d0d22d87c825d0ef3759cca200b9fc.
* switch back to by value for results
Signed-off-by: Simarpreet Singh <simar@linux.com >
* writer_test: document a behavior with template inputs
Signed-off-by: Simarpreet Singh <simar@linux.com >
* vulnerability: Add a failing test to show unexpected sorting behavior.
Signed-off-by: Simarpreet Singh <simar@linux.com >
* report: Simplify []*Result to []Result.
Signed-off-by: Simarpreet Singh <simar@linux.com >
* test(template): add happy path
* test(vulnerability): fix expected values
* tar_input_test: Move gunzipDB
Signed-off-by: Simarpreet Singh <simar@linux.com >
2019-10-18 13:58:27 -07:00
Masahiro Fujimura
da621c3524
Add timeout option ( #143 )
...
* Add timeout
* Fix cli.IntFlag -> cli.DurationFlag
2019-10-15 08:58:03 +03:00
knqyf263
a843682f7c
Transfer repositoriy
2019-08-18 22:22:54 -10:00
Maxime Sibellas
ec1afc2665
feat: add vulnerability type filter to get only os or packages vulnerabilities ( #50 )
...
feat: add vulnerability type filter to get only os or packages vulnerabilities
2019-06-07 23:34:24 +09:00
Tomoya Amachi
6fa78df282
auth for private docker registry from ENV vars ( #52 )
...
* auth for private docker registry from env vars
* fix typo
* delete GCP and AWS ENV vars
* update TOC
* fix typo
2019-05-24 13:26:41 +09:00
Teppei Fukuda
073b315737
No error on unsupported OS ( #40 )
2019-05-21 09:24:45 +09:00
Teppei Fukuda
295cd29aeb
Suppress the warning message when specifying --clear-cache option ( #25 )
2019-05-19 00:17:44 +09:00
knqyf263
77e9b0a6d1
Fix warning message
2019-05-16 01:35:24 +09:00
knqyf263
27d776cdf2
Support .trivyignore
2019-05-13 13:56:01 +09:00
knqyf263
1827d3d5c9
Refactor
2019-05-13 10:04:01 +09:00
knqyf263
2b5782c920
Use NVD CVSS score
2019-05-13 04:11:51 +09:00
Masahiro
0c11078302
Add Cargo scanner ( #5 )
2019-05-12 23:08:02 +09:00
Masahiro
22abb9dab1
Add options for remic ( #4 )
...
* Fix filename
* Add options
2019-05-11 14:36:20 +09:00
knqyf263
b208bc4c12
Add --refresh option
2019-05-08 19:10:08 +09:00
knqyf263
53ad8c2f35
Output description and references to JSON
2019-05-08 15:25:35 +09:00
knqyf263
34ba0ca8d7
Use description as title
2019-05-08 15:12:34 +09:00
knqyf263
6d82700032
Add --ignore-unfixed option and sort vulnerabilities by a severity
2019-05-08 13:31:51 +09:00
Teppei Fukuda
1291b9a194
Display advisory information ( #2 )
...
* Use fork tablewriter
* Display advisory information
* Update README
2019-05-07 20:46:11 +09:00
Teppei Fukuda
84fec5ae12
Initial commit ( #1 )
...
* initial
2019-05-07 15:41:03 +09:00