1. Packages
  2. Zscaler Private Access (ZPA)
  3. API Docs
  4. InspectionCustomControls
Zscaler Private Access v0.0.12 published on Tuesday, Jul 30, 2024 by Zscaler

zpa.InspectionCustomControls

Explore with Pulumi AI

zpa logo
Zscaler Private Access v0.0.12 published on Tuesday, Jul 30, 2024 by Zscaler

    Create InspectionCustomControls Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new InspectionCustomControls(name: string, args: InspectionCustomControlsArgs, opts?: CustomResourceOptions);
    @overload
    def InspectionCustomControls(resource_name: str,
                                 args: InspectionCustomControlsArgs,
                                 opts: Optional[ResourceOptions] = None)
    
    @overload
    def InspectionCustomControls(resource_name: str,
                                 opts: Optional[ResourceOptions] = None,
                                 severity: Optional[str] = None,
                                 type: Optional[str] = None,
                                 control_type: Optional[str] = None,
                                 default_action: Optional[str] = None,
                                 default_action_value: Optional[str] = None,
                                 description: Optional[str] = None,
                                 name: Optional[str] = None,
                                 paranoia_level: Optional[str] = None,
                                 protocol_type: Optional[str] = None,
                                 rules: Optional[Sequence[InspectionCustomControlsRuleArgs]] = None,
                                 version: Optional[str] = None)
    func NewInspectionCustomControls(ctx *Context, name string, args InspectionCustomControlsArgs, opts ...ResourceOption) (*InspectionCustomControls, error)
    public InspectionCustomControls(string name, InspectionCustomControlsArgs args, CustomResourceOptions? opts = null)
    public InspectionCustomControls(String name, InspectionCustomControlsArgs args)
    public InspectionCustomControls(String name, InspectionCustomControlsArgs args, CustomResourceOptions options)
    
    type: zpa:InspectionCustomControls
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args InspectionCustomControlsArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args InspectionCustomControlsArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args InspectionCustomControlsArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args InspectionCustomControlsArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args InspectionCustomControlsArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var inspectionCustomControlsResource = new Zpa.InspectionCustomControls("inspectionCustomControlsResource", new()
    {
        Severity = "string",
        Type = "string",
        ControlType = "string",
        DefaultAction = "string",
        DefaultActionValue = "string",
        Description = "string",
        Name = "string",
        ParanoiaLevel = "string",
        ProtocolType = "string",
        Rules = new[]
        {
            new Zpa.Inputs.InspectionCustomControlsRuleArgs
            {
                Conditions = new Zpa.Inputs.InspectionCustomControlsRuleConditionsArgs
                {
                    Lhs = "string",
                    Op = "string",
                    Rhs = "string",
                },
                Names = new[]
                {
                    "string",
                },
                Type = "string",
            },
        },
        Version = "string",
    });
    
    example, err := zpa.NewInspectionCustomControls(ctx, "inspectionCustomControlsResource", &zpa.InspectionCustomControlsArgs{
    	Severity:           pulumi.String("string"),
    	Type:               pulumi.String("string"),
    	ControlType:        pulumi.String("string"),
    	DefaultAction:      pulumi.String("string"),
    	DefaultActionValue: pulumi.String("string"),
    	Description:        pulumi.String("string"),
    	Name:               pulumi.String("string"),
    	ParanoiaLevel:      pulumi.String("string"),
    	ProtocolType:       pulumi.String("string"),
    	Rules: zpa.InspectionCustomControlsRuleArray{
    		&zpa.InspectionCustomControlsRuleArgs{
    			Conditions: &zpa.InspectionCustomControlsRuleConditionsArgs{
    				Lhs: pulumi.String("string"),
    				Op:  pulumi.String("string"),
    				Rhs: pulumi.String("string"),
    			},
    			Names: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    			Type: pulumi.String("string"),
    		},
    	},
    	Version: pulumi.String("string"),
    })
    
    var inspectionCustomControlsResource = new InspectionCustomControls("inspectionCustomControlsResource", InspectionCustomControlsArgs.builder()
        .severity("string")
        .type("string")
        .controlType("string")
        .defaultAction("string")
        .defaultActionValue("string")
        .description("string")
        .name("string")
        .paranoiaLevel("string")
        .protocolType("string")
        .rules(InspectionCustomControlsRuleArgs.builder()
            .conditions(InspectionCustomControlsRuleConditionsArgs.builder()
                .lhs("string")
                .op("string")
                .rhs("string")
                .build())
            .names("string")
            .type("string")
            .build())
        .version("string")
        .build());
    
    inspection_custom_controls_resource = zpa.InspectionCustomControls("inspectionCustomControlsResource",
        severity="string",
        type="string",
        control_type="string",
        default_action="string",
        default_action_value="string",
        description="string",
        name="string",
        paranoia_level="string",
        protocol_type="string",
        rules=[zpa.InspectionCustomControlsRuleArgs(
            conditions=zpa.InspectionCustomControlsRuleConditionsArgs(
                lhs="string",
                op="string",
                rhs="string",
            ),
            names=["string"],
            type="string",
        )],
        version="string")
    
    const inspectionCustomControlsResource = new zpa.InspectionCustomControls("inspectionCustomControlsResource", {
        severity: "string",
        type: "string",
        controlType: "string",
        defaultAction: "string",
        defaultActionValue: "string",
        description: "string",
        name: "string",
        paranoiaLevel: "string",
        protocolType: "string",
        rules: [{
            conditions: {
                lhs: "string",
                op: "string",
                rhs: "string",
            },
            names: ["string"],
            type: "string",
        }],
        version: "string",
    });
    
    type: zpa:InspectionCustomControls
    properties:
        controlType: string
        defaultAction: string
        defaultActionValue: string
        description: string
        name: string
        paranoiaLevel: string
        protocolType: string
        rules:
            - conditions:
                lhs: string
                op: string
                rhs: string
              names:
                - string
              type: string
        severity: string
        type: string
        version: string
    

    InspectionCustomControls Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The InspectionCustomControls resource accepts the following input properties:

    Severity string
    Severity of the control number
    Type string
    Rules to be applied to the request or response type
    ControlType string
    DefaultAction string
    The performed action
    DefaultActionValue string
    This is used to provide the redirect URL if the default action is set to REDIRECT
    Description string
    Description of the custom control
    Name string
    ParanoiaLevel string
    OWASP Predefined Paranoia Level. Range: [1-4], inclusive
    ProtocolType string
    Rules List<Zscaler.Zpa.Inputs.InspectionCustomControlsRule>
    Rules of the custom controls applied as conditions (JSON)
    Version string
    Severity string
    Severity of the control number
    Type string
    Rules to be applied to the request or response type
    ControlType string
    DefaultAction string
    The performed action
    DefaultActionValue string
    This is used to provide the redirect URL if the default action is set to REDIRECT
    Description string
    Description of the custom control
    Name string
    ParanoiaLevel string
    OWASP Predefined Paranoia Level. Range: [1-4], inclusive
    ProtocolType string
    Rules []InspectionCustomControlsRuleArgs
    Rules of the custom controls applied as conditions (JSON)
    Version string
    severity String
    Severity of the control number
    type String
    Rules to be applied to the request or response type
    controlType String
    defaultAction String
    The performed action
    defaultActionValue String
    This is used to provide the redirect URL if the default action is set to REDIRECT
    description String
    Description of the custom control
    name String
    paranoiaLevel String
    OWASP Predefined Paranoia Level. Range: [1-4], inclusive
    protocolType String
    rules List<InspectionCustomControlsRule>
    Rules of the custom controls applied as conditions (JSON)
    version String
    severity string
    Severity of the control number
    type string
    Rules to be applied to the request or response type
    controlType string
    defaultAction string
    The performed action
    defaultActionValue string
    This is used to provide the redirect URL if the default action is set to REDIRECT
    description string
    Description of the custom control
    name string
    paranoiaLevel string
    OWASP Predefined Paranoia Level. Range: [1-4], inclusive
    protocolType string
    rules InspectionCustomControlsRule[]
    Rules of the custom controls applied as conditions (JSON)
    version string
    severity str
    Severity of the control number
    type str
    Rules to be applied to the request or response type
    control_type str
    default_action str
    The performed action
    default_action_value str
    This is used to provide the redirect URL if the default action is set to REDIRECT
    description str
    Description of the custom control
    name str
    paranoia_level str
    OWASP Predefined Paranoia Level. Range: [1-4], inclusive
    protocol_type str
    rules Sequence[InspectionCustomControlsRuleArgs]
    Rules of the custom controls applied as conditions (JSON)
    version str
    severity String
    Severity of the control number
    type String
    Rules to be applied to the request or response type
    controlType String
    defaultAction String
    The performed action
    defaultActionValue String
    This is used to provide the redirect URL if the default action is set to REDIRECT
    description String
    Description of the custom control
    name String
    paranoiaLevel String
    OWASP Predefined Paranoia Level. Range: [1-4], inclusive
    protocolType String
    rules List<Property Map>
    Rules of the custom controls applied as conditions (JSON)
    version String

    Outputs

    All input properties are implicitly available as output properties. Additionally, the InspectionCustomControls resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing InspectionCustomControls Resource

    Get an existing InspectionCustomControls resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: InspectionCustomControlsState, opts?: CustomResourceOptions): InspectionCustomControls
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            control_type: Optional[str] = None,
            default_action: Optional[str] = None,
            default_action_value: Optional[str] = None,
            description: Optional[str] = None,
            name: Optional[str] = None,
            paranoia_level: Optional[str] = None,
            protocol_type: Optional[str] = None,
            rules: Optional[Sequence[InspectionCustomControlsRuleArgs]] = None,
            severity: Optional[str] = None,
            type: Optional[str] = None,
            version: Optional[str] = None) -> InspectionCustomControls
    func GetInspectionCustomControls(ctx *Context, name string, id IDInput, state *InspectionCustomControlsState, opts ...ResourceOption) (*InspectionCustomControls, error)
    public static InspectionCustomControls Get(string name, Input<string> id, InspectionCustomControlsState? state, CustomResourceOptions? opts = null)
    public static InspectionCustomControls get(String name, Output<String> id, InspectionCustomControlsState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    ControlType string
    DefaultAction string
    The performed action
    DefaultActionValue string
    This is used to provide the redirect URL if the default action is set to REDIRECT
    Description string
    Description of the custom control
    Name string
    ParanoiaLevel string
    OWASP Predefined Paranoia Level. Range: [1-4], inclusive
    ProtocolType string
    Rules List<Zscaler.Zpa.Inputs.InspectionCustomControlsRule>
    Rules of the custom controls applied as conditions (JSON)
    Severity string
    Severity of the control number
    Type string
    Rules to be applied to the request or response type
    Version string
    ControlType string
    DefaultAction string
    The performed action
    DefaultActionValue string
    This is used to provide the redirect URL if the default action is set to REDIRECT
    Description string
    Description of the custom control
    Name string
    ParanoiaLevel string
    OWASP Predefined Paranoia Level. Range: [1-4], inclusive
    ProtocolType string
    Rules []InspectionCustomControlsRuleArgs
    Rules of the custom controls applied as conditions (JSON)
    Severity string
    Severity of the control number
    Type string
    Rules to be applied to the request or response type
    Version string
    controlType String
    defaultAction String
    The performed action
    defaultActionValue String
    This is used to provide the redirect URL if the default action is set to REDIRECT
    description String
    Description of the custom control
    name String
    paranoiaLevel String
    OWASP Predefined Paranoia Level. Range: [1-4], inclusive
    protocolType String
    rules List<InspectionCustomControlsRule>
    Rules of the custom controls applied as conditions (JSON)
    severity String
    Severity of the control number
    type String
    Rules to be applied to the request or response type
    version String
    controlType string
    defaultAction string
    The performed action
    defaultActionValue string
    This is used to provide the redirect URL if the default action is set to REDIRECT
    description string
    Description of the custom control
    name string
    paranoiaLevel string
    OWASP Predefined Paranoia Level. Range: [1-4], inclusive
    protocolType string
    rules InspectionCustomControlsRule[]
    Rules of the custom controls applied as conditions (JSON)
    severity string
    Severity of the control number
    type string
    Rules to be applied to the request or response type
    version string
    control_type str
    default_action str
    The performed action
    default_action_value str
    This is used to provide the redirect URL if the default action is set to REDIRECT
    description str
    Description of the custom control
    name str
    paranoia_level str
    OWASP Predefined Paranoia Level. Range: [1-4], inclusive
    protocol_type str
    rules Sequence[InspectionCustomControlsRuleArgs]
    Rules of the custom controls applied as conditions (JSON)
    severity str
    Severity of the control number
    type str
    Rules to be applied to the request or response type
    version str
    controlType String
    defaultAction String
    The performed action
    defaultActionValue String
    This is used to provide the redirect URL if the default action is set to REDIRECT
    description String
    Description of the custom control
    name String
    paranoiaLevel String
    OWASP Predefined Paranoia Level. Range: [1-4], inclusive
    protocolType String
    rules List<Property Map>
    Rules of the custom controls applied as conditions (JSON)
    severity String
    Severity of the control number
    type String
    Rules to be applied to the request or response type
    version String

    Supporting Types

    InspectionCustomControlsRule, InspectionCustomControlsRuleArgs

    Conditions Zscaler.Zpa.Inputs.InspectionCustomControlsRuleConditions
    Names List<string>
    Name of the rules. If rules.type is set to REQUEST_HEADERS, REQUEST_COOKIES, or RESPONSE_HEADERS, the rules.name field is required.
    Type string
    Type value for the rules.
    Conditions InspectionCustomControlsRuleConditions
    Names []string
    Name of the rules. If rules.type is set to REQUEST_HEADERS, REQUEST_COOKIES, or RESPONSE_HEADERS, the rules.name field is required.
    Type string
    Type value for the rules.
    conditions InspectionCustomControlsRuleConditions
    names List<String>
    Name of the rules. If rules.type is set to REQUEST_HEADERS, REQUEST_COOKIES, or RESPONSE_HEADERS, the rules.name field is required.
    type String
    Type value for the rules.
    conditions InspectionCustomControlsRuleConditions
    names string[]
    Name of the rules. If rules.type is set to REQUEST_HEADERS, REQUEST_COOKIES, or RESPONSE_HEADERS, the rules.name field is required.
    type string
    Type value for the rules.
    conditions InspectionCustomControlsRuleConditions
    names Sequence[str]
    Name of the rules. If rules.type is set to REQUEST_HEADERS, REQUEST_COOKIES, or RESPONSE_HEADERS, the rules.name field is required.
    type str
    Type value for the rules.
    conditions Property Map
    names List<String>
    Name of the rules. If rules.type is set to REQUEST_HEADERS, REQUEST_COOKIES, or RESPONSE_HEADERS, the rules.name field is required.
    type String
    Type value for the rules.

    InspectionCustomControlsRuleConditions, InspectionCustomControlsRuleConditionsArgs

    Lhs string
    Signifies the key for the object type
    Op string
    Denotes the operation type.
    Rhs string
    Denotes the value for the given object type. Its value depends on the key.
    Lhs string
    Signifies the key for the object type
    Op string
    Denotes the operation type.
    Rhs string
    Denotes the value for the given object type. Its value depends on the key.
    lhs String
    Signifies the key for the object type
    op String
    Denotes the operation type.
    rhs String
    Denotes the value for the given object type. Its value depends on the key.
    lhs string
    Signifies the key for the object type
    op string
    Denotes the operation type.
    rhs string
    Denotes the value for the given object type. Its value depends on the key.
    lhs str
    Signifies the key for the object type
    op str
    Denotes the operation type.
    rhs str
    Denotes the value for the given object type. Its value depends on the key.
    lhs String
    Signifies the key for the object type
    op String
    Denotes the operation type.
    rhs String
    Denotes the value for the given object type. Its value depends on the key.

    Package Details

    Repository
    zpa zscaler/pulumi-zpa
    License
    MIT
    Notes
    This Pulumi package is based on the zpa Terraform Provider.
    zpa logo
    Zscaler Private Access v0.0.12 published on Tuesday, Jul 30, 2024 by Zscaler