import * as pulumi from "@pulumi/pulumi"; /** * The zia_casb_malware_rules resource manages CASB (Cloud Access Security Broker) malware rules in the Zscaler Internet Access (ZIA) cloud service. CASB malware rules define malware detection and prevention policies for SaaS applications. * * ## Example Usage * ### CASB Malware Rule * * ```typescript * import * as zia from "@bdzscaler/pulumi-zia"; * * const example = new zia.CasbMalwareRule("example", { * name: "Example CASB Malware Rule", * type: "CASB_MALWARE", * order: 1, * state: "ENABLED", * action: "QUARANTINE", * }); * ``` * * ## Import * * An existing CASB Malware Rule can be imported using its resource ID, e.g. * * ```sh * $ pulumi import zia:index:CasbMalwareRule example 12345 * ``` */ export declare class CasbMalwareRule extends pulumi.CustomResource { /** * Get an existing CasbMalwareRule resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): CasbMalwareRule; /** * Returns true if the given object is an instance of CasbMalwareRule. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is CasbMalwareRule; /** * Action taken when the rule is matched (e.g. `QUARANTINE`, `ALLOW`, `BLOCK`). */ readonly action: pulumi.Output; /** * IDs of buckets. */ readonly buckets: pulumi.Output; /** * ID of the CASB email label. */ readonly casbEmailLabelId: pulumi.Output; /** * ID of the CASB tombstone template. */ readonly casbTombstoneTemplateId: pulumi.Output; /** * IDs of cloud application tenant identifiers. */ readonly cloudAppTenantIds: pulumi.Output; /** * IDs of cloud application tenants. */ readonly cloudAppTenants: pulumi.Output; /** * Additional information about the CASB malware rule. */ readonly description: pulumi.Output; /** * IDs of labels associated with the rule. */ readonly labels: pulumi.Output; /** * The name of the CASB malware rule. Must be unique. */ readonly name: pulumi.Output; /** * The order of execution of the rule with respect to other CASB malware rules. */ readonly order: pulumi.Output; /** * Quarantine location for matched malware content. */ readonly quarantineLocation: pulumi.Output; /** * The system-generated ID of the CASB malware rule. */ readonly ruleId: pulumi.Output; /** * Whether to scan inbound email links. */ readonly scanInboundEmailLink: pulumi.Output; /** * Rule state. Valid values: `ENABLED`, `DISABLED`. */ readonly state: pulumi.Output; /** * The rule type (e.g. `CASB_MALWARE`). */ readonly type: pulumi.Output; /** * Create a CasbMalwareRule resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: CasbMalwareRuleArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a CasbMalwareRule resource. */ export interface CasbMalwareRuleArgs { /** * Action taken when the rule is matched (e.g. `QUARANTINE`, `ALLOW`, `BLOCK`). */ action?: pulumi.Input; /** * IDs of buckets. */ buckets?: pulumi.Input[] | undefined>; /** * ID of the CASB email label. */ casbEmailLabelId?: pulumi.Input; /** * ID of the CASB tombstone template. */ casbTombstoneTemplateId?: pulumi.Input; /** * IDs of cloud application tenant identifiers. */ cloudAppTenantIds?: pulumi.Input[] | undefined>; /** * IDs of cloud application tenants. */ cloudAppTenants?: pulumi.Input[] | undefined>; /** * Additional information about the CASB malware rule. */ description?: pulumi.Input; /** * IDs of labels associated with the rule. */ labels?: pulumi.Input[] | undefined>; /** * The name of the CASB malware rule. Must be unique. */ name: pulumi.Input; /** * The order of execution of the rule with respect to other CASB malware rules. */ order: pulumi.Input; /** * Quarantine location for matched malware content. */ quarantineLocation?: pulumi.Input; /** * Whether to scan inbound email links. */ scanInboundEmailLink?: pulumi.Input; /** * Rule state. Valid values: `ENABLED`, `DISABLED`. */ state?: pulumi.Input; /** * The rule type (e.g. `CASB_MALWARE`). */ type: pulumi.Input; } //# sourceMappingURL=casbMalwareRule.d.ts.map