1. Packages
  2. Zscaler Internet Access (ZIA)
  3. API Docs
  4. CasbMalwareRules
Zscaler Internet Access v1.1.1 published on Tuesday, Jun 24, 2025 by Zscaler

zia.CasbMalwareRules

Explore with Pulumi AI

zia logo
Zscaler Internet Access v1.1.1 published on Tuesday, Jun 24, 2025 by Zscaler
    Deprecated: zia.index/casbmalwarerules.CasbMalwareRules has been deprecated in favor of zia.index/casbmalwarerule.CasbMalwareRule

    The zia_casb_malware_rules resource Adds a new SaaS Security Data at Rest Scanning Malware Detection rule.

    Example Usage

    data "zia_casb_tenant" "this" {
      tenant_name = "GitLab_Tenant01"
    }
    
    data "zia_rule_labels" "this" {
        name = "RuleLabel01
    }
    
    resource "zia_casb_malware_rules" "this" {
      name = "GitLab_Tenant01"
      action = "OFLCASB_AVP_REPORT_MALWARE"
      type = "OFLCASB_AVP_REPO"
      order = 1
      cloud_app_tenants {
        id = [data.zia_casb_tenant.this.id]
      }
      labels {
        id = [data.zia_rule_labels.this.id]
      }
      buckets {
        id = [1442271, 1442270, 1442268, 1442269, 1442272]
      }
    }
    

    Create CasbMalwareRules Resource

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

    Constructor syntax

    new CasbMalwareRules(name: string, args?: CasbMalwareRulesArgs, opts?: CustomResourceOptions);
    @overload
    def CasbMalwareRules(resource_name: str,
                         args: Optional[CasbMalwareRulesArgs] = None,
                         opts: Optional[ResourceOptions] = None)
    
    @overload
    def CasbMalwareRules(resource_name: str,
                         opts: Optional[ResourceOptions] = None,
                         action: Optional[str] = None,
                         buckets: Optional[CasbMalwareRulesBucketsArgs] = None,
                         casb_email_labels: Optional[Sequence[CasbMalwareRulesCasbEmailLabelArgs]] = None,
                         casb_tombstone_templates: Optional[Sequence[CasbMalwareRulesCasbTombstoneTemplateArgs]] = None,
                         cloud_app_tenant_ids: Optional[CasbMalwareRulesCloudAppTenantIdsArgs] = None,
                         cloud_app_tenants: Optional[CasbMalwareRulesCloudAppTenantsArgs] = None,
                         labels: Optional[CasbMalwareRulesLabelsArgs] = None,
                         name: Optional[str] = None,
                         order: Optional[int] = None,
                         quarantine_location: Optional[str] = None,
                         scan_inbound_email_link: Optional[str] = None,
                         state: Optional[str] = None,
                         type: Optional[str] = None)
    func NewCasbMalwareRules(ctx *Context, name string, args *CasbMalwareRulesArgs, opts ...ResourceOption) (*CasbMalwareRules, error)
    public CasbMalwareRules(string name, CasbMalwareRulesArgs? args = null, CustomResourceOptions? opts = null)
    public CasbMalwareRules(String name, CasbMalwareRulesArgs args)
    public CasbMalwareRules(String name, CasbMalwareRulesArgs args, CustomResourceOptions options)
    
    type: zia:CasbMalwareRules
    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 CasbMalwareRulesArgs
    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 CasbMalwareRulesArgs
    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 CasbMalwareRulesArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args CasbMalwareRulesArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args CasbMalwareRulesArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

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

    Action string
    Buckets zscaler.PulumiPackage.Zia.Inputs.CasbMalwareRulesBuckets
    Name-ID pairs of locations for which rule must be applied
    CasbEmailLabels List<zscaler.PulumiPackage.Zia.Inputs.CasbMalwareRulesCasbEmailLabel>
    The ZPA Server Group for which this rule is applicable. Only the Server Groups that are associated with the selected Application Segments are allowed. This field is applicable only for the ZPA forwarding method.
    CasbTombstoneTemplates List<zscaler.PulumiPackage.Zia.Inputs.CasbMalwareRulesCasbTombstoneTemplate>
    The ZPA Server Group for which this rule is applicable. Only the Server Groups that are associated with the selected Application Segments are allowed. This field is applicable only for the ZPA forwarding method.
    CloudAppTenantIds zscaler.PulumiPackage.Zia.Inputs.CasbMalwareRulesCloudAppTenantIds
    This field is applicable for devices that are managed using Zscaler Client Connector.
    CloudAppTenants zscaler.PulumiPackage.Zia.Inputs.CasbMalwareRulesCloudAppTenants
    Name-ID pairs of the cloud application tenants for which the rule is applied. If the name-ID pairs of the cloud application tenants are not specified, the rule is applied to all tenants.
    Labels zscaler.PulumiPackage.Zia.Inputs.CasbMalwareRulesLabels
    list of Labels that are applicable to the rule.
    Name string
    Order int
    QuarantineLocation string
    Location where all the quarantined files are moved and necessary actions are taken by either deleting or restoring the data
    ScanInboundEmailLink string
    Enables or disables the scan inbound email link
    State string
    Type string
    Action string
    Buckets CasbMalwareRulesBucketsArgs
    Name-ID pairs of locations for which rule must be applied
    CasbEmailLabels []CasbMalwareRulesCasbEmailLabelArgs
    The ZPA Server Group for which this rule is applicable. Only the Server Groups that are associated with the selected Application Segments are allowed. This field is applicable only for the ZPA forwarding method.
    CasbTombstoneTemplates []CasbMalwareRulesCasbTombstoneTemplateArgs
    The ZPA Server Group for which this rule is applicable. Only the Server Groups that are associated with the selected Application Segments are allowed. This field is applicable only for the ZPA forwarding method.
    CloudAppTenantIds CasbMalwareRulesCloudAppTenantIdsArgs
    This field is applicable for devices that are managed using Zscaler Client Connector.
    CloudAppTenants CasbMalwareRulesCloudAppTenantsArgs
    Name-ID pairs of the cloud application tenants for which the rule is applied. If the name-ID pairs of the cloud application tenants are not specified, the rule is applied to all tenants.
    Labels CasbMalwareRulesLabelsArgs
    list of Labels that are applicable to the rule.
    Name string
    Order int
    QuarantineLocation string
    Location where all the quarantined files are moved and necessary actions are taken by either deleting or restoring the data
    ScanInboundEmailLink string
    Enables or disables the scan inbound email link
    State string
    Type string
    action String
    buckets CasbMalwareRulesBuckets
    Name-ID pairs of locations for which rule must be applied
    casbEmailLabels List<CasbMalwareRulesCasbEmailLabel>
    The ZPA Server Group for which this rule is applicable. Only the Server Groups that are associated with the selected Application Segments are allowed. This field is applicable only for the ZPA forwarding method.
    casbTombstoneTemplates List<CasbMalwareRulesCasbTombstoneTemplate>
    The ZPA Server Group for which this rule is applicable. Only the Server Groups that are associated with the selected Application Segments are allowed. This field is applicable only for the ZPA forwarding method.
    cloudAppTenantIds CasbMalwareRulesCloudAppTenantIds
    This field is applicable for devices that are managed using Zscaler Client Connector.
    cloudAppTenants CasbMalwareRulesCloudAppTenants
    Name-ID pairs of the cloud application tenants for which the rule is applied. If the name-ID pairs of the cloud application tenants are not specified, the rule is applied to all tenants.
    labels CasbMalwareRulesLabels
    list of Labels that are applicable to the rule.
    name String
    order Integer
    quarantineLocation String
    Location where all the quarantined files are moved and necessary actions are taken by either deleting or restoring the data
    scanInboundEmailLink String
    Enables or disables the scan inbound email link
    state String
    type String
    action string
    buckets CasbMalwareRulesBuckets
    Name-ID pairs of locations for which rule must be applied
    casbEmailLabels CasbMalwareRulesCasbEmailLabel[]
    The ZPA Server Group for which this rule is applicable. Only the Server Groups that are associated with the selected Application Segments are allowed. This field is applicable only for the ZPA forwarding method.
    casbTombstoneTemplates CasbMalwareRulesCasbTombstoneTemplate[]
    The ZPA Server Group for which this rule is applicable. Only the Server Groups that are associated with the selected Application Segments are allowed. This field is applicable only for the ZPA forwarding method.
    cloudAppTenantIds CasbMalwareRulesCloudAppTenantIds
    This field is applicable for devices that are managed using Zscaler Client Connector.
    cloudAppTenants CasbMalwareRulesCloudAppTenants
    Name-ID pairs of the cloud application tenants for which the rule is applied. If the name-ID pairs of the cloud application tenants are not specified, the rule is applied to all tenants.
    labels CasbMalwareRulesLabels
    list of Labels that are applicable to the rule.
    name string
    order number
    quarantineLocation string
    Location where all the quarantined files are moved and necessary actions are taken by either deleting or restoring the data
    scanInboundEmailLink string
    Enables or disables the scan inbound email link
    state string
    type string
    action str
    buckets CasbMalwareRulesBucketsArgs
    Name-ID pairs of locations for which rule must be applied
    casb_email_labels Sequence[CasbMalwareRulesCasbEmailLabelArgs]
    The ZPA Server Group for which this rule is applicable. Only the Server Groups that are associated with the selected Application Segments are allowed. This field is applicable only for the ZPA forwarding method.
    casb_tombstone_templates Sequence[CasbMalwareRulesCasbTombstoneTemplateArgs]
    The ZPA Server Group for which this rule is applicable. Only the Server Groups that are associated with the selected Application Segments are allowed. This field is applicable only for the ZPA forwarding method.
    cloud_app_tenant_ids CasbMalwareRulesCloudAppTenantIdsArgs
    This field is applicable for devices that are managed using Zscaler Client Connector.
    cloud_app_tenants CasbMalwareRulesCloudAppTenantsArgs
    Name-ID pairs of the cloud application tenants for which the rule is applied. If the name-ID pairs of the cloud application tenants are not specified, the rule is applied to all tenants.
    labels CasbMalwareRulesLabelsArgs
    list of Labels that are applicable to the rule.
    name str
    order int
    quarantine_location str
    Location where all the quarantined files are moved and necessary actions are taken by either deleting or restoring the data
    scan_inbound_email_link str
    Enables or disables the scan inbound email link
    state str
    type str
    action String
    buckets Property Map
    Name-ID pairs of locations for which rule must be applied
    casbEmailLabels List<Property Map>
    The ZPA Server Group for which this rule is applicable. Only the Server Groups that are associated with the selected Application Segments are allowed. This field is applicable only for the ZPA forwarding method.
    casbTombstoneTemplates List<Property Map>
    The ZPA Server Group for which this rule is applicable. Only the Server Groups that are associated with the selected Application Segments are allowed. This field is applicable only for the ZPA forwarding method.
    cloudAppTenantIds Property Map
    This field is applicable for devices that are managed using Zscaler Client Connector.
    cloudAppTenants Property Map
    Name-ID pairs of the cloud application tenants for which the rule is applied. If the name-ID pairs of the cloud application tenants are not specified, the rule is applied to all tenants.
    labels Property Map
    list of Labels that are applicable to the rule.
    name String
    order Number
    quarantineLocation String
    Location where all the quarantined files are moved and necessary actions are taken by either deleting or restoring the data
    scanInboundEmailLink String
    Enables or disables the scan inbound email link
    state String
    type String

    Outputs

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

    Id string
    The provider-assigned unique ID for this managed resource.
    RuleId int
    A unique identifier assigned to the forwarding rule
    Id string
    The provider-assigned unique ID for this managed resource.
    RuleId int
    A unique identifier assigned to the forwarding rule
    id String
    The provider-assigned unique ID for this managed resource.
    ruleId Integer
    A unique identifier assigned to the forwarding rule
    id string
    The provider-assigned unique ID for this managed resource.
    ruleId number
    A unique identifier assigned to the forwarding rule
    id str
    The provider-assigned unique ID for this managed resource.
    rule_id int
    A unique identifier assigned to the forwarding rule
    id String
    The provider-assigned unique ID for this managed resource.
    ruleId Number
    A unique identifier assigned to the forwarding rule

    Look up Existing CasbMalwareRules Resource

    Get an existing CasbMalwareRules 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?: CasbMalwareRulesState, opts?: CustomResourceOptions): CasbMalwareRules
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            action: Optional[str] = None,
            buckets: Optional[CasbMalwareRulesBucketsArgs] = None,
            casb_email_labels: Optional[Sequence[CasbMalwareRulesCasbEmailLabelArgs]] = None,
            casb_tombstone_templates: Optional[Sequence[CasbMalwareRulesCasbTombstoneTemplateArgs]] = None,
            cloud_app_tenant_ids: Optional[CasbMalwareRulesCloudAppTenantIdsArgs] = None,
            cloud_app_tenants: Optional[CasbMalwareRulesCloudAppTenantsArgs] = None,
            labels: Optional[CasbMalwareRulesLabelsArgs] = None,
            name: Optional[str] = None,
            order: Optional[int] = None,
            quarantine_location: Optional[str] = None,
            rule_id: Optional[int] = None,
            scan_inbound_email_link: Optional[str] = None,
            state: Optional[str] = None,
            type: Optional[str] = None) -> CasbMalwareRules
    func GetCasbMalwareRules(ctx *Context, name string, id IDInput, state *CasbMalwareRulesState, opts ...ResourceOption) (*CasbMalwareRules, error)
    public static CasbMalwareRules Get(string name, Input<string> id, CasbMalwareRulesState? state, CustomResourceOptions? opts = null)
    public static CasbMalwareRules get(String name, Output<String> id, CasbMalwareRulesState state, CustomResourceOptions options)
    resources:  _:    type: zia:CasbMalwareRules    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:
    Action string
    Buckets zscaler.PulumiPackage.Zia.Inputs.CasbMalwareRulesBuckets
    Name-ID pairs of locations for which rule must be applied
    CasbEmailLabels List<zscaler.PulumiPackage.Zia.Inputs.CasbMalwareRulesCasbEmailLabel>
    The ZPA Server Group for which this rule is applicable. Only the Server Groups that are associated with the selected Application Segments are allowed. This field is applicable only for the ZPA forwarding method.
    CasbTombstoneTemplates List<zscaler.PulumiPackage.Zia.Inputs.CasbMalwareRulesCasbTombstoneTemplate>
    The ZPA Server Group for which this rule is applicable. Only the Server Groups that are associated with the selected Application Segments are allowed. This field is applicable only for the ZPA forwarding method.
    CloudAppTenantIds zscaler.PulumiPackage.Zia.Inputs.CasbMalwareRulesCloudAppTenantIds
    This field is applicable for devices that are managed using Zscaler Client Connector.
    CloudAppTenants zscaler.PulumiPackage.Zia.Inputs.CasbMalwareRulesCloudAppTenants
    Name-ID pairs of the cloud application tenants for which the rule is applied. If the name-ID pairs of the cloud application tenants are not specified, the rule is applied to all tenants.
    Labels zscaler.PulumiPackage.Zia.Inputs.CasbMalwareRulesLabels
    list of Labels that are applicable to the rule.
    Name string
    Order int
    QuarantineLocation string
    Location where all the quarantined files are moved and necessary actions are taken by either deleting or restoring the data
    RuleId int
    A unique identifier assigned to the forwarding rule
    ScanInboundEmailLink string
    Enables or disables the scan inbound email link
    State string
    Type string
    Action string
    Buckets CasbMalwareRulesBucketsArgs
    Name-ID pairs of locations for which rule must be applied
    CasbEmailLabels []CasbMalwareRulesCasbEmailLabelArgs
    The ZPA Server Group for which this rule is applicable. Only the Server Groups that are associated with the selected Application Segments are allowed. This field is applicable only for the ZPA forwarding method.
    CasbTombstoneTemplates []CasbMalwareRulesCasbTombstoneTemplateArgs
    The ZPA Server Group for which this rule is applicable. Only the Server Groups that are associated with the selected Application Segments are allowed. This field is applicable only for the ZPA forwarding method.
    CloudAppTenantIds CasbMalwareRulesCloudAppTenantIdsArgs
    This field is applicable for devices that are managed using Zscaler Client Connector.
    CloudAppTenants CasbMalwareRulesCloudAppTenantsArgs
    Name-ID pairs of the cloud application tenants for which the rule is applied. If the name-ID pairs of the cloud application tenants are not specified, the rule is applied to all tenants.
    Labels CasbMalwareRulesLabelsArgs
    list of Labels that are applicable to the rule.
    Name string
    Order int
    QuarantineLocation string
    Location where all the quarantined files are moved and necessary actions are taken by either deleting or restoring the data
    RuleId int
    A unique identifier assigned to the forwarding rule
    ScanInboundEmailLink string
    Enables or disables the scan inbound email link
    State string
    Type string
    action String
    buckets CasbMalwareRulesBuckets
    Name-ID pairs of locations for which rule must be applied
    casbEmailLabels List<CasbMalwareRulesCasbEmailLabel>
    The ZPA Server Group for which this rule is applicable. Only the Server Groups that are associated with the selected Application Segments are allowed. This field is applicable only for the ZPA forwarding method.
    casbTombstoneTemplates List<CasbMalwareRulesCasbTombstoneTemplate>
    The ZPA Server Group for which this rule is applicable. Only the Server Groups that are associated with the selected Application Segments are allowed. This field is applicable only for the ZPA forwarding method.
    cloudAppTenantIds CasbMalwareRulesCloudAppTenantIds
    This field is applicable for devices that are managed using Zscaler Client Connector.
    cloudAppTenants CasbMalwareRulesCloudAppTenants
    Name-ID pairs of the cloud application tenants for which the rule is applied. If the name-ID pairs of the cloud application tenants are not specified, the rule is applied to all tenants.
    labels CasbMalwareRulesLabels
    list of Labels that are applicable to the rule.
    name String
    order Integer
    quarantineLocation String
    Location where all the quarantined files are moved and necessary actions are taken by either deleting or restoring the data
    ruleId Integer
    A unique identifier assigned to the forwarding rule
    scanInboundEmailLink String
    Enables or disables the scan inbound email link
    state String
    type String
    action string
    buckets CasbMalwareRulesBuckets
    Name-ID pairs of locations for which rule must be applied
    casbEmailLabels CasbMalwareRulesCasbEmailLabel[]
    The ZPA Server Group for which this rule is applicable. Only the Server Groups that are associated with the selected Application Segments are allowed. This field is applicable only for the ZPA forwarding method.
    casbTombstoneTemplates CasbMalwareRulesCasbTombstoneTemplate[]
    The ZPA Server Group for which this rule is applicable. Only the Server Groups that are associated with the selected Application Segments are allowed. This field is applicable only for the ZPA forwarding method.
    cloudAppTenantIds CasbMalwareRulesCloudAppTenantIds
    This field is applicable for devices that are managed using Zscaler Client Connector.
    cloudAppTenants CasbMalwareRulesCloudAppTenants
    Name-ID pairs of the cloud application tenants for which the rule is applied. If the name-ID pairs of the cloud application tenants are not specified, the rule is applied to all tenants.
    labels CasbMalwareRulesLabels
    list of Labels that are applicable to the rule.
    name string
    order number
    quarantineLocation string
    Location where all the quarantined files are moved and necessary actions are taken by either deleting or restoring the data
    ruleId number
    A unique identifier assigned to the forwarding rule
    scanInboundEmailLink string
    Enables or disables the scan inbound email link
    state string
    type string
    action str
    buckets CasbMalwareRulesBucketsArgs
    Name-ID pairs of locations for which rule must be applied
    casb_email_labels Sequence[CasbMalwareRulesCasbEmailLabelArgs]
    The ZPA Server Group for which this rule is applicable. Only the Server Groups that are associated with the selected Application Segments are allowed. This field is applicable only for the ZPA forwarding method.
    casb_tombstone_templates Sequence[CasbMalwareRulesCasbTombstoneTemplateArgs]
    The ZPA Server Group for which this rule is applicable. Only the Server Groups that are associated with the selected Application Segments are allowed. This field is applicable only for the ZPA forwarding method.
    cloud_app_tenant_ids CasbMalwareRulesCloudAppTenantIdsArgs
    This field is applicable for devices that are managed using Zscaler Client Connector.
    cloud_app_tenants CasbMalwareRulesCloudAppTenantsArgs
    Name-ID pairs of the cloud application tenants for which the rule is applied. If the name-ID pairs of the cloud application tenants are not specified, the rule is applied to all tenants.
    labels CasbMalwareRulesLabelsArgs
    list of Labels that are applicable to the rule.
    name str
    order int
    quarantine_location str
    Location where all the quarantined files are moved and necessary actions are taken by either deleting or restoring the data
    rule_id int
    A unique identifier assigned to the forwarding rule
    scan_inbound_email_link str
    Enables or disables the scan inbound email link
    state str
    type str
    action String
    buckets Property Map
    Name-ID pairs of locations for which rule must be applied
    casbEmailLabels List<Property Map>
    The ZPA Server Group for which this rule is applicable. Only the Server Groups that are associated with the selected Application Segments are allowed. This field is applicable only for the ZPA forwarding method.
    casbTombstoneTemplates List<Property Map>
    The ZPA Server Group for which this rule is applicable. Only the Server Groups that are associated with the selected Application Segments are allowed. This field is applicable only for the ZPA forwarding method.
    cloudAppTenantIds Property Map
    This field is applicable for devices that are managed using Zscaler Client Connector.
    cloudAppTenants Property Map
    Name-ID pairs of the cloud application tenants for which the rule is applied. If the name-ID pairs of the cloud application tenants are not specified, the rule is applied to all tenants.
    labels Property Map
    list of Labels that are applicable to the rule.
    name String
    order Number
    quarantineLocation String
    Location where all the quarantined files are moved and necessary actions are taken by either deleting or restoring the data
    ruleId Number
    A unique identifier assigned to the forwarding rule
    scanInboundEmailLink String
    Enables or disables the scan inbound email link
    state String
    type String

    Supporting Types

    CasbMalwareRulesBuckets, CasbMalwareRulesBucketsArgs

    Ids List<int>
    Ids []int
    ids List<Integer>
    ids number[]
    ids Sequence[int]
    ids List<Number>

    CasbMalwareRulesCasbEmailLabel, CasbMalwareRulesCasbEmailLabelArgs

    Id int
    Id int
    id Integer
    id number
    id int
    id Number

    CasbMalwareRulesCasbTombstoneTemplate, CasbMalwareRulesCasbTombstoneTemplateArgs

    Id int
    Id int
    id Integer
    id number
    id int
    id Number

    CasbMalwareRulesCloudAppTenantIds, CasbMalwareRulesCloudAppTenantIdsArgs

    Id int
    Id int
    id Integer
    id number
    id int
    id Number

    CasbMalwareRulesCloudAppTenants, CasbMalwareRulesCloudAppTenantsArgs

    Id int
    Id int
    id Integer
    id number
    id int
    id Number

    CasbMalwareRulesLabels, CasbMalwareRulesLabelsArgs

    Id int
    Id int
    id Integer
    id number
    id int
    id Number

    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_casb_malware_rules can be imported by using <RULE_TYPE:RULE_ID> or <RULE_TYPE:RULE_NAME> as the import ID.

    For example:

    $ pulumi import zia:index/casbMalwareRules:CasbMalwareRules this <rule_type:rule_id>
    
    $ pulumi import zia:index/casbMalwareRules:CasbMalwareRules this <"rule_type:rule_name">
    

    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.1.1 published on Tuesday, Jun 24, 2025 by Zscaler