1. Packages
  2. Zscaler Internet Access (ZIA)
  3. API Docs
  4. ATPMalwareInspection
Zscaler Internet Access v1.0.1 published on Friday, Jun 6, 2025 by Zscaler

zia.ATPMalwareInspection

Explore with Pulumi AI

zia logo
Zscaler Internet Access v1.0.1 published on Friday, Jun 6, 2025 by Zscaler

    The zia_atp_malware_inspection resource allows you to update security exceptions for the Malware Protection inspection policy. To learn more see Configuring Advanced Settings

    Example Usage

    resource "zia_atp_malware_inspection" "this" {
      inspect_inbound                       = true
      inspect_outbound                      = true
    }
    

    Create ATPMalwareInspection Resource

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

    Constructor syntax

    new ATPMalwareInspection(name: string, args?: ATPMalwareInspectionArgs, opts?: CustomResourceOptions);
    @overload
    def ATPMalwareInspection(resource_name: str,
                             args: Optional[ATPMalwareInspectionArgs] = None,
                             opts: Optional[ResourceOptions] = None)
    
    @overload
    def ATPMalwareInspection(resource_name: str,
                             opts: Optional[ResourceOptions] = None,
                             inspect_inbound: Optional[bool] = None,
                             inspect_outbound: Optional[bool] = None)
    func NewATPMalwareInspection(ctx *Context, name string, args *ATPMalwareInspectionArgs, opts ...ResourceOption) (*ATPMalwareInspection, error)
    public ATPMalwareInspection(string name, ATPMalwareInspectionArgs? args = null, CustomResourceOptions? opts = null)
    public ATPMalwareInspection(String name, ATPMalwareInspectionArgs args)
    public ATPMalwareInspection(String name, ATPMalwareInspectionArgs args, CustomResourceOptions options)
    
    type: zia:ATPMalwareInspection
    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 ATPMalwareInspectionArgs
    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 ATPMalwareInspectionArgs
    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 ATPMalwareInspectionArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ATPMalwareInspectionArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ATPMalwareInspectionArgs
    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 atpmalwareInspectionResource = new Zia.ATPMalwareInspection("atpmalwareInspectionResource", new()
    {
        InspectInbound = false,
        InspectOutbound = false,
    });
    
    example, err := zia.NewATPMalwareInspection(ctx, "atpmalwareInspectionResource", &zia.ATPMalwareInspectionArgs{
    	InspectInbound:  pulumi.Bool(false),
    	InspectOutbound: pulumi.Bool(false),
    })
    
    var atpmalwareInspectionResource = new ATPMalwareInspection("atpmalwareInspectionResource", ATPMalwareInspectionArgs.builder()
        .inspectInbound(false)
        .inspectOutbound(false)
        .build());
    
    atpmalware_inspection_resource = zia.ATPMalwareInspection("atpmalwareInspectionResource",
        inspect_inbound=False,
        inspect_outbound=False)
    
    const atpmalwareInspectionResource = new zia.ATPMalwareInspection("atpmalwareInspectionResource", {
        inspectInbound: false,
        inspectOutbound: false,
    });
    
    type: zia:ATPMalwareInspection
    properties:
        inspectInbound: false
        inspectOutbound: false
    

    ATPMalwareInspection 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 ATPMalwareInspection resource accepts the following input properties:

    InspectInbound bool
    A Boolean value that enables or disables scanning of incoming internet traffic for malicious content
    InspectOutbound bool
    A Boolean value that enables or disables scanning of outgoing internet traffic for malicious content
    InspectInbound bool
    A Boolean value that enables or disables scanning of incoming internet traffic for malicious content
    InspectOutbound bool
    A Boolean value that enables or disables scanning of outgoing internet traffic for malicious content
    inspectInbound Boolean
    A Boolean value that enables or disables scanning of incoming internet traffic for malicious content
    inspectOutbound Boolean
    A Boolean value that enables or disables scanning of outgoing internet traffic for malicious content
    inspectInbound boolean
    A Boolean value that enables or disables scanning of incoming internet traffic for malicious content
    inspectOutbound boolean
    A Boolean value that enables or disables scanning of outgoing internet traffic for malicious content
    inspect_inbound bool
    A Boolean value that enables or disables scanning of incoming internet traffic for malicious content
    inspect_outbound bool
    A Boolean value that enables or disables scanning of outgoing internet traffic for malicious content
    inspectInbound Boolean
    A Boolean value that enables or disables scanning of incoming internet traffic for malicious content
    inspectOutbound Boolean
    A Boolean value that enables or disables scanning of outgoing internet traffic for malicious content

    Outputs

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

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing ATPMalwareInspection Resource

    Get an existing ATPMalwareInspection resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: ATPMalwareInspectionState, opts?: CustomResourceOptions): ATPMalwareInspection
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            inspect_inbound: Optional[bool] = None,
            inspect_outbound: Optional[bool] = None) -> ATPMalwareInspection
    func GetATPMalwareInspection(ctx *Context, name string, id IDInput, state *ATPMalwareInspectionState, opts ...ResourceOption) (*ATPMalwareInspection, error)
    public static ATPMalwareInspection Get(string name, Input<string> id, ATPMalwareInspectionState? state, CustomResourceOptions? opts = null)
    public static ATPMalwareInspection get(String name, Output<String> id, ATPMalwareInspectionState state, CustomResourceOptions options)
    resources:  _:    type: zia:ATPMalwareInspection    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    InspectInbound bool
    A Boolean value that enables or disables scanning of incoming internet traffic for malicious content
    InspectOutbound bool
    A Boolean value that enables or disables scanning of outgoing internet traffic for malicious content
    InspectInbound bool
    A Boolean value that enables or disables scanning of incoming internet traffic for malicious content
    InspectOutbound bool
    A Boolean value that enables or disables scanning of outgoing internet traffic for malicious content
    inspectInbound Boolean
    A Boolean value that enables or disables scanning of incoming internet traffic for malicious content
    inspectOutbound Boolean
    A Boolean value that enables or disables scanning of outgoing internet traffic for malicious content
    inspectInbound boolean
    A Boolean value that enables or disables scanning of incoming internet traffic for malicious content
    inspectOutbound boolean
    A Boolean value that enables or disables scanning of outgoing internet traffic for malicious content
    inspect_inbound bool
    A Boolean value that enables or disables scanning of incoming internet traffic for malicious content
    inspect_outbound bool
    A Boolean value that enables or disables scanning of outgoing internet traffic for malicious content
    inspectInbound Boolean
    A Boolean value that enables or disables scanning of incoming internet traffic for malicious content
    inspectOutbound Boolean
    A Boolean value that enables or disables scanning of outgoing internet traffic for malicious content

    Import

    Zscaler offers a dedicated tool called Zscaler-Terraformer to allow the automated import of ZIA configurations into Terraform-compliant HashiCorp Configuration Language.

    Visit

    zia_atp_malware_inspection can be imported by using inspection as the import ID.

    For example:

    $ pulumi import zia:index/aTPMalwareInspection:ATPMalwareInspection this "inspection"
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    zia zscaler/pulumi-zia
    License
    MIT
    Notes
    This Pulumi package is based on the zia Terraform Provider.
    zia logo
    Zscaler Internet Access v1.0.1 published on Friday, Jun 6, 2025 by Zscaler