1. Packages
  2. Zscaler Internet Access (ZIA)
  3. API Docs
  4. getSandboxBehavioralAnalysis
Zscaler Internet Access v0.0.7 published on Tuesday, Jul 30, 2024 by Zscaler

zia.getSandboxBehavioralAnalysis

Explore with Pulumi AI

zia logo
Zscaler Internet Access v0.0.7 published on Tuesday, Jul 30, 2024 by Zscaler

    Use the zia_sandbox_behavioral_analysis data source to get get the custom list of MD5 file hashes that are blocked by Sandbox

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as zia from "@pulumi/zia";
    
    const listAll = zia.getSandboxBehavioralAnalysis({});
    
    import pulumi
    import pulumi_zia as zia
    
    list_all = zia.get_sandbox_behavioral_analysis()
    
    package main
    
    import (
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    	"github.com/zscaler/pulumi-zia/sdk/go/zia"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := zia.LookupSandboxBehavioralAnalysis(ctx, nil, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Zia = Pulumi.Zia;
    
    return await Deployment.RunAsync(() => 
    {
        var listAll = Zia.GetSandboxBehavioralAnalysis.Invoke();
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.zia.ZiaFunctions;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            final var listAll = ZiaFunctions.getSandboxBehavioralAnalysis();
    
        }
    }
    
    variables:
      listAll:
        fn::invoke:
          Function: zia:getSandboxBehavioralAnalysis
          Arguments: {}
    

    Using getSandboxBehavioralAnalysis

    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 getSandboxBehavioralAnalysis(opts?: InvokeOptions): Promise<GetSandboxBehavioralAnalysisResult>
    function getSandboxBehavioralAnalysisOutput(opts?: InvokeOptions): Output<GetSandboxBehavioralAnalysisResult>
    def get_sandbox_behavioral_analysis(opts: Optional[InvokeOptions] = None) -> GetSandboxBehavioralAnalysisResult
    def get_sandbox_behavioral_analysis_output(opts: Optional[InvokeOptions] = None) -> Output[GetSandboxBehavioralAnalysisResult]
    func LookupSandboxBehavioralAnalysis(ctx *Context, opts ...InvokeOption) (*LookupSandboxBehavioralAnalysisResult, error)
    func LookupSandboxBehavioralAnalysisOutput(ctx *Context, opts ...InvokeOption) LookupSandboxBehavioralAnalysisResultOutput

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

    public static class GetSandboxBehavioralAnalysis 
    {
        public static Task<GetSandboxBehavioralAnalysisResult> InvokeAsync(InvokeOptions? opts = null)
        public static Output<GetSandboxBehavioralAnalysisResult> Invoke(InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetSandboxBehavioralAnalysisResult> getSandboxBehavioralAnalysis(InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: zia:index/getSandboxBehavioralAnalysis:getSandboxBehavioralAnalysis
      arguments:
        # arguments dictionary

    getSandboxBehavioralAnalysis Result

    The following output properties are available:

    FileHashesToBeBlockeds List<string>
    Id string
    The provider-assigned unique ID for this managed resource.
    FileHashesToBeBlockeds []string
    Id string
    The provider-assigned unique ID for this managed resource.
    fileHashesToBeBlockeds List<String>
    id String
    The provider-assigned unique ID for this managed resource.
    fileHashesToBeBlockeds string[]
    id string
    The provider-assigned unique ID for this managed resource.
    file_hashes_to_be_blockeds Sequence[str]
    id str
    The provider-assigned unique ID for this managed resource.
    fileHashesToBeBlockeds List<String>
    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 v0.0.7 published on Tuesday, Jul 30, 2024 by Zscaler