damccorm opened a new pull request, #40534: URL: https://github.com/apache/beam/pull/40534
Enforces strict read-only permissions for the `kubeproxyuser_ro` PostgreSQL role used by the Beam Metrics Grafana datasource: - Revokes `CREATE` on schema `public` from `PUBLIC` and `kubeproxyuser_ro`, and grants only `USAGE` on schema `public`. - Revokes all write/DDL table privileges (`INSERT`, `UPDATE`, `DELETE`, `TRUNCATE`, `REFERENCES`, `TRIGGER`) on tables in schema `public` from `PUBLIC` and `kubeproxyuser_ro`, granting only `SELECT` to `kubeproxyuser_ro`. - Sets `default_transaction_read_only = on` on `kubeproxyuser_ro` in `postgres/init.sql` and during metrics database initialization. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
