Zscaler Private Access v0.0.12 published on Tuesday, Jul 30, 2024 by Zscaler
zpa.getInspectionProfile
Explore with Pulumi AI
Use the zpa_inspection_profile data source to get information about an inspection profile in the Zscaler Private Access cloud. This resource can then be referenced in an inspection custom control resource.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as zpa from "@pulumi/zpa";
const this = zpa.getInspectionProfile({
    name: "Example",
});
import pulumi
import pulumi_zpa as zpa
this = zpa.get_inspection_profile(name="Example")
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.LookupInspectionProfile(ctx, &zpa.LookupInspectionProfileArgs{
			Name: pulumi.StringRef("Example"),
		}, 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.GetInspectionProfile.Invoke(new()
    {
        Name = "Example",
    });
});
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.GetInspectionProfileArgs;
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.getInspectionProfile(GetInspectionProfileArgs.builder()
            .name("Example")
            .build());
    }
}
variables:
  this:
    fn::invoke:
      Function: zpa:getInspectionProfile
      Arguments:
        name: Example
Using getInspectionProfile
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 getInspectionProfile(args: GetInspectionProfileArgs, opts?: InvokeOptions): Promise<GetInspectionProfileResult>
function getInspectionProfileOutput(args: GetInspectionProfileOutputArgs, opts?: InvokeOptions): Output<GetInspectionProfileResult>def get_inspection_profile(id: Optional[str] = None,
                           name: Optional[str] = None,
                           opts: Optional[InvokeOptions] = None) -> GetInspectionProfileResult
def get_inspection_profile_output(id: Optional[pulumi.Input[str]] = None,
                           name: Optional[pulumi.Input[str]] = None,
                           opts: Optional[InvokeOptions] = None) -> Output[GetInspectionProfileResult]func LookupInspectionProfile(ctx *Context, args *LookupInspectionProfileArgs, opts ...InvokeOption) (*LookupInspectionProfileResult, error)
