SignonPolicyRule
Create a SignonPolicyRule Resource
new SignonPolicyRule(name: string, args: SignonPolicyRuleArgs, opts?: CustomResourceOptions);def SignonPolicyRule(resource_name, opts=None, access=None, authtype=None, mfa_lifetime=None, mfa_prompt=None, mfa_remember_device=None, mfa_required=None, name=None, network_connection=None, network_excludes=None, network_includes=None, policyid=None, priority=None, session_idle=None, session_lifetime=None, session_persistent=None, status=None, users_excludeds=None, __props__=None);func NewSignonPolicyRule(ctx *Context, name string, args SignonPolicyRuleArgs, opts ...ResourceOption) (*SignonPolicyRule, error)public SignonPolicyRule(string name, SignonPolicyRuleArgs args, CustomResourceOptions? opts = null)- name string
- The unique name of the resource.
- args SignonPolicyRuleArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- opts ResourceOptions
- A bag of options that control this resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args SignonPolicyRuleArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args SignonPolicyRuleArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
SignonPolicyRule Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Programming Model docs.
Inputs
The SignonPolicyRule resource accepts the following input properties:
- Policyid string
Policy ID of the Rule
- Access string
Allow or deny access based on the rule conditions: ALLOW or DENY.
- Authtype string
Authentication entrypoint: ANY or RADIUS.
- Mfa
Lifetime int Elapsed time before the next MFA challenge
- Mfa
Prompt string Prompt for MFA based on the device used, a factor session lifetime, or every sign on attempt: DEVICE, SESSION or ALWAYS
- Mfa
Remember boolDevice Remember MFA device.
- Mfa
Required bool Require MFA.
- Name string
Policy Rule Name
- Network
Connection string Network selection mode: ANYWHERE, ZONE, ON_NETWORK, or OFF_NETWORK.
- Network
Excludes List<string> The zones to exclude
- Network
Includes List<string> The zones to include
- Priority int
Policy Rule Priority, this attribute can be set to a valid priority. To avoid endless diff situation we error if an invalid priority is provided. API defaults it to the last/lowest if not there.
- Session
Idle int Max minutes a session can be idle.
- Session
Lifetime int Max minutes a session is active: Disable = 0.
- Session
Persistent bool Whether session cookies will last across browser sessions. Okta Administrators can never have persistent session cookies.
- Status string
Policy Rule Status: ACTIVE or INACTIVE.
- Users
Excludeds List<string> Set of User IDs to Exclude
- Policyid string
Policy ID of the Rule
- Access string
Allow or deny access based on the rule conditions: ALLOW or DENY.
- Authtype string
Authentication entrypoint: ANY or RADIUS.
- Mfa
Lifetime int Elapsed time before the next MFA challenge
- Mfa
Prompt string Prompt for MFA based on the device used, a factor session lifetime, or every sign on attempt: DEVICE, SESSION or ALWAYS
- Mfa
Remember boolDevice Remember MFA device.
- Mfa
Required bool Require MFA.
- Name string
Policy Rule Name
- Network
Connection string Network selection mode: ANYWHERE, ZONE, ON_NETWORK, or OFF_NETWORK.
- Network
Excludes []string The zones to exclude
- Network
Includes []string The zones to include
- Priority int
Policy Rule Priority, this attribute can be set to a valid priority. To avoid endless diff situation we error if an invalid priority is provided. API defaults it to the last/lowest if not there.
- Session
Idle int Max minutes a session can be idle.
- Session
Lifetime int Max minutes a session is active: Disable = 0.
- Session
Persistent bool Whether session cookies will last across browser sessions. Okta Administrators can never have persistent session cookies.
- Status string
Policy Rule Status: ACTIVE or INACTIVE.
- Users
Excludeds []string Set of User IDs to Exclude
- policyid string
Policy ID of the Rule
- access string
Allow or deny access based on the rule conditions: ALLOW or DENY.
- authtype string
Authentication entrypoint: ANY or RADIUS.
- mfa
Lifetime number Elapsed time before the next MFA challenge
- mfa
Prompt string Prompt for MFA based on the device used, a factor session lifetime, or every sign on attempt: DEVICE, SESSION or ALWAYS
- mfa
Remember booleanDevice Remember MFA device.
- mfa
Required boolean Require MFA.
- name string
Policy Rule Name
- network
Connection string Network selection mode: ANYWHERE, ZONE, ON_NETWORK, or OFF_NETWORK.
- network
Excludes string[] The zones to exclude
- network
Includes string[] The zones to include
- priority number
Policy Rule Priority, this attribute can be set to a valid priority. To avoid endless diff situation we error if an invalid priority is provided. API defaults it to the last/lowest if not there.
- session
Idle number Max minutes a session can be idle.
- session
Lifetime number Max minutes a session is active: Disable = 0.
- session
Persistent boolean Whether session cookies will last across browser sessions. Okta Administrators can never have persistent session cookies.
- status string
Policy Rule Status: ACTIVE or INACTIVE.
- users
Excludeds string[] Set of User IDs to Exclude
- policyid str
Policy ID of the Rule
- access str
Allow or deny access based on the rule conditions: ALLOW or DENY.
- authtype str
Authentication entrypoint: ANY or RADIUS.
- mfa_
lifetime float Elapsed time before the next MFA challenge
- mfa_
prompt str Prompt for MFA based on the device used, a factor session lifetime, or every sign on attempt: DEVICE, SESSION or ALWAYS
- mfa_
remember_ booldevice Remember MFA device.
- mfa_
required bool Require MFA.
- name str
Policy Rule Name
- network_
connection str Network selection mode: ANYWHERE, ZONE, ON_NETWORK, or OFF_NETWORK.
- network_
excludes List[str] The zones to exclude
- network_
includes List[str] The zones to include
- priority float
Policy Rule Priority, this attribute can be set to a valid priority. To avoid endless diff situation we error if an invalid priority is provided. API defaults it to the last/lowest if not there.
- session_
idle float Max minutes a session can be idle.
- session_
lifetime float Max minutes a session is active: Disable = 0.
- session_
persistent bool Whether session cookies will last across browser sessions. Okta Administrators can never have persistent session cookies.
- status str
Policy Rule Status: ACTIVE or INACTIVE.
- users_
excludeds List[str] Set of User IDs to Exclude
Outputs
All input properties are implicitly available as output properties. Additionally, the SignonPolicyRule resource produces the following output properties:
Look up an Existing SignonPolicyRule Resource
Get an existing SignonPolicyRule 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?: SignonPolicyRuleState, opts?: CustomResourceOptions): SignonPolicyRulestatic get(resource_name, id, opts=None, access=None, authtype=None, mfa_lifetime=None, mfa_prompt=None, mfa_remember_device=None, mfa_required=None, name=None, network_connection=None, network_excludes=None, network_includes=None, policyid=None, priority=None, session_idle=None, session_lifetime=None, session_persistent=None, status=None, users_excludeds=None, __props__=None);func GetSignonPolicyRule(ctx *Context, name string, id IDInput, state *SignonPolicyRuleState, opts ...ResourceOption) (*SignonPolicyRule, error)public static SignonPolicyRule Get(string name, Input<string> id, SignonPolicyRuleState? state, CustomResourceOptions? opts = null)- 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.
The following state arguments are supported:
- Access string
Allow or deny access based on the rule conditions: ALLOW or DENY.
- Authtype string
Authentication entrypoint: ANY or RADIUS.
- Mfa
Lifetime int Elapsed time before the next MFA challenge
- Mfa
Prompt string Prompt for MFA based on the device used, a factor session lifetime, or every sign on attempt: DEVICE, SESSION or ALWAYS
- Mfa
Remember boolDevice Remember MFA device.
- Mfa
Required bool Require MFA.
- Name string
Policy Rule Name
- Network
Connection string Network selection mode: ANYWHERE, ZONE, ON_NETWORK, or OFF_NETWORK.
- Network
Excludes List<string> The zones to exclude
- Network
Includes List<string> The zones to include
- Policyid string
Policy ID of the Rule
- Priority int
Policy Rule Priority, this attribute can be set to a valid priority. To avoid endless diff situation we error if an invalid priority is provided. API defaults it to the last/lowest if not there.
- Session
Idle int Max minutes a session can be idle.
- Session
Lifetime int Max minutes a session is active: Disable = 0.
- Session
Persistent bool Whether session cookies will last across browser sessions. Okta Administrators can never have persistent session cookies.
- Status string
Policy Rule Status: ACTIVE or INACTIVE.
- Users
Excludeds List<string> Set of User IDs to Exclude
- Access string
Allow or deny access based on the rule conditions: ALLOW or DENY.
- Authtype string
Authentication entrypoint: ANY or RADIUS.
- Mfa
Lifetime int Elapsed time before the next MFA challenge
- Mfa
Prompt string Prompt for MFA based on the device used, a factor session lifetime, or every sign on attempt: DEVICE, SESSION or ALWAYS
- Mfa
Remember boolDevice Remember MFA device.
- Mfa
Required bool Require MFA.
- Name string
Policy Rule Name
- Network
Connection string Network selection mode: ANYWHERE, ZONE, ON_NETWORK, or OFF_NETWORK.
- Network
Excludes []string The zones to exclude
- Network
Includes []string The zones to include
- Policyid string
Policy ID of the Rule
- Priority int
Policy Rule Priority, this attribute can be set to a valid priority. To avoid endless diff situation we error if an invalid priority is provided. API defaults it to the last/lowest if not there.
- Session
Idle int Max minutes a session can be idle.
- Session
Lifetime int Max minutes a session is active: Disable = 0.
- Session
Persistent bool Whether session cookies will last across browser sessions. Okta Administrators can never have persistent session cookies.
- Status string
Policy Rule Status: ACTIVE or INACTIVE.
- Users
Excludeds []string Set of User IDs to Exclude
- access string
Allow or deny access based on the rule conditions: ALLOW or DENY.
- authtype string
Authentication entrypoint: ANY or RADIUS.
- mfa
Lifetime number Elapsed time before the next MFA challenge
- mfa
Prompt string Prompt for MFA based on the device used, a factor session lifetime, or every sign on attempt: DEVICE, SESSION or ALWAYS
- mfa
Remember booleanDevice Remember MFA device.
- mfa
Required boolean Require MFA.
- name string
Policy Rule Name
- network
Connection string Network selection mode: ANYWHERE, ZONE, ON_NETWORK, or OFF_NETWORK.
- network
Excludes string[] The zones to exclude
- network
Includes string[] The zones to include
- policyid string
Policy ID of the Rule
- priority number
Policy Rule Priority, this attribute can be set to a valid priority. To avoid endless diff situation we error if an invalid priority is provided. API defaults it to the last/lowest if not there.
- session
Idle number Max minutes a session can be idle.
- session
Lifetime number Max minutes a session is active: Disable = 0.
- session
Persistent boolean Whether session cookies will last across browser sessions. Okta Administrators can never have persistent session cookies.
- status string
Policy Rule Status: ACTIVE or INACTIVE.
- users
Excludeds string[] Set of User IDs to Exclude
- access str
Allow or deny access based on the rule conditions: ALLOW or DENY.
- authtype str
Authentication entrypoint: ANY or RADIUS.
- mfa_
lifetime float Elapsed time before the next MFA challenge
- mfa_
prompt str Prompt for MFA based on the device used, a factor session lifetime, or every sign on attempt: DEVICE, SESSION or ALWAYS
- mfa_
remember_ booldevice Remember MFA device.
- mfa_
required bool Require MFA.
- name str
Policy Rule Name
- network_
connection str Network selection mode: ANYWHERE, ZONE, ON_NETWORK, or OFF_NETWORK.
- network_
excludes List[str] The zones to exclude
- network_
includes List[str] The zones to include
- policyid str
Policy ID of the Rule
- priority float
Policy Rule Priority, this attribute can be set to a valid priority. To avoid endless diff situation we error if an invalid priority is provided. API defaults it to the last/lowest if not there.
- session_
idle float Max minutes a session can be idle.
- session_
lifetime float Max minutes a session is active: Disable = 0.
- session_
persistent bool Whether session cookies will last across browser sessions. Okta Administrators can never have persistent session cookies.
- status str
Policy Rule Status: ACTIVE or INACTIVE.
- users_
excludeds List[str] Set of User IDs to Exclude
Package Details
- Repository
- https://github.com/pulumi/pulumi-okta
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
oktaTerraform Provider.