@pulumi/okta 4.6.2 → 4.6.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/adminRoleCustom.d.ts +129 -10
- package/adminRoleCustom.js +24 -1
- package/adminRoleCustom.js.map +1 -1
- package/adminRoleCustomAssignments.d.ts +25 -10
- package/adminRoleCustomAssignments.js +13 -1
- package/adminRoleCustomAssignments.js.map +1 -1
- package/adminRoleTargets.d.ts +44 -14
- package/adminRoleTargets.js +30 -0
- package/adminRoleTargets.js.map +1 -1
- package/app/accessPolicyAssignment.d.ts +20 -1
- package/app/accessPolicyAssignment.js +20 -1
- package/app/accessPolicyAssignment.js.map +1 -1
- package/app/autoLogin.d.ts +119 -72
- package/app/autoLogin.js +47 -0
- package/app/autoLogin.js.map +1 -1
- package/app/basicAuth.d.ts +66 -38
- package/app/basicAuth.js +28 -0
- package/app/basicAuth.js.map +1 -1
- package/app/bookmark.d.ts +71 -35
- package/app/bookmark.js +27 -0
- package/app/bookmark.js.map +1 -1
- package/app/getApp.d.ts +25 -58
- package/app/getApp.js +2 -2
- package/app/getApp.js.map +1 -1
- package/app/getMetadataSaml.d.ts +5 -11
- package/app/getMetadataSaml.js +2 -2
- package/app/getMetadataSaml.js.map +1 -1
- package/app/getOauth.d.ts +34 -62
- package/app/getOauth.js +2 -2
- package/app/getOauth.js.map +1 -1
- package/app/getSaml.d.ts +55 -75
- package/app/getSaml.js +2 -2
- package/app/getSaml.js.map +1 -1
- package/app/groupAssignment.d.ts +15 -6
- package/app/groupAssignment.js +9 -0
- package/app/groupAssignment.js.map +1 -1
- package/app/oauth.d.ts +301 -123
- package/app/oauth.js +82 -0
- package/app/oauth.js.map +1 -1
- package/app/oauthPostLogoutRedirectUri.d.ts +38 -3
- package/app/oauthPostLogoutRedirectUri.js +35 -0
- package/app/oauthPostLogoutRedirectUri.js.map +1 -1
- package/app/oauthRedirectUri.d.ts +37 -3
- package/app/oauthRedirectUri.js +34 -0
- package/app/oauthRedirectUri.js.map +1 -1
- package/app/saml.d.ts +303 -133
- package/app/saml.js +161 -0
- package/app/saml.js.map +1 -1
- package/app/securePasswordStore.d.ts +109 -79
- package/app/securePasswordStore.js +30 -0
- package/app/securePasswordStore.js.map +1 -1
- package/app/swa.d.ts +102 -72
- package/app/swa.js +30 -0
- package/app/swa.js.map +1 -1
- package/app/threeField.d.ts +87 -72
- package/app/threeField.js +15 -0
- package/app/threeField.js.map +1 -1
- package/app/user.d.ts +37 -12
- package/app/user.js +22 -0
- package/app/user.js.map +1 -1
- package/appGroupAssignments.d.ts +40 -3
- package/appGroupAssignments.js +37 -0
- package/appGroupAssignments.js.map +1 -1
- package/appOauthApiScope.d.ts +36 -3
- package/appOauthApiScope.js +33 -0
- package/appOauthApiScope.js.map +1 -1
- package/appSamlAppSettings.d.ts +44 -6
- package/appSamlAppSettings.js +38 -0
- package/appSamlAppSettings.js.map +1 -1
- package/appSharedCredentials.d.ts +115 -72
- package/appSharedCredentials.js +43 -0
- package/appSharedCredentials.js.map +1 -1
- package/appSignonPolicy.d.ts +44 -6
- package/appSignonPolicy.js +38 -0
- package/appSignonPolicy.js.map +1 -1
- package/appSignonPolicyRule.d.ts +327 -68
- package/appSignonPolicyRule.js +244 -0
- package/appSignonPolicyRule.js.map +1 -1
- package/appUserBaseSchemaProperty.d.ts +52 -24
- package/appUserBaseSchemaProperty.js +28 -0
- package/appUserBaseSchemaProperty.js.map +1 -1
- package/appUserSchemaProperty.d.ts +80 -54
- package/appUserSchemaProperty.js +26 -0
- package/appUserSchemaProperty.js.map +1 -1
- package/auth/getServer.d.ts +11 -11
- package/auth/getServer.js +2 -2
- package/auth/getServerPolicy.d.ts +9 -15
- package/auth/getServerPolicy.js +2 -2
- package/auth/getServerPolicy.js.map +1 -1
- package/auth/getServerScopes.d.ts +5 -8
- package/auth/getServerScopes.js +2 -2
- package/auth/getServerScopes.js.map +1 -1
- package/auth/server.d.ts +49 -13
- package/auth/server.js +27 -0
- package/auth/server.js.map +1 -1
- package/auth/serverClaim.d.ts +54 -18
- package/auth/serverClaim.js +27 -0
- package/auth/serverClaim.js.map +1 -1
- package/auth/serverPolicy.d.ts +43 -6
- package/auth/serverPolicy.js +28 -0
- package/auth/serverPolicy.js.map +1 -1
- package/auth/serverPolicyRule.d.ts +72 -29
- package/auth/serverPolicyRule.js +25 -0
- package/auth/serverPolicyRule.js.map +1 -1
- package/auth/serverScope.d.ts +41 -15
- package/auth/serverScope.js +26 -0
- package/auth/serverScope.js.map +1 -1
- package/authServerClaimDefault.d.ts +50 -13
- package/authServerClaimDefault.js +31 -0
- package/authServerClaimDefault.js.map +1 -1
- package/authServerDefault.d.ts +47 -13
- package/authServerDefault.js +25 -0
- package/authServerDefault.js.map +1 -1
- package/authenticator.d.ts +94 -38
- package/authenticator.js +38 -0
- package/authenticator.js.map +1 -1
- package/behaviour.d.ts +78 -18
- package/behaviour.js +42 -0
- package/behaviour.js.map +1 -1
- package/brand.d.ts +28 -19
- package/brand.js +10 -1
- package/brand.js.map +1 -1
- package/captcha.d.ts +38 -12
- package/captcha.js +26 -0
- package/captcha.js.map +1 -1
- package/captchaOrgWideSettings.d.ts +51 -6
- package/captchaOrgWideSettings.js +45 -0
- package/captchaOrgWideSettings.js.map +1 -1
- package/domain.d.ts +39 -13
- package/domain.js +20 -0
- package/domain.js.map +1 -1
- package/domainCertificate.d.ts +63 -15
- package/domainCertificate.js +48 -0
- package/domainCertificate.js.map +1 -1
- package/domainVerification.d.ts +22 -3
- package/domainVerification.js +19 -0
- package/domainVerification.js.map +1 -1
- package/emailCustomization.d.ts +224 -3
- package/emailCustomization.js +41 -0
- package/emailCustomization.js.map +1 -1
- package/emailSender.d.ts +39 -13
- package/emailSender.js +26 -0
- package/emailSender.js.map +1 -1
- package/emailSenderVerification.d.ts +26 -3
- package/emailSenderVerification.js +23 -0
- package/emailSenderVerification.js.map +1 -1
- package/eventHook.d.ts +37 -0
- package/eventHook.js +37 -0
- package/eventHook.js.map +1 -1
- package/eventHookVerification.d.ts +37 -3
- package/eventHookVerification.js +34 -0
- package/eventHookVerification.js.map +1 -1
- package/factor/factor.d.ts +23 -6
- package/factor/factor.js +14 -0
- package/factor/factor.js.map +1 -1
- package/factorTotp.d.ts +44 -12
- package/factorTotp.js +23 -0
- package/factorTotp.js.map +1 -1
- package/getAppGroupAssignments.d.ts +6 -6
- package/getAppGroupAssignments.js +2 -2
- package/getAppSignonPolicy.d.ts +6 -16
- package/getAppSignonPolicy.js +4 -8
- package/getAppSignonPolicy.js.map +1 -1
- package/getAppUserAssignments.d.ts +6 -6
- package/getAppUserAssignments.js +2 -2
- package/getAuthServerClaim.d.ts +12 -15
- package/getAuthServerClaim.js +2 -2
- package/getAuthServerClaim.js.map +1 -1
- package/getAuthServerClaims.d.ts +5 -8
- package/getAuthServerClaims.js +2 -2
- package/getAuthServerClaims.js.map +1 -1
- package/getAuthenticator.d.ts +26 -24
- package/getAuthenticator.js +22 -14
- package/getAuthenticator.js.map +1 -1
- package/getBehaviour.d.ts +8 -6
- package/getBehaviour.js +2 -2
- package/getBehaviour.js.map +1 -1
- package/getBehaviours.d.ts +7 -7
- package/getBehaviours.js +2 -2
- package/getBrand.d.ts +6 -9
- package/getBrand.js +2 -2
- package/getBrand.js.map +1 -1
- package/getBrands.d.ts +2 -2
- package/getBrands.js +2 -2
- package/getEmailCustomization.d.ts +9 -14
- package/getEmailCustomization.js +6 -2
- package/getEmailCustomization.js.map +1 -1
- package/getEmailCustomizations.d.ts +9 -11
- package/getEmailCustomizations.js +6 -2
- package/getEmailCustomizations.js.map +1 -1
- package/getGroups.d.ts +25 -11
- package/getGroups.js +2 -2
- package/getGroups.js.map +1 -1
- package/getNetworkZone.d.ts +12 -12
- package/getNetworkZone.js +2 -2
- package/getRoleSubscription.d.ts +35 -13
- package/getRoleSubscription.js +2 -2
- package/getRoleSubscription.js.map +1 -1
- package/getTemplate.d.ts +8 -10
- package/getTemplate.js +6 -2
- package/getTemplate.js.map +1 -1
- package/getTemplates.d.ts +7 -6
- package/getTemplates.js +6 -2
- package/getTemplates.js.map +1 -1
- package/getTheme.d.ts +12 -14
- package/getTheme.js +6 -2
- package/getTheme.js.map +1 -1
- package/getThemes.d.ts +7 -6
- package/getThemes.js +6 -2
- package/getThemes.js.map +1 -1
- package/getTrustedOrigins.d.ts +4 -7
- package/getTrustedOrigins.js +2 -2
- package/getTrustedOrigins.js.map +1 -1
- package/getUserSecurityQuestions.d.ts +8 -4
- package/getUserSecurityQuestions.js +4 -0
- package/getUserSecurityQuestions.js.map +1 -1
- package/group/getEveryoneGroup.d.ts +5 -10
- package/group/getEveryoneGroup.js +2 -4
- package/group/getEveryoneGroup.js.map +1 -1
- package/group/getGroup.d.ts +26 -17
- package/group/getGroup.js +2 -2
- package/group/getGroup.js.map +1 -1
- package/group/getRule.d.ts +15 -6
- package/group/getRule.js +2 -2
- package/group/getRule.js.map +1 -1
- package/group/group.d.ts +46 -9
- package/group/group.js +37 -0
- package/group/group.js.map +1 -1
- package/group/role.d.ts +101 -15
- package/group/role.js +26 -0
- package/group/role.js.map +1 -1
- package/group/rule.d.ts +80 -6
- package/group/rule.js +23 -0
- package/group/rule.js.map +1 -1
- package/groupMemberships.d.ts +48 -7
- package/groupMemberships.js +42 -1
- package/groupMemberships.js.map +1 -1
- package/groupSchemaProperty.d.ts +94 -51
- package/groupSchemaProperty.js +25 -0
- package/groupSchemaProperty.js.map +1 -1
- package/idp/getMetadataSaml.d.ts +6 -9
- package/idp/getMetadataSaml.js +2 -2
- package/idp/getMetadataSaml.js.map +1 -1
- package/idp/getOidc.d.ts +9 -9
- package/idp/getOidc.js +2 -2
- package/idp/getSaml.d.ts +13 -16
- package/idp/getSaml.js +2 -2
- package/idp/getSaml.js.map +1 -1
- package/idp/getSocial.d.ts +2 -8
- package/idp/getSocial.js +2 -2
- package/idp/getSocial.js.map +1 -1
- package/idp/oidc.d.ts +297 -12
- package/idp/oidc.js +36 -0
- package/idp/oidc.js.map +1 -1
- package/idp/saml.d.ts +284 -18
- package/idp/saml.js +32 -0
- package/idp/saml.js.map +1 -1
- package/idp/samlKey.d.ts +48 -3
- package/idp/samlKey.js +9 -0
- package/idp/samlKey.js.map +1 -1
- package/idp/social.d.ts +251 -18
- package/idp/social.js +32 -0
- package/idp/social.js.map +1 -1
- package/index/emailDomain.d.ts +41 -16
- package/index/emailDomain.js +25 -0
- package/index/emailDomain.js.map +1 -1
- package/index/emailDomainVerification.d.ts +25 -3
- package/index/emailDomainVerification.js +22 -0
- package/index/emailDomainVerification.js.map +1 -1
- package/index/getDomain.d.ts +14 -11
- package/index/getDomain.js +8 -2
- package/index/getDomain.js.map +1 -1
- package/inline/hook.d.ts +89 -0
- package/inline/hook.js +35 -0
- package/inline/hook.js.map +1 -1
- package/linkDefinition.d.ts +30 -0
- package/linkDefinition.js +30 -0
- package/linkDefinition.js.map +1 -1
- package/linkValue.d.ts +59 -6
- package/linkValue.js +53 -0
- package/linkValue.js.map +1 -1
- package/network/zone.d.ts +74 -27
- package/network/zone.js +44 -0
- package/network/zone.js.map +1 -1
- package/orgConfiguration.d.ts +25 -0
- package/orgConfiguration.js +25 -0
- package/orgConfiguration.js.map +1 -1
- package/orgSupport.d.ts +20 -3
- package/orgSupport.js +17 -0
- package/orgSupport.js.map +1 -1
- package/package.json +1 -1
- package/policy/getDefaultPolicy.d.ts +7 -9
- package/policy/getDefaultPolicy.js +2 -6
- package/policy/getDefaultPolicy.js.map +1 -1
- package/policy/getPolicy.d.ts +10 -11
- package/policy/getPolicy.js +2 -2
- package/policy/getPolicy.js.map +1 -1
- package/policy/mfa.d.ts +259 -18
- package/policy/mfa.js +49 -0
- package/policy/mfa.js.map +1 -1
- package/policy/password.d.ts +117 -90
- package/policy/password.js +27 -0
- package/policy/password.js.map +1 -1
- package/policy/ruleIdpDiscovery.d.ts +149 -27
- package/policy/ruleIdpDiscovery.js +65 -0
- package/policy/ruleIdpDiscovery.js.map +1 -1
- package/policy/ruleMfa.d.ts +35 -24
- package/policy/ruleMfa.js +11 -0
- package/policy/ruleMfa.js.map +1 -1
- package/policy/rulePassword.d.ts +46 -33
- package/policy/rulePassword.js +13 -0
- package/policy/rulePassword.js.map +1 -1
- package/policy/ruleSignon.d.ts +170 -57
- package/policy/ruleSignon.js +92 -0
- package/policy/ruleSignon.js.map +1 -1
- package/policy/signon.d.ts +41 -15
- package/policy/signon.js +26 -0
- package/policy/signon.js.map +1 -1
- package/policyMfaDefault.d.ts +250 -13
- package/policyMfaDefault.js +45 -0
- package/policyMfaDefault.js.map +1 -1
- package/policyPasswordDefault.d.ts +88 -54
- package/policyPasswordDefault.js +22 -0
- package/policyPasswordDefault.js.map +1 -1
- package/policyProfileEnrollment.d.ts +28 -6
- package/policyProfileEnrollment.js +22 -0
- package/policyProfileEnrollment.js.map +1 -1
- package/policyProfileEnrollmentApps.d.ts +42 -5
- package/policyProfileEnrollmentApps.js +37 -0
- package/policyProfileEnrollmentApps.js.map +1 -1
- package/policyRuleProfileEnrollment.d.ts +88 -26
- package/policyRuleProfileEnrollment.js +62 -0
- package/policyRuleProfileEnrollment.js.map +1 -1
- package/profile/mapping.d.ts +95 -9
- package/profile/mapping.js +41 -0
- package/profile/mapping.js.map +1 -1
- package/rateLimiting.d.ts +43 -9
- package/rateLimiting.js +28 -0
- package/rateLimiting.js.map +1 -1
- package/resourceSet.d.ts +32 -10
- package/resourceSet.js +20 -1
- package/resourceSet.js.map +1 -1
- package/roleSubscription.d.ts +110 -9
- package/roleSubscription.js +26 -0
- package/roleSubscription.js.map +1 -1
- package/securityNotificationEmails.d.ts +45 -15
- package/securityNotificationEmails.js +30 -0
- package/securityNotificationEmails.js.map +1 -1
- package/templateSms.d.ts +47 -3
- package/templateSms.js +35 -0
- package/templateSms.js.map +1 -1
- package/theme.d.ts +59 -44
- package/theme.js +15 -0
- package/theme.js.map +1 -1
- package/threatInsightSettings.d.ts +58 -6
- package/threatInsightSettings.js +34 -0
- package/threatInsightSettings.js.map +1 -1
- package/trustedorigin/origin.d.ts +37 -12
- package/trustedorigin/origin.js +25 -0
- package/trustedorigin/origin.js.map +1 -1
- package/types/input.d.ts +227 -60
- package/types/output.d.ts +446 -56
- package/user/getUser.d.ts +104 -32
- package/user/getUser.js +2 -2
- package/user/getUser.js.map +1 -1
- package/user/getUserProfileMappingSource.d.ts +7 -9
- package/user/getUserProfileMappingSource.js +4 -6
- package/user/getUserProfileMappingSource.js.map +1 -1
- package/user/getUserType.d.ts +7 -7
- package/user/getUserType.js +2 -2
- package/user/getUsers.d.ts +57 -61
- package/user/getUsers.js +44 -30
- package/user/getUsers.js.map +1 -1
- package/user/user.d.ts +215 -117
- package/user/user.js +71 -0
- package/user/user.js.map +1 -1
- package/user/userType.d.ts +34 -9
- package/user/userType.js +25 -0
- package/user/userType.js.map +1 -1
- package/userAdminRoles.d.ts +41 -10
- package/userAdminRoles.js +29 -1
- package/userAdminRoles.js.map +1 -1
- package/userBaseSchemaProperty.d.ts +67 -24
- package/userBaseSchemaProperty.js +43 -0
- package/userBaseSchemaProperty.js.map +1 -1
- package/userFactorQuestion.d.ts +52 -14
- package/userFactorQuestion.js +39 -1
- package/userFactorQuestion.js.map +1 -1
- package/userGroupMemberships.d.ts +23 -4
- package/userGroupMemberships.js +20 -1
- package/userGroupMemberships.js.map +1 -1
- package/userSchemaProperty.d.ts +107 -57
- package/userSchemaProperty.js +32 -0
- package/userSchemaProperty.js.map +1 -1
- package/utilities.d.ts +4 -0
- package/utilities.js +33 -1
- package/utilities.js.map +1 -1
package/behaviour.d.ts
CHANGED
|
@@ -1,4 +1,46 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* This resource allows you to create and configure a behavior.
|
|
4
|
+
*
|
|
5
|
+
* ## Example Usage
|
|
6
|
+
*
|
|
7
|
+
* ```typescript
|
|
8
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
+
* import * as okta from "@pulumi/okta";
|
|
10
|
+
*
|
|
11
|
+
* const myLocation = new okta.Behaviour("myLocation", {
|
|
12
|
+
* locationGranularityType: "LAT_LONG",
|
|
13
|
+
* numberOfAuthentications: 50,
|
|
14
|
+
* radiusFromLocation: 20,
|
|
15
|
+
* type: "ANOMALOUS_LOCATION",
|
|
16
|
+
* });
|
|
17
|
+
* const myCity = new okta.Behaviour("myCity", {
|
|
18
|
+
* locationGranularityType: "CITY",
|
|
19
|
+
* numberOfAuthentications: 50,
|
|
20
|
+
* type: "ANOMALOUS_LOCATION",
|
|
21
|
+
* });
|
|
22
|
+
* const myDevice = new okta.Behaviour("myDevice", {
|
|
23
|
+
* numberOfAuthentications: 50,
|
|
24
|
+
* type: "ANOMALOUS_DEVICE",
|
|
25
|
+
* });
|
|
26
|
+
* const myIp = new okta.Behaviour("myIp", {
|
|
27
|
+
* numberOfAuthentications: 50,
|
|
28
|
+
* type: "ANOMALOUS_IP",
|
|
29
|
+
* });
|
|
30
|
+
* const myVelocity = new okta.Behaviour("myVelocity", {
|
|
31
|
+
* type: "VELOCITY",
|
|
32
|
+
* velocity: 25,
|
|
33
|
+
* });
|
|
34
|
+
* ```
|
|
35
|
+
*
|
|
36
|
+
* ## Import
|
|
37
|
+
*
|
|
38
|
+
* Behavior can be imported via the Okta ID.
|
|
39
|
+
*
|
|
40
|
+
* ```sh
|
|
41
|
+
* $ pulumi import okta:index/behaviour:Behaviour example <behavior id>
|
|
42
|
+
* ```
|
|
43
|
+
*/
|
|
2
44
|
export declare class Behaviour extends pulumi.CustomResource {
|
|
3
45
|
/**
|
|
4
46
|
* Get an existing Behaviour resource's state with the given name, ID, and optional extra
|
|
@@ -17,30 +59,36 @@ export declare class Behaviour extends pulumi.CustomResource {
|
|
|
17
59
|
static isInstance(obj: any): obj is Behaviour;
|
|
18
60
|
/**
|
|
19
61
|
* Determines the method and level of detail used to evaluate the behavior.
|
|
62
|
+
* Required for `"ANOMALOUS_LOCATION"` behavior type. Can be set to `"LAT_LONG"`, `"CITY"`, `"COUNTRY"`
|
|
63
|
+
* or `"SUBDIVISION"`.
|
|
20
64
|
*/
|
|
21
65
|
readonly locationGranularityType: pulumi.Output<string | undefined>;
|
|
22
66
|
/**
|
|
23
|
-
* Name of the behavior
|
|
67
|
+
* Name of the behavior.
|
|
24
68
|
*/
|
|
25
69
|
readonly name: pulumi.Output<string>;
|
|
26
70
|
/**
|
|
27
|
-
* The number of recent authentications used to evaluate the behavior.
|
|
71
|
+
* The number of recent authentications used to evaluate the behavior. Required
|
|
72
|
+
* for `"ANOMALOUS_LOCATION"`, `"ANOMALOUS_DEVICE"` and `"ANOMALOUS_IP"` behavior types.
|
|
28
73
|
*/
|
|
29
74
|
readonly numberOfAuthentications: pulumi.Output<number | undefined>;
|
|
30
75
|
/**
|
|
31
|
-
* Radius from location (in kilometers)
|
|
76
|
+
* Radius from location (in kilometers). Should be at least 5. Required
|
|
77
|
+
* when `locationGranularityType` is set to `"LAT_LONG"`.
|
|
32
78
|
*/
|
|
33
79
|
readonly radiusFromLocation: pulumi.Output<number | undefined>;
|
|
34
80
|
/**
|
|
35
|
-
*
|
|
81
|
+
* The status of the behavior. By default, it is`"ACTIVE"`.
|
|
36
82
|
*/
|
|
37
83
|
readonly status: pulumi.Output<string | undefined>;
|
|
38
84
|
/**
|
|
39
|
-
*
|
|
85
|
+
* Type of the behavior. Can be set to `"ANOMALOUS_LOCATION"`, `"ANOMALOUS_DEVICE"`, `"ANOMALOUS_IP"`
|
|
86
|
+
* or `"VELOCITY"`. Resource will be recreated when the type changes.
|
|
40
87
|
*/
|
|
41
88
|
readonly type: pulumi.Output<string>;
|
|
42
89
|
/**
|
|
43
|
-
* Velocity (in kilometers per hour).
|
|
90
|
+
* Velocity (in kilometers per hour). Should be at least 1. Required for `"VELOCITY"` behavior
|
|
91
|
+
* type.
|
|
44
92
|
*/
|
|
45
93
|
readonly velocity: pulumi.Output<number | undefined>;
|
|
46
94
|
/**
|
|
@@ -58,30 +106,36 @@ export declare class Behaviour extends pulumi.CustomResource {
|
|
|
58
106
|
export interface BehaviourState {
|
|
59
107
|
/**
|
|
60
108
|
* Determines the method and level of detail used to evaluate the behavior.
|
|
109
|
+
* Required for `"ANOMALOUS_LOCATION"` behavior type. Can be set to `"LAT_LONG"`, `"CITY"`, `"COUNTRY"`
|
|
110
|
+
* or `"SUBDIVISION"`.
|
|
61
111
|
*/
|
|
62
112
|
locationGranularityType?: pulumi.Input<string>;
|
|
63
113
|
/**
|
|
64
|
-
* Name of the behavior
|
|
114
|
+
* Name of the behavior.
|
|
65
115
|
*/
|
|
66
116
|
name?: pulumi.Input<string>;
|
|
67
117
|
/**
|
|
68
|
-
* The number of recent authentications used to evaluate the behavior.
|
|
118
|
+
* The number of recent authentications used to evaluate the behavior. Required
|
|
119
|
+
* for `"ANOMALOUS_LOCATION"`, `"ANOMALOUS_DEVICE"` and `"ANOMALOUS_IP"` behavior types.
|
|
69
120
|
*/
|
|
70
121
|
numberOfAuthentications?: pulumi.Input<number>;
|
|
71
122
|
/**
|
|
72
|
-
* Radius from location (in kilometers)
|
|
123
|
+
* Radius from location (in kilometers). Should be at least 5. Required
|
|
124
|
+
* when `locationGranularityType` is set to `"LAT_LONG"`.
|
|
73
125
|
*/
|
|
74
126
|
radiusFromLocation?: pulumi.Input<number>;
|
|
75
127
|
/**
|
|
76
|
-
*
|
|
128
|
+
* The status of the behavior. By default, it is`"ACTIVE"`.
|
|
77
129
|
*/
|
|
78
130
|
status?: pulumi.Input<string>;
|
|
79
131
|
/**
|
|
80
|
-
*
|
|
132
|
+
* Type of the behavior. Can be set to `"ANOMALOUS_LOCATION"`, `"ANOMALOUS_DEVICE"`, `"ANOMALOUS_IP"`
|
|
133
|
+
* or `"VELOCITY"`. Resource will be recreated when the type changes.
|
|
81
134
|
*/
|
|
82
135
|
type?: pulumi.Input<string>;
|
|
83
136
|
/**
|
|
84
|
-
* Velocity (in kilometers per hour).
|
|
137
|
+
* Velocity (in kilometers per hour). Should be at least 1. Required for `"VELOCITY"` behavior
|
|
138
|
+
* type.
|
|
85
139
|
*/
|
|
86
140
|
velocity?: pulumi.Input<number>;
|
|
87
141
|
}
|
|
@@ -91,30 +145,36 @@ export interface BehaviourState {
|
|
|
91
145
|
export interface BehaviourArgs {
|
|
92
146
|
/**
|
|
93
147
|
* Determines the method and level of detail used to evaluate the behavior.
|
|
148
|
+
* Required for `"ANOMALOUS_LOCATION"` behavior type. Can be set to `"LAT_LONG"`, `"CITY"`, `"COUNTRY"`
|
|
149
|
+
* or `"SUBDIVISION"`.
|
|
94
150
|
*/
|
|
95
151
|
locationGranularityType?: pulumi.Input<string>;
|
|
96
152
|
/**
|
|
97
|
-
* Name of the behavior
|
|
153
|
+
* Name of the behavior.
|
|
98
154
|
*/
|
|
99
155
|
name?: pulumi.Input<string>;
|
|
100
156
|
/**
|
|
101
|
-
* The number of recent authentications used to evaluate the behavior.
|
|
157
|
+
* The number of recent authentications used to evaluate the behavior. Required
|
|
158
|
+
* for `"ANOMALOUS_LOCATION"`, `"ANOMALOUS_DEVICE"` and `"ANOMALOUS_IP"` behavior types.
|
|
102
159
|
*/
|
|
103
160
|
numberOfAuthentications?: pulumi.Input<number>;
|
|
104
161
|
/**
|
|
105
|
-
* Radius from location (in kilometers)
|
|
162
|
+
* Radius from location (in kilometers). Should be at least 5. Required
|
|
163
|
+
* when `locationGranularityType` is set to `"LAT_LONG"`.
|
|
106
164
|
*/
|
|
107
165
|
radiusFromLocation?: pulumi.Input<number>;
|
|
108
166
|
/**
|
|
109
|
-
*
|
|
167
|
+
* The status of the behavior. By default, it is`"ACTIVE"`.
|
|
110
168
|
*/
|
|
111
169
|
status?: pulumi.Input<string>;
|
|
112
170
|
/**
|
|
113
|
-
*
|
|
171
|
+
* Type of the behavior. Can be set to `"ANOMALOUS_LOCATION"`, `"ANOMALOUS_DEVICE"`, `"ANOMALOUS_IP"`
|
|
172
|
+
* or `"VELOCITY"`. Resource will be recreated when the type changes.
|
|
114
173
|
*/
|
|
115
174
|
type: pulumi.Input<string>;
|
|
116
175
|
/**
|
|
117
|
-
* Velocity (in kilometers per hour).
|
|
176
|
+
* Velocity (in kilometers per hour). Should be at least 1. Required for `"VELOCITY"` behavior
|
|
177
|
+
* type.
|
|
118
178
|
*/
|
|
119
179
|
velocity?: pulumi.Input<number>;
|
|
120
180
|
}
|
package/behaviour.js
CHANGED
|
@@ -5,6 +5,48 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
5
5
|
exports.Behaviour = void 0;
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* This resource allows you to create and configure a behavior.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as okta from "@pulumi/okta";
|
|
16
|
+
*
|
|
17
|
+
* const myLocation = new okta.Behaviour("myLocation", {
|
|
18
|
+
* locationGranularityType: "LAT_LONG",
|
|
19
|
+
* numberOfAuthentications: 50,
|
|
20
|
+
* radiusFromLocation: 20,
|
|
21
|
+
* type: "ANOMALOUS_LOCATION",
|
|
22
|
+
* });
|
|
23
|
+
* const myCity = new okta.Behaviour("myCity", {
|
|
24
|
+
* locationGranularityType: "CITY",
|
|
25
|
+
* numberOfAuthentications: 50,
|
|
26
|
+
* type: "ANOMALOUS_LOCATION",
|
|
27
|
+
* });
|
|
28
|
+
* const myDevice = new okta.Behaviour("myDevice", {
|
|
29
|
+
* numberOfAuthentications: 50,
|
|
30
|
+
* type: "ANOMALOUS_DEVICE",
|
|
31
|
+
* });
|
|
32
|
+
* const myIp = new okta.Behaviour("myIp", {
|
|
33
|
+
* numberOfAuthentications: 50,
|
|
34
|
+
* type: "ANOMALOUS_IP",
|
|
35
|
+
* });
|
|
36
|
+
* const myVelocity = new okta.Behaviour("myVelocity", {
|
|
37
|
+
* type: "VELOCITY",
|
|
38
|
+
* velocity: 25,
|
|
39
|
+
* });
|
|
40
|
+
* ```
|
|
41
|
+
*
|
|
42
|
+
* ## Import
|
|
43
|
+
*
|
|
44
|
+
* Behavior can be imported via the Okta ID.
|
|
45
|
+
*
|
|
46
|
+
* ```sh
|
|
47
|
+
* $ pulumi import okta:index/behaviour:Behaviour example <behavior id>
|
|
48
|
+
* ```
|
|
49
|
+
*/
|
|
8
50
|
class Behaviour extends pulumi.CustomResource {
|
|
9
51
|
/**
|
|
10
52
|
* Get an existing Behaviour resource's state with the given name, ID, and optional extra
|
package/behaviour.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"behaviour.js","sourceRoot":"","sources":["../behaviour.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC,MAAa,SAAU,SAAQ,MAAM,CAAC,cAAc;IAChD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAsB,EAAE,IAAmC;QACpH,OAAO,IAAI,SAAS,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAChE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,SAAS,CAAC,YAAY,CAAC;IAC1D,CAAC;
|
|
1
|
+
{"version":3,"file":"behaviour.js","sourceRoot":"","sources":["../behaviour.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyCG;AACH,MAAa,SAAU,SAAQ,MAAM,CAAC,cAAc;IAChD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2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,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC9D,CAAC;;AAlGL,8BAmGC;AArFG,gBAAgB;AACO,sBAAY,GAAG,gCAAgC,CAAC"}
|
package/brand.d.ts
CHANGED
|
@@ -1,6 +1,15 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
3
|
+
* This resource allows you to create and configure an Okta
|
|
4
|
+
* [Brand](https://developer.okta.com/docs/reference/api/brands/#brand-object).
|
|
5
|
+
*
|
|
6
|
+
* ## Import
|
|
7
|
+
*
|
|
8
|
+
* An Okta Brand can be imported via the ID.
|
|
9
|
+
*
|
|
10
|
+
* ```sh
|
|
11
|
+
* $ pulumi import okta:index/brand:Brand example <brand id>
|
|
12
|
+
* ```
|
|
4
13
|
*/
|
|
5
14
|
export declare class Brand extends pulumi.CustomResource {
|
|
6
15
|
/**
|
|
@@ -19,11 +28,11 @@ export declare class Brand extends pulumi.CustomResource {
|
|
|
19
28
|
*/
|
|
20
29
|
static isInstance(obj: any): obj is Brand;
|
|
21
30
|
/**
|
|
22
|
-
*
|
|
31
|
+
* Is a required input flag with when changing custom_privacy_url, shouldn't be considered as a readable property
|
|
23
32
|
*/
|
|
24
33
|
readonly agreeToCustomPrivacyPolicy: pulumi.Output<boolean>;
|
|
25
34
|
/**
|
|
26
|
-
* Brand ID
|
|
35
|
+
* (Read-only) Brand ID, used for read (faux-create). Setting `brandId` to `default` is equivalent to importing the default brand by its ID.
|
|
27
36
|
*
|
|
28
37
|
* @deprecated Okta has fully support brand creation, this attribute is a no op and will be removed
|
|
29
38
|
*/
|
|
@@ -45,15 +54,15 @@ export declare class Brand extends pulumi.CustomResource {
|
|
|
45
54
|
*/
|
|
46
55
|
readonly defaultAppClassicApplicationUri: pulumi.Output<string | undefined>;
|
|
47
56
|
/**
|
|
48
|
-
* Email Domain ID tied to this brand
|
|
57
|
+
* (Read-only) Email Domain ID tied to this brand
|
|
49
58
|
*/
|
|
50
59
|
readonly emailDomainId: pulumi.Output<string>;
|
|
51
60
|
/**
|
|
52
|
-
* Is this the default brand
|
|
61
|
+
* (Read-only) Is this the default brand
|
|
53
62
|
*/
|
|
54
63
|
readonly isDefault: pulumi.Output<boolean>;
|
|
55
64
|
/**
|
|
56
|
-
* Link relations for this object - JSON HAL - Discoverable resources related to the brand
|
|
65
|
+
* (Read-only) Link relations for this object - JSON HAL - Discoverable resources related to the brand
|
|
57
66
|
*/
|
|
58
67
|
readonly links: pulumi.Output<string>;
|
|
59
68
|
/**
|
|
@@ -61,11 +70,11 @@ export declare class Brand extends pulumi.CustomResource {
|
|
|
61
70
|
*/
|
|
62
71
|
readonly locale: pulumi.Output<string | undefined>;
|
|
63
72
|
/**
|
|
64
|
-
*
|
|
73
|
+
* Name of the brand
|
|
65
74
|
*/
|
|
66
75
|
readonly name: pulumi.Output<string>;
|
|
67
76
|
/**
|
|
68
|
-
* Removes "Powered by Okta" from the Okta-hosted sign-in page and "© 2021 Okta, Inc." from the Okta End-User Dashboard
|
|
77
|
+
* Removes "Powered by Okta" from the Okta-hosted sign-in page, and "© 2021 Okta, Inc." from the Okta End-User Dashboard
|
|
69
78
|
*/
|
|
70
79
|
readonly removePoweredByOkta: pulumi.Output<boolean>;
|
|
71
80
|
/**
|
|
@@ -82,11 +91,11 @@ export declare class Brand extends pulumi.CustomResource {
|
|
|
82
91
|
*/
|
|
83
92
|
export interface BrandState {
|
|
84
93
|
/**
|
|
85
|
-
*
|
|
94
|
+
* Is a required input flag with when changing custom_privacy_url, shouldn't be considered as a readable property
|
|
86
95
|
*/
|
|
87
96
|
agreeToCustomPrivacyPolicy?: pulumi.Input<boolean>;
|
|
88
97
|
/**
|
|
89
|
-
* Brand ID
|
|
98
|
+
* (Read-only) Brand ID, used for read (faux-create). Setting `brandId` to `default` is equivalent to importing the default brand by its ID.
|
|
90
99
|
*
|
|
91
100
|
* @deprecated Okta has fully support brand creation, this attribute is a no op and will be removed
|
|
92
101
|
*/
|
|
@@ -108,15 +117,15 @@ export interface BrandState {
|
|
|
108
117
|
*/
|
|
109
118
|
defaultAppClassicApplicationUri?: pulumi.Input<string>;
|
|
110
119
|
/**
|
|
111
|
-
* Email Domain ID tied to this brand
|
|
120
|
+
* (Read-only) Email Domain ID tied to this brand
|
|
112
121
|
*/
|
|
113
122
|
emailDomainId?: pulumi.Input<string>;
|
|
114
123
|
/**
|
|
115
|
-
* Is this the default brand
|
|
124
|
+
* (Read-only) Is this the default brand
|
|
116
125
|
*/
|
|
117
126
|
isDefault?: pulumi.Input<boolean>;
|
|
118
127
|
/**
|
|
119
|
-
* Link relations for this object - JSON HAL - Discoverable resources related to the brand
|
|
128
|
+
* (Read-only) Link relations for this object - JSON HAL - Discoverable resources related to the brand
|
|
120
129
|
*/
|
|
121
130
|
links?: pulumi.Input<string>;
|
|
122
131
|
/**
|
|
@@ -124,11 +133,11 @@ export interface BrandState {
|
|
|
124
133
|
*/
|
|
125
134
|
locale?: pulumi.Input<string>;
|
|
126
135
|
/**
|
|
127
|
-
*
|
|
136
|
+
* Name of the brand
|
|
128
137
|
*/
|
|
129
138
|
name?: pulumi.Input<string>;
|
|
130
139
|
/**
|
|
131
|
-
* Removes "Powered by Okta" from the Okta-hosted sign-in page and "© 2021 Okta, Inc." from the Okta End-User Dashboard
|
|
140
|
+
* Removes "Powered by Okta" from the Okta-hosted sign-in page, and "© 2021 Okta, Inc." from the Okta End-User Dashboard
|
|
132
141
|
*/
|
|
133
142
|
removePoweredByOkta?: pulumi.Input<boolean>;
|
|
134
143
|
}
|
|
@@ -137,11 +146,11 @@ export interface BrandState {
|
|
|
137
146
|
*/
|
|
138
147
|
export interface BrandArgs {
|
|
139
148
|
/**
|
|
140
|
-
*
|
|
149
|
+
* Is a required input flag with when changing custom_privacy_url, shouldn't be considered as a readable property
|
|
141
150
|
*/
|
|
142
151
|
agreeToCustomPrivacyPolicy?: pulumi.Input<boolean>;
|
|
143
152
|
/**
|
|
144
|
-
* Brand ID
|
|
153
|
+
* (Read-only) Brand ID, used for read (faux-create). Setting `brandId` to `default` is equivalent to importing the default brand by its ID.
|
|
145
154
|
*
|
|
146
155
|
* @deprecated Okta has fully support brand creation, this attribute is a no op and will be removed
|
|
147
156
|
*/
|
|
@@ -167,11 +176,11 @@ export interface BrandArgs {
|
|
|
167
176
|
*/
|
|
168
177
|
locale?: pulumi.Input<string>;
|
|
169
178
|
/**
|
|
170
|
-
*
|
|
179
|
+
* Name of the brand
|
|
171
180
|
*/
|
|
172
181
|
name?: pulumi.Input<string>;
|
|
173
182
|
/**
|
|
174
|
-
* Removes "Powered by Okta" from the Okta-hosted sign-in page and "© 2021 Okta, Inc." from the Okta End-User Dashboard
|
|
183
|
+
* Removes "Powered by Okta" from the Okta-hosted sign-in page, and "© 2021 Okta, Inc." from the Okta End-User Dashboard
|
|
175
184
|
*/
|
|
176
185
|
removePoweredByOkta?: pulumi.Input<boolean>;
|
|
177
186
|
}
|
package/brand.js
CHANGED
|
@@ -6,7 +6,16 @@ exports.Brand = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
-
*
|
|
9
|
+
* This resource allows you to create and configure an Okta
|
|
10
|
+
* [Brand](https://developer.okta.com/docs/reference/api/brands/#brand-object).
|
|
11
|
+
*
|
|
12
|
+
* ## Import
|
|
13
|
+
*
|
|
14
|
+
* An Okta Brand can be imported via the ID.
|
|
15
|
+
*
|
|
16
|
+
* ```sh
|
|
17
|
+
* $ pulumi import okta:index/brand:Brand example <brand id>
|
|
18
|
+
* ```
|
|
10
19
|
*/
|
|
11
20
|
class Brand extends pulumi.CustomResource {
|
|
12
21
|
/**
|
package/brand.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"brand.js","sourceRoot":"","sources":["../brand.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
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4 +1,30 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* > **WARNING:** This feature is only available as a part of the Identity Engine. Contact support for further information.
|
|
4
|
+
*
|
|
5
|
+
* This resource allows you to create and configure a CAPTCHA.
|
|
6
|
+
*
|
|
7
|
+
* ## Example Usage
|
|
8
|
+
*
|
|
9
|
+
* ```typescript
|
|
10
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
11
|
+
* import * as okta from "@pulumi/okta";
|
|
12
|
+
*
|
|
13
|
+
* const example = new okta.Captcha("example", {
|
|
14
|
+
* secretKey: "some_secret_key",
|
|
15
|
+
* siteKey: "some_key",
|
|
16
|
+
* type: "HCAPTCHA",
|
|
17
|
+
* });
|
|
18
|
+
* ```
|
|
19
|
+
*
|
|
20
|
+
* ## Import
|
|
21
|
+
*
|
|
22
|
+
* Behavior can be imported via the Okta ID.
|
|
23
|
+
*
|
|
24
|
+
* ```sh
|
|
25
|
+
* $ pulumi import okta:index/captcha:Captcha example <captcha id>
|
|
26
|
+
* ```
|
|
27
|
+
*/
|
|
2
28
|
export declare class Captcha extends pulumi.CustomResource {
|
|
3
29
|
/**
|
|
4
30
|
* Get an existing Captcha resource's state with the given name, ID, and optional extra
|
|
@@ -16,19 +42,19 @@ export declare class Captcha extends pulumi.CustomResource {
|
|
|
16
42
|
*/
|
|
17
43
|
static isInstance(obj: any): obj is Captcha;
|
|
18
44
|
/**
|
|
19
|
-
* Name of the
|
|
45
|
+
* Name of the captcha.
|
|
20
46
|
*/
|
|
21
47
|
readonly name: pulumi.Output<string>;
|
|
22
48
|
/**
|
|
23
|
-
* Secret key issued from the CAPTCHA vendor to perform server-side validation for a CAPTCHA token
|
|
49
|
+
* Secret key issued from the CAPTCHA vendor to perform server-side validation for a CAPTCHA token.
|
|
24
50
|
*/
|
|
25
51
|
readonly secretKey: pulumi.Output<string>;
|
|
26
52
|
/**
|
|
27
|
-
* Site key issued from the CAPTCHA vendor to render a CAPTCHA on a page
|
|
53
|
+
* Site key issued from the CAPTCHA vendor to render a CAPTCHA on a page.
|
|
28
54
|
*/
|
|
29
55
|
readonly siteKey: pulumi.Output<string>;
|
|
30
56
|
/**
|
|
31
|
-
*
|
|
57
|
+
* Type of the captcha. Valid values: `"HCAPTCHA"`, `"RECAPTCHA_V2"`.
|
|
32
58
|
*/
|
|
33
59
|
readonly type: pulumi.Output<string>;
|
|
34
60
|
/**
|
|
@@ -45,19 +71,19 @@ export declare class Captcha extends pulumi.CustomResource {
|
|
|
45
71
|
*/
|
|
46
72
|
export interface CaptchaState {
|
|
47
73
|
/**
|
|
48
|
-
* Name of the
|
|
74
|
+
* Name of the captcha.
|
|
49
75
|
*/
|
|
50
76
|
name?: pulumi.Input<string>;
|
|
51
77
|
/**
|
|
52
|
-
* Secret key issued from the CAPTCHA vendor to perform server-side validation for a CAPTCHA token
|
|
78
|
+
* Secret key issued from the CAPTCHA vendor to perform server-side validation for a CAPTCHA token.
|
|
53
79
|
*/
|
|
54
80
|
secretKey?: pulumi.Input<string>;
|
|
55
81
|
/**
|
|
56
|
-
* Site key issued from the CAPTCHA vendor to render a CAPTCHA on a page
|
|
82
|
+
* Site key issued from the CAPTCHA vendor to render a CAPTCHA on a page.
|
|
57
83
|
*/
|
|
58
84
|
siteKey?: pulumi.Input<string>;
|
|
59
85
|
/**
|
|
60
|
-
*
|
|
86
|
+
* Type of the captcha. Valid values: `"HCAPTCHA"`, `"RECAPTCHA_V2"`.
|
|
61
87
|
*/
|
|
62
88
|
type?: pulumi.Input<string>;
|
|
63
89
|
}
|
|
@@ -66,19 +92,19 @@ export interface CaptchaState {
|
|
|
66
92
|
*/
|
|
67
93
|
export interface CaptchaArgs {
|
|
68
94
|
/**
|
|
69
|
-
* Name of the
|
|
95
|
+
* Name of the captcha.
|
|
70
96
|
*/
|
|
71
97
|
name?: pulumi.Input<string>;
|
|
72
98
|
/**
|
|
73
|
-
* Secret key issued from the CAPTCHA vendor to perform server-side validation for a CAPTCHA token
|
|
99
|
+
* Secret key issued from the CAPTCHA vendor to perform server-side validation for a CAPTCHA token.
|
|
74
100
|
*/
|
|
75
101
|
secretKey: pulumi.Input<string>;
|
|
76
102
|
/**
|
|
77
|
-
* Site key issued from the CAPTCHA vendor to render a CAPTCHA on a page
|
|
103
|
+
* Site key issued from the CAPTCHA vendor to render a CAPTCHA on a page.
|
|
78
104
|
*/
|
|
79
105
|
siteKey: pulumi.Input<string>;
|
|
80
106
|
/**
|
|
81
|
-
*
|
|
107
|
+
* Type of the captcha. Valid values: `"HCAPTCHA"`, `"RECAPTCHA_V2"`.
|
|
82
108
|
*/
|
|
83
109
|
type: pulumi.Input<string>;
|
|
84
110
|
}
|
package/captcha.js
CHANGED
|
@@ -5,6 +5,32 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
5
5
|
exports.Captcha = void 0;
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* > **WARNING:** This feature is only available as a part of the Identity Engine. Contact support for further information.
|
|
10
|
+
*
|
|
11
|
+
* This resource allows you to create and configure a CAPTCHA.
|
|
12
|
+
*
|
|
13
|
+
* ## Example Usage
|
|
14
|
+
*
|
|
15
|
+
* ```typescript
|
|
16
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
17
|
+
* import * as okta from "@pulumi/okta";
|
|
18
|
+
*
|
|
19
|
+
* const example = new okta.Captcha("example", {
|
|
20
|
+
* secretKey: "some_secret_key",
|
|
21
|
+
* siteKey: "some_key",
|
|
22
|
+
* type: "HCAPTCHA",
|
|
23
|
+
* });
|
|
24
|
+
* ```
|
|
25
|
+
*
|
|
26
|
+
* ## Import
|
|
27
|
+
*
|
|
28
|
+
* Behavior can be imported via the Okta ID.
|
|
29
|
+
*
|
|
30
|
+
* ```sh
|
|
31
|
+
* $ pulumi import okta:index/captcha:Captcha example <captcha id>
|
|
32
|
+
* ```
|
|
33
|
+
*/
|
|
8
34
|
class Captcha extends pulumi.CustomResource {
|
|
9
35
|
/**
|
|
10
36
|
* Get an existing Captcha resource's state with the given name, ID, and optional extra
|
package/captcha.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"captcha.js","sourceRoot":"","sources":["../captcha.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC,MAAa,OAAQ,SAAQ,MAAM,CAAC,cAAc;IAC9C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAoB,EAAE,IAAmC;QAClH,OAAO,IAAI,OAAO,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC9D,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,OAAO,CAAC,YAAY,CAAC;IACxD,CAAC;IA2BD,YAAY,IAAY,EAAE,WAAwC,EAAE,IAAmC;QACnG,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAuC,CAAC;YACtD,cAAc,CAAC,MAAM,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACxD,cAAc,CAAC,WAAW,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,SAAS,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CA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CAAC,SAAS,CAAC;YAC1F,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5D,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;SACzD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,MAAM,UAAU,GAAG,EAAE,uBAAuB,EAAE,CAAC,WAAW,CAAC,EAAE,CAAC;QAC9D,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;QAC7C,KAAK,CAAC,OAAO,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC5D,CAAC;;AAlFL,0BAmFC;AArEG,gBAAgB;AACO,oBAAY,GAAG,4BAA4B,CAAC"}
|
|
@@ -1,4 +1,49 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* > **WARNING:** This feature is only available as a part of the Identity Engine. Contact support for further information.
|
|
4
|
+
*
|
|
5
|
+
* This resource allows you to configure which parts of the authentication flow requires users to pass the CAPTCHA logic.
|
|
6
|
+
* CAPTCHA org-wide settings can be disabled by unsetting `captchaId` and `enabledFor`.
|
|
7
|
+
*
|
|
8
|
+
* ## Example Usage
|
|
9
|
+
*
|
|
10
|
+
* ```typescript
|
|
11
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
12
|
+
* import * as okta from "@pulumi/okta";
|
|
13
|
+
*
|
|
14
|
+
* const exampleCaptcha = new okta.Captcha("exampleCaptcha", {
|
|
15
|
+
* type: "HCAPTCHA",
|
|
16
|
+
* siteKey: "some_key",
|
|
17
|
+
* secretKey: "some_secret_key",
|
|
18
|
+
* });
|
|
19
|
+
* const exampleCaptchaOrgWideSettings = new okta.CaptchaOrgWideSettings("exampleCaptchaOrgWideSettings", {
|
|
20
|
+
* captchaId: okta_captcha.test.id,
|
|
21
|
+
* enabledFors: ["SSR"],
|
|
22
|
+
* });
|
|
23
|
+
* ```
|
|
24
|
+
*
|
|
25
|
+
* The following example disables org-wide CAPTCHA.
|
|
26
|
+
*
|
|
27
|
+
* ```typescript
|
|
28
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
29
|
+
* import * as okta from "@pulumi/okta";
|
|
30
|
+
*
|
|
31
|
+
* const exampleCaptcha = new okta.Captcha("exampleCaptcha", {
|
|
32
|
+
* secretKey: "some_secret_key",
|
|
33
|
+
* siteKey: "some_key",
|
|
34
|
+
* type: "HCAPTCHA",
|
|
35
|
+
* });
|
|
36
|
+
* const exampleCaptchaOrgWideSettings = new okta.CaptchaOrgWideSettings("exampleCaptchaOrgWideSettings", {});
|
|
37
|
+
* ```
|
|
38
|
+
*
|
|
39
|
+
* ## Import
|
|
40
|
+
*
|
|
41
|
+
* Org-Wide CAPTCHA settings can be imported without any parameters.
|
|
42
|
+
*
|
|
43
|
+
* ```sh
|
|
44
|
+
* $ pulumi import okta:index/captchaOrgWideSettings:CaptchaOrgWideSettings example _
|
|
45
|
+
* ```
|
|
46
|
+
*/
|
|
2
47
|
export declare class CaptchaOrgWideSettings extends pulumi.CustomResource {
|
|
3
48
|
/**
|
|
4
49
|
* Get an existing CaptchaOrgWideSettings resource's state with the given name, ID, and optional extra
|
|
@@ -16,11 +61,11 @@ export declare class CaptchaOrgWideSettings extends pulumi.CustomResource {
|
|
|
16
61
|
*/
|
|
17
62
|
static isInstance(obj: any): obj is CaptchaOrgWideSettings;
|
|
18
63
|
/**
|
|
19
|
-
* ID of the CAPTCHA
|
|
64
|
+
* The ID of the CAPTCHA.
|
|
20
65
|
*/
|
|
21
66
|
readonly captchaId: pulumi.Output<string | undefined>;
|
|
22
67
|
/**
|
|
23
|
-
*
|
|
68
|
+
* Array of pages that have CAPTCHA enabled. Valid values: `"SSR"`, `"SSPR"` and `"SIGN_IN"`.
|
|
24
69
|
*/
|
|
25
70
|
readonly enabledFors: pulumi.Output<string[] | undefined>;
|
|
26
71
|
/**
|
|
@@ -37,11 +82,11 @@ export declare class CaptchaOrgWideSettings extends pulumi.CustomResource {
|
|
|
37
82
|
*/
|
|
38
83
|
export interface CaptchaOrgWideSettingsState {
|
|
39
84
|
/**
|
|
40
|
-
* ID of the CAPTCHA
|
|
85
|
+
* The ID of the CAPTCHA.
|
|
41
86
|
*/
|
|
42
87
|
captchaId?: pulumi.Input<string>;
|
|
43
88
|
/**
|
|
44
|
-
*
|
|
89
|
+
* Array of pages that have CAPTCHA enabled. Valid values: `"SSR"`, `"SSPR"` and `"SIGN_IN"`.
|
|
45
90
|
*/
|
|
46
91
|
enabledFors?: pulumi.Input<pulumi.Input<string>[]>;
|
|
47
92
|
}
|
|
@@ -50,11 +95,11 @@ export interface CaptchaOrgWideSettingsState {
|
|
|
50
95
|
*/
|
|
51
96
|
export interface CaptchaOrgWideSettingsArgs {
|
|
52
97
|
/**
|
|
53
|
-
* ID of the CAPTCHA
|
|
98
|
+
* The ID of the CAPTCHA.
|
|
54
99
|
*/
|
|
55
100
|
captchaId?: pulumi.Input<string>;
|
|
56
101
|
/**
|
|
57
|
-
*
|
|
102
|
+
* Array of pages that have CAPTCHA enabled. Valid values: `"SSR"`, `"SSPR"` and `"SIGN_IN"`.
|
|
58
103
|
*/
|
|
59
104
|
enabledFors?: pulumi.Input<pulumi.Input<string>[]>;
|
|
60
105
|
}
|