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,
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=[{
"conditions": {
"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
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
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
- 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)
- Version string
- Severity string
- Severity of the control number
- Type string
- Rules to be applied to the request or response type
- 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)
- Version string
- severity String
- Severity of the control number
- type String
- Rules to be applied to the request or response type
- 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)
- version String
- severity string
- Severity of the control number
- type string
- Rules to be applied to the request or response type
- 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)
- 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_ 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
- severity String
- Severity of the control number
- type String
- Rules to be applied to the request or response type
- 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)
- 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.
- 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
- 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
- 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
- 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
- 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
- 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
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.