1. Packages
  2. Zscaler Private Access (ZPA)
  3. API Docs
  4. PolicyAccessInspectionRuleV2
Zscaler Private Access v0.0.10 published on Tuesday, Apr 9, 2024 by Zscaler

zpa.PolicyAccessInspectionRuleV2

Explore with Pulumi AI

zpa logo
Zscaler Private Access v0.0.10 published on Tuesday, Apr 9, 2024 by Zscaler

    The zpa_policy_inspection_rule_v2 resource creates and manages policy access inspection rule in the Zscaler Private Access cloud using a new v2 API endpoint.

    ⚠️ NOTE: This resource is recommended if your configuration requires the association of more than 1000 resource criteria per rule.

    ⚠️ WARNING:: The attribute rule_order is now deprecated in favor of the new resource policy_access_rule_reorder

    Example Usage

    Coming soon!
    
    Coming soon!
    
    Coming soon!
    
    Coming soon!
    
    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.GetInspectionPredefinedControlsArgs;
    import com.pulumi.zpa.inputs.GetInspectionAllPredefinedControlsArgs;
    import com.pulumi.zpa.InspectionProfile;
    import com.pulumi.zpa.InspectionProfileArgs;
    import com.pulumi.zpa.inputs.InspectionProfilePredefinedControlArgs;
    import com.pulumi.zpa.inputs.GetIdPControllerArgs;
    import com.pulumi.zpa.inputs.GetSAMLAttributeArgs;
    import com.pulumi.zpa.inputs.GetSCIMGroupsArgs;
    import com.pulumi.zpa.PolicyAccessInspectionRuleV2;
    import com.pulumi.zpa.PolicyAccessInspectionRuleV2Args;
    import com.pulumi.zpa.inputs.PolicyAccessInspectionRuleV2ConditionArgs;
    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 thisInspectionPredefinedControls = ZpaFunctions.getInspectionPredefinedControls(GetInspectionPredefinedControlsArgs.builder()
                .name("Failed to parse request body")
                .version("OWASP_CRS/3.3.0")
                .build());
    
            final var defaultPredefinedControls = ZpaFunctions.getInspectionAllPredefinedControls(GetInspectionAllPredefinedControlsArgs.builder()
                .version("OWASP_CRS/3.3.0")
                .groupName("preprocessors")
                .build());
    
            var thisInspectionProfile = new InspectionProfile("thisInspectionProfile", InspectionProfileArgs.builder()        
                .description("Example")
                .paranoiaLevel("1")
                .dynamic(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
                .predefinedControls(InspectionProfilePredefinedControlArgs.builder()
                    .id(thisInspectionPredefinedControls.applyValue(getInspectionPredefinedControlsResult -> getInspectionPredefinedControlsResult.id()))
                    .action("BLOCK")
                    .build())
                .build());
    
            final var thisIdPController = ZpaFunctions.getIdPController(GetIdPControllerArgs.builder()
                .name("Idp_Name")
                .build());
    
            final var emailUserSso = ZpaFunctions.getSAMLAttribute(GetSAMLAttributeArgs.builder()
                .name("Email_Users")
                .idpName("Idp_Name")
                .build());
    
            final var groupUser = ZpaFunctions.getSAMLAttribute(GetSAMLAttributeArgs.builder()
                .name("GroupName_Users")
                .idpName("Idp_Name")
                .build());
    
            final var a000 = ZpaFunctions.getSCIMGroups(GetSCIMGroupsArgs.builder()
                .name("A000")
                .idpName("Idp_Name")
                .build());
    
            final var b000 = ZpaFunctions.getSCIMGroups(GetSCIMGroupsArgs.builder()
                .name("B000")
                .idpName("Idp_Name")
                .build());
    
            // Create Policy Access Isolation Rule V2
            var thisPolicyAccessInspectionRuleV2 = new PolicyAccessInspectionRuleV2("thisPolicyAccessInspectionRuleV2", PolicyAccessInspectionRuleV2Args.builder()        
                .description("Example")
                .action("INSPECT")
                .zpnInspectionProfileId(thisInspectionProfile.id())
                .conditions(            
                    PolicyAccessInspectionRuleV2ConditionArgs.builder()
                        .operator("OR")
                        .operands(PolicyAccessInspectionRuleV2ConditionOperandArgs.builder()
                            .objectType("CLIENT_TYPE")
                            .values("zpn_client_type_exporter")
                            .build())
                        .build(),
                    PolicyAccessInspectionRuleV2ConditionArgs.builder()
                        .operator("OR")
                        .operands(                    
                            PolicyAccessInspectionRuleV2ConditionOperandArgs.builder()
                                .objectType("SAML")
                                .entryValues(                            
                                    PolicyAccessInspectionRuleV2ConditionOperandEntryValueArgs.builder()
                                        .rhs("user1@acme.com")
                                        .lhs(emailUserSso.applyValue(getSAMLAttributeResult -> getSAMLAttributeResult.id()))
                                        .build(),
                                    PolicyAccessInspectionRuleV2ConditionOperandEntryValueArgs.builder()
                                        .rhs("A000")
                                        .lhs(groupUser.applyValue(getSAMLAttributeResult -> getSAMLAttributeResult.id()))
                                        .build())
                                .build(),
                            PolicyAccessInspectionRuleV2ConditionOperandArgs.builder()
                                .objectType("SCIM_GROUP")
                                .entryValues(                            
                                    PolicyAccessInspectionRuleV2ConditionOperandEntryValueArgs.builder()
                                        .rhs(a000.applyValue(getSCIMGroupsResult -> getSCIMGroupsResult.id()))
                                        .lhs(thisIdPController.applyValue(getIdPControllerResult -> getIdPControllerResult.id()))
                                        .build(),
                                    PolicyAccessInspectionRuleV2ConditionOperandEntryValueArgs.builder()
                                        .rhs(b000.applyValue(getSCIMGroupsResult -> getSCIMGroupsResult.id()))
                                        .lhs(thisIdPController.applyValue(getIdPControllerResult -> getIdPControllerResult.id()))
                                        .build())
                                .build())
                        .build())
                .build());
    
        }
    }
    
    Coming soon!
    

    LHS and RHS Values

    Object TypeLHSRHSVALUES
    APPapplication_segment_id
    APP_GROUPsegment_group_id
    CLIENT_TYPEzpn_client_type_zappl, zpn_client_type_exporter, zpn_client_type_browser_isolation, zpn_client_type_ip_anchoring, zpn_client_type_edge_connector, zpn_client_type_branch_connector, zpn_client_type_zapp_partner, zpn_client_type_zapp
    EDGE_CONNECTOR_GROUP<edge_connector_id>
    MACHINE_GRPmachine_group_id
    SAMLsaml_attribute_idattribute_value_to_match
    SCIMscim_attribute_idattribute_value_to_match
    SCIM_GROUPscim_group_attribute_idattribute_value_to_match
    PLATFORMmac, ios, windows, android, linux"true" / "false"
    POSTUREposture_udid"true" / "false"

    Create PolicyAccessInspectionRuleV2 Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new PolicyAccessInspectionRuleV2(name: string, args?: PolicyAccessInspectionRuleV2Args, opts?: CustomResourceOptions);
    @overload
    def PolicyAccessInspectionRuleV2(resource_name: str,
                                     args: Optional[PolicyAccessInspectionRuleV2Args] = None,
                                     opts: Optional[ResourceOptions] = None)
    
    @overload
    def PolicyAccessInspectionRuleV2(resource_name: str,
                                     opts: Optional[ResourceOptions] = None,
                                     action: Optional[str] = None,
                                     conditions: Optional[Sequence[PolicyAccessInspectionRuleV2ConditionArgs]] = None,
                                     description: Optional[str] = None,
                                     microtenant_id: Optional[str] = None,
                                     name: Optional[str] = None,
                                     zpn_inspection_profile_id: Optional[str] = None)
    func NewPolicyAccessInspectionRuleV2(ctx *Context, name string, args *PolicyAccessInspectionRuleV2Args, opts ...ResourceOption) (*PolicyAccessInspectionRuleV2, error)
    public PolicyAccessInspectionRuleV2(string name, PolicyAccessInspectionRuleV2Args? args = null, CustomResourceOptions? opts = null)
    public PolicyAccessInspectionRuleV2(String name, PolicyAccessInspectionRuleV2Args args)
    public PolicyAccessInspectionRuleV2(String name, PolicyAccessInspectionRuleV2Args args, CustomResourceOptions options)
    
    type: zpa:PolicyAccessInspectionRuleV2
    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 PolicyAccessInspectionRuleV2Args
    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 PolicyAccessInspectionRuleV2Args
    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 PolicyAccessInspectionRuleV2Args
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args PolicyAccessInspectionRuleV2Args
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args PolicyAccessInspectionRuleV2Args
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Example

    The following reference example uses placeholder values for all input properties.

    var policyAccessInspectionRuleV2Resource = new Zpa.PolicyAccessInspectionRuleV2("policyAccessInspectionRuleV2Resource", new()
    {
        Action = "string",
        Conditions = new[]
        {
            new Zpa.Inputs.PolicyAccessInspectionRuleV2ConditionArgs
            {
                Id = "string",
                Operands = new[]
                {
                    new Zpa.Inputs.PolicyAccessInspectionRuleV2ConditionOperandArgs
                    {
                        EntryValues = new[]
                        {
                            new Zpa.Inputs.PolicyAccessInspectionRuleV2ConditionOperandEntryValueArgs
                            {
                                Lhs = "string",
                                Rhs = "string",
                            },
                        },
                        ObjectType = "string",
                        Values = new[]
                        {
                            "string",
                        },
                    },
                },
                Operator = "string",
            },
        },
        Description = "string",
        MicrotenantId = "string",
        Name = "string",
        ZpnInspectionProfileId = "string",
    });
    
    example, err := zpa.NewPolicyAccessInspectionRuleV2(ctx, "policyAccessInspectionRuleV2Resource", &zpa.PolicyAccessInspectionRuleV2Args{
    	Action: pulumi.String("string"),
    	Conditions: zpa.PolicyAccessInspectionRuleV2ConditionArray{
    		&zpa.PolicyAccessInspectionRuleV2ConditionArgs{
    			Id: pulumi.String("string"),
    			Operands: zpa.PolicyAccessInspectionRuleV2ConditionOperandArray{
    				&zpa.PolicyAccessInspectionRuleV2ConditionOperandArgs{
    					EntryValues: zpa.PolicyAccessInspectionRuleV2ConditionOperandEntryValueArray{
    						&zpa.PolicyAccessInspectionRuleV2ConditionOperandEntryValueArgs{
    							Lhs: pulumi.String("string"),
    							Rhs: pulumi.String("string"),
    						},
    					},
    					ObjectType: pulumi.String("string"),
    					Values: pulumi.StringArray{
    						pulumi.String("string"),
    					},
    				},
    			},
    			Operator: pulumi.String("string"),
    		},
    	},
    	Description:            pulumi.String("string"),
    	MicrotenantId:          pulumi.String("string"),
    	Name:                   pulumi.String("string"),
    	ZpnInspectionProfileId: pulumi.String("string"),
    })
    
    var policyAccessInspectionRuleV2Resource = new PolicyAccessInspectionRuleV2("policyAccessInspectionRuleV2Resource", PolicyAccessInspectionRuleV2Args.builder()        
        .action("string")
        .conditions(PolicyAccessInspectionRuleV2ConditionArgs.builder()
            .id("string")
            .operands(PolicyAccessInspectionRuleV2ConditionOperandArgs.builder()
                .entryValues(PolicyAccessInspectionRuleV2ConditionOperandEntryValueArgs.builder()
                    .lhs("string")
                    .rhs("string")
                    .build())
                .objectType("string")
                .values("string")
                .build())
            .operator("string")
            .build())
        .description("string")
        .microtenantId("string")
        .name("string")
        .zpnInspectionProfileId("string")
        .build());
    
    policy_access_inspection_rule_v2_resource = zpa.PolicyAccessInspectionRuleV2("policyAccessInspectionRuleV2Resource",
        action="string",
        conditions=[zpa.PolicyAccessInspectionRuleV2ConditionArgs(
            id="string",
            operands=[zpa.PolicyAccessInspectionRuleV2ConditionOperandArgs(
                entry_values=[zpa.PolicyAccessInspectionRuleV2ConditionOperandEntryValueArgs(
                    lhs="string",
                    rhs="string",
                )],
                object_type="string",
                values=["string"],
            )],
            operator="string",
        )],
        description="string",
        microtenant_id="string",
        name="string",
        zpn_inspection_profile_id="string")
    
    const policyAccessInspectionRuleV2Resource = new zpa.PolicyAccessInspectionRuleV2("policyAccessInspectionRuleV2Resource", {
        action: "string",
        conditions: [{
            id: "string",
            operands: [{
                entryValues: [{
                    lhs: "string",
                    rhs: "string",
                }],
                objectType: "string",
                values: ["string"],
            }],
            operator: "string",
        }],
        description: "string",
        microtenantId: "string",
        name: "string",
        zpnInspectionProfileId: "string",
    });
    
    type: zpa:PolicyAccessInspectionRuleV2
    properties:
        action: string
        conditions:
            - id: string
              operands:
                - entryValues:
                    - lhs: string
                      rhs: string
                  objectType: string
                  values:
                    - string
              operator: string
        description: string
        microtenantId: string
        name: string
        zpnInspectionProfileId: string
    

    PolicyAccessInspectionRuleV2 Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The PolicyAccessInspectionRuleV2 resource accepts the following input properties:

    Action string
    This is for providing the rule action. Supported values: INSPECT and BYPASS_INSPECT.
    Conditions List<Zscaler.Zpa.Inputs.PolicyAccessInspectionRuleV2Condition>
    This is for proviidng the set of conditions for the policy.
    Description string
    This is the description of the access policy rule.
    MicrotenantId string
    Name string
    • (String) This is the name of the policy rule.
    ZpnInspectionProfileId string
    An inspection profile is required if the action is set to INSPECT
    Action string
    This is for providing the rule action. Supported values: INSPECT and BYPASS_INSPECT.
    Conditions []PolicyAccessInspectionRuleV2ConditionArgs
    This is for proviidng the set of conditions for the policy.
    Description string
    This is the description of the access policy rule.
    MicrotenantId string
    Name string
    • (String) This is the name of the policy rule.
    ZpnInspectionProfileId string
    An inspection profile is required if the action is set to INSPECT
    action String
    This is for providing the rule action. Supported values: INSPECT and BYPASS_INSPECT.
    conditions List<PolicyAccessInspectionRuleV2Condition>
    This is for proviidng the set of conditions for the policy.
    description String
    This is the description of the access policy rule.
    microtenantId String
    name String
    • (String) This is the name of the policy rule.
    zpnInspectionProfileId String
    An inspection profile is required if the action is set to INSPECT
    action string
    This is for providing the rule action. Supported values: INSPECT and BYPASS_INSPECT.
    conditions PolicyAccessInspectionRuleV2Condition[]
    This is for proviidng the set of conditions for the policy.
    description string
    This is the description of the access policy rule.
    microtenantId string
    name string
    • (String) This is the name of the policy rule.
    zpnInspectionProfileId string
    An inspection profile is required if the action is set to INSPECT
    action str
    This is for providing the rule action. Supported values: INSPECT and BYPASS_INSPECT.
    conditions Sequence[PolicyAccessInspectionRuleV2ConditionArgs]
    This is for proviidng the set of conditions for the policy.
    description str
    This is the description of the access policy rule.
    microtenant_id str
    name str
    • (String) This is the name of the policy rule.
    zpn_inspection_profile_id str
    An inspection profile is required if the action is set to INSPECT
    action String
    This is for providing the rule action. Supported values: INSPECT and BYPASS_INSPECT.
    conditions List<Property Map>
    This is for proviidng the set of conditions for the policy.
    description String
    This is the description of the access policy rule.
    microtenantId String
    name String
    • (String) This is the name of the policy rule.
    zpnInspectionProfileId String
    An inspection profile is required if the action is set to INSPECT

    Outputs

    All input properties are implicitly available as output properties. Additionally, the PolicyAccessInspectionRuleV2 resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    PolicySetId string
    Id string
    The provider-assigned unique ID for this managed resource.
    PolicySetId string
    id String
    The provider-assigned unique ID for this managed resource.
    policySetId String
    id string
    The provider-assigned unique ID for this managed resource.
    policySetId string
    id str
    The provider-assigned unique ID for this managed resource.
    policy_set_id str
    id String
    The provider-assigned unique ID for this managed resource.
    policySetId String

    Look up Existing PolicyAccessInspectionRuleV2 Resource

    Get an existing PolicyAccessInspectionRuleV2 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?: PolicyAccessInspectionRuleV2State, opts?: CustomResourceOptions): PolicyAccessInspectionRuleV2
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            action: Optional[str] = None,
            conditions: Optional[Sequence[PolicyAccessInspectionRuleV2ConditionArgs]] = None,
            description: Optional[str] = None,
            microtenant_id: Optional[str] = None,
            name: Optional[str] = None,
            policy_set_id: Optional[str] = None,
            zpn_inspection_profile_id: Optional[str] = None) -> PolicyAccessInspectionRuleV2
    func GetPolicyAccessInspectionRuleV2(ctx *Context, name string, id IDInput, state *PolicyAccessInspectionRuleV2State, opts ...ResourceOption) (*PolicyAccessInspectionRuleV2, error)
    public static PolicyAccessInspectionRuleV2 Get(string name, Input<string> id, PolicyAccessInspectionRuleV2State? state, CustomResourceOptions? opts = null)
    public static PolicyAccessInspectionRuleV2 get(String name, Output<String> id, PolicyAccessInspectionRuleV2State 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.
    The following state arguments are supported:
    Action string
    This is for providing the rule action. Supported values: INSPECT and BYPASS_INSPECT.
    Conditions List<Zscaler.Zpa.Inputs.PolicyAccessInspectionRuleV2Condition>
    This is for proviidng the set of conditions for the policy.
    Description string
    This is the description of the access policy rule.
    MicrotenantId string
    Name string
    • (String) This is the name of the policy rule.
    PolicySetId string
    ZpnInspectionProfileId string
    An inspection profile is required if the action is set to INSPECT
    Action string
    This is for providing the rule action. Supported values: INSPECT and BYPASS_INSPECT.
    Conditions []PolicyAccessInspectionRuleV2ConditionArgs
    This is for proviidng the set of conditions for the policy.
    Description string
    This is the description of the access policy rule.
    MicrotenantId string
    Name string
    • (String) This is the name of the policy rule.
    PolicySetId string
    ZpnInspectionProfileId string
    An inspection profile is required if the action is set to INSPECT
    action String
    This is for providing the rule action. Supported values: INSPECT and BYPASS_INSPECT.
    conditions List<PolicyAccessInspectionRuleV2Condition>
    This is for proviidng the set of conditions for the policy.
    description String
    This is the description of the access policy rule.
    microtenantId String
    name String
    • (String) This is the name of the policy rule.
    policySetId String
    zpnInspectionProfileId String
    An inspection profile is required if the action is set to INSPECT
    action string
    This is for providing the rule action. Supported values: INSPECT and BYPASS_INSPECT.
    conditions PolicyAccessInspectionRuleV2Condition[]
    This is for proviidng the set of conditions for the policy.
    description string
    This is the description of the access policy rule.
    microtenantId string
    name string
    • (String) This is the name of the policy rule.
    policySetId string
    zpnInspectionProfileId string
    An inspection profile is required if the action is set to INSPECT
    action str
    This is for providing the rule action. Supported values: INSPECT and BYPASS_INSPECT.
    conditions Sequence[PolicyAccessInspectionRuleV2ConditionArgs]
    This is for proviidng the set of conditions for the policy.
    description str
    This is the description of the access policy rule.
    microtenant_id str
    name str
    • (String) This is the name of the policy rule.
    policy_set_id str
    zpn_inspection_profile_id str
    An inspection profile is required if the action is set to INSPECT
    action String
    This is for providing the rule action. Supported values: INSPECT and BYPASS_INSPECT.
    conditions List<Property Map>
    This is for proviidng the set of conditions for the policy.
    description String
    This is the description of the access policy rule.
    microtenantId String
    name String
    • (String) This is the name of the policy rule.
    policySetId String
    zpnInspectionProfileId String
    An inspection profile is required if the action is set to INSPECT

    Supporting Types

    PolicyAccessInspectionRuleV2Condition, PolicyAccessInspectionRuleV2ConditionArgs

    Id string
    Operands List<Zscaler.Zpa.Inputs.PolicyAccessInspectionRuleV2ConditionOperand>
    This signifies the various policy criteria.
    Operator string
    Id string
    Operands []PolicyAccessInspectionRuleV2ConditionOperand
    This signifies the various policy criteria.
    Operator string
    id String
    operands List<PolicyAccessInspectionRuleV2ConditionOperand>
    This signifies the various policy criteria.
    operator String
    id string
    operands PolicyAccessInspectionRuleV2ConditionOperand[]
    This signifies the various policy criteria.
    operator string
    id str
    operands Sequence[PolicyAccessInspectionRuleV2ConditionOperand]
    This signifies the various policy criteria.
    operator str
    id String
    operands List<Property Map>
    This signifies the various policy criteria.
    operator String

    PolicyAccessInspectionRuleV2ConditionOperand, PolicyAccessInspectionRuleV2ConditionOperandArgs

    EntryValues List<Zscaler.Zpa.Inputs.PolicyAccessInspectionRuleV2ConditionOperandEntryValue>
    ObjectType string
    This is for specifying the policy critiera.
    Values List<string>
    This denotes a list of values for the given object type. The value depend upon the key. If rhs is defined this list will be ignored
    EntryValues []PolicyAccessInspectionRuleV2ConditionOperandEntryValue
    ObjectType string
    This is for specifying the policy critiera.
    Values []string
    This denotes a list of values for the given object type. The value depend upon the key. If rhs is defined this list will be ignored
    entryValues List<PolicyAccessInspectionRuleV2ConditionOperandEntryValue>
    objectType String
    This is for specifying the policy critiera.
    values List<String>
    This denotes a list of values for the given object type. The value depend upon the key. If rhs is defined this list will be ignored
    entryValues PolicyAccessInspectionRuleV2ConditionOperandEntryValue[]
    objectType string
    This is for specifying the policy critiera.
    values string[]
    This denotes a list of values for the given object type. The value depend upon the key. If rhs is defined this list will be ignored
    entry_values Sequence[PolicyAccessInspectionRuleV2ConditionOperandEntryValue]
    object_type str
    This is for specifying the policy critiera.
    values Sequence[str]
    This denotes a list of values for the given object type. The value depend upon the key. If rhs is defined this list will be ignored
    entryValues List<Property Map>
    objectType String
    This is for specifying the policy critiera.
    values List<String>
    This denotes a list of values for the given object type. The value depend upon the key. If rhs is defined this list will be ignored

    PolicyAccessInspectionRuleV2ConditionOperandEntryValue, PolicyAccessInspectionRuleV2ConditionOperandEntryValueArgs

    Lhs string
    Rhs string
    Lhs string
    Rhs string
    lhs String
    rhs String
    lhs string
    rhs string
    lhs str
    rhs str
    lhs String
    rhs String

    Import

    Zscaler offers a dedicated tool called Zscaler-Terraformer to allow the automated import of ZPA configurations into Terraform-compliant HashiCorp Configuration Language.

    Visit

    Policy access inspection rule can be imported by using <RULE ID> as the import ID.

    For example:

    $ pulumi import zpa:index/policyAccessInspectionRuleV2:PolicyAccessInspectionRuleV2 example <rule_id>
    

    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.
    zpa logo
    Zscaler Private Access v0.0.10 published on Tuesday, Apr 9, 2024 by Zscaler