{ "framework": "BSI IT-Grundschutz-Kompendium (Edition 2023), Baustein APP.4.3 Relationale Datenbanken", "short": "BSI APP.4.3", "verified": true, "note": "Kennungen, Titel und entfallene Anforderungen geprüft gegen das Original-PDF des BSI (Edition 2023); die Zuordnung der Regeln ist eine eigene Einschätzung. Nur Kennungen und die Anforderungstitel, teils gekürzt, kein weiterer Originaltext. Die Anforderungen A2, A5, A6, A7, A8, A10, A14 und A15 sind in der Edition 2023 entfallen (Querschnittsthemen verweisen laut Abschnitt 1.3 auf OPR.4, OPS.1.1.3, OPS.1.1.5, CON.3 und OPS.1.2.2; Klartext-Passwortverbot und Checklisten-Härtung liegen in A3, Protokollprüfung in A18/A20).", "controls": { "APP.4.3.A1": { "title": "Sicherheitsrichtlinie für Datenbanksysteme (B)", "rules": ["roles.extra_superusers", "roles.server_file_access", "roles.replication_login", "roles.bypassrls", "roles.createrole", "roles.createrole_self_grant", "db.public_schema_create", "db.public_temp", "db.public_connect", "db.catalog_visibility", "db.default_acl_public", "db.rls_policies_inactive"] }, "APP.4.3.A3": { "title": "Basishärtung des DBMS und kein Klartext für Passwörter (B)", "rules": ["net.listen_addresses", "hba.trust", "hba.cleartext_password", "hba.md5_method", "hba.open_to_all", "hba.superuser_remote", "hba.weak_options", "auth.password_encryption", "auth.md5_passwords", "auth.passwordless_or_expired", "auth.weak_passwords", "auth.authentication_timeout", "auth.auth_delay", "auth.password_policy", "patch.supported_major", "patch.catalog_current", "code.untrusted_languages", "code.lo_compat_privileges", "code.extensions", "code.preload_libraries", "os.pgdata_permissions", "os.tablespace_permissions", "os.config_permissions", "os.socket_permissions", "os.umask", "os.service_account", "os.service_unit", "os.package_source", "client.service_file_password", "client.pgpass_acl", "client.pgpass_mode", "client.pgpass_location", "client.pgpass_superuser", "client.pgpass_shadowed", "client.pgpass_loopback", "client.env_pgpassword", "client.secrets_in_files", "client.psql_history"] }, "APP.4.3.A4": { "title": "Geregeltes Anlegen neuer Datenbanken (B)", "rules": ["db.public_schema_create", "db.public_temp", "db.public_connect", "db.catalog_visibility", "db.default_acl_public"] }, "APP.4.3.A9": { "title": "Datensicherung eines Datenbanksystems (B)", "rules": ["avail.archive_enabled", "avail.archiver_failing", "data.checksums", "data.crash_safety"] }, "APP.4.3.A11": { "title": "Ausreichende Dimensionierung der Hardware (S)", "rules": ["avail.temp_file_limit", "avail.slot_wal_keep", "avail.inactive_slots", "sess.idle_in_transaction", "log.directory_outside_pgdata", "os.log_own_volume", "os.disk_free"] }, "APP.4.3.A12": { "title": "Einheitlicher Konfigurationsstandard von DBMS (S)", "rules": ["conf.role_db_overrides", "roles.allow_alter_system", "hba.errors", "data.crash_safety", "os.config_permissions"] }, "APP.4.3.A13": { "title": "Restriktive Handhabung von Datenbank-Links (S)", "rules": ["code.fdw_secrets", "code.extensions"] }, "APP.4.3.A16": { "title": "Verschlüsselung der Datenbankanbindung (S)", "rules": ["tls.ssl_enabled", "tls.min_protocol", "tls.ciphers", "hba.host_without_tls", "os.ssl_key_permissions", "os.ssl_cert_expiry", "client.cert_key_permissions", "client.cert_expiry"] }, "APP.4.3.A17": { "title": "Datenübernahme oder Migration (S)", "rules": ["data.checksums", "data.crash_safety"] }, "APP.4.3.A18": { "title": "Überwachung des Datenbankmanagementsystems (S)", "rules": ["avail.archiver_failing", "avail.inactive_slots", "log.collector", "log.lock_waits", "os.disk_free", "os.ssl_cert_expiry", "client.cert_expiry"] }, "APP.4.3.A19": { "title": "Schutz vor schädlichen Datenbank-Skripten (S)", "rules": ["code.secdef_search_path", "code.untrusted_languages", "code.event_triggers", "db.public_schema_create", "db.default_acl_public"] }, "APP.4.3.A20": { "title": "Regelmäßige Audits und Protokollauswertung (S)", "rules": ["code.extensions", "code.preload_libraries", "code.event_triggers", "conf.role_db_overrides", "log.collector", "log.connections", "log.disconnections", "log.line_prefix", "log.statement_ddl", "log.pgaudit", "log.lock_waits", "log.parameter_length", "log.debug_print", "log.file_mode", "log.directory_outside_pgdata", "os.log_permissions", "os.log_own_volume"] }, "APP.4.3.A21": { "title": "Einsatz von Datenbank-Sicherheitswerkzeugen (H)", "rules": ["auth.auth_delay", "auth.password_policy", "log.pgaudit"] }, "APP.4.3.A22": { "title": "Notfallvorsorge (H)", "rules": ["avail.archive_enabled", "avail.archiver_failing", "data.checksums", "data.crash_safety"] }, "APP.4.3.A23": { "title": "Archivierung (H)", "rules": ["avail.archive_enabled", "avail.archiver_failing", "data.checksums"] }, "APP.4.3.A24": { "title": "Datenverschlüsselung in der Datenbank (H)", "rules": ["code.extensions", "os.pgdata_permissions", "os.tablespace_permissions"] }, "APP.4.3.A25": { "title": "Sicherheitsprüfungen von Datenbanksystemen (H)", "rules": ["patch.supported_major", "patch.catalog_current", "os.package_source", "conf.role_db_overrides", "hba.errors", "os.service_unit", "client.secrets_in_files"] } } }