func LookupInspectionProfileOutput(ctx *Context, args *LookupInspectionProfileOutputArgs, opts ...InvokeOption) LookupInspectionProfileResultOutput> Note: This function is named LookupInspectionProfile in the Go SDK.
public static class GetInspectionProfile 
{
    public static Task<GetInspectionProfileResult> InvokeAsync(GetInspectionProfileArgs args, InvokeOptions? opts = null)
    public static Output<GetInspectionProfileResult> Invoke(GetInspectionProfileInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetInspectionProfileResult> getInspectionProfile(GetInspectionProfileArgs args, InvokeOptions options)
public static Output<GetInspectionProfileResult> getInspectionProfile(GetInspectionProfileArgs args, InvokeOptions options)
fn::invoke:
  function: zpa:index/getInspectionProfile:getInspectionProfile
  arguments:
    # arguments dictionaryThe following arguments are supported:
getInspectionProfile Result
The following output properties are available:
- CommonGlobal Dictionary<string, string>Override Actions Config 
- ControlsInfos List<Zscaler.Zpa. Outputs. Get Inspection Profile Controls Info> 
- CreationTime string
- CustomControls List<Zscaler.Zpa. Outputs. Get Inspection Profile Custom Control> 
- Description string
- GlobalControl List<string>Actions 
- Id string
- IncarnationNumber string
- ModifiedBy string
- ModifiedTime string
- Name string
- (String) This field defines the name of the inspection profile.
 
- ParanoiaLevel string
- PredefinedControls List<Zscaler.Zpa. Outputs. Get Inspection Profile Predefined Control> 
- PredefinedControls stringVersion 
- WebSocket List<Zscaler.Controls Zpa. Outputs. Get Inspection Profile Web Socket Control> 
- CommonGlobal map[string]stringOverride Actions Config 
- ControlsInfos []GetInspection Profile Controls Info 
- CreationTime string
- CustomControls []GetInspection Profile Custom Control 
- Description string
- GlobalControl []stringActions 
- Id string
- IncarnationNumber string
- ModifiedBy string
- ModifiedTime string
- Name string
- (String) This field defines the name of the inspection profile.
 
- ParanoiaLevel string
- PredefinedControls []GetInspection Profile Predefined Control 
- PredefinedControls stringVersion 
- WebSocket []GetControls Inspection Profile Web Socket Control 
- commonGlobal Map<String,String>Override Actions Config 
- controlsInfos List<GetInspection Profile Controls Info> 
- creationTime String
- customControls List<GetInspection Profile Custom Control> 
- description String
- globalControl List<String>Actions 
- id String
- incarnationNumber String
- modifiedBy String
- modifiedTime String
- name String
- (String) This field defines the name of the inspection profile.
 
- paranoiaLevel String
- predefinedControls List<GetInspection Profile Predefined Control> 
- predefinedControls StringVersion 
- webSocket List<GetControls Inspection Profile Web Socket Control> 
- commonGlobal {[key: string]: string}Override Actions Config 
- controlsInfos GetInspection Profile Controls Info[] 
- creationTime string
- customControls GetInspection Profile Custom Control[] 
- description string
- globalControl string[]Actions 
- id string
- incarnationNumber string
- modifiedBy string
- modifiedTime string
- name string
- (String) This field defines the name of the inspection profile.
 
- paranoiaLevel string
- predefinedControls GetInspection Profile Predefined Control[] 
- predefinedControls stringVersion 
- webSocket GetControls Inspection Profile Web Socket Control[] 
- common_global_ Mapping[str, str]override_ actions_ config 
- controls_infos Sequence[GetInspection Profile Controls Info] 
- creation_time str
- custom_controls Sequence[GetInspection Profile Custom Control] 
- description str
- global_control_ Sequence[str]actions 
- id str
- incarnation_number str
- modified_by str
- modified_time str
- name str
- (String) This field defines the name of the inspection profile.
 
- paranoia_level str
- predefined_controls Sequence[GetInspection Profile Predefined Control] 
- predefined_controls_ strversion 
- web_socket_ Sequence[Getcontrols Inspection Profile Web Socket Control] 
- commonGlobal Map<String>Override Actions Config 
- controlsInfos List<Property Map>
- creationTime String
- customControls List<Property Map>
- description String
- globalControl List<String>Actions 
- id String
- incarnationNumber String
- modifiedBy String
- modifiedTime String
- name String
- (String) This field defines the name of the inspection profile.
 
- paranoiaLevel String
- predefinedControls List<Property Map>
- predefinedControls StringVersion 
- webSocket List<Property Map>Controls 
Supporting Types
GetInspectionProfileControlsInfo    
- ControlType string
- Count string
- ControlType string
- Count string
- controlType String
- count String
- controlType string
- count string
- control_type str
- count str
- controlType String
- count String
GetInspectionProfileCustomControl    
- Action string
- ActionValue string
- AssociatedInspection List<Zscaler.Profile Names Zpa. Inputs. Get Inspection Profile Custom Control Associated Inspection Profile Name> 
- ControlNumber string
- ControlRule stringJson 
- CreationTime string
- DefaultAction string
- DefaultAction stringValue 
- Description string
- Id string
- ModifiedBy string
- ModifiedTime string
- Name string
- (String) This field defines the name of the inspection profile.
 
- ParanoiaLevel string
- Rules
List<Zscaler.Zpa. Inputs. Get Inspection Profile Custom Control Rule> 
- Severity string
- Type string
- Version string
- Action string
- ActionValue string
- AssociatedInspection []GetProfile Names Inspection Profile Custom Control Associated Inspection Profile Name 
- ControlNumber string
- ControlRule stringJson 
- CreationTime string
- DefaultAction string
- DefaultAction stringValue 
- Description string
- Id string
- ModifiedBy string
- ModifiedTime string
- Name string
- (String) This field defines the name of the inspection profile.
 
- ParanoiaLevel string
- Rules
[]GetInspection Profile Custom Control Rule 
- Severity string
- Type string
- Version string
- action String
- actionValue String
- associatedInspection List<GetProfile Names Inspection Profile Custom Control Associated Inspection Profile Name> 
- controlNumber String
- controlRule StringJson 
- creationTime String
- defaultAction String
- defaultAction StringValue 
- description String
- id String
- modifiedBy String
- modifiedTime String
- name String
- (String) This field defines the name of the inspection profile.
 
- paranoiaLevel String
- rules
List<GetInspection Profile Custom Control Rule> 
- severity String
- type String
- version String
- action string
- actionValue string
- associatedInspection GetProfile Names Inspection Profile Custom Control Associated Inspection Profile Name[] 
- controlNumber string
- controlRule stringJson 
- creationTime string
- defaultAction string
- defaultAction stringValue 
- description string
- id string
- modifiedBy string
- modifiedTime string
- name string
- (String) This field defines the name of the inspection profile.
 
- paranoiaLevel string
- rules
GetInspection Profile Custom Control Rule[] 
- severity string
- type string
- version string
- action str
- action_value str
- associated_inspection_ Sequence[Getprofile_ names Inspection Profile Custom Control Associated Inspection Profile Name] 
- control_number str
- control_rule_ strjson 
- creation_time str
- default_action str
- default_action_ strvalue 
- description str
- id str
- modified_by str
- modified_time str
- name str
- (String) This field defines the name of the inspection profile.
 
- paranoia_level str
- rules
Sequence[GetInspection Profile Custom Control Rule] 
- severity str
- type str
- version str
- action String
- actionValue String
- associatedInspection List<Property Map>Profile Names 
- controlNumber String
- controlRule StringJson 
- creationTime String
- defaultAction String
- defaultAction StringValue 
- description String
- id String
- modifiedBy String
- modifiedTime String
- name String
- (String) This field defines the name of the inspection profile.
 
- paranoiaLevel String
- rules List<Property Map>
- severity String
- type String
- version String
GetInspectionProfileCustomControlAssociatedInspectionProfileName        
GetInspectionProfileCustomControlRule     
- conditions List<Property Map>
- names String
- type String
GetInspectionProfileCustomControlRuleCondition      
GetInspectionProfilePredefinedControl    
- Action string
- ActionValue string
- AssociatedInspection List<Zscaler.Profile Names Zpa. Inputs. Get Inspection Profile Predefined Control Associated Inspection Profile Name> 
- Attachment string
- ControlGroup string
- ControlNumber string
- ControlType string
- CreationTime string
- DefaultAction string
- DefaultAction stringValue 
- Description string
- Id string
- ModifiedBy string
- ModifiedTime string
- Name string
- (String) This field defines the name of the inspection profile.
 
- ParanoiaLevel string
- Severity string
- Version string
- Action string
- ActionValue string
- AssociatedInspection []GetProfile Names Inspection Profile Predefined Control Associated Inspection Profile Name 
- Attachment string
- ControlGroup string
- ControlNumber string
- ControlType string
- CreationTime string
- DefaultAction string
- DefaultAction stringValue 
- Description string
- Id string
- ModifiedBy string
- ModifiedTime string
- Name string
- (String) This field defines the name of the inspection profile.
 
- ParanoiaLevel string
- Severity string
- Version string
- action String
- actionValue String
- associatedInspection List<GetProfile Names Inspection Profile Predefined Control Associated Inspection Profile Name> 
- attachment String
- controlGroup String
- controlNumber String
- controlType String
- creationTime String
- defaultAction String
- defaultAction StringValue 
- description String
- id String
- modifiedBy String
- modifiedTime String
- name String
- (String) This field defines the name of the inspection profile.
 
- paranoiaLevel String
- severity String
- version String
- action string
- actionValue string
- associatedInspection GetProfile Names Inspection Profile Predefined Control Associated Inspection Profile Name[] 
- attachment string
- controlGroup string
- controlNumber string
- controlType string
- creationTime string
- defaultAction string
- defaultAction stringValue 
- description string
- id string
- modifiedBy string
- modifiedTime string
- name string
- (String) This field defines the name of the inspection profile.
 
- paranoiaLevel string
- severity string
- version string
- action str
- action_value str
- associated_inspection_ Sequence[Getprofile_ names Inspection Profile Predefined Control 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_by str
- modified_time str
- name str
- (String) This field defines the name of the inspection profile.
 
- paranoia_level 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
- modifiedBy String
- modifiedTime String
- name String
- (String) This field defines the name of the inspection profile.
 
- paranoiaLevel String
- severity String
- version String
GetInspectionProfilePredefinedControlAssociatedInspectionProfileName        
GetInspectionProfileWebSocketControl     
- Action string
- ActionValue string
- AssociatedInspection List<Zscaler.Profile Names Zpa. Inputs. Get Inspection Profile Web Socket Control Associated Inspection Profile Name> 
- Attachment string
- ControlGroup string
- ControlNumber string
- ControlType string
- CreationTime string
- DefaultAction string
- DefaultAction stringValue 
- Description string
- Id string
- ModifiedBy string
- ModifiedTime string
- Name string
- (String) This field defines the name of the inspection profile.
 
- ParanoiaLevel string
- ProtocolType string
- Severity string
- Version string
- Action string
- ActionValue string
- AssociatedInspection []GetProfile Names Inspection Profile Web Socket Control Associated Inspection Profile Name 
- Attachment string
- ControlGroup string
- ControlNumber string
- ControlType string
- CreationTime string
- DefaultAction string
- DefaultAction stringValue 
- Description string
- Id string
- ModifiedBy string
- ModifiedTime string
- Name string
- (String) This field defines the name of the inspection profile.
 
- ParanoiaLevel string
- ProtocolType string
- Severity string
- Version string
- action String
- actionValue String
- associatedInspection List<GetProfile Names Inspection Profile Web Socket Control Associated Inspection Profile Name> 
- attachment String
- controlGroup String
- controlNumber String
- controlType String
- creationTime String
- defaultAction String
- defaultAction StringValue 
- description String
- id String
- modifiedBy String
- modifiedTime String
- name String
- (String) This field defines the name of the inspection profile.
 
- paranoiaLevel String
- protocolType String
- severity String
- version String
- action string
- actionValue string
- associatedInspection GetProfile Names Inspection Profile Web Socket Control Associated Inspection Profile Name[] 
- attachment string
- controlGroup string
- controlNumber string
- controlType string
- creationTime string
- defaultAction string
- defaultAction stringValue 
- description string
- id string
- modifiedBy string
- modifiedTime string
- name string
- (String) This field defines the name of the inspection profile.
 
- paranoiaLevel string
- protocolType string
- severity string
- version string
- action str
- action_value str
- associated_inspection_ Sequence[Getprofile_ names Inspection Profile Web Socket Control 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_by str
- modified_time str
- name str
- (String) This field defines the name of the inspection profile.
 
- 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
- modifiedBy String
- modifiedTime String
- name String
- (String) This field defines the name of the inspection profile.
 
- paranoiaLevel String
- protocolType String
- severity String
- version String
GetInspectionProfileWebSocketControlAssociatedInspectionProfileName         
Package Details
- Repository
- zpa zscaler/pulumi-zpa
- License
- MIT
- Notes
- This Pulumi package is based on the zpaTerraform Provider.
