zpa.InspectionCustomControls
Explore with Pulumi AI
The zpa_inspection_custom_controls resource creates an inspection custom control. This resource can then be referenced in an inspection profile resource.
Example - Inspection Custom Control - PASS Action
import * as pulumi from "@pulumi/pulumi";
import * as zpa from "@bdzscaler/pulumi-zpa";
const _this = new zpa.InspectionCustomControls("this", {
defaultAction: "PASS",
description: "Example",
paranoiaLevel: "1",
rules: [
{
conditions: [{
lhs: "SIZE",
op: "GE",
rhs: "1000",
}],
names: ["this"],
type: "RESPONSE_HEADERS",
},
{
conditions: [{
lhs: "SIZE",
op: "GE",
rhs: "1000",
}],
type: "RESPONSE_BODY",
},
],
severity: "CRITICAL",
type: "RESPONSE",
});
import pulumi
import zscaler_pulumi_zpa as zpa
this = zpa.InspectionCustomControls("this",
default_action="PASS",
description="Example",
paranoia_level="1",
rules=[
{
"conditions": [{
"lhs": "SIZE",
"op": "GE",
"rhs": "1000",
}],
"names": ["this"],
"type": "RESPONSE_HEADERS",
},
{
"conditions": [{
"lhs": "SIZE",
"op": "GE",
"rhs": "1000",
}],
"type": "RESPONSE_BODY",
},
],
severity="CRITICAL",
type="RESPONSE")
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/zscaler/pulumi-zpa/sdk/go/zpa"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := zpa.NewInspectionCustomControls(ctx, "this", &zpa.InspectionCustomControlsArgs{
DefaultAction: pulumi.String("PASS"),
Description: pulumi.String("Example"),
ParanoiaLevel: pulumi.String("1"),
Rules: zpa.InspectionCustomControlsRuleArray{
&zpa.InspectionCustomControlsRuleArgs{
Conditions: zpa.InspectionCustomControlsRuleConditionArray{
&zpa.InspectionCustomControlsRuleConditionArgs{
Lhs: pulumi.String("SIZE"),
Op: pulumi.String("GE"),
Rhs: pulumi.String("1000"),
},
},
Names: pulumi.StringArray{
pulumi.String("this"),
},
Type: pulumi.String("RESPONSE_HEADERS"),
},
&zpa.InspectionCustomControlsRuleArgs{
Conditions: zpa.InspectionCustomControlsRuleConditionArray{
&zpa.InspectionCustomControlsRuleConditionArgs{
Lhs: pulumi.String("SIZE"),
Op: pulumi.String("GE"),
Rhs: pulumi.String("1000"),
},
},
Type: pulumi.String("RESPONSE_BODY"),
},
},
Severity: pulumi.String("CRITICAL"),
Type: pulumi.String("RESPONSE"),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Zpa = zscaler.PulumiPackage.Zpa;
return await Deployment.RunAsync(() =>
{
var @this = new Zpa.InspectionCustomControls("this", new()
{
DefaultAction = "PASS",
Description = "Example",
ParanoiaLevel = "1",
Rules = new[]
{
new Zpa.Inputs.InspectionCustomControlsRuleArgs
{
Conditions = new[]
{
new Zpa.Inputs.InspectionCustomControlsRuleConditionArgs
{
Lhs = "SIZE",
Op = "GE",
Rhs = "1000",
},
},
Names = new[]
{
"this",
},
Type = "RESPONSE_HEADERS",
},
new Zpa.Inputs.InspectionCustomControlsRuleArgs
{
Conditions = new[]
{
new Zpa.Inputs.InspectionCustomControlsRuleConditionArgs
{
Lhs = "SIZE",
Op = "GE",
Rhs = "1000",
},
},
Type = "RESPONSE_BODY",
},
},
Severity = "CRITICAL",
Type = "RESPONSE",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.zpa.InspectionCustomControls;
import com.pulumi.zpa.InspectionCustomControlsArgs;
import com.pulumi.zpa.inputs.InspectionCustomControlsRuleArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var this_ = new InspectionCustomControls("this", InspectionCustomControlsArgs.builder()
.defaultAction("PASS")
.description("Example")
.paranoiaLevel("1")
.rules(
InspectionCustomControlsRuleArgs.builder()
.conditions(InspectionCustomControlsRuleConditionArgs.builder()
.lhs("SIZE")
.op("GE")
.rhs("1000")
.build())
.names("this")
.type("RESPONSE_HEADERS")
.build(),
InspectionCustomControlsRuleArgs.builder()
.conditions(InspectionCustomControlsRuleConditionArgs.builder()
.lhs("SIZE")
.op("GE")
.rhs("1000")
.build())
.type("RESPONSE_BODY")
.build())
.severity("CRITICAL")
.type("RESPONSE")
.build());
}
}
resources:
this:
type: zpa:InspectionCustomControls
properties:
defaultAction: PASS
description: Example
paranoiaLevel: '1'
rules:
- conditions:
- lhs: SIZE
op: GE
rhs: '1000'
names:
- this
type: RESPONSE_HEADERS
- conditions:
- lhs: SIZE
op: GE
rhs: '1000'
type: RESPONSE_BODY
severity: CRITICAL
type: RESPONSE
Example - Inspection Custom Control - BLOCK Action
import * as pulumi from "@pulumi/pulumi";
import * as zpa from "@bdzscaler/pulumi-zpa";
const _this = new zpa.InspectionCustomControls("this", {
defaultAction: "BLOCK",
description: "Example",
paranoiaLevel: "1",
rules: [
{
conditions: [{
lhs: "SIZE",
op: "GE",
rhs: "1000",
}],
names: ["this"],
type: "RESPONSE_HEADERS",
},
{
conditions: [{
lhs: "SIZE",
op: "GE",
rhs: "1000",
}],
type: "RESPONSE_BODY",
},
],
severity: "CRITICAL",
type: "RESPONSE",
});
import pulumi
import zscaler_pulumi_zpa as zpa
this = zpa.InspectionCustomControls("this",
default_action="BLOCK",
description="Example",
paranoia_level="1",
rules=[
{
"conditions": [{
"lhs": "SIZE",
"op": "GE",
"rhs": "1000",
}],
"names": ["this"],
"type": "RESPONSE_HEADERS",
},
{
"conditions": [{
"lhs": "SIZE",
"op": "GE",
"rhs": "1000",
}],
"type": "RESPONSE_BODY",
},
],
severity="CRITICAL",
type="RESPONSE")
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/zscaler/pulumi-zpa/sdk/go/zpa"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := zpa.NewInspectionCustomControls(ctx, "this", &zpa.InspectionCustomControlsArgs{
DefaultAction: pulumi.String("BLOCK"),
Description: pulumi.String("Example"),
ParanoiaLevel: pulumi.String("1"),
Rules: zpa.InspectionCustomControlsRuleArray{
&zpa.InspectionCustomControlsRuleArgs{
Conditions: zpa.InspectionCustomControlsRuleConditionArray{
&zpa.InspectionCustomControlsRuleConditionArgs{
Lhs: pulumi.String("SIZE"),
Op: pulumi.String("GE"),
Rhs: pulumi.String("1000"),
},
},
Names: pulumi.StringArray{
pulumi.String("this"),
},
Type: pulumi.String("RESPONSE_HEADERS"),
},
&zpa.InspectionCustomControlsRuleArgs{
Conditions: zpa.InspectionCustomControlsRuleConditionArray{
&zpa.InspectionCustomControlsRuleConditionArgs{
Lhs: pulumi.String("SIZE"),
Op: pulumi.String("GE"),
Rhs: pulumi.String("1000"),
},
},
Type: pulumi.String("RESPONSE_BODY"),
},
},
Severity: pulumi.String("CRITICAL"),
Type: pulumi.String("RESPONSE"),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Zpa = zscaler.PulumiPackage.Zpa;
return await Deployment.RunAsync(() =>
{
var @this = new Zpa.InspectionCustomControls("this", new()
{
DefaultAction = "BLOCK",
Description = "Example",
ParanoiaLevel = "1",
Rules = new[]
{
new Zpa.Inputs.InspectionCustomControlsRuleArgs
{
Conditions = new[]
{
new Zpa.Inputs.InspectionCustomControlsRuleConditionArgs
{
Lhs = "SIZE",
Op = "GE",
Rhs = "1000",
},
},
Names = new[]
{
"this",
},
Type = "RESPONSE_HEADERS",
},
new Zpa.Inputs.InspectionCustomControlsRuleArgs
{
Conditions = new[]
{
new Zpa.Inputs.InspectionCustomControlsRuleConditionArgs
{
Lhs = "SIZE",
Op = "GE",
Rhs = "1000",
},
},
Type = "RESPONSE_BODY",
},
},
Severity = "CRITICAL",
Type = "RESPONSE",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.zpa.InspectionCustomControls;
import com.pulumi.zpa.InspectionCustomControlsArgs;
import com.pulumi.zpa.inputs.InspectionCustomControlsRuleArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var this_ = new InspectionCustomControls("this", InspectionCustomControlsArgs.builder()
.defaultAction("BLOCK")
.description("Example")
.paranoiaLevel("1")
.rules(
InspectionCustomControlsRuleArgs.builder()
.conditions(InspectionCustomControlsRuleConditionArgs.builder()
.lhs("SIZE")
.op("GE")
.rhs("1000")
.build())
.names("this")
.type("RESPONSE_HEADERS")
.build(),
InspectionCustomControlsRuleArgs.builder()
.conditions(InspectionCustomControlsRuleConditionArgs.builder()
.lhs("SIZE")
.op("GE")
.rhs("1000")
.build())
.type("RESPONSE_BODY")
.build())
.severity("CRITICAL")
.type("RESPONSE")
.build());
}
}
resources:
this:
type: zpa:InspectionCustomControls
properties:
defaultAction: BLOCK
description: Example
paranoiaLevel: '1'
rules:
- conditions:
- lhs: SIZE
op: GE
rhs: '1000'
names:
- this
type: RESPONSE_HEADERS
- conditions:
- lhs: SIZE
op: GE
rhs: '1000'
type: RESPONSE_BODY
severity: CRITICAL
type: RESPONSE
Example - Inspection Custom Control - REDIRECT Action
import * as pulumi from "@pulumi/pulumi";
import * as zpa from "@bdzscaler/pulumi-zpa";
const _this = new zpa.InspectionCustomControls("this", {
defaultAction: "REDIRECT",
defaultActionValue: "https://test.com",
description: "Example",
paranoiaLevel: "1",
rules: [
{
conditions: [{
lhs: "SIZE",
op: "GE",
rhs: "1000",
}],
names: ["this"],
type: "RESPONSE_HEADERS",
},
{
conditions: [{
lhs: "SIZE",
op: "GE",
rhs: "1000",
}],
type: "RESPONSE_BODY",
},
],
severity: "CRITICAL",
type: "RESPONSE",
});
import pulumi
import zscaler_pulumi_zpa as zpa
this = zpa.InspectionCustomControls("this",
default_action="REDIRECT",
default_action_value="https://test.com",
description="Example",
paranoia_level="1",
rules=[
{
"conditions": [{
"lhs": "SIZE",
"op": "GE",
"rhs": "1000",
}],
"names": ["this"],
"type": "RESPONSE_HEADERS",
},
{
"conditions": [{
"lhs": "SIZE",
"op": "GE",
"rhs": "1000",
}],
"type": "RESPONSE_BODY",
},
],
severity="CRITICAL",
type="RESPONSE")
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/zscaler/pulumi-zpa/sdk/go/zpa"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := zpa.NewInspectionCustomControls(ctx, "this", &zpa.InspectionCustomControlsArgs{
DefaultAction: pulumi.String("REDIRECT"),
DefaultActionValue: pulumi.String("https://test.com"),
Description: pulumi.String("Example"),
ParanoiaLevel: pulumi.String("1"),
Rules: zpa.InspectionCustomControlsRuleArray{
&zpa.InspectionCustomControlsRuleArgs{
Conditions: zpa.InspectionCustomControlsRuleConditionArray{
&zpa.InspectionCustomControlsRuleConditionArgs{
Lhs: pulumi.String("SIZE"),
Op: pulumi.String("GE"),
Rhs: pulumi.String("1000"),
},
},
Names: pulumi.StringArray{
pulumi.String("this"),
},
Type: pulumi.String("RESPONSE_HEADERS"),
},
&zpa.InspectionCustomControlsRuleArgs{
Conditions: zpa.InspectionCustomControlsRuleConditionArray{
&zpa.InspectionCustomControlsRuleConditionArgs{
Lhs: pulumi.String("SIZE"),
Op: pulumi.String("GE"),
Rhs: pulumi.String("1000"),
},
},
Type: pulumi.String("RESPONSE_BODY"),
},
},
Severity: pulumi.String("CRITICAL"),
Type: pulumi.String("RESPONSE"),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Zpa = zscaler.PulumiPackage.Zpa;
return await Deployment.RunAsync(() =>
{
var @this = new Zpa.InspectionCustomControls("this", new()
{
DefaultAction = "REDIRECT",
DefaultActionValue = "https://test.com",
Description = "Example",
ParanoiaLevel = "1",
Rules = new[]
{
new Zpa.Inputs.InspectionCustomControlsRuleArgs
{
Conditions = new[]
{
new Zpa.Inputs.InspectionCustomControlsRuleConditionArgs
{
Lhs = "SIZE",
Op = "GE",
Rhs = "1000",
},
},
Names = new[]
{
"this",
},
Type = "RESPONSE_HEADERS",
},
new Zpa.Inputs.InspectionCustomControlsRuleArgs
{
Conditions = new[]
{
new Zpa.Inputs.InspectionCustomControlsRuleConditionArgs
{
Lhs = "SIZE",
Op = "GE",
Rhs = "1000",
},
},
Type = "RESPONSE_BODY",
},
},
Severity = "CRITICAL",
Type = "RESPONSE",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.zpa.InspectionCustomControls;
import com.pulumi.zpa.InspectionCustomControlsArgs;
import com.pulumi.zpa.inputs.InspectionCustomControlsRuleArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var this_ = new InspectionCustomControls("this", InspectionCustomControlsArgs.builder()
.defaultAction("REDIRECT")
.defaultActionValue("https://test.com")
.description("Example")
.paranoiaLevel("1")
.rules(
InspectionCustomControlsRuleArgs.builder()
.conditions(InspectionCustomControlsRuleConditionArgs.builder()
.lhs("SIZE")
.op("GE")
.rhs("1000")
.build())
.names("this")
.type("RESPONSE_HEADERS")
.build(),
InspectionCustomControlsRuleArgs.builder()
.conditions(InspectionCustomControlsRuleConditionArgs.builder()
.lhs("SIZE")
.op("GE")
.rhs("1000")
.build())
.type("RESPONSE_BODY")
.build())
.severity("CRITICAL")
.type("RESPONSE")
.build());
}
}
resources:
this:
type: zpa:InspectionCustomControls
properties:
defaultAction: REDIRECT
defaultActionValue: https://test.com
description: Example
paranoiaLevel: '1'
rules:
- conditions:
- lhs: SIZE
op: GE
rhs: '1000'
names:
- this
type: RESPONSE_HEADERS
- conditions:
- lhs: SIZE
op: GE
rhs: '1000'
type: RESPONSE_BODY
severity: CRITICAL
type: RESPONSE
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[]
{
new Zpa.Inputs.InspectionCustomControlsRuleConditionArgs
{
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.InspectionCustomControlsRuleConditionArray{
&zpa.InspectionCustomControlsRuleConditionArgs{
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(InspectionCustomControlsRuleConditionArgs.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.
Pulumi Package. 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)
resources: _: type: zpa:InspectionCustomControls get: id: ${id}
- 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.
Pulumi Package. 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
List<zscaler.
Pulumi Package. Zpa. Inputs. Inspection Custom Controls Rule Condition> - 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 Condition - 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
List<Inspection
Custom Controls Rule Condition> - 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 Condition[] - 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
Sequence[Inspection
Custom Controls Rule Condition] - 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 List<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.
InspectionCustomControlsRuleCondition, InspectionCustomControlsRuleConditionArgs
Import
Zscaler offers a dedicated tool called Zscaler-Terraformer to allow the automated import of ZPA configurations into Terraform-compliant HashiCorp Configuration Language.
Visit
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- zpa zscaler/pulumi-zpa
- License
- MIT
- Notes
- This Pulumi package is based on the
zpa
Terraform Provider.