zia.CasbMalwareRule
Explore with Pulumi AI
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 CasbMalwareRule Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new CasbMalwareRule(name: string, args?: CasbMalwareRuleArgs, opts?: CustomResourceOptions);
@overload
def CasbMalwareRule(resource_name: str,
args: Optional[CasbMalwareRuleArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def CasbMalwareRule(resource_name: str,
opts: Optional[ResourceOptions] = None,
action: Optional[str] = None,
buckets: Optional[CasbMalwareRuleBucketsArgs] = None,
casb_email_labels: Optional[Sequence[CasbMalwareRuleCasbEmailLabelArgs]] = None,
casb_tombstone_templates: Optional[Sequence[CasbMalwareRuleCasbTombstoneTemplateArgs]] = None,
cloud_app_tenant_ids: Optional[CasbMalwareRuleCloudAppTenantIdsArgs] = None,
cloud_app_tenants: Optional[CasbMalwareRuleCloudAppTenantsArgs] = None,
labels: Optional[CasbMalwareRuleLabelsArgs] = 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 NewCasbMalwareRule(ctx *Context, name string, args *CasbMalwareRuleArgs, opts ...ResourceOption) (*CasbMalwareRule, error)
public CasbMalwareRule(string name, CasbMalwareRuleArgs? args = null, CustomResourceOptions? opts = null)
public CasbMalwareRule(String name, CasbMalwareRuleArgs args)
public CasbMalwareRule(String name, CasbMalwareRuleArgs args, CustomResourceOptions options)
type: zia:CasbMalwareRule
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 CasbMalwareRuleArgs
- 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 CasbMalwareRuleArgs
- 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 CasbMalwareRuleArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args CasbMalwareRuleArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args CasbMalwareRuleArgs
- 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 casbMalwareRuleResource = new Zia.CasbMalwareRule("casbMalwareRuleResource", new()
{
Action = "string",
Buckets = new Zia.Inputs.CasbMalwareRuleBucketsArgs
{
Ids = new[]
{
0,
},
},
CasbEmailLabels = new[]
{
new Zia.Inputs.CasbMalwareRuleCasbEmailLabelArgs
{
Id = 0,
},
},
CasbTombstoneTemplates = new[]
{
new Zia.Inputs.CasbMalwareRuleCasbTombstoneTemplateArgs
{
Id = 0,
},
},
CloudAppTenantIds = new Zia.Inputs.CasbMalwareRuleCloudAppTenantIdsArgs
{
Id = 0,
},
CloudAppTenants = new Zia.Inputs.CasbMalwareRuleCloudAppTenantsArgs
{
Id = 0,
},
Labels = new Zia.Inputs.CasbMalwareRuleLabelsArgs
{
Id = 0,
},
Name = "string",
Order = 0,
QuarantineLocation = "string",
ScanInboundEmailLink = "string",
State = "string",
Type = "string",
});
example, err := zia.NewCasbMalwareRule(ctx, "casbMalwareRuleResource", &zia.CasbMalwareRuleArgs{
Action: pulumi.String("string"),
Buckets: &zia.CasbMalwareRuleBucketsArgs{
Ids: pulumi.IntArray{
pulumi.Int(0),
},
},
CasbEmailLabels: zia.CasbMalwareRuleCasbEmailLabelArray{
&zia.CasbMalwareRuleCasbEmailLabelArgs{
Id: pulumi.Int(0),
},
},
CasbTombstoneTemplates: zia.CasbMalwareRuleCasbTombstoneTemplateArray{
&zia.CasbMalwareRuleCasbTombstoneTemplateArgs{
Id: pulumi.Int(0),
},
},
CloudAppTenantIds: &zia.CasbMalwareRuleCloudAppTenantIdsArgs{
Id: pulumi.Int(0),
},
CloudAppTenants: &zia.CasbMalwareRuleCloudAppTenantsArgs{
Id: pulumi.Int(0),
},
Labels: &zia.CasbMalwareRuleLabelsArgs{
Id: pulumi.Int(0),
},
Name: pulumi.String("string"),
Order: pulumi.Int(0),
QuarantineLocation: pulumi.String("string"),
ScanInboundEmailLink: pulumi.String("string"),
State: pulumi.String("string"),
Type: pulumi.String("string"),
})
var casbMalwareRuleResource = new CasbMalwareRule("casbMalwareRuleResource", CasbMalwareRuleArgs.builder()
.action("string")
.buckets(CasbMalwareRuleBucketsArgs.builder()
.ids(0)
.build())
.casbEmailLabels(CasbMalwareRuleCasbEmailLabelArgs.builder()
.id(0)
.build())
.casbTombstoneTemplates(CasbMalwareRuleCasbTombstoneTemplateArgs.builder()
.id(0)
.build())
.cloudAppTenantIds(CasbMalwareRuleCloudAppTenantIdsArgs.builder()
.id(0)
.build())
.cloudAppTenants(CasbMalwareRuleCloudAppTenantsArgs.builder()
.id(0)
.build())
.labels(CasbMalwareRuleLabelsArgs.builder()
.id(0)
.build())
.name("string")
.order(0)
.quarantineLocation("string")
.scanInboundEmailLink("string")
.state("string")
.type("string")
.build());
casb_malware_rule_resource = zia.CasbMalwareRule("casbMalwareRuleResource",
action="string",
buckets={
"ids": [0],
},
casb_email_labels=[{
"id": 0,
}],
casb_tombstone_templates=[{
"id": 0,
}],
cloud_app_tenant_ids={
"id": 0,
},
cloud_app_tenants={
"id": 0,
},
labels={
"id": 0,
},
name="string",
order=0,
quarantine_location="string",
scan_inbound_email_link="string",
state="string",
type="string")
const casbMalwareRuleResource = new zia.CasbMalwareRule("casbMalwareRuleResource", {
action: "string",
buckets: {
ids: [0],
},
casbEmailLabels: [{
id: 0,
}],
casbTombstoneTemplates: [{
id: 0,
}],
cloudAppTenantIds: {
id: 0,
},
cloudAppTenants: {
id: 0,
},
labels: {
id: 0,
},
name: "string",
order: 0,
quarantineLocation: "string",
scanInboundEmailLink: "string",
state: "string",
type: "string",
});
type: zia:CasbMalwareRule
properties:
action: string
buckets:
ids:
- 0
casbEmailLabels:
- id: 0
casbTombstoneTemplates:
- id: 0
cloudAppTenantIds:
id: 0
cloudAppTenants:
id: 0
labels:
id: 0
name: string
order: 0
quarantineLocation: string
scanInboundEmailLink: string
state: string
type: string
CasbMalwareRule 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 CasbMalwareRule resource accepts the following input properties:
- Action string
- Buckets
zscaler.
Pulumi Package. Zia. Inputs. Casb Malware Rule Buckets - Name-ID pairs of locations for which rule must be applied
- Casb
Email List<zscaler.Labels Pulumi Package. Zia. Inputs. Casb Malware Rule Casb Email Label> - 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 List<zscaler.Templates Pulumi Package. Zia. Inputs. Casb Malware Rule Casb Tombstone Template> - 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 zscaler.Tenant Ids Pulumi Package. Zia. Inputs. Casb Malware Rule Cloud App Tenant Ids - This field is applicable for devices that are managed using Zscaler Client Connector.
- Cloud
App zscaler.Tenants Pulumi Package. Zia. Inputs. Casb Malware Rule Cloud App Tenants - 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.
Pulumi Package. Zia. Inputs. Casb Malware Rule Labels - list of Labels that are applicable to the rule.
- Name string
- Order int
- Quarantine
Location string - Location where all the quarantined files are moved and necessary actions are taken by either deleting or restoring the data
- Scan
Inbound stringEmail Link - Enables or disables the scan inbound email link
- State string
- Type string
- Action string
- Buckets
Casb
Malware Rule Buckets Args - Name-ID pairs of locations for which rule must be applied
- Casb
Email []CasbLabels Malware Rule Casb Email Label Args - 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 []CasbTemplates Malware Rule Casb Tombstone Template Args - 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 CasbTenant Ids Malware Rule Cloud App Tenant Ids Args - This field is applicable for devices that are managed using Zscaler Client Connector.
- Cloud
App CasbTenants Malware Rule Cloud App Tenants Args - 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
Casb
Malware Rule Labels Args - list of Labels that are applicable to the rule.
- Name string
- Order int
- Quarantine
Location string - Location where all the quarantined files are moved and necessary actions are taken by either deleting or restoring the data
- Scan
Inbound stringEmail Link - Enables or disables the scan inbound email link
- State string
- Type string
- action String
- buckets
Casb
Malware Rule Buckets - Name-ID pairs of locations for which rule must be applied
- casb
Email List<CasbLabels Malware Rule Casb Email Label> - 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 List<CasbTemplates Malware Rule Casb Tombstone Template> - 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 CasbTenant Ids Malware Rule Cloud App Tenant Ids - This field is applicable for devices that are managed using Zscaler Client Connector.
- cloud
App CasbTenants Malware Rule Cloud App Tenants - 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
Casb
Malware Rule Labels - list of Labels that are applicable to the rule.
- name String
- order Integer
- quarantine
Location String - Location where all the quarantined files are moved and necessary actions are taken by either deleting or restoring the data
- scan
Inbound StringEmail Link - Enables or disables the scan inbound email link
- state String
- type String
- action string
- buckets
Casb
Malware Rule Buckets - Name-ID pairs of locations for which rule must be applied
- casb
Email CasbLabels Malware Rule Casb Email Label[] - 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 CasbTemplates Malware Rule Casb Tombstone Template[] - 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 CasbTenant Ids Malware Rule Cloud App Tenant Ids - This field is applicable for devices that are managed using Zscaler Client Connector.
- cloud
App CasbTenants Malware Rule Cloud App Tenants - 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
Casb
Malware Rule Labels - list of Labels that are applicable to the rule.
- name string
- order number
- quarantine
Location string - Location where all the quarantined files are moved and necessary actions are taken by either deleting or restoring the data
- scan
Inbound stringEmail Link - Enables or disables the scan inbound email link
- state string
- type string
- action str
- buckets
Casb
Malware Rule Buckets Args - Name-ID pairs of locations for which rule must be applied
- casb_
email_ Sequence[Casblabels Malware Rule Casb Email Label Args] - 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_ Sequence[Casbtemplates Malware Rule Casb Tombstone Template Args] - 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_ Casbtenant_ ids Malware Rule Cloud App Tenant Ids Args - This field is applicable for devices that are managed using Zscaler Client Connector.
- cloud_
app_ Casbtenants Malware Rule Cloud App Tenants Args - 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
Casb
Malware Rule Labels Args - 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_ stremail_ link - 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
- casb
Email List<Property Map>Labels - 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 List<Property Map>Templates - 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 Property MapTenant Ids - This field is applicable for devices that are managed using Zscaler Client Connector.
- cloud
App Property MapTenants - 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
- quarantine
Location String - Location where all the quarantined files are moved and necessary actions are taken by either deleting or restoring the data
- scan
Inbound StringEmail Link - Enables or disables the scan inbound email link
- state String
- type String
Outputs
All input properties are implicitly available as output properties. Additionally, the CasbMalwareRule resource produces the following output properties:
Look up Existing CasbMalwareRule Resource
Get an existing CasbMalwareRule 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?: CasbMalwareRuleState, opts?: CustomResourceOptions): CasbMalwareRule
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
action: Optional[str] = None,
buckets: Optional[CasbMalwareRuleBucketsArgs] = None,
casb_email_labels: Optional[Sequence[CasbMalwareRuleCasbEmailLabelArgs]] = None,
casb_tombstone_templates: Optional[Sequence[CasbMalwareRuleCasbTombstoneTemplateArgs]] = None,
cloud_app_tenant_ids: Optional[CasbMalwareRuleCloudAppTenantIdsArgs] = None,
cloud_app_tenants: Optional[CasbMalwareRuleCloudAppTenantsArgs] = None,
labels: Optional[CasbMalwareRuleLabelsArgs] = 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) -> CasbMalwareRule
func GetCasbMalwareRule(ctx *Context, name string, id IDInput, state *CasbMalwareRuleState, opts ...ResourceOption) (*CasbMalwareRule, error)
public static CasbMalwareRule Get(string name, Input<string> id, CasbMalwareRuleState? state, CustomResourceOptions? opts = null)
public static CasbMalwareRule get(String name, Output<String> id, CasbMalwareRuleState state, CustomResourceOptions options)
resources: _: type: zia:CasbMalwareRule 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.
- Action string
- Buckets
zscaler.
Pulumi Package. Zia. Inputs. Casb Malware Rule Buckets - Name-ID pairs of locations for which rule must be applied
- Casb
Email List<zscaler.Labels Pulumi Package. Zia. Inputs. Casb Malware Rule Casb Email Label> - 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 List<zscaler.Templates Pulumi Package. Zia. Inputs. Casb Malware Rule Casb Tombstone Template> - 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 zscaler.Tenant Ids Pulumi Package. Zia. Inputs. Casb Malware Rule Cloud App Tenant Ids - This field is applicable for devices that are managed using Zscaler Client Connector.
- Cloud
App zscaler.Tenants Pulumi Package. Zia. Inputs. Casb Malware Rule Cloud App Tenants - 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.
Pulumi Package. Zia. Inputs. Casb Malware Rule Labels - list of Labels that are applicable to the rule.
- Name string
- Order int
- Quarantine
Location string - 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 stringEmail Link - Enables or disables the scan inbound email link
- State string
- Type string
- Action string
- Buckets
Casb
Malware Rule Buckets Args - Name-ID pairs of locations for which rule must be applied
- Casb
Email []CasbLabels Malware Rule Casb Email Label Args - 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 []CasbTemplates Malware Rule Casb Tombstone Template Args - 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 CasbTenant Ids Malware Rule Cloud App Tenant Ids Args - This field is applicable for devices that are managed using Zscaler Client Connector.
- Cloud
App CasbTenants Malware Rule Cloud App Tenants Args - 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
Casb
Malware Rule Labels Args - list of Labels that are applicable to the rule.
- Name string
- Order int
- Quarantine
Location string - 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 stringEmail Link - Enables or disables the scan inbound email link
- State string
- Type string
- action String
- buckets
Casb
Malware Rule Buckets - Name-ID pairs of locations for which rule must be applied
- casb
Email List<CasbLabels Malware Rule Casb Email Label> - 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 List<CasbTemplates Malware Rule Casb Tombstone Template> - 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 CasbTenant Ids Malware Rule Cloud App Tenant Ids - This field is applicable for devices that are managed using Zscaler Client Connector.
- cloud
App CasbTenants Malware Rule Cloud App Tenants - 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
Casb
Malware Rule Labels - list of Labels that are applicable to the rule.
- name String
- order Integer
- quarantine
Location String - Location where all the quarantined files are moved and necessary actions are taken by either deleting or restoring the data
- rule
Id Integer - A unique identifier assigned to the forwarding rule
- scan
Inbound StringEmail Link - Enables or disables the scan inbound email link
- state String
- type String
- action string
- buckets
Casb
Malware Rule Buckets - Name-ID pairs of locations for which rule must be applied
- casb
Email CasbLabels Malware Rule Casb Email Label[] - 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 CasbTemplates Malware Rule Casb Tombstone Template[] - 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 CasbTenant Ids Malware Rule Cloud App Tenant Ids - This field is applicable for devices that are managed using Zscaler Client Connector.
- cloud
App CasbTenants Malware Rule Cloud App Tenants - 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
Casb
Malware Rule Labels - list of Labels that are applicable to the rule.
- name string
- order number
- quarantine
Location string - Location where all the quarantined files are moved and necessary actions are taken by either deleting or restoring the data
- rule
Id number - A unique identifier assigned to the forwarding rule
- scan
Inbound stringEmail Link - Enables or disables the scan inbound email link
- state string
- type string
- action str
- buckets
Casb
Malware Rule Buckets Args - Name-ID pairs of locations for which rule must be applied
- casb_
email_ Sequence[Casblabels Malware Rule Casb Email Label Args] - 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_ Sequence[Casbtemplates Malware Rule Casb Tombstone Template Args] - 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_ Casbtenant_ ids Malware Rule Cloud App Tenant Ids Args - This field is applicable for devices that are managed using Zscaler Client Connector.
- cloud_
app_ Casbtenants Malware Rule Cloud App Tenants Args - 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
Casb
Malware Rule Labels Args - 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_ stremail_ link - 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
- casb
Email List<Property Map>Labels - 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 List<Property Map>Templates - 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 Property MapTenant Ids - This field is applicable for devices that are managed using Zscaler Client Connector.
- cloud
App Property MapTenants - 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
- quarantine
Location String - Location where all the quarantined files are moved and necessary actions are taken by either deleting or restoring the data
- rule
Id Number - A unique identifier assigned to the forwarding rule
- scan
Inbound StringEmail Link - Enables or disables the scan inbound email link
- state String
- type String
Supporting Types
CasbMalwareRuleBuckets, CasbMalwareRuleBucketsArgs
- Ids List<int>
- Ids []int
- ids List<Integer>
- ids number[]
- ids Sequence[int]
- ids List<Number>
CasbMalwareRuleCasbEmailLabel, CasbMalwareRuleCasbEmailLabelArgs
- Id int
- Id int
- id Integer
- id number
- id int
- id Number
CasbMalwareRuleCasbTombstoneTemplate, CasbMalwareRuleCasbTombstoneTemplateArgs
- Id int
- Id int
- id Integer
- id number
- id int
- id Number
CasbMalwareRuleCloudAppTenantIds, CasbMalwareRuleCloudAppTenantIdsArgs
- Id int
- Id int
- id Integer
- id number
- id int
- id Number
CasbMalwareRuleCloudAppTenants, CasbMalwareRuleCloudAppTenantsArgs
- Id int
- Id int
- id Integer
- id number
- id int
- id Number
CasbMalwareRuleLabels, CasbMalwareRuleLabelsArgs
- 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/casbMalwareRule:CasbMalwareRule this <rule_type:rule_id>
$ pulumi import zia:index/casbMalwareRule:CasbMalwareRule 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.