Proto commits in aquasecurity/trivy

These 64 commits are when the Protocol Buffers files have changed:

Commit:a95cab0
Author:DmitriyLewen
Committer:GitHub

feat(image): save layers metadata into report (#8394) Co-authored-by: knqyf263 <knqyf263@gmail.com>

The documentation is generated from this commit.

Commit:dd54f80
Author:Teppei Fukuda
Committer:GitHub

feat: add report summary table (#8177) Signed-off-by: knqyf263 <knqyf263@gmail.com> Co-authored-by: DmitriyLewen <dmitriy.lewen@smartforce.io> Co-authored-by: DmitriyLewen <91113035+DmitriyLewen@users.noreply.github.com>

Commit:d464807
Author:DmitriyLewen
Committer:GitHub

feat: add `--vuln-severity-source` flag (#8269)

Commit:a99498c
Author:Nikita Pivkin
Committer:GitHub

feat(misconf): render causes for Terraform (#8360) Signed-off-by: nikpivkin <nikita.pivkin@smartforce.io>

Commit:a1c4bd7
Author:iamtraining
Committer:GitHub

fix(server): secrets inspectation for the config analyzer in client server mode (#8418)

Commit:da17dc7
Author:Teppei Fukuda
Committer:GitHub

feat: add `--distro` flag to manually specify OS distribution for vulnerability scanning (#8070) Signed-off-by: knqyf263 <knqyf263@gmail.com> Co-authored-by: DmitriyLewen <dmitriy.lewen@smartforce.io>

Commit:e0f2054
Author:Gunesh Shanbhag
Committer:GitHub

feat: add cvss v4 score and vector in scan response (#7968)

Commit:461a68a
Author:santhosh1729
Committer:GitHub

fix(sbom): Fixes for Programming Language Vulnerabilities and SBOM Package Maintainer Details (#7871)

Commit:c70b6fa
Author:simar7
Committer:GitHub

refactor(misconf): Deprecate `EXCEPTIONS` for misconfiguration scanning (#7776) Signed-off-by: Simar <simar@linux.com>

Commit:4926da7
Author:afdesk
Committer:GitHub

fix(license): stop spliting a long license text (#7336) Signed-off-by: knqyf263 <knqyf263@gmail.com> Co-authored-by: knqyf263 <knqyf263@gmail.com>

Commit:db2c955
Author:Nikita Pivkin
Committer:GitHub

feat(misconf): variable support for Terraform Plan (#7228) Signed-off-by: nikpivkin <nikita.pivkin@smartforce.io>

Commit:5c37361
Author:Teppei Fukuda
Committer:GitHub

feat(vuln): add `--pkg-relationships` (#7237) Signed-off-by: knqyf263 <knqyf263@gmail.com>

Commit:7cbdb0a
Author:DmitriyLewen
Committer:GitHub

feat(cli): rename `--vuln-type` flag to `--pkg-types` flag (#7104)

Commit:56dbe1f
Author:Teppei Fukuda
Committer:GitHub

fix: include packages unless it is not needed (#6765) Signed-off-by: knqyf263 <knqyf263@gmail.com>

Commit:c2b46d3
Author:Teppei Fukuda
Committer:knqyf263

refactor: unify Library and Package structs (#6633) Signed-off-by: knqyf263 <knqyf263@gmail.com> Co-authored-by: DmitriyLewen <91113035+DmitriyLewen@users.noreply.github.com> Co-authored-by: DmitriyLewen <dmitriy.lewen@smartforce.io>

Commit:3eecfc6
Author:Teppei Fukuda
Committer:GitHub

refactor: unify Library and Package structs (#6633) Signed-off-by: knqyf263 <knqyf263@gmail.com> Co-authored-by: DmitriyLewen <91113035+DmitriyLewen@users.noreply.github.com> Co-authored-by: DmitriyLewen <dmitriy.lewen@smartforce.io>

Commit:998f750
Author:Teppei Fukuda
Committer:GitHub

feat: introduce package UIDs for improved vulnerability mapping (#6583) Signed-off-by: knqyf263 <knqyf263@gmail.com>

Commit:a2482c1
Author:DmitriyLewen
Committer:GitHub

fix(server): add Locations for `Packages` in client/server mode (#6366)

Commit:1607eee
Author:Teppei Fukuda
Committer:GitHub

refactor: move PkgRef under PkgIdentifier (#5831) Signed-off-by: knqyf263 <knqyf263@gmail.com>

Commit:1f0d629
Author:Juan Ariza Toledano
Committer:GitHub

feat(vuln): include pkg identifier on detected vulnerabilities (#5439) Signed-off-by: juan131 <jariza@vmware.com> Signed-off-by: knqyf263 <knqyf263@gmail.com> Co-authored-by: DmitriyLewen <dmitriy.lewen@smartforce.io> Co-authored-by: DmitriyLewen <91113035+DmitriyLewen@users.noreply.github.com> Co-authored-by: Nikita Pivkin <nikita.pivkin@smartforce.io> Co-authored-by: knqyf263 <knqyf263@gmail.com>

Commit:520830b
Author:Nikita Pivkin
Committer:GitHub

fix(server): add licenses to `BlobInfo` message (#5382)

Commit:cb16e23
Author:rlubetkin
Committer:GitHub

fix(server): add indirect prop to package (#4974) * fix(server): add indirect prop to package * fix(server): fix test

Commit:798ef1b
Author:Nikita Pivkin
Committer:GitHub

fix(server): add licenses to the Result message (#4955)

Commit:e1c2a8c
Author:Nikita Pivkin
Committer:GitHub

fix(misconf): add missing fields to proto (#4861) * fix(misconf): add missing fields to proto * mark deleted fields as reserved

Commit:232ba82
Author:Teppei Fukuda
Committer:GitHub

feat(vuln): support vulnerability status (#4867) * feat: support vulnerability status * feat: show status in table * don't add `fixed` status in debian/redhat * update test golden files * add Status in rpc * update docs * update ignore-status example * add ignore-status in integration test * docs: add the explanation for statuses --------- Co-authored-by: DmitriyLewen <dmitriy.lewen@smartforce.io>

Commit:22463ab
Author:DmitriyLewen
Committer:GitHub

feat(cli): add include-dev-deps flag (#4700) * add Dev field for Package * fix integration test * update docs * feat(cli): add include-dev flag * bump go-dep-parser * update docs * add integration test * refactor * refactor * fix integration test * refactor: rename flag to include-dev-deps * update docs * update docs * filter dev deps when scanning packages * add flag support for server mode * refactor: remove comment that might confuse * refactor: move --include-dev-deps to the scanner flag group * refactor: not return apps * docs: update --------- Co-authored-by: knqyf263 <knqyf263@gmail.com>

Commit:67236f6
Author:DmitriyLewen
Committer:GitHub

fix(sbom): add checksum to files (#3888) Co-authored-by: knqyf263 <knqyf263@gmail.com>

Commit:e107608
Author:Teppei Fukuda
Committer:GitHub

refactor: rename security-checks to scanners (#3467)

Commit:fe3831e
Author:DmitriyLewen
Committer:GitHub

feat(ubuntu): added support ubuntu ESM versions (#1893) Signed-off-by: knqyf263 <knqyf263@gmail.com> Co-authored-by: knqyf263 <knqyf263@gmail.com>

Commit:b6e394d
Author:DmitriyLewen
Committer:GitHub

feat(secret): add line from dockerfile where secret was added to secret result (#2780) Co-authored-by: knqyf263 <knqyf263@gmail.com>

Commit:d8d8e62
Author:Ankush K
Committer:GitHub

fix(secret): Consider secrets in rpc calls (#2753)

Commit:a3a66df
Author:Owen Rumney
Committer:GitHub

feat: Add support for license scanning (#2418) Co-authored-by: knqyf263 <knqyf263@gmail.com> Co-authored-by: DmitriyLewen <dmitriy.lewen@smartforce.io>

Commit:57ed577
Author:DmitriyLewen
Committer:GitHub

feat: added license parser for dpkg (#2381) Co-authored-by: knqyf263 <knqyf263@gmail.com>

Commit:cb76acb
Author:AndreyLevchenko
Committer:GitHub

fix(lang): fix dependency graph in client server mode (#2336)

Commit:6fdb554
Author:Teppei Fukuda
Committer:GitHub

feat(alpine): support apk repositories (#1987)

Commit:36e24b1
Author:afdesk
Committer:GitHub

fix(rpc): add PkgPath field to client / server mode (#1643)

Commit:9154b81
Author:afdesk
Committer:GitHub

feat(cache): remove temporary cache after filesystem scanning (#1868)

Commit:7a14808
Author:Masahiro331
Committer:GitHub

feat(cyclonedx): add vulnerabilities (#1832) Co-authored-by: knqyf263 <knqyf263@gmail.com>

Commit:de6c3cb
Author:Ankush K
Committer:GitHub

fix(rpc): Supports RPC calls for new identifier CustomResource (#1605)

Commit:3b0b2ed
Author:Yuval Goldberg
Committer:GitHub

build: Make `make protoc` be consistent (#1682) Signed-off-by: Yuval Goldberg <yuvigoldi@gmail.com>

Commit:8d5882b
Author:Teppei Fukuda
Committer:GitHub

refactor: migrate to prefixed buckets (#1644)

Commit:420f8ab
Author:afdesk
Committer:GitHub

feat(os-pkg): add data sources (#1636)

Commit:8b2a799
Author:Teppei Fukuda
Committer:GitHub

test(integration): use fixtures (#1532)

Commit:46051d5
Author:Ankush K
Committer:GitHub

feat(custom-forward): Forward the extended advisory data (#1247) Co-authored-by: knqyf263 <knqyf263@gmail.com>

Commit:8d13234
Author:Naimuddin Shaik
Committer:GitHub

fix:added layer info in packages (#1248) * added layer info in packages * fixed unit cases

Commit:19c0b70
Author:Ankush K
Committer:GitHub

feat(license): Added support to new License field of go-dep-parser's library (#1167)

Commit:2a4400c
Author:santhosh1729
Committer:GitHub

Add license info to package data (#1176)

Commit:214fe82
Author:AndreyLevchenko
Committer:GitHub

feat(report): add end of service life flag to OS metadata (#1142) Co-authored-by: knqyf263 <knqyf263@gmail.com>

Commit:a0e5c3a
Author:Teppei Fukuda
Committer:GitHub

feat: support config scanning (#931)

Commit:f75a369
Author:Teppei Fukuda
Committer:GitHub

chore(rpc): update protoc and twirp (#1044)

Commit:e4c32cd
Author:tonaim
Committer:GitHub

Added support for list all packages flag in client (#1032) * Added support for list all packages flag in client This commit is to support --list-all_pkgs argument in client command Example command: trivy -d client --list-all-pkgs --remote http://localhost:8080 ubuntu:18.04. * Updated argument in client.md * Fixed all format issues

Commit:1b66b77
Author:Teppei Fukuda
Committer:GitHub

feat: prepare for config scanning (#1005) * temp: disable config scanning

Commit:c9f22f4
Author:Teppei Fukuda
Committer:GitHub

feat(java): support jar/war/ear (#837) * refactor(server): remove Detect endpoint * refactor(library): do not use interface * refactor: add dbtest package * test: add bolt fixtures * feat: support jar scanning * refactor: rename node to npm * refactor: fix lint issues * test(maven): remove some tests * chore(mod): update fanal * docs: update README * chore(mod): update trivy-db * fix(library/drive): add ecosystem * fix: do not display 0 vulnerabilities * refactor(table): split method * Update README.md (#838) * fix(app): increase the default value of timeout (#842) * feat(maven): use go-mvn-version * test(maven): update tests * fix(scan): skip files and dirs before vulnerability detection * fix: display log messages only once per type * docs(README): add file suffixes * chore(mod): update go-mvn-version * feat(log): set go-dep-parser logger * chore(mod): update fanal * docs: update README * docs(README): add java source * test(maven): fix invalid case

Commit:e6cef75
Author:Simarpreet Singh
Committer:GitHub

NVD: Add timestamps. (#761) * (feat): Add NVD published and modified dates Signed-off-by: Simarpreet Singh <simar@linux.com> * (test): Fix golden files. Signed-off-by: Simarpreet Singh <simar@linux.com> * (test): Fix registry_test.go golden files. Signed-off-by: Simarpreet Singh <simar@linux.com> * (test): Fix distroless-base-ignore-unfixed.json.golden with ignore-unfixed option. Signed-off-by: Simarpreet Singh <simar@linux.com> * (test): Fix fluentd-multiple-lockfiles.json.golden. Signed-off-by: Simarpreet Singh <simar@linux.com> * (test): Fix alpine-310.html.golden file. Signed-off-by: Simarpreet Singh <simar@linux.com> * fix(convert): fix disparency between standalone and client/server * test(integration): update trivy.db * test(integration): update golden files * (test): Add a check for non nil date types. Signed-off-by: Simarpreet Singh <simar@linux.com> * (test): Add a unit test for ConvertFromRPCResults. Signed-off-by: Simarpreet Singh <simar@linux.com> * (test): Add a nil date case for ConvertFromRPCResults. Signed-off-by: Simarpreet Singh <simar@linux.com> * refactor: sort imports Co-authored-by: knqyf263 <knqyf263@gmail.com>

Commit:4d18943
Author:Teppei Fukuda
Committer:GitHub

feat(vulnerability): add primary URLs (#752) * refactor(vulnerability): rename a method * feat(vulnerability): add primary url * fix(templates): add primary links * feat(writer): add url * refactor(convert): remove an unnecessary function * feat(rpc): add primary_url * test(integration): update golden files

Commit:d8b0962
Author:Teppei Fukuda
Committer:GitHub

feat(rpc): add CWE-ID (#614)

Commit:5b9d942
Author:Simarpreet Singh
Committer:GitHub

rpc: Add CVSS information to client/server (#564) Signed-off-by: Simarpreet Singh <simar@linux.com>

Commit:2f2d1a9
Author:Teppei Fukuda
Committer:GitHub

feat: support repository and filesystem scan (#503) * refactor: embed config * refactor: replace image and layer with artifact and blob * feat(config): add ArtifactConfig * fix(scanner): use Artifact * test(scanner): update mocks * feat: add repo and fs subcommands * chore(mod): update * refactor: fix warn message * feat(cli): add --no-progress to repo and fs * mod: Update fanal dependency Signed-off-by: Simarpreet Singh <simar@linux.com> Co-authored-by: Simarpreet Singh <simar@linux.com>

Commit:17b84f6
Author:Simarpreet Singh
Committer:GitHub

Override with Vendor score if exists (#433) * wip: Add a failing test to demo severity override Signed-off-by: Simarpreet Singh <simar@linux.com> * scan.go: Return osFound for use in determining vendor. Signed-off-by: Simarpreet Singh <simar@linux.com> * pkg: Fix ScanImage return in case an OSFound Signed-off-by: Simarpreet Singh <simar@linux.com> * scan_test: Include a package-lock.json for happy path Signed-off-by: Simarpreet Singh <simar@linux.com> * wip: Add a test to include various reportResult types Signed-off-by: Simarpreet Singh <simar@linux.com> * Makefile: Add a target to generate mocks. Signed-off-by: Simarpreet Singh <simar@linux.com> * vulnerability: Pass reportType as argument for FillInfo. Signed-off-by: Simarpreet Singh <simar@linux.com> * vulnerability: Add other types of vulnerabilities. Signed-off-by: Simarpreet Singh <simar@linux.com> * integration: Update golden files. Signed-off-by: Simarpreet Singh <simar@linux.com> * ospkg: Fix FillInfo for ospkg/server Signed-off-by: Simarpreet Singh <simar@linux.com> * rpc: Add os.Family type to Response. Signed-off-by: Simarpreet Singh <simar@linux.com> * vulnerability_test.go: Add case where no vendor severity exists. Signed-off-by: Simarpreet Singh <simar@linux.com> * vulnerability: Fallback to NVD if it exists. Also add tests for other cases. Signed-off-by: Simarpreet Singh <simar@linux.com> * rpc: Fix a few sites with reportType info and tests. Signed-off-by: Simarpreet Singh <simar@linux.com> * vulnerability: Remove VendorSeverity from displayed results Signed-off-by: Simarpreet Singh <simar@linux.com> * vulnerability: Add vulnerability source information. Signed-off-by: Simarpreet Singh <simar@linux.com> * vulnerability: Add VendorSeverity logic for lightDB as well. This commit also makes FillInfo logic common to both light and full DBs. Signed-off-by: Simarpreet Singh <simar@linux.com> * remove some crufty TODOs Signed-off-by: Simarpreet Singh <simar@linux.com> * vulnerability_test: Add a case for light db for documentation purposes Signed-off-by: Simarpreet Singh <simar@linux.com> * mod: update trivy-db to point to master Signed-off-by: Simarpreet Singh <simar@linux.com> * scan_test: Remove cruft and bring back test cases Signed-off-by: Simarpreet Singh <simar@linux.com> * scan_test: Add pkg Type to mock return Signed-off-by: Simarpreet Singh <simar@linux.com> * vulnerability: reorder err check after err Signed-off-by: Simarpreet Singh <simar@linux.com> * client_test: Fix import ordering Signed-off-by: Simarpreet Singh <simar@linux.com> * convert.go: Use result.Type Signed-off-by: Simarpreet Singh <simar@linux.com> * convert: Use result.Type and simplify ConvertFromRpcResults signature Signed-off-by: Simarpreet Singh <simar@linux.com> * vulnerability: Refactor calls to getVendorSeverity Signed-off-by: Simarpreet Singh <simar@linux.com> * integration: Remove centos-7-critical.json.golden There's no critical vulnerability in CentOS 7 anymore. In addition this test was not adding any value that is already not covered by existing tests cases. Signed-off-by: Simarpreet Singh <simar@linux.com> * rpc: Include severity source in tests. Signed-off-by: Simarpreet Singh <simar@linux.com> * integration: Update test db to include VendorSeverity. Test DB is now a snapshot of full database from trivy-db. Also update golden files to include SeveritySource. Signed-off-by: Simarpreet Singh <simar@linux.com> * vulnerability: Make centos7 use RHEL vendor severities Signed-off-by: Simarpreet Singh <simar@linux.com>

Commit:329f245
Author:Teppei Fukuda
Committer:GitHub

fix: replace containers/image with google/go-containerregistry (#456) * chore(mod): update dependencies * fix(internal): remove cleanup * fix: use only diff_id * fix: use string instead of digest * fix: replace LayerID with Layer * test(integration): negotiate API version * feat(conf): add TRIVY_NONSSL * test(integration): update golden files * test(integration): fix the error message * chore(debian): add comments * chore(mod): update dependencies

Commit:aca31df
Author:Teppei Fukuda
Committer:GitHub

detector: Add LayerID to detect vulns (#419) * detector/alpine: Add LayerID to detect vulns Signed-off-by: Simarpreet Singh <simar@linux.com> * amazon: Add LayerID to DetectedVulns Signed-off-by: Simarpreet Singh <simar@linux.com> * debian: Add LayerID to DetectVulns + tests Signed-off-by: Simarpreet Singh <simar@linux.com> * oracle: Add LayerID to DetectVulns + tests Signed-off-by: Simarpreet Singh <simar@linux.com> * photon: Add LayerID to DetectVulns + tests Signed-off-by: Simarpreet Singh <simar@linux.com> * redhat: Add LayerID to DetectVulns + tests Signed-off-by: Simarpreet Singh <simar@linux.com> * suse: Add LayerID to DetectVulns + tests Signed-off-by: Simarpreet Singh <simar@linux.com> * ubuntu: Add LayerID to DetectVulns + tests Signed-off-by: Simarpreet Singh <simar@linux.com> * integration: Fix integration tests to include LayerID Signed-off-by: Simarpreet Singh <simar@linux.com> * fix(rpc): add layer_id * fix(rpc): insert layer_id to the struct * fix(extractor): add cleanup function * fix(library): add layer ID to detected vulnerabilities * test: update mocks * chore(mod): point to the feature branch of fanal * mod: Point to fanal/master Signed-off-by: Simarpreet Singh <simar@linux.com> * scan_test: Include LayerID as part of the assertion Signed-off-by: Simarpreet Singh <simar@linux.com> * docker_engine_test.go: Update an error message to conform with fanal/master. Signed-off-by: Simarpreet Singh <simar@linux.com> Co-authored-by: Teppei Fukuda <knqyf263@gmail.com>

Commit:18b80e3
Author:Teppei Fukuda
Committer:GitHub

feat(cache): based on JSON (#398) * refactor(docker_conf): rename and remove unnecessary options * feat(rpc): define new API * fix(cli): change default timeout * fix(import): fix package names * refactor(vulnerability): remove old mock * refactor(utils): remove un-needed functions * feat(cache): implement cache communicating with a server * refactor(scan): separate scan function as local scanner * test(scanner): add tests for ScanImage * refactor(scan): remove unused options * test(vulnerability): generate mock * refactor(server): split a file * feat(server): implement new RPC server * feat(client): implement new RPC client * fix(cache): use new cache interface * fix(standalone): use new scanner * fix(client): use new scanner * fix(server): pass cache * test(integration): make sure an error is not nil before calling the method * fix(mod): update dependencies * test(integration): ensure the image load finishes * feat(docker): support DOCKER_HOST and DOCKER_CERT_PATH * chore(mod): update dependencies * refactor(rpc): remove old client * feat(server): support old API for backward compatibility * fix(server): check a schema version of JSON cache * fix(rpc): add a version to packages * feat(rpc): add PutImage * test: rename expectations * refactor(cache): rename LayerCache to ImageCache * refactor: rename ImageInfo to ImageReference * fix(applier): pass image_id to ApplyLayer * feat(cache): handle image cache * chore(mod): update dependencies * refactor(server): pass only config * feat(cli): add -removed-pkgs option * refactor(err): wrap errors

Commit:42043a0
Author:Teppei Fukuda
Committer:GitHub

fix(client): add image name and build time (#402) * WIP: Add imageName and BuildTime for Remote detector Signed-off-by: Simarpreet Singh <simar@linux.com> * wip Signed-off-by: Simarpreet Singh <simar@linux.com> * change name from build_time to created * remove an unused function * fix(library): add image_name and created_at * fix(ospkg): add image_name and created_at * fix(scan): add image_name and created_at * fix(library): remove unused param Co-authored-by: Simarpreet Singh <simar@linux.com>

Commit:74717b8
Author:Teppei Fukuda
Committer:GitHub

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