@pulumi/okta 4.9.0-alpha.1718431198 → 4.9.0-alpha.1718755579

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 (405) hide show
  1. package/adminRoleCustom.d.ts +105 -107
  2. package/adminRoleCustom.js +3 -5
  3. package/adminRoleCustom.js.map +1 -1
  4. package/adminRoleCustomAssignments.d.ts +12 -18
  5. package/adminRoleCustomAssignments.js +3 -6
  6. package/adminRoleCustomAssignments.js.map +1 -1
  7. package/adminRoleTargets.d.ts +14 -16
  8. package/adminRoleTargets.js +0 -2
  9. package/adminRoleTargets.js.map +1 -1
  10. package/app/accessPolicyAssignment.d.ts +23 -2
  11. package/app/accessPolicyAssignment.js +23 -2
  12. package/app/accessPolicyAssignment.js.map +1 -1
  13. package/app/autoLogin.d.ts +63 -97
  14. package/app/autoLogin.js +3 -37
  15. package/app/autoLogin.js.map +1 -1
  16. package/app/basicAuth.d.ts +30 -33
  17. package/app/basicAuth.js +4 -7
  18. package/app/basicAuth.js.map +1 -1
  19. package/app/bookmark.d.ts +30 -33
  20. package/app/bookmark.js +3 -6
  21. package/app/bookmark.js.map +1 -1
  22. package/app/getApp.d.ts +58 -25
  23. package/app/getApp.js +2 -2
  24. package/app/getApp.js.map +1 -1
  25. package/app/getMetadataSaml.d.ts +11 -5
  26. package/app/getMetadataSaml.js +2 -2
  27. package/app/getMetadataSaml.js.map +1 -1
  28. package/app/getOauth.d.ts +62 -34
  29. package/app/getOauth.js +2 -2
  30. package/app/getOauth.js.map +1 -1
  31. package/app/getSaml.d.ts +75 -56
  32. package/app/getSaml.js +2 -2
  33. package/app/getSaml.js.map +1 -1
  34. package/app/groupAssignment.d.ts +23 -9
  35. package/app/groupAssignment.js +17 -3
  36. package/app/groupAssignment.js.map +1 -1
  37. package/app/oauth.d.ts +135 -273
  38. package/app/oauth.js +6 -60
  39. package/app/oauth.js.map +1 -1
  40. package/app/oauthPostLogoutRedirectUri.d.ts +4 -6
  41. package/app/oauthPostLogoutRedirectUri.js +1 -3
  42. package/app/oauthPostLogoutRedirectUri.js.map +1 -1
  43. package/app/oauthRedirectUri.d.ts +4 -6
  44. package/app/oauthRedirectUri.js +1 -3
  45. package/app/oauthRedirectUri.js.map +1 -1
  46. package/app/oauthRoleAssignment.d.ts +4 -29
  47. package/app/oauthRoleAssignment.js +4 -29
  48. package/app/oauthRoleAssignment.js.map +1 -1
  49. package/app/saml.d.ts +161 -289
  50. package/app/saml.js +6 -152
  51. package/app/saml.js.map +1 -1
  52. package/app/securePasswordStore.d.ts +79 -80
  53. package/app/securePasswordStore.js +6 -7
  54. package/app/securePasswordStore.js.map +1 -1
  55. package/app/swa.d.ts +70 -71
  56. package/app/swa.js +4 -5
  57. package/app/swa.js.map +1 -1
  58. package/app/threeField.d.ts +74 -76
  59. package/app/threeField.js +5 -7
  60. package/app/threeField.js.map +1 -1
  61. package/app/user.d.ts +12 -17
  62. package/app/user.js +0 -2
  63. package/app/user.js.map +1 -1
  64. package/appGroupAssignments.d.ts +6 -8
  65. package/appGroupAssignments.js +3 -5
  66. package/appGroupAssignments.js.map +1 -1
  67. package/appOauthApiScope.d.ts +5 -7
  68. package/appOauthApiScope.js +2 -4
  69. package/appOauthApiScope.js.map +1 -1
  70. package/appSamlAppSettings.d.ts +6 -7
  71. package/appSamlAppSettings.js +3 -4
  72. package/appSamlAppSettings.js.map +1 -1
  73. package/appSharedCredentials.d.ts +61 -63
  74. package/appSharedCredentials.js +4 -6
  75. package/appSharedCredentials.js.map +1 -1
  76. package/appSignonPolicy.d.ts +3 -39
  77. package/appSignonPolicy.js +3 -39
  78. package/appSignonPolicy.js.map +1 -1
  79. package/appSignonPolicyRule.d.ts +69 -361
  80. package/appSignonPolicyRule.js +1 -278
  81. package/appSignonPolicyRule.js.map +1 -1
  82. package/appUserBaseSchemaProperty.d.ts +25 -29
  83. package/appUserBaseSchemaProperty.js +1 -5
  84. package/appUserBaseSchemaProperty.js.map +1 -1
  85. package/appUserSchemaProperty.d.ts +51 -41
  86. package/appUserSchemaProperty.js +0 -2
  87. package/appUserSchemaProperty.js.map +1 -1
  88. package/auth/getServer.d.ts +11 -11
  89. package/auth/getServer.js +2 -2
  90. package/auth/getServerPolicy.d.ts +15 -9
  91. package/auth/getServerPolicy.js +2 -2
  92. package/auth/getServerPolicy.js.map +1 -1
  93. package/auth/getServerScopes.d.ts +8 -5
  94. package/auth/getServerScopes.js +2 -2
  95. package/auth/getServerScopes.js.map +1 -1
  96. package/auth/server.d.ts +15 -19
  97. package/auth/server.js +1 -5
  98. package/auth/server.js.map +1 -1
  99. package/auth/serverClaim.d.ts +13 -17
  100. package/auth/serverClaim.js +1 -5
  101. package/auth/serverClaim.js.map +1 -1
  102. package/auth/serverPolicy.d.ts +10 -14
  103. package/auth/serverPolicy.js +1 -5
  104. package/auth/serverPolicy.js.map +1 -1
  105. package/auth/serverPolicyClaim.d.ts +50 -66
  106. package/auth/serverPolicyClaim.js +0 -25
  107. package/auth/serverPolicyClaim.js.map +1 -1
  108. package/auth/serverPolicyRule.d.ts +32 -43
  109. package/auth/serverPolicyRule.js +0 -2
  110. package/auth/serverPolicyRule.js.map +1 -1
  111. package/auth/serverScope.d.ts +16 -20
  112. package/auth/serverScope.js +1 -5
  113. package/auth/serverScope.js.map +1 -1
  114. package/authServerClaimDefault.d.ts +10 -25
  115. package/authServerClaimDefault.js +0 -9
  116. package/authServerClaimDefault.js.map +1 -1
  117. package/authServerDefault.d.ts +15 -19
  118. package/authServerDefault.js +1 -5
  119. package/authServerDefault.js.map +1 -1
  120. package/authenticator.d.ts +53 -61
  121. package/authenticator.js +11 -11
  122. package/authenticator.js.map +1 -1
  123. package/behaviour.d.ts +21 -41
  124. package/behaviour.js +0 -2
  125. package/behaviour.js.map +1 -1
  126. package/brand.d.ts +23 -22
  127. package/brand.js +8 -4
  128. package/brand.js.map +1 -1
  129. package/captcha.d.ts +15 -17
  130. package/captcha.js +3 -5
  131. package/captcha.js.map +1 -1
  132. package/captchaOrgWideSettings.d.ts +8 -43
  133. package/captchaOrgWideSettings.js +2 -37
  134. package/captchaOrgWideSettings.js.map +1 -1
  135. package/domain.d.ts +13 -21
  136. package/domain.js +0 -2
  137. package/domain.js.map +1 -1
  138. package/domainCertificate.d.ts +17 -24
  139. package/domainCertificate.js +2 -9
  140. package/domainCertificate.js.map +1 -1
  141. package/domainVerification.d.ts +4 -10
  142. package/domainVerification.js +1 -7
  143. package/domainVerification.js.map +1 -1
  144. package/emailCustomization.d.ts +38 -222
  145. package/emailCustomization.js +29 -33
  146. package/emailCustomization.js.map +1 -1
  147. package/emailDomain.d.ts +4 -8
  148. package/emailDomain.js +0 -4
  149. package/emailDomain.js.map +1 -1
  150. package/emailDomainVerification.d.ts +3 -7
  151. package/emailDomainVerification.js +0 -4
  152. package/emailDomainVerification.js.map +1 -1
  153. package/emailSender.d.ts +15 -17
  154. package/emailSender.js +2 -4
  155. package/emailSender.js.map +1 -1
  156. package/emailSenderVerification.d.ts +5 -9
  157. package/emailSenderVerification.js +2 -6
  158. package/emailSenderVerification.js.map +1 -1
  159. package/eventHook.d.ts +16 -11
  160. package/eventHook.js +1 -5
  161. package/eventHook.js.map +1 -1
  162. package/eventHookVerification.d.ts +4 -10
  163. package/eventHookVerification.js +1 -7
  164. package/eventHookVerification.js.map +1 -1
  165. package/factor/factor.d.ts +4 -9
  166. package/factor/factor.js +1 -3
  167. package/factor/factor.js.map +1 -1
  168. package/factorTotp.d.ts +12 -21
  169. package/factorTotp.js +3 -3
  170. package/factorTotp.js.map +1 -1
  171. package/getAppGroupAssignments.d.ts +6 -6
  172. package/getAppGroupAssignments.js +2 -2
  173. package/getAppSignonPolicy.d.ts +16 -6
  174. package/getAppSignonPolicy.js +8 -4
  175. package/getAppSignonPolicy.js.map +1 -1
  176. package/getAppUserAssignments.d.ts +6 -6
  177. package/getAppUserAssignments.js +2 -2
  178. package/getAuthServerClaim.d.ts +15 -12
  179. package/getAuthServerClaim.js +2 -2
  180. package/getAuthServerClaim.js.map +1 -1
  181. package/getAuthServerClaims.d.ts +8 -5
  182. package/getAuthServerClaims.js +2 -2
  183. package/getAuthServerClaims.js.map +1 -1
  184. package/getAuthenticator.d.ts +24 -26
  185. package/getAuthenticator.js +14 -22
  186. package/getAuthenticator.js.map +1 -1
  187. package/getBehaviour.d.ts +6 -8
  188. package/getBehaviour.js +2 -2
  189. package/getBehaviour.js.map +1 -1
  190. package/getBehaviours.d.ts +7 -7
  191. package/getBehaviours.js +2 -2
  192. package/getBrand.d.ts +9 -6
  193. package/getBrand.js +2 -2
  194. package/getBrand.js.map +1 -1
  195. package/getBrands.d.ts +2 -2
  196. package/getBrands.js +2 -2
  197. package/getDomain.d.ts +11 -14
  198. package/getDomain.js +2 -8
  199. package/getDomain.js.map +1 -1
  200. package/getEmailCustomization.d.ts +14 -9
  201. package/getEmailCustomization.js +2 -6
  202. package/getEmailCustomization.js.map +1 -1
  203. package/getEmailCustomizations.d.ts +11 -9
  204. package/getEmailCustomizations.js +2 -6
  205. package/getEmailCustomizations.js.map +1 -1
  206. package/getGroups.d.ts +11 -25
  207. package/getGroups.js +2 -2
  208. package/getGroups.js.map +1 -1
  209. package/getLogStream.d.ts +8 -39
  210. package/getLogStream.js +2 -24
  211. package/getLogStream.js.map +1 -1
  212. package/getNetworkZone.d.ts +12 -12
  213. package/getNetworkZone.js +2 -2
  214. package/getOrgMetadata.d.ts +0 -22
  215. package/getOrgMetadata.js +0 -22
  216. package/getOrgMetadata.js.map +1 -1
  217. package/getRoleSubscription.d.ts +13 -35
  218. package/getRoleSubscription.js +2 -2
  219. package/getRoleSubscription.js.map +1 -1
  220. package/getTemplate.d.ts +10 -8
  221. package/getTemplate.js +2 -6
  222. package/getTemplate.js.map +1 -1
  223. package/getTemplates.d.ts +6 -7
  224. package/getTemplates.js +2 -6
  225. package/getTemplates.js.map +1 -1
  226. package/getTheme.d.ts +14 -12
  227. package/getTheme.js +2 -6
  228. package/getTheme.js.map +1 -1
  229. package/getThemes.d.ts +6 -7
  230. package/getThemes.js +2 -6
  231. package/getThemes.js.map +1 -1
  232. package/getTrustedOrigins.d.ts +7 -4
  233. package/getTrustedOrigins.js +2 -2
  234. package/getTrustedOrigins.js.map +1 -1
  235. package/getUserSecurityQuestions.d.ts +4 -8
  236. package/getUserSecurityQuestions.js +0 -4
  237. package/getUserSecurityQuestions.js.map +1 -1
  238. package/group/getEveryoneGroup.d.ts +10 -5
  239. package/group/getEveryoneGroup.js +4 -2
  240. package/group/getEveryoneGroup.js.map +1 -1
  241. package/group/getGroup.d.ts +17 -26
  242. package/group/getGroup.js +2 -2
  243. package/group/getGroup.js.map +1 -1
  244. package/group/getRule.d.ts +9 -9
  245. package/group/getRule.js +2 -2
  246. package/group/group.d.ts +4 -36
  247. package/group/group.js +1 -33
  248. package/group/group.js.map +1 -1
  249. package/group/role.d.ts +37 -81
  250. package/group/role.js +1 -6
  251. package/group/role.js.map +1 -1
  252. package/group/rule.d.ts +12 -20
  253. package/group/rule.js +0 -2
  254. package/group/rule.js.map +1 -1
  255. package/groupMemberships.d.ts +8 -10
  256. package/groupMemberships.js +2 -4
  257. package/groupMemberships.js.map +1 -1
  258. package/groupSchemaProperty.d.ts +57 -59
  259. package/groupSchemaProperty.js +0 -2
  260. package/groupSchemaProperty.js.map +1 -1
  261. package/idp/getMetadataSaml.d.ts +9 -6
  262. package/idp/getMetadataSaml.js +2 -2
  263. package/idp/getMetadataSaml.js.map +1 -1
  264. package/idp/getOidc.d.ts +9 -9
  265. package/idp/getOidc.js +2 -2
  266. package/idp/getSaml.d.ts +16 -13
  267. package/idp/getSaml.js +2 -2
  268. package/idp/getSaml.js.map +1 -1
  269. package/idp/getSocial.d.ts +8 -2
  270. package/idp/getSocial.js +2 -2
  271. package/idp/getSocial.js.map +1 -1
  272. package/idp/oidc.d.ts +70 -62
  273. package/idp/oidc.js +3 -5
  274. package/idp/oidc.js.map +1 -1
  275. package/idp/saml.d.ts +64 -86
  276. package/idp/saml.js +1 -5
  277. package/idp/saml.js.map +1 -1
  278. package/idp/samlKey.d.ts +3 -5
  279. package/idp/samlKey.js +0 -2
  280. package/idp/samlKey.js.map +1 -1
  281. package/idp/social.d.ts +99 -69
  282. package/idp/social.js +11 -5
  283. package/idp/social.js.map +1 -1
  284. package/inline/hook.d.ts +4 -26
  285. package/inline/hook.js +1 -5
  286. package/inline/hook.js.map +1 -1
  287. package/linkDefinition.d.ts +2 -3
  288. package/linkDefinition.js +2 -3
  289. package/linkDefinition.js.map +1 -1
  290. package/linkValue.d.ts +7 -9
  291. package/linkValue.js +1 -3
  292. package/linkValue.js.map +1 -1
  293. package/logStream.d.ts +32 -27
  294. package/logStream.js +23 -9
  295. package/logStream.js.map +1 -1
  296. package/network/zone.d.ts +25 -66
  297. package/network/zone.js +1 -39
  298. package/network/zone.js.map +1 -1
  299. package/orgConfiguration.d.ts +4 -9
  300. package/orgConfiguration.js +1 -3
  301. package/orgConfiguration.js.map +1 -1
  302. package/orgSupport.d.ts +4 -7
  303. package/orgSupport.js +1 -4
  304. package/orgSupport.js.map +1 -1
  305. package/package.json +3 -3
  306. package/policy/getDefaultPolicy.d.ts +9 -7
  307. package/policy/getDefaultPolicy.js +6 -2
  308. package/policy/getDefaultPolicy.js.map +1 -1
  309. package/policy/getPolicy.d.ts +11 -26
  310. package/policy/getPolicy.js +2 -2
  311. package/policy/getPolicy.js.map +1 -1
  312. package/policy/mfa.d.ts +18 -220
  313. package/policy/mfa.js +0 -10
  314. package/policy/mfa.js.map +1 -1
  315. package/policy/password.d.ts +91 -95
  316. package/policy/password.js +1 -5
  317. package/policy/password.js.map +1 -1
  318. package/policy/ruleIdpDiscovery.d.ts +111 -93
  319. package/policy/ruleIdpDiscovery.js +48 -57
  320. package/policy/ruleIdpDiscovery.js.map +1 -1
  321. package/policy/ruleMfa.d.ts +40 -30
  322. package/policy/ruleMfa.js +1 -3
  323. package/policy/ruleMfa.js.map +1 -1
  324. package/policy/rulePassword.d.ts +34 -38
  325. package/policy/rulePassword.js +1 -5
  326. package/policy/rulePassword.js.map +1 -1
  327. package/policy/ruleSignon.d.ts +94 -85
  328. package/policy/ruleSignon.js +1 -4
  329. package/policy/ruleSignon.js.map +1 -1
  330. package/policy/signon.d.ts +16 -20
  331. package/policy/signon.js +1 -5
  332. package/policy/signon.js.map +1 -1
  333. package/policyMfaDefault.d.ts +15 -214
  334. package/policyMfaDefault.js +2 -9
  335. package/policyMfaDefault.js.map +1 -1
  336. package/policyPasswordDefault.d.ts +85 -101
  337. package/policyPasswordDefault.js +1 -5
  338. package/policyPasswordDefault.js.map +1 -1
  339. package/policyProfileEnrollment.d.ts +8 -9
  340. package/policyProfileEnrollment.js +2 -3
  341. package/policyProfileEnrollment.js.map +1 -1
  342. package/policyProfileEnrollmentApps.d.ts +8 -11
  343. package/policyProfileEnrollmentApps.js +3 -6
  344. package/policyProfileEnrollmentApps.js.map +1 -1
  345. package/policyRuleProfileEnrollment.d.ts +42 -31
  346. package/policyRuleProfileEnrollment.js +2 -3
  347. package/policyRuleProfileEnrollment.js.map +1 -1
  348. package/profile/mapping.d.ts +19 -34
  349. package/profile/mapping.js +4 -4
  350. package/profile/mapping.js.map +1 -1
  351. package/rateLimiting.d.ts +8 -17
  352. package/rateLimiting.js +2 -5
  353. package/rateLimiting.js.map +1 -1
  354. package/resourceSet.d.ts +18 -26
  355. package/resourceSet.js +9 -14
  356. package/resourceSet.js.map +1 -1
  357. package/roleSubscription.d.ts +35 -86
  358. package/roleSubscription.js +2 -2
  359. package/roleSubscription.js.map +1 -1
  360. package/securityNotificationEmails.d.ts +4 -7
  361. package/securityNotificationEmails.js +4 -7
  362. package/securityNotificationEmails.js.map +1 -1
  363. package/templateSms.d.ts +4 -8
  364. package/templateSms.js +1 -5
  365. package/templateSms.js.map +1 -1
  366. package/theme.d.ts +46 -46
  367. package/theme.js +2 -2
  368. package/threatInsightSettings.d.ts +7 -27
  369. package/threatInsightSettings.js +1 -3
  370. package/threatInsightSettings.js.map +1 -1
  371. package/trustedorigin/origin.d.ts +13 -17
  372. package/trustedorigin/origin.js +1 -5
  373. package/trustedorigin/origin.js.map +1 -1
  374. package/types/input.d.ts +65 -162
  375. package/types/output.d.ts +75 -275
  376. package/user/getUser.d.ts +32 -104
  377. package/user/getUser.js +2 -2
  378. package/user/getUser.js.map +1 -1
  379. package/user/getUserProfileMappingSource.d.ts +9 -7
  380. package/user/getUserProfileMappingSource.js +6 -4
  381. package/user/getUserProfileMappingSource.js.map +1 -1
  382. package/user/getUserType.d.ts +7 -7
  383. package/user/getUserType.js +2 -2
  384. package/user/getUsers.d.ts +95 -37
  385. package/user/getUsers.js +64 -24
  386. package/user/getUsers.js.map +1 -1
  387. package/user/user.d.ts +160 -209
  388. package/user/user.js +43 -65
  389. package/user/user.js.map +1 -1
  390. package/user/userType.d.ts +1 -5
  391. package/user/userType.js +1 -5
  392. package/user/userType.js.map +1 -1
  393. package/userAdminRoles.d.ts +10 -17
  394. package/userAdminRoles.js +1 -5
  395. package/userAdminRoles.js.map +1 -1
  396. package/userBaseSchemaProperty.d.ts +26 -34
  397. package/userBaseSchemaProperty.js +2 -10
  398. package/userBaseSchemaProperty.js.map +1 -1
  399. package/userFactorQuestion.d.ts +1 -5
  400. package/userFactorQuestion.js +1 -5
  401. package/userFactorQuestion.js.map +1 -1
  402. package/userGroupMemberships.d.ts +3 -3
  403. package/userSchemaProperty.d.ts +57 -56
  404. package/userSchemaProperty.js +0 -8
  405. package/userSchemaProperty.js.map +1 -1
