SV-271301r1109114_rule
V-271301
SRG-APP-000141-DB-000093
SQLI-22-007300
CAT II
10
Disable use of or remove any CLR code that is not authorized.
To disable the use of CLR, from the query prompt:
EXEC SP_CONFIGURE 'clr enabled', 0;
RECONFIGURE WITH OVERRIDE;
For any approved CLR code with Unsafe or External permissions, use the ALTER ASSEMBLY to change the permission set for the assembly and ensure a certificate is configured.
To determine if [CLR] is enabled, execute the following command:
SELECT name, value, value_in_use
FROM sys.configurations
WHERE name = 'clr enabled'
If [value_in_use] is a [1], review the system documentation to determine whether the use of [CLR] is approved. If it is not approved, this is a finding.
V-271301
False
SQLI-22-007300
To determine if [CLR] is enabled, execute the following command:
SELECT name, value, value_in_use
FROM sys.configurations
WHERE name = 'clr enabled'
If [value_in_use] is a [1], review the system documentation to determine whether the use of [CLR] is approved. If it is not approved, this is a finding.
M
5677