Why it matters
External scripts run R or Python code inside the database server, which widens what an injected statement can do.
How to fix it
Set the external scripts enabled 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.1: SQL Server external scripts are disabled
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 cross-database ownership chaining
Google CloudSeverity: Low
cloud.database.flag.sqlserver-cross-db-chaining - SQL Server allows remote access to stored procedures
Google CloudSeverity: Low
cloud.database.flag.sqlserver-remote-access - SQL Server allows contained database authentication
Google CloudSeverity: Low
cloud.database.flag.sqlserver-contained-auth - SQL Server error messages can disclose sensitive data
Google CloudSeverity: Low
cloud.database.flag.sqlserver-trace-3625 - PostgreSQL audit logging (pgaudit) is off
Google CloudSeverity: Low
cloud.database.flag.pg-pgaudit - SQL Server limits user connections
Google CloudSeverity: Low
cloud.database.flag.sqlserver-user-connections
Terms: CSPM (cloud security posture management), CIS Benchmarks, Least privilege
All cloud posture checks · The whole catalogue · How this works in TrustIvan · Documentation