1. Packages
  2. Zscaler Private Access (ZPA)
  3. API Docs
  4. InspectionCustomControls
Zscaler Private Access v0.0.10 published on Tuesday, Apr 9, 2024 by Zscaler

zpa.InspectionCustomControls

Explore with Pulumi AI

zpa logo
Zscaler Private Access v0.0.10 published on Tuesday, Apr 9, 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,
                                 default_action: Optional[str] = None,
                                 type: Optional[str] = None,
                                 severity: Optional[str] = None,
                                 description: Optional[str] = None,
                                 control_rule_json: Optional[str] = None,
                                 control_type: Optional[str] = None,
                                 control_number: Optional[str] = None,
                                 default_action_value: Optional[str] = None,
                                 action: Optional[str] = None,
                                 name: Optional[str] = None,
                                 paranoia_level: Optional[str] = None,
                                 protocol_type: Optional[str] = None,
                                 rules: Optional[Sequence[InspectionCustomControlsRuleArgs]] = None,
                                 associated_inspection_profile_names: Optional[Sequence[InspectionCustomControlsAssociatedInspectionProfileNameArgs]] = None,
                                 action_value: Optional[str] = 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.

    Example

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

    var inspectionCustomControlsResource = new Zpa.InspectionCustomControls("inspectionCustomControlsResource", new()
    {
        DefaultAction = "string",
        Type = "string",
        Severity = "string",
        Description = "string",
        ControlRuleJson = "string",
        ControlType = "string",
        ControlNumber = "string",
        DefaultActionValue = "string",
        Action = "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",
            },
        },
        AssociatedInspectionProfileNames = new[]
        {
            new Zpa.Inputs.InspectionCustomControlsAssociatedInspectionProfileNameArgs
            {
                Ids = new[]
                {
                    "string",
                },
            },
        },
        ActionValue = "string",
        Version = "string",
    });
    
    example, err := zpa.NewInspectionCustomControls(ctx, "inspectionCustomControlsResource", &zpa.InspectionCustomControlsArgs{
    	DefaultAction:      pulumi.String("string"),
    	Type:               pulumi.String("string"),
    	Severity:           pulumi.String("string"),
    	Description:        pulumi.String("string"),
    	ControlRuleJson:    pulumi.String("string"),
    	ControlType:        pulumi.String("string"),
    	ControlNumber:      pulumi.String("string"),
    	DefaultActionValue: pulumi.String("string"),
    	Action:             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"),
    		},
    	},
    	AssociatedInspectionProfileNames: zpa.InspectionCustomControlsAssociatedInspectionProfileNameArray{
    		&zpa.InspectionCustomControlsAssociatedInspectionProfileNameArgs{
    			Ids: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    		},
    	},
    	ActionValue: pulumi.String("string"),
    	Version:     pulumi.String("string"),
    })
    
    var inspectionCustomControlsResource = new InspectionCustomControls("inspectionCustomControlsResource", InspectionCustomControlsArgs.builder()        
        .defaultAction("string")
        .type("string")
        .severity("string")
        .description("string")
        .controlRuleJson("string")
        .controlType("string")
        .controlNumber("string")
        .defaultActionValue("string")
        .action("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())
        .associatedInspectionProfileNames(InspectionCustomControlsAssociatedInspectionProfileNameArgs.builder()
            .ids("string")
            .build())
        .actionValue("string")
        .version("string")
        .build());
    
    inspection_custom_controls_resource = zpa.InspectionCustomControls("inspectionCustomControlsResource",
        default_action="string",
        type="string",
        severity="string",
        description="string",
        control_rule_json="string",
        control_type="string",
        control_number="string",
        default_action_value="string",
        action="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",
        )],
        associated_inspection_profile_names=[zpa.InspectionCustomControlsAssociatedInspectionProfileNameArgs(
            ids=["string"],
        )],
        action_value="string",
        version="string")
    
    const inspectionCustomControlsResource = new zpa.InspectionCustomControls("inspectionCustomControlsResource", {
        defaultAction: "string",
        type: "string",
        severity: "string",
        description: "string",
        controlRuleJson: "string",
        controlType: "string",
        controlNumber: "string",
        defaultActionValue: "string",
        action: "string",
        name: "string",
        paranoiaLevel: "string",
        protocolType: "string",
        rules: [{
            conditions: {
                lhs: "string",
                op: "string",
                rhs: "string",
            },
            names: ["string"],
            type: "string",
        }],
        associatedInspectionProfileNames: [{
            ids: ["string"],
        }],
        actionValue: "string",
        version: "string",
    });
    
    type: zpa:InspectionCustomControls
    properties:
        action: string
        actionValue: string
        associatedInspectionProfileNames:
            - ids:
                - string
        controlNumber: string
        controlRuleJson: 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
        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:

    DefaultAction string
    The performed action
    Severity string
    Severity of the control number
    Type string
    Rules to be applied to the request or response type
    Action string
    The performed action
    ActionValue string
    AssociatedInspectionProfileNames List<Zscaler.Zpa.Inputs.InspectionCustomControlsAssociatedInspectionProfileName>
    Name of the inspection profile
    ControlNumber string
    ControlRuleJson string
    The control rule in JSON format that has the conditions and type of control for the inspection control
    ControlType string
    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
    DefaultAction string
    The performed action
    Severity string
    Severity of the control number
    Type string
    Rules to be applied to the request or response type
    Action string
    The performed action
    ActionValue string
    AssociatedInspectionProfileNames []InspectionCustomControlsAssociatedInspectionProfileNameArgs
    Name of the inspection profile
    ControlNumber string
    ControlRuleJson string
    The control rule in JSON format that has the conditions and type of control for the inspection control
    ControlType string
    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
    defaultAction String
    The performed action
    severity String
    Severity of the control number
    type String
    Rules to be applied to the request or response type
    action String
    The performed action
    actionValue String
    associatedInspectionProfileNames List<InspectionCustomControlsAssociatedInspectionProfileName>
    Name of the inspection profile
    controlNumber String
    controlRuleJson String
    The control rule in JSON format that has the conditions and type of control for the inspection control
    controlType String
    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
    defaultAction string
    The performed action
    severity string
    Severity of the control number
    type string
    Rules to be applied to the request or response type
    action string
    The performed action
    actionValue string
    associatedInspectionProfileNames InspectionCustomControlsAssociatedInspectionProfileName[]
    Name of the inspection profile
    controlNumber string
    controlRuleJson string
    The control rule in JSON format that has the conditions and type of control for the inspection control
    controlType string
    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
    default_action str
    The performed action
    severity str
    Severity of the control number
    type str
    Rules to be applied to the request or response type
    action str
    The performed action
    action_value str
    associated_inspection_profile_names Sequence[InspectionCustomControlsAssociatedInspectionProfileNameArgs]
    Name of the inspection profile
    control_number str
    control_rule_json str
    The control rule in JSON format that has the conditions and type of control for the inspection control
    control_type str
    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
    defaultAction String
    The performed action
    severity String
    Severity of the control number
    type String
    Rules to be applied to the request or response type
    action String
    The performed action
    actionValue String
    associatedInspectionProfileNames List<Property Map>
    Name of the inspection profile
    controlNumber String
    controlRuleJson String
    The control rule in JSON format that has the conditions and type of control for the inspection control
    controlType String
    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,
            action: Optional[str] = None,
            action_value: Optional[str] = None,
            associated_inspection_profile_names: Optional[Sequence[InspectionCustomControlsAssociatedInspectionProfileNameArgs]] = None,
            control_number: Optional[str] = None,
            control_rule_json: 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,
            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:
    Action string
    The performed action
    ActionValue string
    AssociatedInspectionProfileNames List<Zscaler.Zpa.Inputs.InspectionCustomControlsAssociatedInspectionProfileName>
    Name of the inspection profile
    ControlNumber string
    ControlRuleJson string
    The control rule in JSON format that has the conditions and type of control for the inspection control
    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
    Action string
    The performed action
    ActionValue string
    AssociatedInspectionProfileNames []InspectionCustomControlsAssociatedInspectionProfileNameArgs
    Name of the inspection profile
    ControlNumber string
    ControlRuleJson string
    The control rule in JSON format that has the conditions and type of control for the inspection control
    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
    action String
    The performed action
    actionValue String
    associatedInspectionProfileNames List<InspectionCustomControlsAssociatedInspectionProfileName>
    Name of the inspection profile
    controlNumber String
    controlRuleJson String
    The control rule in JSON format that has the conditions and type of control for the inspection control
    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
    action string
    The performed action
    actionValue string
    associatedInspectionProfileNames InspectionCustomControlsAssociatedInspectionProfileName[]
    Name of the inspection profile
    controlNumber string
    controlRuleJson string
    The control rule in JSON format that has the conditions and type of control for the inspection control
    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
    action str
    The performed action
    action_value str
    associated_inspection_profile_names Sequence[InspectionCustomControlsAssociatedInspectionProfileNameArgs]
    Name of the inspection profile
    control_number str
    control_rule_json str
    The control rule in JSON format that has the conditions and type of control for the inspection control
    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
    action String
    The performed action
    actionValue String
    associatedInspectionProfileNames List<Property Map>
    Name of the inspection profile
    controlNumber String
    controlRuleJson String
    The control rule in JSON format that has the conditions and type of control for the inspection control
    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

    InspectionCustomControlsAssociatedInspectionProfileName, InspectionCustomControlsAssociatedInspectionProfileNameArgs

    Ids List<string>
    Ids []string
    ids List<String>
    ids string[]
    ids Sequence[str]
    ids List<String>

    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.10 published on Tuesday, Apr 9, 2024 by Zscaler