@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.
Files changed (397) hide show
  1. package/adminRoleCustom.d.ts +129 -10
  2. package/adminRoleCustom.js +24 -1
  3. package/adminRoleCustom.js.map +1 -1
  4. package/adminRoleCustomAssignments.d.ts +25 -10
  5. package/adminRoleCustomAssignments.js +13 -1
  6. package/adminRoleCustomAssignments.js.map +1 -1
  7. package/adminRoleTargets.d.ts +44 -14
  8. package/adminRoleTargets.js +30 -0
  9. package/adminRoleTargets.js.map +1 -1
  10. package/app/accessPolicyAssignment.d.ts +20 -1
  11. package/app/accessPolicyAssignment.js +20 -1
  12. package/app/accessPolicyAssignment.js.map +1 -1
  13. package/app/autoLogin.d.ts +119 -72
  14. package/app/autoLogin.js +47 -0
  15. package/app/autoLogin.js.map +1 -1
  16. package/app/basicAuth.d.ts +66 -38
  17. package/app/basicAuth.js +28 -0
  18. package/app/basicAuth.js.map +1 -1
  19. package/app/bookmark.d.ts +71 -35
  20. package/app/bookmark.js +27 -0
  21. package/app/bookmark.js.map +1 -1
  22. package/app/getApp.d.ts +25 -58
  23. package/app/getApp.js +2 -2
  24. package/app/getApp.js.map +1 -1
  25. package/app/getMetadataSaml.d.ts +5 -11
  26. package/app/getMetadataSaml.js +2 -2
  27. package/app/getMetadataSaml.js.map +1 -1
  28. package/app/getOauth.d.ts +34 -62
  29. package/app/getOauth.js +2 -2
  30. package/app/getOauth.js.map +1 -1
  31. package/app/getSaml.d.ts +55 -75
  32. package/app/getSaml.js +2 -2
  33. package/app/getSaml.js.map +1 -1
  34. package/app/groupAssignment.d.ts +15 -6
  35. package/app/groupAssignment.js +9 -0
  36. package/app/groupAssignment.js.map +1 -1
  37. package/app/oauth.d.ts +301 -123
  38. package/app/oauth.js +82 -0
  39. package/app/oauth.js.map +1 -1
  40. package/app/oauthPostLogoutRedirectUri.d.ts +38 -3
  41. package/app/oauthPostLogoutRedirectUri.js +35 -0
  42. package/app/oauthPostLogoutRedirectUri.js.map +1 -1
  43. package/app/oauthRedirectUri.d.ts +37 -3
  44. package/app/oauthRedirectUri.js +34 -0
  45. package/app/oauthRedirectUri.js.map +1 -1
  46. package/app/saml.d.ts +303 -133
  47. package/app/saml.js +161 -0
  48. package/app/saml.js.map +1 -1
  49. package/app/securePasswordStore.d.ts +109 -79
  50. package/app/securePasswordStore.js +30 -0
  51. package/app/securePasswordStore.js.map +1 -1
  52. package/app/swa.d.ts +102 -72
  53. package/app/swa.js +30 -0
  54. package/app/swa.js.map +1 -1
  55. package/app/threeField.d.ts +87 -72
  56. package/app/threeField.js +15 -0
  57. package/app/threeField.js.map +1 -1
  58. package/app/user.d.ts +37 -12
  59. package/app/user.js +22 -0
  60. package/app/user.js.map +1 -1
  61. package/appGroupAssignments.d.ts +40 -3
  62. package/appGroupAssignments.js +37 -0
  63. package/appGroupAssignments.js.map +1 -1
  64. package/appOauthApiScope.d.ts +36 -3
  65. package/appOauthApiScope.js +33 -0
  66. package/appOauthApiScope.js.map +1 -1
  67. package/appSamlAppSettings.d.ts +44 -6
  68. package/appSamlAppSettings.js +38 -0
  69. package/appSamlAppSettings.js.map +1 -1
  70. package/appSharedCredentials.d.ts +115 -72
  71. package/appSharedCredentials.js +43 -0
  72. package/appSharedCredentials.js.map +1 -1
  73. package/appSignonPolicy.d.ts +44 -6
  74. package/appSignonPolicy.js +38 -0
  75. package/appSignonPolicy.js.map +1 -1
  76. package/appSignonPolicyRule.d.ts +327 -68
  77. package/appSignonPolicyRule.js +244 -0
  78. package/appSignonPolicyRule.js.map +1 -1
  79. package/appUserBaseSchemaProperty.d.ts +52 -24
  80. package/appUserBaseSchemaProperty.js +28 -0
  81. package/appUserBaseSchemaProperty.js.map +1 -1
  82. package/appUserSchemaProperty.d.ts +80 -54
  83. package/appUserSchemaProperty.js +26 -0
  84. package/appUserSchemaProperty.js.map +1 -1
  85. package/auth/getServer.d.ts +11 -11
  86. package/auth/getServer.js +2 -2
  87. package/auth/getServerPolicy.d.ts +9 -15
  88. package/auth/getServerPolicy.js +2 -2
  89. package/auth/getServerPolicy.js.map +1 -1
  90. package/auth/getServerScopes.d.ts +5 -8
  91. package/auth/getServerScopes.js +2 -2
  92. package/auth/getServerScopes.js.map +1 -1
  93. package/auth/server.d.ts +49 -13
  94. package/auth/server.js +27 -0
  95. package/auth/server.js.map +1 -1
  96. package/auth/serverClaim.d.ts +54 -18
  97. package/auth/serverClaim.js +27 -0
  98. package/auth/serverClaim.js.map +1 -1
  99. package/auth/serverPolicy.d.ts +43 -6
  100. package/auth/serverPolicy.js +28 -0
  101. package/auth/serverPolicy.js.map +1 -1
  102. package/auth/serverPolicyRule.d.ts +72 -29
  103. package/auth/serverPolicyRule.js +25 -0
  104. package/auth/serverPolicyRule.js.map +1 -1
  105. package/auth/serverScope.d.ts +41 -15
  106. package/auth/serverScope.js +26 -0
  107. package/auth/serverScope.js.map +1 -1
  108. package/authServerClaimDefault.d.ts +50 -13
  109. package/authServerClaimDefault.js +31 -0
  110. package/authServerClaimDefault.js.map +1 -1
  111. package/authServerDefault.d.ts +47 -13
  112. package/authServerDefault.js +25 -0
  113. package/authServerDefault.js.map +1 -1
  114. package/authenticator.d.ts +94 -38
  115. package/authenticator.js +38 -0
  116. package/authenticator.js.map +1 -1
  117. package/behaviour.d.ts +78 -18
  118. package/behaviour.js +42 -0
  119. package/behaviour.js.map +1 -1
  120. package/brand.d.ts +28 -19
  121. package/brand.js +10 -1
  122. package/brand.js.map +1 -1
  123. package/captcha.d.ts +38 -12
  124. package/captcha.js +26 -0
  125. package/captcha.js.map +1 -1
  126. package/captchaOrgWideSettings.d.ts +51 -6
  127. package/captchaOrgWideSettings.js +45 -0
  128. package/captchaOrgWideSettings.js.map +1 -1
  129. package/domain.d.ts +39 -13
  130. package/domain.js +20 -0
  131. package/domain.js.map +1 -1
  132. package/domainCertificate.d.ts +63 -15
  133. package/domainCertificate.js +48 -0
  134. package/domainCertificate.js.map +1 -1
  135. package/domainVerification.d.ts +22 -3
  136. package/domainVerification.js +19 -0
  137. package/domainVerification.js.map +1 -1
  138. package/emailCustomization.d.ts +224 -3
  139. package/emailCustomization.js +41 -0
  140. package/emailCustomization.js.map +1 -1
  141. package/emailSender.d.ts +39 -13
  142. package/emailSender.js +26 -0
  143. package/emailSender.js.map +1 -1
  144. package/emailSenderVerification.d.ts +26 -3
  145. package/emailSenderVerification.js +23 -0
  146. package/emailSenderVerification.js.map +1 -1
  147. package/eventHook.d.ts +37 -0
  148. package/eventHook.js +37 -0
  149. package/eventHook.js.map +1 -1
  150. package/eventHookVerification.d.ts +37 -3
  151. package/eventHookVerification.js +34 -0
  152. package/eventHookVerification.js.map +1 -1
  153. package/factor/factor.d.ts +23 -6
  154. package/factor/factor.js +14 -0
  155. package/factor/factor.js.map +1 -1
  156. package/factorTotp.d.ts +44 -12
  157. package/factorTotp.js +23 -0
  158. package/factorTotp.js.map +1 -1
  159. package/getAppGroupAssignments.d.ts +6 -6
  160. package/getAppGroupAssignments.js +2 -2
  161. package/getAppSignonPolicy.d.ts +6 -16
  162. package/getAppSignonPolicy.js +4 -8
  163. package/getAppSignonPolicy.js.map +1 -1
  164. package/getAppUserAssignments.d.ts +6 -6
  165. package/getAppUserAssignments.js +2 -2
  166. package/getAuthServerClaim.d.ts +12 -15
  167. package/getAuthServerClaim.js +2 -2
  168. package/getAuthServerClaim.js.map +1 -1
  169. package/getAuthServerClaims.d.ts +5 -8
  170. package/getAuthServerClaims.js +2 -2
  171. package/getAuthServerClaims.js.map +1 -1
  172. package/getAuthenticator.d.ts +26 -24
  173. package/getAuthenticator.js +22 -14
  174. package/getAuthenticator.js.map +1 -1
  175. package/getBehaviour.d.ts +8 -6
  176. package/getBehaviour.js +2 -2
  177. package/getBehaviour.js.map +1 -1
  178. package/getBehaviours.d.ts +7 -7
  179. package/getBehaviours.js +2 -2
  180. package/getBrand.d.ts +6 -9
  181. package/getBrand.js +2 -2
  182. package/getBrand.js.map +1 -1
  183. package/getBrands.d.ts +2 -2
  184. package/getBrands.js +2 -2
  185. package/getEmailCustomization.d.ts +9 -14
  186. package/getEmailCustomization.js +6 -2
  187. package/getEmailCustomization.js.map +1 -1
  188. package/getEmailCustomizations.d.ts +9 -11
  189. package/getEmailCustomizations.js +6 -2
  190. package/getEmailCustomizations.js.map +1 -1
  191. package/getGroups.d.ts +25 -11
  192. package/getGroups.js +2 -2
  193. package/getGroups.js.map +1 -1
  194. package/getNetworkZone.d.ts +12 -12
  195. package/getNetworkZone.js +2 -2
  196. package/getRoleSubscription.d.ts +35 -13
  197. package/getRoleSubscription.js +2 -2
  198. package/getRoleSubscription.js.map +1 -1
  199. package/getTemplate.d.ts +8 -10
  200. package/getTemplate.js +6 -2
  201. package/getTemplate.js.map +1 -1
  202. package/getTemplates.d.ts +7 -6
  203. package/getTemplates.js +6 -2
  204. package/getTemplates.js.map +1 -1
  205. package/getTheme.d.ts +12 -14
  206. package/getTheme.js +6 -2
  207. package/getTheme.js.map +1 -1
  208. package/getThemes.d.ts +7 -6
  209. package/getThemes.js +6 -2
  210. package/getThemes.js.map +1 -1
  211. package/getTrustedOrigins.d.ts +4 -7
  212. package/getTrustedOrigins.js +2 -2
  213. package/getTrustedOrigins.js.map +1 -1
  214. package/getUserSecurityQuestions.d.ts +8 -4
  215. package/getUserSecurityQuestions.js +4 -0
  216. package/getUserSecurityQuestions.js.map +1 -1
  217. package/group/getEveryoneGroup.d.ts +5 -10
  218. package/group/getEveryoneGroup.js +2 -4
  219. package/group/getEveryoneGroup.js.map +1 -1
  220. package/group/getGroup.d.ts +26 -17
  221. package/group/getGroup.js +2 -2
  222. package/group/getGroup.js.map +1 -1
  223. package/group/getRule.d.ts +15 -6
  224. package/group/getRule.js +2 -2
  225. package/group/getRule.js.map +1 -1
  226. package/group/group.d.ts +46 -9
  227. package/group/group.js +37 -0
  228. package/group/group.js.map +1 -1
  229. package/group/role.d.ts +101 -15
  230. package/group/role.js +26 -0
  231. package/group/role.js.map +1 -1
  232. package/group/rule.d.ts +80 -6
  233. package/group/rule.js +23 -0
  234. package/group/rule.js.map +1 -1
  235. package/groupMemberships.d.ts +48 -7
  236. package/groupMemberships.js +42 -1
  237. package/groupMemberships.js.map +1 -1
  238. package/groupSchemaProperty.d.ts +94 -51
  239. package/groupSchemaProperty.js +25 -0
  240. package/groupSchemaProperty.js.map +1 -1
  241. package/idp/getMetadataSaml.d.ts +6 -9
  242. package/idp/getMetadataSaml.js +2 -2
  243. package/idp/getMetadataSaml.js.map +1 -1
  244. package/idp/getOidc.d.ts +9 -9
  245. package/idp/getOidc.js +2 -2
  246. package/idp/getSaml.d.ts +13 -16
  247. package/idp/getSaml.js +2 -2
  248. package/idp/getSaml.js.map +1 -1
  249. package/idp/getSocial.d.ts +2 -8
  250. package/idp/getSocial.js +2 -2
  251. package/idp/getSocial.js.map +1 -1
  252. package/idp/oidc.d.ts +297 -12
  253. package/idp/oidc.js +36 -0
  254. package/idp/oidc.js.map +1 -1
  255. package/idp/saml.d.ts +284 -18
  256. package/idp/saml.js +32 -0
  257. package/idp/saml.js.map +1 -1
  258. package/idp/samlKey.d.ts +48 -3
  259. package/idp/samlKey.js +9 -0
  260. package/idp/samlKey.js.map +1 -1
  261. package/idp/social.d.ts +251 -18
  262. package/idp/social.js +32 -0
  263. package/idp/social.js.map +1 -1
  264. package/index/emailDomain.d.ts +41 -16
  265. package/index/emailDomain.js +25 -0
  266. package/index/emailDomain.js.map +1 -1
  267. package/index/emailDomainVerification.d.ts +25 -3
  268. package/index/emailDomainVerification.js +22 -0
  269. package/index/emailDomainVerification.js.map +1 -1
  270. package/index/getDomain.d.ts +14 -11
  271. package/index/getDomain.js +8 -2
  272. package/index/getDomain.js.map +1 -1
  273. package/inline/hook.d.ts +89 -0
  274. package/inline/hook.js +35 -0
  275. package/inline/hook.js.map +1 -1
  276. package/linkDefinition.d.ts +30 -0
  277. package/linkDefinition.js +30 -0
  278. package/linkDefinition.js.map +1 -1
  279. package/linkValue.d.ts +59 -6
  280. package/linkValue.js +53 -0
  281. package/linkValue.js.map +1 -1
  282. package/network/zone.d.ts +74 -27
  283. package/network/zone.js +44 -0
  284. package/network/zone.js.map +1 -1
  285. package/orgConfiguration.d.ts +25 -0
  286. package/orgConfiguration.js +25 -0
  287. package/orgConfiguration.js.map +1 -1
  288. package/orgSupport.d.ts +20 -3
  289. package/orgSupport.js +17 -0
  290. package/orgSupport.js.map +1 -1
  291. package/package.json +1 -1
  292. package/policy/getDefaultPolicy.d.ts +7 -9
  293. package/policy/getDefaultPolicy.js +2 -6
  294. package/policy/getDefaultPolicy.js.map +1 -1
  295. package/policy/getPolicy.d.ts +10 -11
  296. package/policy/getPolicy.js +2 -2
  297. package/policy/getPolicy.js.map +1 -1
  298. package/policy/mfa.d.ts +259 -18
  299. package/policy/mfa.js +49 -0
  300. package/policy/mfa.js.map +1 -1
  301. package/policy/password.d.ts +117 -90
  302. package/policy/password.js +27 -0
  303. package/policy/password.js.map +1 -1
  304. package/policy/ruleIdpDiscovery.d.ts +149 -27
  305. package/policy/ruleIdpDiscovery.js +65 -0
  306. package/policy/ruleIdpDiscovery.js.map +1 -1
  307. package/policy/ruleMfa.d.ts +35 -24
  308. package/policy/ruleMfa.js +11 -0
  309. package/policy/ruleMfa.js.map +1 -1
  310. package/policy/rulePassword.d.ts +46 -33
  311. package/policy/rulePassword.js +13 -0
  312. package/policy/rulePassword.js.map +1 -1
  313. package/policy/ruleSignon.d.ts +170 -57
  314. package/policy/ruleSignon.js +92 -0
  315. package/policy/ruleSignon.js.map +1 -1
  316. package/policy/signon.d.ts +41 -15
  317. package/policy/signon.js +26 -0
  318. package/policy/signon.js.map +1 -1
  319. package/policyMfaDefault.d.ts +250 -13
  320. package/policyMfaDefault.js +45 -0
  321. package/policyMfaDefault.js.map +1 -1
  322. package/policyPasswordDefault.d.ts +88 -54
  323. package/policyPasswordDefault.js +22 -0
  324. package/policyPasswordDefault.js.map +1 -1
  325. package/policyProfileEnrollment.d.ts +28 -6
  326. package/policyProfileEnrollment.js +22 -0
  327. package/policyProfileEnrollment.js.map +1 -1
  328. package/policyProfileEnrollmentApps.d.ts +42 -5
  329. package/policyProfileEnrollmentApps.js +37 -0
  330. package/policyProfileEnrollmentApps.js.map +1 -1
  331. package/policyRuleProfileEnrollment.d.ts +88 -26
  332. package/policyRuleProfileEnrollment.js +62 -0
  333. package/policyRuleProfileEnrollment.js.map +1 -1
  334. package/profile/mapping.d.ts +95 -9
  335. package/profile/mapping.js +41 -0
  336. package/profile/mapping.js.map +1 -1
  337. package/rateLimiting.d.ts +43 -9
  338. package/rateLimiting.js +28 -0
  339. package/rateLimiting.js.map +1 -1
  340. package/resourceSet.d.ts +32 -10
  341. package/resourceSet.js +20 -1
  342. package/resourceSet.js.map +1 -1
  343. package/roleSubscription.d.ts +110 -9
  344. package/roleSubscription.js +26 -0
  345. package/roleSubscription.js.map +1 -1
  346. package/securityNotificationEmails.d.ts +45 -15
  347. package/securityNotificationEmails.js +30 -0
  348. package/securityNotificationEmails.js.map +1 -1
  349. package/templateSms.d.ts +47 -3
  350. package/templateSms.js +35 -0
  351. package/templateSms.js.map +1 -1
  352. package/theme.d.ts +59 -44
  353. package/theme.js +15 -0
  354. package/theme.js.map +1 -1
  355. package/threatInsightSettings.d.ts +58 -6
  356. package/threatInsightSettings.js +34 -0
  357. package/threatInsightSettings.js.map +1 -1
  358. package/trustedorigin/origin.d.ts +37 -12
  359. package/trustedorigin/origin.js +25 -0
  360. package/trustedorigin/origin.js.map +1 -1
  361. package/types/input.d.ts +227 -60
  362. package/types/output.d.ts +446 -56
  363. package/user/getUser.d.ts +104 -32
  364. package/user/getUser.js +2 -2
  365. package/user/getUser.js.map +1 -1
  366. package/user/getUserProfileMappingSource.d.ts +7 -9
  367. package/user/getUserProfileMappingSource.js +4 -6
  368. package/user/getUserProfileMappingSource.js.map +1 -1
  369. package/user/getUserType.d.ts +7 -7
  370. package/user/getUserType.js +2 -2
  371. package/user/getUsers.d.ts +57 -61
  372. package/user/getUsers.js +44 -30
  373. package/user/getUsers.js.map +1 -1
  374. package/user/user.d.ts +215 -117
  375. package/user/user.js +71 -0
  376. package/user/user.js.map +1 -1
  377. package/user/userType.d.ts +34 -9
  378. package/user/userType.js +25 -0
  379. package/user/userType.js.map +1 -1
  380. package/userAdminRoles.d.ts +41 -10
  381. package/userAdminRoles.js +29 -1
  382. package/userAdminRoles.js.map +1 -1
  383. package/userBaseSchemaProperty.d.ts +67 -24
  384. package/userBaseSchemaProperty.js +43 -0
  385. package/userBaseSchemaProperty.js.map +1 -1
  386. package/userFactorQuestion.d.ts +52 -14
  387. package/userFactorQuestion.js +39 -1
  388. package/userFactorQuestion.js.map +1 -1
  389. package/userGroupMemberships.d.ts +23 -4
  390. package/userGroupMemberships.js +20 -1
  391. package/userGroupMemberships.js.map +1 -1
  392. package/userSchemaProperty.d.ts +107 -57
  393. package/userSchemaProperty.js +32 -0
  394. package/userSchemaProperty.js.map +1 -1
  395. package/utilities.d.ts +4 -0
  396. package/utilities.js +33 -1
  397. 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
