You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 19, 2021. It is now read-only.
Backend api process will automatically execute SQL in files in the migrations directory, depending on the value of DB_MIGRATION_TARGET and the skip-migration command-line parameter.
Improve privilege separation by:
moving migration code into separate tool
reduce privileges of PostgreSQL account used by backend api executable so as not to have any DDL modification permissions.
Mitigated by container deployment environment (container access restrictions, file system permissions, etc.) where write access to migrations implies ability to affect the entire backend.
The text was updated successfully, but these errors were encountered:
Backend
api
process will automatically execute SQL in files in themigrations
directory, depending on the value ofDB_MIGRATION_TARGET
and theskip-migration
command-line parameter.Improve privilege separation by:
api
executable so as not to have any DDL modification permissions.Mitigated by container deployment environment (container access restrictions, file system permissions, etc.) where write access to
migrations
implies ability to affect the entire backend.The text was updated successfully, but these errors were encountered: