Zscaler Private Access v0.0.12 published on Tuesday, Jul 30, 2024 by Zscaler
zpa.getInspectionAllPredefinedControls
Explore with Pulumi AI
Use the zpa_inspection_all_predefined_controls data source to get information about all OWASP predefined control and prefedined control version by group name. The Preprocessors predefined control is the default predefined control, This data source is always required, when creating an inspection profile.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as zpa from "@pulumi/zpa";
const this = zpa.getInspectionAllPredefinedControls({
    groupName: "Preprocessors",
    version: "OWASP_CRS/3.3.0",
});
import pulumi
import pulumi_zpa as zpa
this = zpa.get_inspection_all_predefined_controls(group_name="Preprocessors",
    version="OWASP_CRS/3.3.0")
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.GetInspectionAllPredefinedControls(ctx, &zpa.GetInspectionAllPredefinedControlsArgs{
			GroupName: pulumi.StringRef("Preprocessors"),
			Version:   pulumi.StringRef("OWASP_CRS/3.3.0"),
		}, 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 @this = Zpa.GetInspectionAllPredefinedControls.Invoke(new()
    {
        GroupName = "Preprocessors",
        Version = "OWASP_CRS/3.3.0",
    });
});
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.GetInspectionAllPredefinedControlsArgs;
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 this = ZpaFunctions.getInspectionAllPredefinedControls(GetInspectionAllPredefinedControlsArgs.builder()
            .groupName("Preprocessors")
            .version("OWASP_CRS/3.3.0")
            .build());
    }
}
variables:
  this:
    fn::invoke:
      Function: zpa:getInspectionAllPredefinedControls
      Arguments:
        groupName: Preprocessors
        version: OWASP_CRS/3.3.0
Using getInspectionAllPredefinedControls
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 getInspectionAllPredefinedControls(args: GetInspectionAllPredefinedControlsArgs, opts?: InvokeOptions): Promise<GetInspectionAllPredefinedControlsResult>
function getInspectionAllPredefinedControlsOutput(args: GetInspectionAllPredefinedControlsOutputArgs, opts?: InvokeOptions): Output<GetInspectionAllPredefinedControlsResult>def get_inspection_all_predefined_controls(group_name: Optional[str] = None,
                                           version: Optional[str] = None,
                                           opts: Optional[InvokeOptions] = None) -> GetInspectionAllPredefinedControlsResult
def get_inspection_all_predefined_controls_output(group_name: Optional[pulumi.Input[str]] = None,
                                           version: Optional[pulumi.Input[str]] = None,
                                           opts: Optional[InvokeOptions] = None) -> Output[GetInspectionAllPredefinedControlsResult]func GetInspectionAllPredefinedControls(ctx *Context, args *GetInspectionAllPredefinedControlsArgs, opts ...InvokeOption) (*GetInspectionAllPredefinedControlsResult, error)
func GetInspectionAllPredefinedControlsOutput(ctx *Context, args *GetInspectionAllPredefinedControlsOutputArgs, opts ...InvokeOption) GetInspectionAllPredefinedControlsResultOutput> Note: This function is named GetInspectionAllPredefinedControls in the Go SDK.
public static class GetInspectionAllPredefinedControls 
{
    public static Task<GetInspectionAllPredefinedControlsResult> InvokeAsync(GetInspectionAllPredefinedControlsArgs args, InvokeOptions? opts = null)
    public static Output<GetInspectionAllPredefinedControlsResult> Invoke(GetInspectionAllPredefinedControlsInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetInspectionAllPredefinedControlsResult> getInspectionAllPredefinedControls(GetInspectionAllPredefinedControlsArgs args, InvokeOptions options)
public static Output<GetInspectionAllPredefinedControlsResult> getInspectionAllPredefinedControls(GetInspectionAllPredefinedControlsArgs args, InvokeOptions options)
fn::invoke:
  function: zpa:index/getInspectionAllPredefinedControls:getInspectionAllPredefinedControls
  arguments:
    # arguments dictionaryThe following arguments are supported:
- group_name str
- version str
getInspectionAllPredefinedControls Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Lists
List<Zscaler.Zpa. Outputs. Get Inspection All Predefined Controls List> 
- GroupName string
- Version string
- Id string
- The provider-assigned unique ID for this managed resource.
- Lists
[]GetInspection All Predefined Controls List 
- GroupName string
- Version string
- id String
- The provider-assigned unique ID for this managed resource.
- lists
List<GetInspection All Predefined Controls List> 
- groupName String
- version String
- id string
- The provider-assigned unique ID for this managed resource.
- lists
GetInspection All Predefined Controls List[] 
- groupName string
- version string
- id str
- The provider-assigned unique ID for this managed resource.
- lists
Sequence[GetInspection All Predefined Controls List] 
- group_name str
- version str
- id String
- The provider-assigned unique ID for this managed resource.
- lists List<Property Map>
- groupName String
- version String
Supporting Types
GetInspectionAllPredefinedControlsList     
- Action string
- ActionValue string
- AssociatedInspection List<Zscaler.Profile Names Zpa. Inputs. Get Inspection All Predefined Controls List Associated Inspection Profile Name> 
- Attachment string
- ControlGroup string
- ControlNumber string
- ControlType string
- CreationTime string
- DefaultAction string
- DefaultAction stringValue 
- Description string
- Id string
- ModifiedTime string
- Modifiedby string
- Name string
- ParanoiaLevel string
- ProtocolType string
- Severity string
- Version string
- Action string
- ActionValue string
- AssociatedInspection []GetProfile Names Inspection All Predefined Controls List Associated Inspection Profile Name 
- Attachment string
- ControlGroup string
- ControlNumber string
- ControlType string
- CreationTime string
- DefaultAction string
- DefaultAction stringValue 
- Description string
- Id string
- ModifiedTime string
- Modifiedby string
- Name string
- ParanoiaLevel string
- ProtocolType string
- Severity string
- Version string
- action String
- actionValue String
- associatedInspection List<GetProfile Names Inspection All Predefined Controls List Associated Inspection Profile Name> 
- attachment String
- controlGroup String
- controlNumber String
- controlType String
- creationTime String
- defaultAction String
- defaultAction StringValue 
- description String
- id String
- modifiedTime String
- modifiedby String
- name String
- paranoiaLevel String
- protocolType String
- severity String
- version String
- action string
- actionValue string
- associatedInspection GetProfile Names Inspection All Predefined Controls List Associated Inspection Profile Name[] 
- attachment string
- controlGroup string
- controlNumber string
- controlType string
- creationTime string
- defaultAction string
- defaultAction stringValue 
- description string
- id string
- modifiedTime string
- modifiedby string
- name string
- paranoiaLevel string
- protocolType string
- severity string
- version string
- action str
- action_value str
- associated_inspection_ Sequence[Getprofile_ names Inspection All Predefined Controls List Associated Inspection Profile Name] 
- attachment str
- control_group str
- control_number str
- 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
- severity str
- version str
- action String
- actionValue String
- associatedInspection List<Property Map>Profile Names 
- attachment String
- controlGroup String
- controlNumber String
- controlType String
- creationTime String
- defaultAction String
- defaultAction StringValue 
- description String
- id String
- modifiedTime String
- modifiedby String
- name String
- paranoiaLevel String
- protocolType String
- severity String
- version String
GetInspectionAllPredefinedControlsListAssociatedInspectionProfileName         
Package Details
- Repository
- zpa zscaler/pulumi-zpa
- License
- MIT
- Notes
- This Pulumi package is based on the zpaTerraform Provider.