- * Behavior status: ACTIVE or INACTIVE.
81
+ * The status of the behavior. By default, it is`"ACTIVE"`.
36
82
  */
37
83
  readonly status: pulumi.Output<string | undefined>;
38
84
  /**
39
- * Behavior type
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
- * Behavior status: ACTIVE or INACTIVE.
128
+ * The status of the behavior. By default, it is`"ACTIVE"`.
77
129
  */
78
130
  status?: pulumi.Input<string>;
79
131
  /**
80
- * Behavior type
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
- * Behavior status: ACTIVE or INACTIVE.
167
+ * The status of the behavior. By default, it is`"ACTIVE"`.
110
168
  */
111
169
  status?: pulumi.Input<string>;
112
170
  /**
113
- * Behavior type
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 &#60;behavior id&#62;
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,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F,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1D,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;SACjE;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,SAAS,CAAC,YAAY,EAAE,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
- * Manages brand
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 &#60;brand id&#62;
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
- * Consent for updating the custom privacy policy URL.
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 - Note: Okta API for brands only reads and updates therefore the okta*brand resource needs to act as a quasi data source. Do this by setting 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
- * Brand name
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
- * Consent for updating the custom privacy policy URL.
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 - Note: Okta API for brands only reads and updates therefore the okta*brand resource needs to act as a quasi data source. Do this by setting 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
- * Brand name
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
- * Consent for updating the custom privacy policy URL.
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 - Note: Okta API for brands only reads and updates therefore the okta*brand resource needs to act as a quasi data source. Do this by setting 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
- * Brand name
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
- * Manages brand
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 &#60;brand id&#62;
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;;GAEG;AACH,MAAa,KAAM,SAAQ,MAAM,CAAC,cAAc;IAC5C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAkB,EAAE,IAAmC;QAChH,OAAO,IAAI,KAAK,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC5D,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAA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AAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,qBAAqB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,mBAAmB,CAAC,CAAC,CAAC,SAAS,CAAC;YACpF,cAAc,CAAC,eAAe,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACpD,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,OAAO,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC/C;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,KAAK,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC1D,CAAC;;AAzHL,sBA0HC;AA5GG,gBAAgB;AACO,kBAAY,GAAG,wBAAwB,CAAC"}
package/captcha.d.ts CHANGED
@@ -1,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 &#60;captcha id&#62;
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 CAPTCHA
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
- * Captcha type
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 CAPTCHA
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
- * Captcha type
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 CAPTCHA
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
- * Captcha type
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 &#60;captcha id&#62;
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,iF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S,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
- * Set of pages that have CAPTCHA enabled
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
- * Set of pages that have CAPTCHA enabled
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
- * Set of pages that have CAPTCHA enabled
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
  }