GET_AUTO_ENABLEMENT_STATUS

Returns the current Trust Center secure by default setting for your account.

Note

Secure by default is available only for accounts on Business Critical Edition or Virtual Private Snowflake (VPS) with a capacity contract.

For more information, see Secure by default.

Syntax

SNOWFLAKE.TRUST_CENTER.GET_AUTO_ENABLEMENT_STATUS();

Returns

Returns a table with the following columns:

Column nameData typeDescription
IS_OPTED_INBOOLEANTRUE if secure by default is enabled for the account. FALSE if the account turned the setting off.
MODIFIED_TIMESTAMP_LTZTIMESTAMP_LTZIndicates when the setting was last changed.

Access control requirements

Your role must have either the SNOWFLAKE.TRUST_CENTER_ADMIN or SNOWFLAKE.TRUST_CENTER_VIEWER application role granted to it.

Examples

Return the secure by default setting for your account:

CALL SNOWFLAKE.TRUST_CENTER.GET_AUTO_ENABLEMENT_STATUS();