@@ -5,11 +5,16 @@ import * as pulumi from "@pulumi/pulumi";
5
5
  * This resource allows you to configure different authenticators.
6
6
  *
7
7
  * > **Create:** The Okta API has an odd notion of create for authenticators. If
8
- * the authenticator doesn't exist then a one time `POST /api/v1/authenticators` to
8
+ * the authenticator doesn't exist then a one time 'POST /api/v1/authenticators' to
9
9
  * create the authenticator (hard create) will be performed. Thereafter, that
10
10
  * authenticator is never deleted, it is only deactivated (soft delete). Therefore,
11
11
  * if the authenticator already exists create is just a soft import of an existing
12
- * authenticator.
12
+ * authenticator. This does not apply to customOtp authenticator. There can be
13
+ * multiple customOtp authenticator. To create new customOtp authenticator, a new
14
+ * name and key = customOtp is required. If an old name is used, it will simply
15
+ * reactivate the old customOtp authenticator
16
+ *
17
+ * > **Update:** customOtp authenticator cannot be updated
13
18
  *
14
19
  * > **Delete:** Authenticators can not be truly deleted therefore delete is soft.
15
20
  * Delete will attempt to deativate the authenticator. An authenticator can only be
@@ -28,13 +33,7 @@ import * as pulumi from "@pulumi/pulumi";
28
33
  * allowedFor: "recovery",
