{"id":15404503,"url":"https://github.com/k1low/trivy-db-to","last_synced_at":"2026-02-10T02:07:31.786Z","repository":{"id":37089179,"uuid":"318107514","full_name":"k1LoW/trivy-db-to","owner":"k1LoW","description":"trivy-db-to is a tool for migrating/converting vulnerability information from Trivy DB to other datasource.","archived":false,"fork":false,"pushed_at":"2024-11-04T23:44:27.000Z","size":718,"stargazers_count":27,"open_issues_count":4,"forks_count":10,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-11T16:14:49.467Z","etag":null,"topics":["migration-tool","mysql","postgresql","trivy"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/k1LoW.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":"k1LoW","patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":null}},"created_at":"2020-12-03T07:13:30.000Z","updated_at":"2025-01-31T00:36:46.000Z","dependencies_parsed_at":"2023-10-12T07:31:59.549Z","dependency_job_id":"e50e893a-9a3c-4d0d-a172-46b2d1fb1679","html_url":"https://github.com/k1LoW/trivy-db-to","commit_stats":{"total_commits":118,"total_committers":6,"mean_commits":"19.666666666666668","dds":0.3728813559322034,"last_synced_commit":"0d88b2aa5401eda085e72b7c1480eca217b3ca3b"},"previous_names":[],"tags_count":18,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/k1LoW%2Ftrivy-db-to","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/k1LoW%2Ftrivy-db-to/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/k1LoW%2Ftrivy-db-to/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/k1LoW%2Ftrivy-db-to/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/k1LoW","download_url":"https://codeload.github.com/k1LoW/trivy-db-to/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245972665,"owners_count":20702721,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["migration-tool","mysql","postgresql","trivy"],"created_at":"2024-10-01T16:13:19.058Z","updated_at":"2026-02-10T02:07:31.730Z","avatar_url":"https://github.com/k1LoW.png","language":"Go","funding_links":["https://github.com/sponsors/k1LoW"],"categories":[],"sub_categories":[],"readme":"# trivy-db-to\n\n[![build](https://github.com/k1LoW/trivy-db-to/workflows/build/badge.svg)](https://github.com/k1LoW/trivy-db-to/actions)\n\n`trivy-db-to` is a tool for migrating/converting vulnerability information from [Trivy DB](https://github.com/aquasecurity/trivy-db) to other datasource.\n\n## Usage\n\n``` console\n$ trivy-db-to mysql://root:mypass@127.0.0.1:3306/mydb\nFetching and updating Trivy DB ...\n19.35 MiB / 19.35 MiB [--------------------------------------------------] 100.00% 2.58 MiB p/s 8s\ndone\nInitializing vulnerability information tables ... done\nUpdating vulnerability information tables ...\n\u003e\u003e Updating table 'vulnerabilities' ...\n\u003e\u003e Update table 'vulnerability_advisories' ...\n\u003e\u003e\u003e GitHub Security Advisory Composer\n\u003e\u003e\u003e GitHub Security Advisory Maven\n\u003e\u003e\u003e GitHub Security Advisory Npm\n\u003e\u003e\u003e GitHub Security Advisory Nuget\n\u003e\u003e\u003e GitHub Security Advisory Pip\n\u003e\u003e\u003e GitHub Security Advisory Rubygems\n\u003e\u003e\u003e Oracle Linux 5\n\u003e\u003e\u003e Oracle Linux 6\n\u003e\u003e\u003e Oracle Linux 7\n\u003e\u003e\u003e Oracle Linux 8\n\u003e\u003e\u003e Photon OS 1.0\n\u003e\u003e\u003e Photon OS 2.0\n\u003e\u003e\u003e Photon OS 3.0\n\u003e\u003e\u003e Red Hat Enterprise Linux 5\n\u003e\u003e\u003e Red Hat Enterprise Linux 6\n\u003e\u003e\u003e Red Hat Enterprise Linux 7\n[...]\n\u003e\u003e\u003e ubuntu 17.10\n\u003e\u003e\u003e ubuntu 18.04\n\u003e\u003e\u003e ubuntu 18.10\n\u003e\u003e\u003e ubuntu 19.04\n\u003e\u003e\u003e ubuntu 19.10\n\u003e\u003e\u003e ubuntu 20.04\ndone\n```\n\n## Support datasource\n\n- MySQL ( [schema](docs/schema/mysql/README.md) )\n- PostgreSQL ( [schema](docs/schema/postgres/README.md) )\n- SQLite ( [schema](docs/schema/sqlite/README.md) )\n\n## Install\n\n**deb:**\n\n``` console\n$ export TRIVY_DB_TO_VERSION=X.X.X\n$ curl -o trivy-db-to.deb -L https://github.com/k1LoW/trivy-db-to/releases/download/v$TRIVY_DB_TO_VERSION/trivy-db-to_$TRIVY_DB_TO_VERSION-1_amd64.deb\n$ dpkg -i trivy-db-to.deb\n```\n\n**RPM:**\n\n``` console\n$ export TRIVY_DB_TO_VERSION=X.X.X\n$ yum install https://github.com/k1LoW/trivy-db-to/releases/download/v$TRIVY_DB_TO_VERSION/trivy-db-to_$TRIVY_DB_TO_VERSION-1_amd64.rpm\n```\n\n**apk:**\n\n``` console\n$ export TRIVY_DB_TO_VERSION=X.X.X\n$ curl -o trivy-db-to.apk -L https://github.com/k1LoW/trivy-db-to/releases/download/v$TRIVY_DB_TO_VERSION/trivy-db-to_$TRIVY_DB_TO_VERSION-1_amd64.apk\n$ apk add trivy-db-to.apk\n```\n\n**homebrew tap:**\n\n```console\n$ brew install k1LoW/tap/trivy-db-to\n```\n\n**manually:**\n\nDownload binary from [releases page](https://github.com/k1LoW/trivy-db-to/releases)\n\n**go install:**\n\n```console\n$ go install github.com/k1LoW/trivy-db-to@latest\n```\n\n**docker:**\n\n```console\n$ docker pull ghcr.io/k1low/trivy-db-to:latest\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fk1low%2Ftrivy-db-to","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fk1low%2Ftrivy-db-to","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fk1low%2Ftrivy-db-to/lists"}