12 Commits
Author SHA1 Message Date
Ross Golder 55bb5b1dd5 chore: resolve noctx linter issues (#1265)
- Use exec.CommandContext instead of exec.Command in e2e tests
- Use db.PrepareContext instead of db.Prepare in MySQL datastore
2026-08-10 17:01:21 +02:00
Benjamin Gentil 35f1f35181 fix(mysql): replace SHOW GRANTS string comparison with privilege table query (#1221)
SHOW GRANTS output format varies between MySQL and MariaDB, particularly
the ordering of privileges in the comma-separated list. This caused
false negatives (and reconciliation loop) where privileges existed
but string comparison failed.
2026-07-24 07:54:40 +02:00
Dario Tranchitella 6a9f3e10ae fix(sec): escaping datastore user and schema in sql statements (#1239)
Signed-off-by: Dario Tranchitella <dario@tranchitella.eu>
2026-07-15 17:56:36 +02:00
Dario Tranchitella 4232a9df7c fix(sec): switching to uid to avoid ns+name collision (#1235)
Signed-off-by: Dario Tranchitella <dario@tranchitella.eu>
2026-07-14 14:50:43 +02:00
Dario Tranchitella cedd0f642c fix(datastore): consistent password update if user exists (#1097)
Signed-off-by: Dario Tranchitella <dario@tranchitella.eu>
2026-03-09 14:14:27 +01:00
Mateusz Kwiatkowski 61a4c152b3 fix: reduce database privileges for kine user (#860)
* Reduce MySQL privileges for kine user

* Reduce PostgreSQL privileges for kine user
2025-12-05 19:36:03 +01:00
Wojciech Urbański 2316af9731 fix: correct argument order in GrantPrivileges and RevokePrivileges methods (#1028)
Updated the argument order in the GrantPrivileges and RevokePrivileges methods to ensure proper execution of SQL statements.
2025-12-02 19:17:38 +01:00
TheCodeAssassinandDario Tranchitella 9ce8da0b37 feat: making DataStore TLS configuration optional
Co-authored-by: Dario Tranchitella <dario@tranchitella.eu>
2024-05-09 11:34:50 +02:00
Dario Tranchitella 755cc5bacd refactor(golangci-lint): aligning to new linters
Signed-off-by: Dario Tranchitella <dario@tranchitella.eu>
2023-12-15 13:02:49 +01:00
Dario Tranchitella cc4864ca9e feat: datastore migration drivers 2022-12-03 12:04:04 +01:00
Dario Tranchitella e0fa8169f1 refactor: wrapping datastore errors 2022-09-12 09:38:36 +02:00
Dario Tranchitella 1ddaeccc94 feat: storage homogeneity 2022-08-27 15:16:31 +02:00