29
34
  * }),
30
35
  * });
31
- * ```
32
- *
33
- * ```typescript
34
- * import * as pulumi from "@pulumi/pulumi";
35
- * import * as okta from "@pulumi/okta";
36
- *
37
- * const test = new okta.Authenticator("test", {
36
+ * const otp = new okta.Authenticator("otp", {
38
37
  * name: "Custom OTP",
39
38
  * key: "custom_otp",
40
39
  * status: "ACTIVE",
@@ -46,13 +45,12 @@ import * as pulumi from "@pulumi/pulumi";
46
45
  * algorithm: "HMacSHA256",
47
46
  * passCodeLength: 6,
48
47
  * }),
48
+ * legacyIgnoreName: false,
49
49
  * });
50
50
  * ```
51
51
  *
52
52
  * ## Import
53
53
  *
54
- * Okta authenticator can be imported via the Okta ID.
55
- *
56
54
  * ```sh
57
55
  * $ pulumi import okta:index/authenticator:Authenticator example <authenticator_id>
58
56
  * ```
@@ -74,23 +72,27 @@ export declare class Authenticator extends pulumi.CustomResource {
74
72
  */
75
73
  static isInstance(obj: any): obj is Authenticator;
76
74
  /**
77
- * A human-readable string that identifies the authenticator. Some authenticators are available by feature flag on the organization. Possible values inclue: `duo`, `externalIdp`, `googleOtp`, `oktaEmail`, `oktaPassword`, `oktaVerify`, `onpremMfa`, `phoneNumber`, `rsaToken`, `securityQuestion`, `webauthn`, `customOtp`
75
+ * A human-readable string that identifies the authenticator. Some authenticators are available by feature flag on the organization. Possible values inclue: `duo`, `externalIdp`, `googleOtp`, `oktaEmail`, `oktaPassword`, `oktaVerify`, `onpremMfa`, `phoneNumber`, `rsaToken`, `securityQuestion`, `webauthn`
78
76
  */
79
77
  readonly key: pulumi.Output<string>;
80
78
  /**
81
- * Name of the authenticator.
79
+ * Name does not trigger change detection (legacy behavior)
80
+ */
81
+ readonly legacyIgnoreName: pulumi.Output<boolean | undefined>;
82
+ /**
83
+ * Display name of the Authenticator
82
84
  */
83
85
  readonly name: pulumi.Output<string>;
84
86
  /**
85
- * The RADIUS server port (for example 1812). This is defined when the On-Prem RADIUS server is configured. Used only for authenticators with type `"securityKey"`. Conflicts with `providerJson` argument.
87
+ * The RADIUS server port (for example 1812). This is defined when the On-Prem RADIUS server is configured. Used only for authenticators with type `securityKey`. Conflicts with `providerJson` argument.
86
88
  */
87
89
  readonly providerAuthPort: pulumi.Output<number | undefined>;
88
90
  /**
89
- * (DUO specific) - The Duo Security API hostname". Conflicts with `providerJson` argument.
91
+ * (DUO specific) - The Duo Security API hostname. Conflicts with `providerJson` argument.
90
92
  */
91
93
  readonly providerHost: pulumi.Output<string | undefined>;
92
94
  /**
93
- * Server host name or IP address. Default is `"localhost"`. Used only for authenticators with type `"securityKey"`. Conflicts with `providerJson` argument.
95
+ * Server host name or IP address. Default is `localhost`. Used only for authenticators with type `securityKey`. Conflicts with `providerJson` argument.
94
96
  */
95
97
  readonly providerHostname: pulumi.Output<string | undefined>;
96
98
  /**
@@ -102,13 +104,7 @@ export declare class Authenticator extends pulumi.CustomResource {
102
104
  */
103
105
  readonly providerIntegrationKey: pulumi.Output<string | undefined>;
104
106
  /**
105
- * Provider JSON allows for expressive provider
106
- * values. This argument conflicts with the other `providerXxx` arguments. The
107
- * [Create
108
- * Provider](https://developer.okta.com/docs/reference/api/authenticators-admin/#request)
109
- * illustrates detailed provider values for a Duo authenticator. [Provider
110
- * values](https://developer.okta.com/docs/reference/api/authenticators-admin/#authenticators-administration-api-object)
111
- * are listed in Okta API.
107
+ * Provider JSON allows for expressive providervalues. This argument conflicts with the other 'provider_xxx' arguments. The [CreateProvider](https://developer.okta.com/docs/reference/api/authenticators-admin/#request) illustrates detailed provider values for a Duo authenticator. [Provider values](https://developer.okta.com/docs/reference/api/authenticators-admin/#authenticators-administration-api-object)are listed in Okta API.
112
108
  */
113
109
  readonly providerJson: pulumi.Output<string | undefined>;
114
110
  /**
@@ -116,7 +112,7 @@ export declare class Authenticator extends pulumi.CustomResource {
116
112
  */
117
113
  readonly providerSecretKey: pulumi.Output<string | undefined>;
118
114
  /**
119
- * An authentication key that must be defined when the RADIUS server is configured, and must be the same on both the RADIUS client and server. Used only for authenticators with type `"securityKey"`. Conflicts with `providerJson` argument.
115
+ * An authentication key that must be defined when the RADIUS server is configured, and must be the same on both the RADIUS client and server. Used only for authenticators with type `securityKey`. Conflicts with `providerJson` argument.
120
116
  */
121
117
  readonly providerSharedSecret: pulumi.Output<string | undefined>;
122
118
  /**
@@ -124,19 +120,19 @@ export declare class Authenticator extends pulumi.CustomResource {
124
120
  */
125
121
  readonly providerType: pulumi.Output<string>;
126
122
  /**
127
- * Username template expected by the provider. Used only for authenticators with type `"securityKey"`. Conflicts with `providerJson` argument.
123
+ * Username template expected by the provider. Used only for authenticators with type `securityKey`. Conflicts with `providerJson` argument.
128
124
  */
129
125
  readonly providerUserNameTemplate: pulumi.Output<string | undefined>;
130
126
  /**
131
- * Settings for the authenticator. The settings JSON contains values based on Authenticator key. It is not used for authenticators with type `"securityKey"`.
127
+ * Settings for the authenticator. The settings JSON contains values based on Authenticator key. It is not used for authenticators with type `securityKey`
132
128
  */
133
129
  readonly settings: pulumi.Output<string | undefined>;
134
130
  /**
135
- * Status of the authenticator. Default is `ACTIVE`.
131
+ * Authenticator status: `ACTIVE` or `INACTIVE`. Default: `ACTIVE`
136
132
  */
137
133
  readonly status: pulumi.Output<string | undefined>;
138
134
  /**
139
- * The type of Authenticator. Values include: `"password"`, `"securityQuestion"`, `"phone"`, `"email"`, `"app"`, `"federated"`, and `"securityKey"`.
135
+ * he type of Authenticator. Values include: `password`, `securityQuestion`, `phone`, `email`, `app`, `federated`, and `securityKey`.
140
136
  */
141
137
  readonly type: pulumi.Output<string>;
142
138
  /**
@@ -153,23 +149,27 @@ export declare class Authenticator extends pulumi.CustomResource {
153
149
  */
154
150
  export interface AuthenticatorState {
155
151
  /**
156
- * A human-readable string that identifies the authenticator. Some authenticators are available by feature flag on the organization. Possible values inclue: `duo`, `externalIdp`, `googleOtp`, `oktaEmail`, `oktaPassword`, `oktaVerify`, `onpremMfa`, `phoneNumber`, `rsaToken`, `securityQuestion`, `webauthn`, `customOtp`
152
+ * A human-readable string that identifies the authenticator. Some authenticators are available by feature flag on the organization. Possible values inclue: `duo`, `externalIdp`, `googleOtp`, `oktaEmail`, `oktaPassword`, `oktaVerify`, `onpremMfa`, `phoneNumber`, `rsaToken`, `securityQuestion`, `webauthn`
157
153
  */
158
154
  key?: pulumi.Input<string>;
159
155
  /**
160
- * Name of the authenticator.
156
+ * Name does not trigger change detection (legacy behavior)
157
+ */
158
+ legacyIgnoreName?: pulumi.Input<boolean>;
159
+ /**
160
+ * Display name of the Authenticator
161
161
  */
162
162
  name?: pulumi.Input<string>;
163
163
  /**
164
- * The RADIUS server port (for example 1812). This is defined when the On-Prem RADIUS server is configured. Used only for authenticators with type `"securityKey"`. Conflicts with `providerJson` argument.
164
+ * The RADIUS server port (for example 1812). This is defined when the On-Prem RADIUS server is configured. Used only for authenticators with type `securityKey`. Conflicts with `providerJson` argument.
165
165
  */
166
166
  providerAuthPort?: pulumi.Input<number>;
167
167
  /**
168
- * (DUO specific) - The Duo Security API hostname". Conflicts with `providerJson` argument.
168
+ * (DUO specific) - The Duo Security API hostname. Conflicts with `providerJson` argument.
169
169
  */
170
170
  providerHost?: pulumi.Input<string>;
171
171
  /**
172
- * Server host name or IP address. Default is `"localhost"`. Used only for authenticators with type `"securityKey"`. Conflicts with `providerJson` argument.
172
+ * Server host name or IP address. Default is `localhost`. Used only for authenticators with type `securityKey`. Conflicts with `providerJson` argument.
173
173
  */
174
174
  providerHostname?: pulumi.Input<string>;
175
175
  /**
@@ -181,13 +181,7 @@ export interface AuthenticatorState {
181
181
  */
182
182
  providerIntegrationKey?: pulumi.Input<string>;
183
183
  /**
184
- * Provider JSON allows for expressive provider
185
- * values. This argument conflicts with the other `providerXxx` arguments. The
186
- * [Create
187
- * Provider](https://developer.okta.com/docs/reference/api/authenticators-admin/#request)
188
- * illustrates detailed provider values for a Duo authenticator. [Provider
189
- * values](https://developer.okta.com/docs/reference/api/authenticators-admin/#authenticators-administration-api-object)
190
- * are listed in Okta API.
184
+ * Provider JSON allows for expressive providervalues. This argument conflicts with the other 'provider_xxx' arguments. The [CreateProvider](https://developer.okta.com/docs/reference/api/authenticators-admin/#request) illustrates detailed provider values for a Duo authenticator. [Provider values](https://developer.okta.com/docs/reference/api/authenticators-admin/#authenticators-administration-api-object)are listed in Okta API.
191
185
  */
192
186
  providerJson?: pulumi.Input<string>;
193
187
  /**
@@ -195,7 +189,7 @@ export interface AuthenticatorState {
195
189
  */
196
190
  providerSecretKey?: pulumi.Input<string>;
197
191
  /**
198
- * An authentication key that must be defined when the RADIUS server is configured, and must be the same on both the RADIUS client and server. Used only for authenticators with type `"securityKey"`. Conflicts with `providerJson` argument.
192
+ * An authentication key that must be defined when the RADIUS server is configured, and must be the same on both the RADIUS client and server. Used only for authenticators with type `securityKey`. Conflicts with `providerJson` argument.
199
193
  */
200
194
  providerSharedSecret?: pulumi.Input<string>;
201
195
  /**
@@ -203,19 +197,19 @@ export interface AuthenticatorState {
203
197
  */
204
198
  providerType?: pulumi.Input<string>;
205
199
  /**
206
- * Username template expected by the provider. Used only for authenticators with type `"securityKey"`. Conflicts with `providerJson` argument.
200
+ * Username template expected by the provider. Used only for authenticators with type `securityKey`. Conflicts with `providerJson` argument.
207
201
  */
208
202
  providerUserNameTemplate?: pulumi.Input<string>;
209
203
  /**
210
- * Settings for the authenticator. The settings JSON contains values based on Authenticator key. It is not used for authenticators with type `"securityKey"`.
204
+ * Settings for the authenticator. The settings JSON contains values based on Authenticator key. It is not used for authenticators with type `securityKey`
211
205
  */
212
206
  settings?: pulumi.Input<string>;
213
207
  /**
214
- * Status of the authenticator. Default is `ACTIVE`.
208
+ * Authenticator status: `ACTIVE` or `INACTIVE`. Default: `ACTIVE`
215
209
  */
216
210
  status?: pulumi.Input<string>;
217
211
  /**
218
- * The type of Authenticator. Values include: `"password"`, `"securityQuestion"`, `"phone"`, `"email"`, `"app"`, `"federated"`, and `"securityKey"`.
212
+ * he type of Authenticator. Values include: `password`, `securityQuestion`, `phone`, `email`, `app`, `federated`, and `securityKey`.
219
213
  */
220
214
  type?: pulumi.Input<string>;
221
215
  }
@@ -224,23 +218,27 @@ export interface AuthenticatorState {
224
218
  */
225
219
  export interface AuthenticatorArgs {
226
220
  /**
227
- * A human-readable string that identifies the authenticator. Some authenticators are available by feature flag on the organization. Possible values inclue: `duo`, `externalIdp`, `googleOtp`, `oktaEmail`, `oktaPassword`, `oktaVerify`, `onpremMfa`, `phoneNumber`, `rsaToken`, `securityQuestion`, `webauthn`, `customOtp`
221
+ * A human-readable string that identifies the authenticator. Some authenticators are available by feature flag on the organization. Possible values inclue: `duo`, `externalIdp`, `googleOtp`, `oktaEmail`, `oktaPassword`, `oktaVerify`, `onpremMfa`, `phoneNumber`, `rsaToken`, `securityQuestion`, `webauthn`
228
222
  */
229
223
  key: pulumi.Input<string>;
230
224
  /**
231
- * Name of the authenticator.
225
+ * Name does not trigger change detection (legacy behavior)
226
+ */
227
+ legacyIgnoreName?: pulumi.Input<boolean>;
228
+ /**
229
+ * Display name of the Authenticator
232
230
  */
233
231
  name?: pulumi.Input<string>;
234
232
  /**
235
- * The RADIUS server port (for example 1812). This is defined when the On-Prem RADIUS server is configured. Used only for authenticators with type `"securityKey"`. Conflicts with `providerJson` argument.
233
+ * The RADIUS server port (for example 1812). This is defined when the On-Prem RADIUS server is configured. Used only for authenticators with type `securityKey`. Conflicts with `providerJson` argument.
236
234
  */
237
235
  providerAuthPort?: pulumi.Input<number>;
238
236
  /**
239
- * (DUO specific) - The Duo Security API hostname". Conflicts with `providerJson` argument.
237
+ * (DUO specific) - The Duo Security API hostname. Conflicts with `providerJson` argument.
240
238
  */
241
239
  providerHost?: pulumi.Input<string>;
242
240
  /**
243
- * Server host name or IP address. Default is `"localhost"`. Used only for authenticators with type `"securityKey"`. Conflicts with `providerJson` argument.
241
+ * Server host name or IP address. Default is `localhost`. Used only for authenticators with type `securityKey`. Conflicts with `providerJson` argument.
244
242
  */
245
243
  providerHostname?: pulumi.Input<string>;
246
244
  /**
@@ -248,13 +246,7 @@ export interface AuthenticatorArgs {
248
246
  */
249
247
  providerIntegrationKey?: pulumi.Input<string>;
250
248
  /**
251
- * Provider JSON allows for expressive provider
252
- * values. This argument conflicts with the other `providerXxx` arguments. The
253
- * [Create
254
- * Provider](https://developer.okta.com/docs/reference/api/authenticators-admin/#request)
255
- * illustrates detailed provider values for a Duo authenticator. [Provider
256
- * values](https://developer.okta.com/docs/reference/api/authenticators-admin/#authenticators-administration-api-object)
257
- * are listed in Okta API.
249
+ * Provider JSON allows for expressive providervalues. This argument conflicts with the other 'provider_xxx' arguments. The [CreateProvider](https://developer.okta.com/docs/reference/api/authenticators-admin/#request) illustrates detailed provider values for a Duo authenticator. [Provider values](https://developer.okta.com/docs/reference/api/authenticators-admin/#authenticators-administration-api-object)are listed in Okta API.
258
250
  */
259
251
  providerJson?: pulumi.Input<string>;
260
252
  /**
@@ -262,19 +254,19 @@ export interface AuthenticatorArgs {
262
254
  */
263
255
  providerSecretKey?: pulumi.Input<string>;
264
256
  /**
265
- * An authentication key that must be defined when the RADIUS server is configured, and must be the same on both the RADIUS client and server. Used only for authenticators with type `"securityKey"`. Conflicts with `providerJson` argument.
257
+ * An authentication key that must be defined when the RADIUS server is configured, and must be the same on both the RADIUS client and server. Used only for authenticators with type `securityKey`. Conflicts with `providerJson` argument.
266
258
  */
267
259
  providerSharedSecret?: pulumi.Input<string>;
268
260
  /**
269
- * Username template expected by the provider. Used only for authenticators with type `"securityKey"`. Conflicts with `providerJson` argument.
261
+ * Username template expected by the provider. Used only for authenticators with type `securityKey`. Conflicts with `providerJson` argument.
270
262
  */
271
263
  providerUserNameTemplate?: pulumi.Input<string>;
272
264
  /**
273
- * Settings for the authenticator. The settings JSON contains values based on Authenticator key. It is not used for authenticators with type `"securityKey"`.
265
+ * Settings for the authenticator. The settings JSON contains values based on Authenticator key. It is not used for authenticators with type `securityKey`
274
266
  */
275
267
  settings?: pulumi.Input<string>;
276
268
  /**
277
- * Status of the authenticator. Default is `ACTIVE`.
269
+ * Authenticator status: `ACTIVE` or `INACTIVE`. Default: `ACTIVE`
278
270
  */
279
271
  status?: pulumi.Input<string>;
280
272
  }
package/authenticator.js CHANGED
@@ -11,11 +11,16 @@ const utilities = require("./utilities");
11
11
  * This resource allows you to configure different authenticators.
12
12
  *
13
13
  * > **Create:** The Okta API has an odd notion of create for authenticators. If
14
- * the authenticator doesn't exist then a one time `POST /api/v1/authenticators` to
14
+ * the authenticator doesn't exist then a one time 'POST /api/v1/authenticators' to
15
15
  * create the authenticator (hard create) will be performed. Thereafter, that
16
16
  * authenticator is never deleted, it is only deactivated (soft delete). Therefore,
17
17
  * if the authenticator already exists create is just a soft import of an existing
18
- * authenticator.
18
+ * authenticator. This does not apply to customOtp authenticator. There can be
19
+ * multiple customOtp authenticator. To create new customOtp authenticator, a new
20
+ * name and key = customOtp is required. If an old name is used, it will simply
21
+ * reactivate the old customOtp authenticator
22
+ *
23
+ * > **Update:** customOtp authenticator cannot be updated
19
24
  *
20
25
  * > **Delete:** Authenticators can not be truly deleted therefore delete is soft.
21
26
  * Delete will attempt to deativate the authenticator. An authenticator can only be
@@ -34,13 +39,7 @@ const utilities = require("./utilities");
34
39
  * allowedFor: "recovery",
35
40
  * }),
36
41
  * });
37
- * ```
38
- *
39
- * ```typescript
40
- * import * as pulumi from "@pulumi/pulumi";
41
- * import * as okta from "@pulumi/okta";
42
- *
43
- * const test = new okta.Authenticator("test", {
42
+ * const otp = new okta.Authenticator("otp", {
44
43
  * name: "Custom OTP",
45
44
  * key: "custom_otp",
46
45
  * status: "ACTIVE",
@@ -52,13 +51,12 @@ const utilities = require("./utilities");
52
51
  * algorithm: "HMacSHA256",
53
52
  * passCodeLength: 6,
54
53
  * }),
54
+ * legacyIgnoreName: false,
55
55
  * });
56
56
  * ```
