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?

#201843

Does this MR meet the acceptance criteria?

Edited by Adam Cohen

Merge request reports

Loading