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

zia.getMalwarePolicy

Start a Neo task
Explain and create a zia.getMalwarePolicy resource
zia logo
Zscaler Internet Access v1.1.1 published on Tuesday, Jun 24, 2025 by Zscaler

    Use the zia_atp_malware_policy data source to retrieves information about the security exceptions configured for the Malware Protection policy. To learn more see Configuring Malware Protection Policy

    Example Usage

    data "zia_atp_malware_policy" "this" {}
    

    Using getMalwarePolicy

    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 getMalwarePolicy(args: GetMalwarePolicyArgs, opts?: InvokeOptions): Promise<GetMalwarePolicyResult>
    function getMalwarePolicyOutput(args: GetMalwarePolicyOutputArgs, opts?: InvokeOptions): Output<GetMalwarePolicyResult>
    def get_malware_policy(block_password_protected_archive_files: Optional[bool] = None,
                           block_unscannable_files: Optional[bool] = None,
                           opts: Optional[InvokeOptions] = None) -> GetMalwarePolicyResult
    def get_malware_policy_output(block_password_protected_archive_files: Optional[pulumi.Input[bool]] = None,
                           block_unscannable_files: Optional[pulumi.Input[bool]] = None,
                           opts: Optional[InvokeOptions] = None) -> Output[GetMalwarePolicyResult]
    func GetMalwarePolicy(ctx *Context, args *GetMalwarePolicyArgs, opts ...InvokeOption) (*GetMalwarePolicyResult, error)
    func GetMalwarePolicyOutput(ctx *Context, args *GetMalwarePolicyOutputArgs, opts ...InvokeOption) GetMalwarePolicyResultOutput

    > Note: This function is named GetMalwarePolicy in the Go SDK.

    public static class GetMalwarePolicy 
    {
        public static Task<GetMalwarePolicyResult> InvokeAsync(GetMalwarePolicyArgs args, InvokeOptions? opts = null)
        public static Output<GetMalwarePolicyResult> Invoke(GetMalwarePolicyInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetMalwarePolicyResult> getMalwarePolicy(GetMalwarePolicyArgs args, InvokeOptions options)
    public static Output<GetMalwarePolicyResult> getMalwarePolicy(GetMalwarePolicyArgs args, InvokeOptions options)
    
    fn::invoke:
      function: zia:index/getMalwarePolicy:getMalwarePolicy
      arguments:
        # arguments dictionary

    The following arguments are supported:

    getMalwarePolicy Result

    The following output properties are available:

    BlockPasswordProtectedArchiveFiles bool
    BlockUnscannableFiles bool
    Id string
    The provider-assigned unique ID for this managed resource.
    BlockPasswordProtectedArchiveFiles bool
    BlockUnscannableFiles bool
    Id string
    The provider-assigned unique ID for this managed resource.
    blockPasswordProtectedArchiveFiles Boolean
    blockUnscannableFiles Boolean
    id String
    The provider-assigned unique ID for this managed resource.
    blockPasswordProtectedArchiveFiles boolean
    blockUnscannableFiles boolean
    id string
    The provider-assigned unique ID for this managed resource.
    block_password_protected_archive_files bool
    block_unscannable_files bool
    id str
    The provider-assigned unique ID for this managed resource.
    blockPasswordProtectedArchiveFiles Boolean
    blockUnscannableFiles Boolean
    id String
    The provider-assigned unique ID for this managed resource.

    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
      Meet Neo: Your AI Platform Teammate