UPDATE_AUTO_ENABLEMENT_STATUS

Updates whether your account has Trust Center secure by default enabled or disabled.

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.UPDATE_AUTO_ENABLEMENT_STATUS(
  <is_enabled>
  [ , '<comment>' ] );

Arguments

Required:

is_enabled

BOOLEAN value that specifies whether secure by default is enabled for the account. Set to TRUE to enable secure by default, or FALSE to disable it.

Required when you disable secure by default:

'comment'

VARCHAR value that describes why you’re changing the setting. Must not exceed 1000 characters.

Returns

Returns a VARCHAR status message.

Access control requirements

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

Examples

Disable secure by default:

CALL SNOWFLAKE.TRUST_CENTER.UPDATE_AUTO_ENABLEMENT_STATUS(
  FALSE,
  'We manage scanner package enablement manually');

Enable secure by default:

CALL SNOWFLAKE.TRUST_CENTER.UPDATE_AUTO_ENABLEMENT_STATUS(TRUE);