@bdzscaler/pulumi-zia
Version:
A Pulumi package for creating and managing zia cloud resources.
127 lines (126 loc) • 4.36 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "./types/output";
/**
* * [Official documentation](https://help.zscaler.com/zia/configuring-data-rest-scanning-malware-detection-policy)
* * [API documentation](https://help.zscaler.com/zia/saas-security-api#/casbMalwareRules-post)
*
* 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
*
* ### By ID
*/
export declare function getCasbMalwareRules(args?: GetCasbMalwareRulesArgs, opts?: pulumi.InvokeOptions): Promise<GetCasbMalwareRulesResult>;
/**
* A collection of arguments for invoking getCasbMalwareRules.
*/
export interface GetCasbMalwareRulesArgs {
/**
* The type of SaaS Security Data at Rest Scanning Malware ruleData at Rest Scanning DLP rule.
*/
id?: number;
/**
* Rule name.
*/
name?: 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`
*/
type?: string;
}
/**
* A collection of values returned by getCasbMalwareRules.
*/
export interface GetCasbMalwareRulesResult {
/**
* (string) Access privilege of this rule based on the admin's RBA state.
*/
readonly accessControl: string;
/**
* (string) The configured action for the policy rule
*/
readonly action: string;
readonly buckets: outputs.GetCasbMalwareRulesBucket[];
readonly casbEmailLabels: outputs.GetCasbMalwareRulesCasbEmailLabel[];
readonly casbTombstoneTemplates: outputs.GetCasbMalwareRulesCasbTombstoneTemplate[];
readonly cloudAppTenantIds: outputs.GetCasbMalwareRulesCloudAppTenantId[];
readonly cloudAppTenants: outputs.GetCasbMalwareRulesCloudAppTenant[];
/**
* (int) A unique identifier for the tombstone template.
*/
readonly id: number;
readonly labels: outputs.GetCasbMalwareRulesLabel[];
readonly lastModifiedBies: outputs.GetCasbMalwareRulesLastModifiedBy[];
/**
* (int) Last modification time of the rule.
*/
readonly lastModifiedTime: number;
/**
* (string) The configured name of the tombstone template.
*/
readonly name: string;
/**
* (int) Order of rule execution with respect to other SaaS Security Data at Rest Scanning DLP rules.
*/
readonly order: number;
/**
* (string) Location where all the quarantined files are moved and necessary actions are taken by either deleting or restoring the data
*/
readonly quarantineLocation: string;
readonly scanInboundEmailLink: string;
/**
* (string) Administrative state of the rule.
*/
readonly state: string;
readonly type: string;
}
/**
* * [Official documentation](https://help.zscaler.com/zia/configuring-data-rest-scanning-malware-detection-policy)
* * [API documentation](https://help.zscaler.com/zia/saas-security-api#/casbMalwareRules-post)
*
* 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
*
* ### By ID
*/
export declare function getCasbMalwareRulesOutput(args?: GetCasbMalwareRulesOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetCasbMalwareRulesResult>;
/**
* A collection of arguments for invoking getCasbMalwareRules.
*/
export interface GetCasbMalwareRulesOutputArgs {
/**
* The type of SaaS Security Data at Rest Scanning Malware ruleData at Rest Scanning DLP rule.
*/
id?: pulumi.Input<number>;
/**
* Rule name.
*/
name?: pulumi.Input<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`
*/
type?: pulumi.Input<string>;
}