Why it matters
Ownership chaining across databases lets code in one database reach objects in another without a permission check.
How to fix it
Set the cross db ownership chaining database flag as the benchmark recommends and restart if the engine requires it.
What TrustIvan reads
- Google Cloud: the collector reads what this check needs, so it passes or fails.
Cloud accounts are read with read-only access. These results describe configuration; they are not an attestation that a benchmark is met. The access to grant: Google Cloud.
Benchmark controls
- CIS Google Cloud Platform Foundation Benchmark 3.0.0, control
6.3.2: SQL Server cross-database ownership chaining is off
Control numbers are the published ones; the titles are TrustIvan's own short descriptions. The benchmarks belong to their publishers, who do not endorse TrustIvan.
Related checks
- SQL Server allows contained database authentication
Google CloudSeverity: Low
cloud.database.flag.sqlserver-contained-auth - SQL Server allows external scripts
Google CloudSeverity: Low
cloud.database.flag.sqlserver-external-scripts - PostgreSQL audit logging (pgaudit) is off
Google CloudSeverity: Low
cloud.database.flag.pg-pgaudit - SQL Server allows remote access to stored procedures
Google CloudSeverity: Low
cloud.database.flag.sqlserver-remote-access - PostgreSQL does not log DDL statements
Google CloudSeverity: Low
cloud.database.flag.pg-log-statement - SQL Server error messages can disclose sensitive data
Google CloudSeverity: Low
cloud.database.flag.sqlserver-trace-3625
Terms: CSPM (cloud security posture management), CIS Benchmarks, Least privilege
All cloud posture checks · The whole catalogue · How this works in TrustIvan · Documentation