PackagesPolicy
Last updated
Last updated
A Packages Policy defines a set of rules for allowed and blocked packages that are applied to user-defined functions and stored procedures.
name
(string, required) - The name of the packages policy.
allowlist
(list) - A list of package specifications that are explicitly allowed.
blocklist
(list) - A list of package specifications that are explicitly blocked.
additional_creation_blocklist
(list) - A list of package specifications that are blocked during creation.
comment
(string) - A comment or description for the packages policy.
language
(string or ) - The programming language for the packages. Defaults to PYTHON.
owner
(string or ) - The owner role of the packages policy. Defaults to SYSADMIN.