1. Packages
  2. Zscaler Internet Access (ZIA)
  3. API Docs
  4. AtpMaliciousUrls
Viewing docs for pulumi-resource-zia v1.3.8
published on Friday, Mar 13, 2026 by Zscaler
zia logo
Viewing docs for pulumi-resource-zia v1.3.8
published on Friday, Mar 13, 2026 by Zscaler

    The zia_atp_malicious_urls resource manages the list of malicious URL exceptions for Advanced Threat Protection (ATP) in the Zscaler Internet Access (ZIA) cloud service. URLs added to this list are treated as known malicious and will be blocked. This is a singleton resource.

    For more information, see the ZIA Advanced Threat Protection documentation.

    This is a singleton resource. Import is not applicable.

    Example Usage

    Configure ATP Malicious URL Exceptions

    Example coming soon!

    Example coming soon!

    Example coming soon!

    import * as zia from "@bdzscaler/pulumi-zia";
    
    const example = new zia.AtpMaliciousUrls("example", {
        maliciousUrls: [
            "malicious-site.com",
            "phishing-example.net",
            "bad-domain.org",
        ],
    });
    
    import zscaler_pulumi_zia as zia
    
    example = zia.AtpMaliciousUrls("example",
        malicious_urls=[
            "malicious-site.com",
            "phishing-example.net",
            "bad-domain.org",
        ],
    )
    
    resources:
      example:
        type: zia:AtpMaliciousUrls
        properties:
          maliciousUrls:
            - malicious-site.com
            - phishing-example.net
            - bad-domain.org
    

    Create AtpMaliciousUrls Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new AtpMaliciousUrls(name: string, args?: AtpMaliciousUrlsArgs, opts?: CustomResourceOptions);
    @overload
    def AtpMaliciousUrls(resource_name: str,
                         args: Optional[AtpMaliciousUrlsArgs] = None,
                         opts: Optional[ResourceOptions] = None)
    
    @overload
    def AtpMaliciousUrls(resource_name: str,
                         opts: Optional[ResourceOptions] = None,
                         malicious_urls: Optional[Sequence[str]] = None)
    func NewAtpMaliciousUrls(ctx *Context, name string, args *AtpMaliciousUrlsArgs, opts ...ResourceOption) (*AtpMaliciousUrls, error)
    public AtpMaliciousUrls(string name, AtpMaliciousUrlsArgs? args = null, CustomResourceOptions? opts = null)
    public AtpMaliciousUrls(String name, AtpMaliciousUrlsArgs args)
    public AtpMaliciousUrls(String name, AtpMaliciousUrlsArgs args, CustomResourceOptions options)
    
    type: zia:AtpMaliciousUrls
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args AtpMaliciousUrlsArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args AtpMaliciousUrlsArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args AtpMaliciousUrlsArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args AtpMaliciousUrlsArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args AtpMaliciousUrlsArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var atpMaliciousUrlsResource = new Zia.AtpMaliciousUrls("atpMaliciousUrlsResource", new()
    {
        MaliciousUrls = new[]
        {
            "string",
        },
    });
    
    example, err := zia.NewAtpMaliciousUrls(ctx, "atpMaliciousUrlsResource", &zia.AtpMaliciousUrlsArgs{
    	MaliciousUrls: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    })
    
    var atpMaliciousUrlsResource = new AtpMaliciousUrls("atpMaliciousUrlsResource", AtpMaliciousUrlsArgs.builder()
        .maliciousUrls("string")
        .build());
    
    atp_malicious_urls_resource = zia.AtpMaliciousUrls("atpMaliciousUrlsResource", malicious_urls=["string"])
    
    const atpMaliciousUrlsResource = new zia.AtpMaliciousUrls("atpMaliciousUrlsResource", {maliciousUrls: ["string"]});
    
    type: zia:AtpMaliciousUrls
    properties:
        maliciousUrls:
            - string
    

    AtpMaliciousUrls Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The AtpMaliciousUrls resource accepts the following input properties:

    MaliciousUrls List<string>
    List of URLs to be treated as malicious by Advanced Threat Protection.
    MaliciousUrls []string
    List of URLs to be treated as malicious by Advanced Threat Protection.
    maliciousUrls List<String>
    List of URLs to be treated as malicious by Advanced Threat Protection.
    maliciousUrls string[]
    List of URLs to be treated as malicious by Advanced Threat Protection.
    malicious_urls Sequence[str]
    List of URLs to be treated as malicious by Advanced Threat Protection.
    maliciousUrls List<String>
    List of URLs to be treated as malicious by Advanced Threat Protection.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the AtpMaliciousUrls resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    ResourceId string
    The internal resource identifier for the ATP malicious URLs.
    Id string
    The provider-assigned unique ID for this managed resource.
    ResourceId string
    The internal resource identifier for the ATP malicious URLs.
    id String
    The provider-assigned unique ID for this managed resource.
    resourceId String
    The internal resource identifier for the ATP malicious URLs.
    id string
    The provider-assigned unique ID for this managed resource.
    resourceId string
    The internal resource identifier for the ATP malicious URLs.
    id str
    The provider-assigned unique ID for this managed resource.
    resource_id str
    The internal resource identifier for the ATP malicious URLs.
    id String
    The provider-assigned unique ID for this managed resource.
    resourceId String
    The internal resource identifier for the ATP malicious URLs.

    Package Details

    Repository
    zia zscaler/pulumi-zia
    License
    zia logo
    Viewing docs for pulumi-resource-zia v1.3.8
    published on Friday, Mar 13, 2026 by Zscaler
      Try Pulumi Cloud free. Your team will thank you.