The source project of this merge request has been removed.
Add connection string support for vulnerabilities db
What does this MR do?
This MR deprecates the CLAIR_VULNERABILITIES_DB_URL and replaces it with a CLAIR_DB_CONNECTION_STRING environment variable.
The deprecated CLAIR_VULNERABILITIES_DB_URL was inflexible because it only allowed the user to set the host value for the clair vulnerabilities database. The new CLAIR_DB_CONNECTION_STRING is much more flexible because it uses an SQL Connection URI which enables the user to configure the dbname, host, password, port, sslmode and statement_timeout values used for connecting to the vulnerabilities database.
What are the relevant issue numbers?
Does this MR meet the acceptance criteria?
-
Changelog entry added -
Documentation created/updated for GitLab EE, if necessary -
Documentation created/updated for this project, if necessary -
Documentation reviewed by technical writer or follow-up review issue created -
Tests added for this feature/bug -
Job definition updated, if necessary -
Conforms to the code review guidelines -
Conforms to the Go guidelines -
Security reports checked/validated by reviewer
Edited by Adam Cohen