Zscaler Internet Access v1.1.1 published on Tuesday, Jun 24, 2025 by Zscaler
zia.getCasbMalwareRules
Explore with Pulumi AI
Use the zia_casb_malware_rules data source to get information about SaaS Security Data at Rest Scanning Malware Detection rules based on the specified rule type
Example Usage
By Name
data "zia_casb_malware_rules" "this" {
name = "SaaS_ITSM_App_Rule"
type = "OFLCASB_AVP_ITSM"
}
By ID
data "zia_casb_malware_rules" "this" {
id = 154658
type = "OFLCASB_AVP_ITSM"
}
Using getCasbMalwareRules
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getCasbMalwareRules(args: GetCasbMalwareRulesArgs, opts?: InvokeOptions): Promise<GetCasbMalwareRulesResult>
function getCasbMalwareRulesOutput(args: GetCasbMalwareRulesOutputArgs, opts?: InvokeOptions): Output<GetCasbMalwareRulesResult>
def get_casb_malware_rules(id: Optional[int] = None,
name: Optional[str] = None,
type: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetCasbMalwareRulesResult
def get_casb_malware_rules_output(id: Optional[pulumi.Input[int]] = None,
name: Optional[pulumi.Input[str]] = None,
type: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetCasbMalwareRulesResult]
func LookupCasbMalwareRules(ctx *Context, args *LookupCasbMalwareRulesArgs, opts ...InvokeOption) (*LookupCasbMalwareRulesResult, error)
func LookupCasbMalwareRulesOutput(ctx *Context, args *LookupCasbMalwareRulesOutputArgs, opts ...InvokeOption) LookupCasbMalwareRulesResultOutput
> Note: This function is named LookupCasbMalwareRules
in the Go SDK.
public static class GetCasbMalwareRules
{
public static Task<GetCasbMalwareRulesResult> InvokeAsync(GetCasbMalwareRulesArgs args, InvokeOptions? opts = null)
public static Output<GetCasbMalwareRulesResult> Invoke(GetCasbMalwareRulesInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetCasbMalwareRulesResult> getCasbMalwareRules(GetCasbMalwareRulesArgs args, InvokeOptions options)
public static Output<GetCasbMalwareRulesResult> getCasbMalwareRules(GetCasbMalwareRulesArgs args, InvokeOptions options)
fn::invoke:
function: zia:index/getCasbMalwareRules:getCasbMalwareRules
arguments:
# arguments dictionary
The following arguments are supported:
- Id int
- The type of SaaS Security Data at Rest Scanning Malware ruleData at Rest Scanning DLP rule.
- Name string
- Rule name.
- Type string
- The type of SaaS Security Data at Rest Scanning Malware rule. Supported Values:
ANY
,OFLCASB_AVP_FILE
OFLCASB_AVP_EMAIL
OFLCASB_AVP_CRM
OFLCASB_AVP_ITSM
OFLCASB_AVP_COLLAB
OFLCASB_AVP_REPO
OFLCASB_AVP_STORAGE
OFLCASB_AVP_GENAI
- Id int
- The type of SaaS Security Data at Rest Scanning Malware ruleData at Rest Scanning DLP rule.
- Name string
- Rule name.
- Type string
- The type of SaaS Security Data at Rest Scanning Malware rule. Supported Values:
ANY
,OFLCASB_AVP_FILE
OFLCASB_AVP_EMAIL
OFLCASB_AVP_CRM
OFLCASB_AVP_ITSM
OFLCASB_AVP_COLLAB
OFLCASB_AVP_REPO
OFLCASB_AVP_STORAGE
OFLCASB_AVP_GENAI
- id Integer
- The type of SaaS Security Data at Rest Scanning Malware ruleData at Rest Scanning DLP rule.
- name String
- Rule name.
- type String
- The type of SaaS Security Data at Rest Scanning Malware rule. Supported Values:
ANY
,OFLCASB_AVP_FILE
OFLCASB_AVP_EMAIL
OFLCASB_AVP_CRM
OFLCASB_AVP_ITSM
OFLCASB_AVP_COLLAB
OFLCASB_AVP_REPO
OFLCASB_AVP_STORAGE
OFLCASB_AVP_GENAI
- id number
- The type of SaaS Security Data at Rest Scanning Malware ruleData at Rest Scanning DLP rule.
- name string
- Rule name.
- type string
- The type of SaaS Security Data at Rest Scanning Malware rule. Supported Values:
ANY
,OFLCASB_AVP_FILE
OFLCASB_AVP_EMAIL
OFLCASB_AVP_CRM
OFLCASB_AVP_ITSM
OFLCASB_AVP_COLLAB
OFLCASB_AVP_REPO
OFLCASB_AVP_STORAGE
OFLCASB_AVP_GENAI
- id int
- The type of SaaS Security Data at Rest Scanning Malware ruleData at Rest Scanning DLP rule.
- name str
- Rule name.
- type str
- The type of SaaS Security Data at Rest Scanning Malware rule. Supported Values:
ANY
,OFLCASB_AVP_FILE
OFLCASB_AVP_EMAIL
OFLCASB_AVP_CRM
OFLCASB_AVP_ITSM
OFLCASB_AVP_COLLAB
OFLCASB_AVP_REPO
OFLCASB_AVP_STORAGE
OFLCASB_AVP_GENAI
- id Number
- The type of SaaS Security Data at Rest Scanning Malware ruleData at Rest Scanning DLP rule.
- name String
- Rule name.
- type String
- The type of SaaS Security Data at Rest Scanning Malware rule. Supported Values:
ANY
,OFLCASB_AVP_FILE
OFLCASB_AVP_EMAIL
OFLCASB_AVP_CRM
OFLCASB_AVP_ITSM
OFLCASB_AVP_COLLAB
OFLCASB_AVP_REPO
OFLCASB_AVP_STORAGE
OFLCASB_AVP_GENAI
getCasbMalwareRules Result
The following output properties are available:
- Access
Control string - (string) Access privilege of this rule based on the admin's RBA state.
- Action string
- (string) The configured action for the policy rule
- Buckets
List<zscaler.
Pulumi Package. Zia. Outputs. Get Casb Malware Rules Bucket> - Casb
Email List<zscaler.Labels Pulumi Package. Zia. Outputs. Get Casb Malware Rules Casb Email Label> - Casb
Tombstone List<zscaler.Templates Pulumi Package. Zia. Outputs. Get Casb Malware Rules Casb Tombstone Template> - Cloud
App List<zscaler.Tenant Ids Pulumi Package. Zia. Outputs. Get Casb Malware Rules Cloud App Tenant Id> - Cloud
App List<zscaler.Tenants Pulumi Package. Zia. Outputs. Get Casb Malware Rules Cloud App Tenant> - Id int
- (int) A unique identifier for the tombstone template.
- Labels
List<zscaler.
Pulumi Package. Zia. Outputs. Get Casb Malware Rules Label> - Last
Modified List<zscaler.Bies Pulumi Package. Zia. Outputs. Get Casb Malware Rules Last Modified By> - Last
Modified intTime - (int) Last modification time of the rule.
- Name string
- (string) The configured name of the tombstone template.
- Order int
- (int) Order of rule execution with respect to other SaaS Security Data at Rest Scanning DLP rules.
- Quarantine
Location string - (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 - State string
- (string) Administrative state of the rule.
- Type string
- Access
Control string - (string) Access privilege of this rule based on the admin's RBA state.
- Action string
- (string) The configured action for the policy rule
- Buckets
[]Get
Casb Malware Rules Bucket - Casb
Email []GetLabels Casb Malware Rules Casb Email Label - Casb
Tombstone []GetTemplates Casb Malware Rules Casb Tombstone Template - Cloud
App []GetTenant Ids Casb Malware Rules Cloud App Tenant Id - Cloud
App []GetTenants Casb Malware Rules Cloud App Tenant - Id int
- (int) A unique identifier for the tombstone template.
- Labels
[]Get
Casb Malware Rules Label - Last
Modified []GetBies Casb Malware Rules Last Modified By - Last
Modified intTime - (int) Last modification time of the rule.
- Name string
- (string) The configured name of the tombstone template.
- Order int
- (int) Order of rule execution with respect to other SaaS Security Data at Rest Scanning DLP rules.
- Quarantine
Location string - (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 - State string
- (string) Administrative state of the rule.
- Type string
- access
Control String - (string) Access privilege of this rule based on the admin's RBA state.
- action String
- (string) The configured action for the policy rule
- buckets
List<Get
Casb Malware Rules Bucket> - casb
Email List<GetLabels Casb Malware Rules Casb Email Label> - casb
Tombstone List<GetTemplates Casb Malware Rules Casb Tombstone Template> - cloud
App List<GetTenant Ids Casb Malware Rules Cloud App Tenant Id> - cloud
App List<GetTenants Casb Malware Rules Cloud App Tenant> - id Integer
- (int) A unique identifier for the tombstone template.
- labels
List<Get
Casb Malware Rules Label> - last
Modified List<GetBies Casb Malware Rules Last Modified By> - last
Modified IntegerTime - (int) Last modification time of the rule.
- name String
- (string) The configured name of the tombstone template.
- order Integer
- (int) Order of rule execution with respect to other SaaS Security Data at Rest Scanning DLP rules.
- quarantine
Location String - (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 - state String
- (string) Administrative state of the rule.
- type String
- access
Control string - (string) Access privilege of this rule based on the admin's RBA state.
- action string
- (string) The configured action for the policy rule
- buckets
Get
Casb Malware Rules Bucket[] - casb
Email GetLabels Casb Malware Rules Casb Email Label[] - casb
Tombstone GetTemplates Casb Malware Rules Casb Tombstone Template[] - cloud
App GetTenant Ids Casb Malware Rules Cloud App Tenant Id[] - cloud
App GetTenants Casb Malware Rules Cloud App Tenant[] - id number
- (int) A unique identifier for the tombstone template.
- labels
Get
Casb Malware Rules Label[] - last
Modified GetBies Casb Malware Rules Last Modified By[] - last
Modified numberTime - (int) Last modification time of the rule.
- name string
- (string) The configured name of the tombstone template.
- order number
- (int) Order of rule execution with respect to other SaaS Security Data at Rest Scanning DLP rules.
- quarantine
Location string - (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 - state string
- (string) Administrative state of the rule.
- type string
- access_
control str - (string) Access privilege of this rule based on the admin's RBA state.
- action str
- (string) The configured action for the policy rule
- buckets
Sequence[Get
Casb Malware Rules Bucket] - casb_
email_ Sequence[Getlabels Casb Malware Rules Casb Email Label] - casb_
tombstone_ Sequence[Gettemplates Casb Malware Rules Casb Tombstone Template] - cloud_
app_ Sequence[Gettenant_ ids Casb Malware Rules Cloud App Tenant Id] - cloud_
app_ Sequence[Gettenants Casb Malware Rules Cloud App Tenant] - id int
- (int) A unique identifier for the tombstone template.
- labels
Sequence[Get
Casb Malware Rules Label] - last_
modified_ Sequence[Getbies Casb Malware Rules Last Modified By] - last_
modified_ inttime - (int) Last modification time of the rule.
- name str
- (string) The configured name of the tombstone template.
- order int
- (int) Order of rule execution with respect to other SaaS Security Data at Rest Scanning DLP rules.
- quarantine_
location str - (string) Location where all the quarantined files are moved and necessary actions are taken by either deleting or restoring the data
- scan_
inbound_ stremail_ link - state str
- (string) Administrative state of the rule.
- type str
- access
Control String - (string) Access privilege of this rule based on the admin's RBA state.
- action String
- (string) The configured action for the policy rule
- buckets List<Property Map>
- casb
Email List<Property Map>Labels - casb
Tombstone List<Property Map>Templates - cloud
App List<Property Map>Tenant Ids - cloud
App List<Property Map>Tenants - id Number
- (int) A unique identifier for the tombstone template.
- labels List<Property Map>
- last
Modified List<Property Map>Bies - last
Modified NumberTime - (int) Last modification time of the rule.
- name String
- (string) The configured name of the tombstone template.
- order Number
- (int) Order of rule execution with respect to other SaaS Security Data at Rest Scanning DLP rules.
- quarantine
Location String - (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 - state String
- (string) Administrative state of the rule.
- type String
Supporting Types
GetCasbMalwareRulesBucket
GetCasbMalwareRulesCasbEmailLabel
GetCasbMalwareRulesCasbTombstoneTemplate
GetCasbMalwareRulesCloudAppTenant
GetCasbMalwareRulesCloudAppTenantId
GetCasbMalwareRulesLabel
GetCasbMalwareRulesLastModifiedBy
- Extensions Dictionary<string, string>
- Additional information about the entity
- Id int
- The type of SaaS Security Data at Rest Scanning Malware ruleData at Rest Scanning DLP rule.
- Name string
- Rule name.
- Extensions map[string]string
- Additional information about the entity
- Id int
- The type of SaaS Security Data at Rest Scanning Malware ruleData at Rest Scanning DLP rule.
- Name string
- Rule name.
- extensions Map<String,String>
- Additional information about the entity
- id Integer
- The type of SaaS Security Data at Rest Scanning Malware ruleData at Rest Scanning DLP rule.
- name String
- Rule name.
- extensions {[key: string]: string}
- Additional information about the entity
- id number
- The type of SaaS Security Data at Rest Scanning Malware ruleData at Rest Scanning DLP rule.
- name string
- Rule name.
- extensions Mapping[str, str]
- Additional information about the entity
- id int
- The type of SaaS Security Data at Rest Scanning Malware ruleData at Rest Scanning DLP rule.
- name str
- Rule name.
- extensions Map<String>
- Additional information about the entity
- id Number
- The type of SaaS Security Data at Rest Scanning Malware ruleData at Rest Scanning DLP rule.
- name String
- Rule name.
Package Details
- Repository
- zia zscaler/pulumi-zia
- License
- MIT
- Notes
- This Pulumi package is based on the
zia
Terraform Provider.