Zscaler Private Access v0.0.11 published on Saturday, May 4, 2024 by Zscaler
zpa.InspectionCustomControls
Explore with Pulumi AI
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.
Constructor 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:
- Default
Action 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
- Action
Value string - Associated
Inspection List<Zscaler.Profile Names Zpa. Inputs. Inspection Custom Controls Associated Inspection Profile Name> - Name of the inspection profile
- Control
Number string - Control
Rule stringJson - The control rule in JSON format that has the conditions and type of control for the inspection control
- Control
Type string - Default
Action stringValue - 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
- Paranoia
Level string - OWASP Predefined Paranoia Level. Range: [1-4], inclusive
- Protocol
Type string - Rules
List<Zscaler.
Zpa. Inputs. Inspection Custom Controls Rule> - Rules of the custom controls applied as conditions (JSON)
- Version string
- Default
Action 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
- Action
Value string - Associated
Inspection []InspectionProfile Names Custom Controls Associated Inspection Profile Name Args - Name of the inspection profile
- Control
Number string - Control
Rule stringJson - The control rule in JSON format that has the conditions and type of control for the inspection control
- Control
Type string - Default
Action stringValue - 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
- Paranoia
Level string - OWASP Predefined Paranoia Level. Range: [1-4], inclusive
- Protocol
Type string - Rules
[]Inspection
Custom Controls Rule Args - Rules of the custom controls applied as conditions (JSON)
- Version string
- default
Action 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
- action
Value String - associated
Inspection List<InspectionProfile Names Custom Controls Associated Inspection Profile Name> - Name of the inspection profile
- control
Number String - control
Rule StringJson - The control rule in JSON format that has the conditions and type of control for the inspection control
- control
Type String - default
Action StringValue - 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
- paranoia
Level String - OWASP Predefined Paranoia Level. Range: [1-4], inclusive
- protocol
Type String - rules
List<Inspection
Custom Controls Rule> - Rules of the custom controls applied as conditions (JSON)
- version String
- default
Action 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
- action
Value string - associated
Inspection InspectionProfile Names Custom Controls Associated Inspection Profile Name[] - Name of the inspection profile
- control
Number string - control
Rule stringJson - The control rule in JSON format that has the conditions and type of control for the inspection control
- control
Type string - default
Action stringValue - 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
- paranoia
Level string - OWASP Predefined Paranoia Level. Range: [1-4], inclusive
- protocol
Type string - rules
Inspection
Custom Controls Rule[] - 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_ Sequence[Inspectionprofile_ names Custom Controls Associated Inspection Profile Name Args] - Name of the inspection profile
- control_
number str - control_
rule_ strjson - The control rule in JSON format that has the conditions and type of control for the inspection control
- control_
type str - default_
action_ strvalue - 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[Inspection
Custom Controls Rule Args] - Rules of the custom controls applied as conditions (JSON)
- version str
- default
Action 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
- action
Value String - associated
Inspection List<Property Map>Profile Names - Name of the inspection profile
- control
Number String - control
Rule StringJson - The control rule in JSON format that has the conditions and type of control for the inspection control
- control
Type String - default
Action StringValue - 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
- paranoia
Level String - OWASP Predefined Paranoia Level. Range: [1-4], inclusive
- protocol
Type 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.
- Action string
- The performed action
- Action
Value string - Associated
Inspection List<Zscaler.Profile Names Zpa. Inputs. Inspection Custom Controls Associated Inspection Profile Name> - Name of the inspection profile
- Control
Number string - Control
Rule stringJson - The control rule in JSON format that has the conditions and type of control for the inspection control
- Control
Type string - Default
Action string - The performed action
- Default
Action stringValue - 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
- Paranoia
Level string - OWASP Predefined Paranoia Level. Range: [1-4], inclusive
- Protocol
Type string - Rules
List<Zscaler.
Zpa. Inputs. Inspection Custom Controls Rule> - 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
- Action
Value string - Associated
Inspection []InspectionProfile Names Custom Controls Associated Inspection Profile Name Args - Name of the inspection profile
- Control
Number string - Control
Rule stringJson - The control rule in JSON format that has the conditions and type of control for the inspection control
- Control
Type string - Default
Action string - The performed action
- Default
Action stringValue - 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
- Paranoia
Level string - OWASP Predefined Paranoia Level. Range: [1-4], inclusive
- Protocol
Type string - Rules
[]Inspection
Custom Controls Rule Args - 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
- action
Value String - associated
Inspection List<InspectionProfile Names Custom Controls Associated Inspection Profile Name> - Name of the inspection profile
- control
Number String - control
Rule StringJson - The control rule in JSON format that has the conditions and type of control for the inspection control
- control
Type String - default
Action String - The performed action
- default
Action StringValue - 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
- paranoia
Level String - OWASP Predefined Paranoia Level. Range: [1-4], inclusive
- protocol
Type String - rules
List<Inspection
Custom Controls Rule> - 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
- action
Value string - associated
Inspection InspectionProfile Names Custom Controls Associated Inspection Profile Name[] - Name of the inspection profile
- control
Number string - control
Rule stringJson - The control rule in JSON format that has the conditions and type of control for the inspection control
- control
Type string - default
Action string - The performed action
- default
Action stringValue - 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
- paranoia
Level string - OWASP Predefined Paranoia Level. Range: [1-4], inclusive
- protocol
Type string - rules
Inspection
Custom Controls Rule[] - 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_ Sequence[Inspectionprofile_ names Custom Controls Associated Inspection Profile Name Args] - Name of the inspection profile
- control_
number str - control_
rule_ strjson - 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_ strvalue - 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[Inspection
Custom Controls Rule Args] - 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
- action
Value String - associated
Inspection List<Property Map>Profile Names - Name of the inspection profile
- control
Number String - control
Rule StringJson - The control rule in JSON format that has the conditions and type of control for the inspection control
- control
Type String - default
Action String - The performed action
- default
Action StringValue - 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
- paranoia
Level String - OWASP Predefined Paranoia Level. Range: [1-4], inclusive
- protocol
Type 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. Inspection Custom Controls Rule Conditions - 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
Inspection
Custom Controls Rule Conditions - 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
Inspection
Custom Controls Rule Conditions - 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
Inspection
Custom Controls Rule Conditions - 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
Inspection
Custom Controls Rule Conditions - 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
Package Details
- Repository
- zpa zscaler/pulumi-zpa
- License
- MIT
- Notes
- This Pulumi package is based on the
zpa
Terraform Provider.