Use this data source to get a privilege for a script
data "nexus_privilege_script" "example" {
name = "privilege-name"
}
name
(String) Name of the script privilegeactions
(List of String) A list of allowed actions. For a list of applicable values see https://help.sonatype.com/repomanager3/nexus-repository-administration/access-control/privileges#Privileges-PrivilegeTypesdescription
(String) Description of the script privilegeid
(String) Used to identify data source at nexusreadonly
(Boolean) Whether it is readonly or notscript_name
(String) The script the privilege applies to