57
57
  *
58
58
  * ## Import
59
59
  *
60
- * Okta authenticator can be imported via the Okta ID.
61
- *
62
60
  * ```sh
63
61
  * $ pulumi import okta:index/authenticator:Authenticator example &#60;authenticator_id&#62;
64
62
  * ```
@@ -92,6 +90,7 @@ class Authenticator extends pulumi.CustomResource {
92
90
  if (opts.id) {
93
91
  const state = argsOrState;
94
92
  resourceInputs["key"] = state ? state.key : undefined;
93
+ resourceInputs["legacyIgnoreName"] = state ? state.legacyIgnoreName : undefined;
95
94
  resourceInputs["name"] = state ? state.name : undefined;
96
95
  resourceInputs["providerAuthPort"] = state ? state.providerAuthPort : undefined;
97
96
  resourceInputs["providerHost"] = state ? state.providerHost : undefined;
@@ -113,6 +112,7 @@ class Authenticator extends pulumi.CustomResource {
113
112
  throw new Error("Missing required property 'key'");
114
113
  }
115
114
  resourceInputs["key"] = args ? args.key : undefined;
115
+ resourceInputs["legacyIgnoreName"] = args ? args.legacyIgnoreName : undefined;
116
116
  resourceInputs["name"] = args ? args.name : undefined;
117
117
  resourceInputs["providerAuthPort"] = args ? args.providerAuthPort : undefined;
118
118
  resourceInputs["providerHost"] = args ? args.providerHost : undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"authenticator.js","sourceRoot":"","sources":["../authenticator.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyDG;AACH,MAAa,aAAc,SAAQ,MAAM,CAAC,cAAc;IACpD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA0B,EAAE,IAAmC;Q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AAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1D,cAAc,CAAC,oBAAoB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACzD,cAAc,CAAC,cAAc,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACnD,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC9C;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,MAAM,UAAU,GAAG,EAAE,uBAAuB,EAAE,CAAC,sBAAsB,CAAC,EAAE,CAAC;QACzE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;QAC7C,KAAK,CAAC,aAAa,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAClE,CAAC;;AApJL,sCAqJC;AAvIG,gBAAgB;AACO,0BAAY,GAAG,wCAAwC,CAAC"}
package/behaviour.d.ts CHANGED
@@ -40,8 +40,6 @@ import * as pulumi from "@pulumi/pulumi";
40
40
  *
41
41
  * ## Import
42
42
  *
43
- * Behavior can be imported via the Okta ID.
44
- *
45
43
  * ```sh
46
44
  * $ pulumi import okta:index/behaviour:Behaviour example &#60;behavior id&#62;
47
45
  * ```
@@ -63,37 +61,31 @@ export declare class Behaviour extends pulumi.CustomResource {
63
61
  */
64
62
  static isInstance(obj: any): obj is Behaviour;
65
63
  /**
66
- * Determines the method and level of detail used to evaluate the behavior.
67
- * Required for `"ANOMALOUS_LOCATION"` behavior type. Can be set to `"LAT_LONG"`, `"CITY"`, `"COUNTRY"`
68
- * or `"SUBDIVISION"`.
64
+ * Determines the method and level of detail used to evaluate the behavior. Required for `ANOMALOUS_LOCATION` behavior type. Can be set to `LAT_LONG`, `CITY`, `COUNTRY` or `SUBDIVISION`.
69
65
  */
70
66
  readonly locationGranularityType: pulumi.Output<string | undefined>;
71
67
  /**
72
- * Name of the behavior.
68
+ * Name of the behavior
73
69
  */
74
70
  readonly name: pulumi.Output<string>;
75
71
  /**
76
- * The number of recent authentications used to evaluate the behavior. Required
77
- * for `"ANOMALOUS_LOCATION"`, `"ANOMALOUS_DEVICE"` and `"ANOMALOUS_IP"` behavior types.
72
+ * The number of recent authentications used to evaluate the behavior. Required for `ANOMALOUS_LOCATION`, `ANOMALOUS_DEVICE` and `ANOMALOUS_IP` behavior types.
78
73
  */
79
74
  readonly numberOfAuthentications: pulumi.Output<number | undefined>;
80
75
  /**
81
- * Radius from location (in kilometers). Should be at least 5. Required
82
- * when `locationGranularityType` is set to `"LAT_LONG"`.
76
+ * Radius from location (in kilometers). Should be at least 5. Required when `locationGranularityType` is set to `LAT_LONG`.
83
77
  */
84
78
  readonly radiusFromLocation: pulumi.Output<number | undefined>;
85
79
  /**
86
- * The status of the behavior. By default, it is`"ACTIVE"`.
80
+ * Behavior status: ACTIVE or INACTIVE. Default: `ACTIVE`
87
81
  */
88
82
  readonly status: pulumi.Output<string | undefined>;
89
83
  /**
90
- * Type of the behavior. Can be set to `"ANOMALOUS_LOCATION"`, `"ANOMALOUS_DEVICE"`, `"ANOMALOUS_IP"`
91
- * or `"VELOCITY"`. Resource will be recreated when the type changes.
84
+ * Type of the behavior. Can be set to `ANOMALOUS_LOCATION`, `ANOMALOUS_DEVICE`, `ANOMALOUS_IP` or `VELOCITY`. Resource will be recreated when the type changes.e
92
85
  */
93
86
  readonly type: pulumi.Output<string>;
94
87
  /**
95
- * Velocity (in kilometers per hour). Should be at least 1. Required for `"VELOCITY"` behavior
96
- * type.
88
+ * Velocity (in kilometers per hour). Should be at least 1. Required for `VELOCITY` behavior
97
89
  */
98
90
  readonly velocity: pulumi.Output<number | undefined>;
99
91
  /**
@@ -110,37 +102,31 @@ export declare class Behaviour extends pulumi.CustomResource {
110
102
  */
111
103
  export interface BehaviourState {
112
104
  /**
113
- * Determines the method and level of detail used to evaluate the behavior.
114
- * Required for `"ANOMALOUS_LOCATION"` behavior type. Can be set to `"LAT_LONG"`, `"CITY"`, `"COUNTRY"`
115
- * or `"SUBDIVISION"`.
105
+ * Determines the method and level of detail used to evaluate the behavior. Required for `ANOMALOUS_LOCATION` behavior type. Can be set to `LAT_LONG`, `CITY`, `COUNTRY` or `SUBDIVISION`.
116
106
  */
117
107
  locationGranularityType?: pulumi.Input<string>;
118
108
  /**
119
- * Name of the behavior.
109
+ * Name of the behavior
120
110
  */
121
111
  name?: pulumi.Input<string>;
122
112
  /**
123
- * The number of recent authentications used to evaluate the behavior. Required
124
- * for `"ANOMALOUS_LOCATION"`, `"ANOMALOUS_DEVICE"` and `"ANOMALOUS_IP"` behavior types.
113
+ * The number of recent authentications used to evaluate the behavior. Required for `ANOMALOUS_LOCATION`, `ANOMALOUS_DEVICE` and `ANOMALOUS_IP` behavior types.
125
114
  */
126
115
  numberOfAuthentications?: pulumi.Input<number>;
127
116
  /**
128
- * Radius from location (in kilometers). Should be at least 5. Required
129
- * when `locationGranularityType` is set to `"LAT_LONG"`.
117
+ * Radius from location (in kilometers). Should be at least 5. Required when `locationGranularityType` is set to `LAT_LONG`.
130
118
  */
131
119
  radiusFromLocation?: pulumi.Input<number>;
132
120
  /**
133
- * The status of the behavior. By default, it is`"ACTIVE"`.
121
+ * Behavior status: ACTIVE or INACTIVE. Default: `ACTIVE`
134
122
  */
135
123
  status?: pulumi.Input<string>;
136
124
  /**
137
- * Type of the behavior. Can be set to `"ANOMALOUS_LOCATION"`, `"ANOMALOUS_DEVICE"`, `"ANOMALOUS_IP"`
138
- * or `"VELOCITY"`. Resource will be recreated when the type changes.
125
+ * Type of the behavior. Can be set to `ANOMALOUS_LOCATION`, `ANOMALOUS_DEVICE`, `ANOMALOUS_IP` or `VELOCITY`. Resource will be recreated when the type changes.e
139
126
  */
140
127
  type?: pulumi.Input<string>;
141
128
  /**
142
- * Velocity (in kilometers per hour). Should be at least 1. Required for `"VELOCITY"` behavior
143
- * type.
129
+ * Velocity (in kilometers per hour). Should be at least 1. Required for `VELOCITY` behavior
144
130
  */
145
131
  velocity?: pulumi.Input<number>;
146
132
  }
@@ -149,37 +135,31 @@ export interface BehaviourState {
149
135
  */
150
136
  export interface BehaviourArgs {
151
137
  /**
152
- * Determines the method and level of detail used to evaluate the behavior.
153
- * Required for `"ANOMALOUS_LOCATION"` behavior type. Can be set to `"LAT_LONG"`, `"CITY"`, `"COUNTRY"`
154
- * or `"SUBDIVISION"`.
138
+ * Determines the method and level of detail used to evaluate the behavior. Required for `ANOMALOUS_LOCATION` behavior type. Can be set to `LAT_LONG`, `CITY`, `COUNTRY` or `SUBDIVISION`.
155
139
  */
156
140
  locationGranularityType?: pulumi.Input<string>;
157
141
  /**
158
- * Name of the behavior.
142
+ * Name of the behavior
159
143
  */
160
144
  name?: pulumi.Input<string>;
161
145
  /**
162
- * The number of recent authentications used to evaluate the behavior. Required
163
- * for `"ANOMALOUS_LOCATION"`, `"ANOMALOUS_DEVICE"` and `"ANOMALOUS_IP"` behavior types.
146
+ * The number of recent authentications used to evaluate the behavior. Required for `ANOMALOUS_LOCATION`, `ANOMALOUS_DEVICE` and `ANOMALOUS_IP` behavior types.
164
147
  */
165
148
  numberOfAuthentications?: pulumi.Input<number>;
166
149
  /**
167
- * Radius from location (in kilometers). Should be at least 5. Required
168
- * when `locationGranularityType` is set to `"LAT_LONG"`.
150
+ * Radius from location (in kilometers). Should be at least 5. Required when `locationGranularityType` is set to `LAT_LONG`.
169
151
  */
170
152
  radiusFromLocation?: pulumi.Input<number>;
171
153
  /**
172
- * The status of the behavior. By default, it is`"ACTIVE"`.
154
+ * Behavior status: ACTIVE or INACTIVE. Default: `ACTIVE`
173
155
  */
174
156
  status?: pulumi.Input<string>;
175
157
  /**
176
- * Type of the behavior. Can be set to `"ANOMALOUS_LOCATION"`, `"ANOMALOUS_DEVICE"`, `"ANOMALOUS_IP"`
177
- * or `"VELOCITY"`. Resource will be recreated when the type changes.
158
+ * Type of the behavior. Can be set to `ANOMALOUS_LOCATION`, `ANOMALOUS_DEVICE`, `ANOMALOUS_IP` or `VELOCITY`. Resource will be recreated when the type changes.e
178
159
  */
179
160
  type: pulumi.Input<string>;
180
161
  /**
181
- * Velocity (in kilometers per hour). Should be at least 1. Required for `"VELOCITY"` behavior
182
- * type.
162
+ * Velocity (in kilometers per hour). Should be at least 1. Required for `VELOCITY` behavior
183
163
  */
184
164
  velocity?: pulumi.Input<number>;
185
165
  }
package/behaviour.js CHANGED
@@ -46,8 +46,6 @@ const utilities = require("./utilities");
46
46
  *
47
47
  * ## Import
48
48
  *
49
- * Behavior can be imported via the Okta ID.
50
- *
51
49
  * ```sh
52
50
  * $ pulumi import okta:index/behaviour:Behaviour example &#60;behavior id&#62;
53
51
  * ```
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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8CG;AACH,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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