Zscaler Private Access v1.0.2 published on Friday, Jun 20, 2025 by Zscaler
zpa.getInspectionCustomControls
Explore with Pulumi AI
Use the zpa_inspection_custom_controls data source to get information about an inspection custom control. This data source can be associated with an inspection profile.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as zpa from "@bdzscaler/pulumi-zpa";
const example = zpa.getInspectionCustomControls({
name: "ZPA_Inspection_Custom_Control",
});
import pulumi
import pulumi_zpa as zpa
example = zpa.get_inspection_custom_controls(name="ZPA_Inspection_Custom_Control")
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.LookupInspectionCustomControls(ctx, &zpa.LookupInspectionCustomControlsArgs{
Name: pulumi.StringRef("ZPA_Inspection_Custom_Control"),
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Zpa = Pulumi.Zpa;
return await Deployment.RunAsync(() =>
{
var example = Zpa.GetInspectionCustomControls.Invoke(new()
{
Name = "ZPA_Inspection_Custom_Control",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.zpa.ZpaFunctions;
import com.pulumi.zpa.inputs.GetInspectionCustomControlsArgs;
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) {
final var example = ZpaFunctions.getInspectionCustomControls(GetInspectionCustomControlsArgs.builder()
.name("ZPA_Inspection_Custom_Control")
.build());
}
}
variables:
example:
fn::invoke:
function: zpa:getInspectionCustomControls
arguments:
name: ZPA_Inspection_Custom_Control
import * as pulumi from "@pulumi/pulumi";
import * as zpa from "@bdzscaler/pulumi-zpa";
const example = zpa.getInspectionCustomControls({
id: "1234567890",
});
import pulumi
import pulumi_zpa as zpa
example = zpa.get_inspection_custom_controls(id="1234567890")
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.LookupInspectionCustomControls(ctx, &zpa.LookupInspectionCustomControlsArgs{
Id: pulumi.StringRef("1234567890"),
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Zpa = Pulumi.Zpa;
return await Deployment.RunAsync(() =>
{
var example = Zpa.GetInspectionCustomControls.Invoke(new()
{
Id = "1234567890",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.zpa.ZpaFunctions;
import com.pulumi.zpa.inputs.GetInspectionCustomControlsArgs;
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) {
final var example = ZpaFunctions.getInspectionCustomControls(GetInspectionCustomControlsArgs.builder()
.id("1234567890")
.build());
}
}
variables:
example:
fn::invoke:
function: zpa:getInspectionCustomControls
arguments:
id: '1234567890'
Using getInspectionCustomControls
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getInspectionCustomControls(args: GetInspectionCustomControlsArgs, opts?: InvokeOptions): Promise<GetInspectionCustomControlsResult>
function getInspectionCustomControlsOutput(args: GetInspectionCustomControlsOutputArgs, opts?: InvokeOptions): Output<GetInspectionCustomControlsResult>
def get_inspection_custom_controls(id: Optional[str] = None,
name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetInspectionCustomControlsResult
def get_inspection_custom_controls_output(id: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetInspectionCustomControlsResult]
func LookupInspectionCustomControls(ctx *Context, args *LookupInspectionCustomControlsArgs, opts ...InvokeOption) (*LookupInspectionCustomControlsResult, error)
func LookupInspectionCustomControlsOutput(ctx *Context, args *LookupInspectionCustomControlsOutputArgs, opts ...InvokeOption) LookupInspectionCustomControlsResultOutput
> Note: This function is named LookupInspectionCustomControls
in the Go SDK.
public static class GetInspectionCustomControls
{
public static Task<GetInspectionCustomControlsResult> InvokeAsync(GetInspectionCustomControlsArgs args, InvokeOptions? opts = null)
public static Output<GetInspectionCustomControlsResult> Invoke(GetInspectionCustomControlsInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetInspectionCustomControlsResult> getInspectionCustomControls(GetInspectionCustomControlsArgs args, InvokeOptions options)
public static Output<GetInspectionCustomControlsResult> getInspectionCustomControls(GetInspectionCustomControlsArgs args, InvokeOptions options)
fn::invoke:
function: zpa:index/getInspectionCustomControls:getInspectionCustomControls
arguments:
# arguments dictionary
The following arguments are supported:
getInspectionCustomControls Result
The following output properties are available:
- Action string
- Action
Value string - Control
Number string - Control
Rule stringJson - Control
Type string - Creation
Time string - Default
Action string - Default
Action stringValue - Description string
- Id string
- Modified
Time string - Modifiedby string
- Name string
- Paranoia
Level string - Protocol
Type string - Rules
List<zscaler.
Pulumi Package. Zpa. Outputs. Get Inspection Custom Controls Rule> - Severity string
- Type string
- Version string
- Action string
- Action
Value string - Control
Number string - Control
Rule stringJson - Control
Type string - Creation
Time string - Default
Action string - Default
Action stringValue - Description string
- Id string
- Modified
Time string - Modifiedby string
- Name string
- Paranoia
Level string - Protocol
Type string - Rules
[]Get
Inspection Custom Controls Rule - Severity string
- Type string
- Version string
- action String
- action
Value String - control
Number String - control
Rule StringJson - control
Type String - creation
Time String - default
Action String - default
Action StringValue - description String
- id String
- modified
Time String - modifiedby String
- name String
- paranoia
Level String - protocol
Type String - rules
List<Get
Inspection Custom Controls Rule> - severity String
- type String
- version String
- action string
- action
Value string - control
Number string - control
Rule stringJson - control
Type string - creation
Time string - default
Action string - default
Action stringValue - description string
- id string
- modified
Time string - modifiedby string
- name string
- paranoia
Level string - protocol
Type string - rules
Get
Inspection Custom Controls Rule[] - severity string
- type string
- version string
- action str
- action_
value str - control_
number str - control_
rule_ strjson - control_
type str - creation_
time str - default_
action str - default_
action_ strvalue - description str
- id str
- modified_
time str - modifiedby str
- name str
- paranoia_
level str - protocol_
type str - rules
Sequence[Get
Inspection Custom Controls Rule] - severity str
- type str
- version str
- action String
- action
Value String - control
Number String - control
Rule StringJson - control
Type String - creation
Time String - default
Action String - default
Action StringValue - description String
- id String
- modified
Time String - modifiedby String
- name String
- paranoia
Level String - protocol
Type String - rules List<Property Map>
- severity String
- type String
- version String
Supporting Types
GetInspectionCustomControlsRule
- Conditions
List<zscaler.
Pulumi Package. Zpa. Inputs. Get 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
- Conditions
[]Get
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
- conditions
List<Get
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
- conditions
Get
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
- conditions
Sequence[Get
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
- 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
GetInspectionCustomControlsRuleCondition
Package Details
- Repository
- zpa zscaler/pulumi-zpa
- License
- MIT
- Notes
- This Pulumi package is based on the
zpa
Terraform Provider.