open-vault/plugins/database
Christopher Swenson 2c8e88ab67
Check if plugin version matches running version (#17182)
Check if plugin version matches running version

When registering a plugin, we check if the request version matches the
self-reported version from the plugin. If these do not match, we log a
warning.

This uncovered a few missing pieces for getting the database version
code fully working.

We added an environment variable that helps us unit test the running
version behavior as well, but only for approle, postgresql, and consul
plugins.

Return 400 on plugin not found or version mismatch

Populate the running SHA256 of plugins in the mount and auth tables (#17217)
2022-09-21 12:25:04 -07:00
..
cassandra Prepare multiplexing support for database plugins (#16995) 2022-09-06 14:00:37 -04:00
hana Prepare multiplexing support for database plugins (#16995) 2022-09-06 14:00:37 -04:00
influxdb Prepare multiplexing support for database plugins (#16995) 2022-09-06 14:00:37 -04:00
mongodb Prepare multiplexing support for database plugins (#16995) 2022-09-06 14:00:37 -04:00
mssql Prepare multiplexing support for database plugins (#16995) 2022-09-06 14:00:37 -04:00
mysql Prepare multiplexing support for database plugins (#16995) 2022-09-06 14:00:37 -04:00
postgresql Check if plugin version matches running version (#17182) 2022-09-21 12:25:04 -07:00
redshift Prepare multiplexing support for database plugins (#16995) 2022-09-06 14:00:37 -04:00