@pulumi/okta 4.6.2 → 4.6.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/adminRoleCustom.d.ts +129 -10
- package/adminRoleCustom.js +24 -1
- package/adminRoleCustom.js.map +1 -1
- package/adminRoleCustomAssignments.d.ts +25 -10
- package/adminRoleCustomAssignments.js +13 -1
- package/adminRoleCustomAssignments.js.map +1 -1
- package/adminRoleTargets.d.ts +44 -14
- package/adminRoleTargets.js +30 -0
- package/adminRoleTargets.js.map +1 -1
- package/app/accessPolicyAssignment.d.ts +20 -1
- package/app/accessPolicyAssignment.js +20 -1
- package/app/accessPolicyAssignment.js.map +1 -1
- package/app/autoLogin.d.ts +119 -72
- package/app/autoLogin.js +47 -0
- package/app/autoLogin.js.map +1 -1
- package/app/basicAuth.d.ts +66 -38
- package/app/basicAuth.js +28 -0
- package/app/basicAuth.js.map +1 -1
- package/app/bookmark.d.ts +71 -35
- package/app/bookmark.js +27 -0
- package/app/bookmark.js.map +1 -1
- package/app/getApp.d.ts +25 -58
- package/app/getApp.js +2 -2
- package/app/getApp.js.map +1 -1
- package/app/getMetadataSaml.d.ts +5 -11
- package/app/getMetadataSaml.js +2 -2
- package/app/getMetadataSaml.js.map +1 -1
- package/app/getOauth.d.ts +34 -62
- package/app/getOauth.js +2 -2
- package/app/getOauth.js.map +1 -1
- package/app/getSaml.d.ts +55 -75
- package/app/getSaml.js +2 -2
- package/app/getSaml.js.map +1 -1
- package/app/groupAssignment.d.ts +15 -6
- package/app/groupAssignment.js +9 -0
- package/app/groupAssignment.js.map +1 -1
- package/app/oauth.d.ts +301 -123
- package/app/oauth.js +82 -0
- package/app/oauth.js.map +1 -1
- package/app/oauthPostLogoutRedirectUri.d.ts +38 -3
- package/app/oauthPostLogoutRedirectUri.js +35 -0
- package/app/oauthPostLogoutRedirectUri.js.map +1 -1
- package/app/oauthRedirectUri.d.ts +37 -3
- package/app/oauthRedirectUri.js +34 -0
- package/app/oauthRedirectUri.js.map +1 -1
- package/app/saml.d.ts +303 -133
- package/app/saml.js +161 -0
- package/app/saml.js.map +1 -1
- package/app/securePasswordStore.d.ts +109 -79
- package/app/securePasswordStore.js +30 -0
- package/app/securePasswordStore.js.map +1 -1
- package/app/swa.d.ts +102 -72
- package/app/swa.js +30 -0
- package/app/swa.js.map +1 -1
- package/app/threeField.d.ts +87 -72
- package/app/threeField.js +15 -0
- package/app/threeField.js.map +1 -1
- package/app/user.d.ts +37 -12
- package/app/user.js +22 -0
- package/app/user.js.map +1 -1
- package/appGroupAssignments.d.ts +40 -3
- package/appGroupAssignments.js +37 -0
- package/appGroupAssignments.js.map +1 -1
- package/appOauthApiScope.d.ts +36 -3
- package/appOauthApiScope.js +33 -0
- package/appOauthApiScope.js.map +1 -1
- package/appSamlAppSettings.d.ts +44 -6
- package/appSamlAppSettings.js +38 -0
- package/appSamlAppSettings.js.map +1 -1
- package/appSharedCredentials.d.ts +115 -72
- package/appSharedCredentials.js +43 -0
- package/appSharedCredentials.js.map +1 -1
- package/appSignonPolicy.d.ts +44 -6
- package/appSignonPolicy.js +38 -0
- package/appSignonPolicy.js.map +1 -1
- package/appSignonPolicyRule.d.ts +327 -68
- package/appSignonPolicyRule.js +244 -0
- package/appSignonPolicyRule.js.map +1 -1
- package/appUserBaseSchemaProperty.d.ts +52 -24
- package/appUserBaseSchemaProperty.js +28 -0
- package/appUserBaseSchemaProperty.js.map +1 -1
- package/appUserSchemaProperty.d.ts +80 -54
- package/appUserSchemaProperty.js +26 -0
- package/appUserSchemaProperty.js.map +1 -1
- package/auth/getServer.d.ts +11 -11
- package/auth/getServer.js +2 -2
- package/auth/getServerPolicy.d.ts +9 -15
- package/auth/getServerPolicy.js +2 -2
- package/auth/getServerPolicy.js.map +1 -1
- package/auth/getServerScopes.d.ts +5 -8
- package/auth/getServerScopes.js +2 -2
- package/auth/getServerScopes.js.map +1 -1
- package/auth/server.d.ts +49 -13
- package/auth/server.js +27 -0
- package/auth/server.js.map +1 -1
- package/auth/serverClaim.d.ts +54 -18
- package/auth/serverClaim.js +27 -0
- package/auth/serverClaim.js.map +1 -1
- package/auth/serverPolicy.d.ts +43 -6
- package/auth/serverPolicy.js +28 -0
- package/auth/serverPolicy.js.map +1 -1
- package/auth/serverPolicyRule.d.ts +72 -29
- package/auth/serverPolicyRule.js +25 -0
- package/auth/serverPolicyRule.js.map +1 -1
- package/auth/serverScope.d.ts +41 -15
- package/auth/serverScope.js +26 -0
- package/auth/serverScope.js.map +1 -1
- package/authServerClaimDefault.d.ts +50 -13
- package/authServerClaimDefault.js +31 -0
- package/authServerClaimDefault.js.map +1 -1
- package/authServerDefault.d.ts +47 -13
- package/authServerDefault.js +25 -0
- package/authServerDefault.js.map +1 -1
- package/authenticator.d.ts +94 -38
- package/authenticator.js +38 -0
- package/authenticator.js.map +1 -1
- package/behaviour.d.ts +78 -18
- package/behaviour.js +42 -0
- package/behaviour.js.map +1 -1
- package/brand.d.ts +28 -19
- package/brand.js +10 -1
- package/brand.js.map +1 -1
- package/captcha.d.ts +38 -12
- package/captcha.js +26 -0
- package/captcha.js.map +1 -1
- package/captchaOrgWideSettings.d.ts +51 -6
- package/captchaOrgWideSettings.js +45 -0
- package/captchaOrgWideSettings.js.map +1 -1
- package/domain.d.ts +39 -13
- package/domain.js +20 -0
- package/domain.js.map +1 -1
- package/domainCertificate.d.ts +63 -15
- package/domainCertificate.js +48 -0
- package/domainCertificate.js.map +1 -1
- package/domainVerification.d.ts +22 -3
- package/domainVerification.js +19 -0
- package/domainVerification.js.map +1 -1
- package/emailCustomization.d.ts +224 -3
- package/emailCustomization.js +41 -0
- package/emailCustomization.js.map +1 -1
- package/emailSender.d.ts +39 -13
- package/emailSender.js +26 -0
- package/emailSender.js.map +1 -1
- package/emailSenderVerification.d.ts +26 -3
- package/emailSenderVerification.js +23 -0
- package/emailSenderVerification.js.map +1 -1
- package/eventHook.d.ts +37 -0
- package/eventHook.js +37 -0
- package/eventHook.js.map +1 -1
- package/eventHookVerification.d.ts +37 -3
- package/eventHookVerification.js +34 -0
- package/eventHookVerification.js.map +1 -1
- package/factor/factor.d.ts +23 -6
- package/factor/factor.js +14 -0
- package/factor/factor.js.map +1 -1
- package/factorTotp.d.ts +44 -12
- package/factorTotp.js +23 -0
- package/factorTotp.js.map +1 -1
- package/getAppGroupAssignments.d.ts +6 -6
- package/getAppGroupAssignments.js +2 -2
- package/getAppSignonPolicy.d.ts +6 -16
- package/getAppSignonPolicy.js +4 -8
- package/getAppSignonPolicy.js.map +1 -1
- package/getAppUserAssignments.d.ts +6 -6
- package/getAppUserAssignments.js +2 -2
- package/getAuthServerClaim.d.ts +12 -15
- package/getAuthServerClaim.js +2 -2
- package/getAuthServerClaim.js.map +1 -1
- package/getAuthServerClaims.d.ts +5 -8
- package/getAuthServerClaims.js +2 -2
- package/getAuthServerClaims.js.map +1 -1
- package/getAuthenticator.d.ts +26 -24
- package/getAuthenticator.js +22 -14
- package/getAuthenticator.js.map +1 -1
- package/getBehaviour.d.ts +8 -6
- package/getBehaviour.js +2 -2
- package/getBehaviour.js.map +1 -1
- package/getBehaviours.d.ts +7 -7
- package/getBehaviours.js +2 -2
- package/getBrand.d.ts +6 -9
- package/getBrand.js +2 -2
- package/getBrand.js.map +1 -1
- package/getBrands.d.ts +2 -2
- package/getBrands.js +2 -2
- package/getEmailCustomization.d.ts +9 -14
- package/getEmailCustomization.js +6 -2
- package/getEmailCustomization.js.map +1 -1
- package/getEmailCustomizations.d.ts +9 -11
- package/getEmailCustomizations.js +6 -2
- package/getEmailCustomizations.js.map +1 -1
- package/getGroups.d.ts +25 -11
- package/getGroups.js +2 -2
- package/getGroups.js.map +1 -1
- package/getNetworkZone.d.ts +12 -12
- package/getNetworkZone.js +2 -2
- package/getRoleSubscription.d.ts +35 -13
- package/getRoleSubscription.js +2 -2
- package/getRoleSubscription.js.map +1 -1
- package/getTemplate.d.ts +8 -10
- package/getTemplate.js +6 -2
- package/getTemplate.js.map +1 -1
- package/getTemplates.d.ts +7 -6
- package/getTemplates.js +6 -2
- package/getTemplates.js.map +1 -1
- package/getTheme.d.ts +12 -14
- package/getTheme.js +6 -2
- package/getTheme.js.map +1 -1
- package/getThemes.d.ts +7 -6
- package/getThemes.js +6 -2
- package/getThemes.js.map +1 -1
- package/getTrustedOrigins.d.ts +4 -7
- package/getTrustedOrigins.js +2 -2
- package/getTrustedOrigins.js.map +1 -1
- package/getUserSecurityQuestions.d.ts +8 -4
- package/getUserSecurityQuestions.js +4 -0
- package/getUserSecurityQuestions.js.map +1 -1
- package/group/getEveryoneGroup.d.ts +5 -10
- package/group/getEveryoneGroup.js +2 -4
- package/group/getEveryoneGroup.js.map +1 -1
- package/group/getGroup.d.ts +26 -17
- package/group/getGroup.js +2 -2
- package/group/getGroup.js.map +1 -1
- package/group/getRule.d.ts +15 -6
- package/group/getRule.js +2 -2
- package/group/getRule.js.map +1 -1
- package/group/group.d.ts +46 -9
- package/group/group.js +37 -0
- package/group/group.js.map +1 -1
- package/group/role.d.ts +101 -15
- package/group/role.js +26 -0
- package/group/role.js.map +1 -1
- package/group/rule.d.ts +80 -6
- package/group/rule.js +23 -0
- package/group/rule.js.map +1 -1
- package/groupMemberships.d.ts +48 -7
- package/groupMemberships.js +42 -1
- package/groupMemberships.js.map +1 -1
- package/groupSchemaProperty.d.ts +94 -51
- package/groupSchemaProperty.js +25 -0
- package/groupSchemaProperty.js.map +1 -1
- package/idp/getMetadataSaml.d.ts +6 -9
- package/idp/getMetadataSaml.js +2 -2
- package/idp/getMetadataSaml.js.map +1 -1
- package/idp/getOidc.d.ts +9 -9
- package/idp/getOidc.js +2 -2
- package/idp/getSaml.d.ts +13 -16
- package/idp/getSaml.js +2 -2
- package/idp/getSaml.js.map +1 -1
- package/idp/getSocial.d.ts +2 -8
- package/idp/getSocial.js +2 -2
- package/idp/getSocial.js.map +1 -1
- package/idp/oidc.d.ts +297 -12
- package/idp/oidc.js +36 -0
- package/idp/oidc.js.map +1 -1
- package/idp/saml.d.ts +284 -18
- package/idp/saml.js +32 -0
- package/idp/saml.js.map +1 -1
- package/idp/samlKey.d.ts +48 -3
- package/idp/samlKey.js +9 -0
- package/idp/samlKey.js.map +1 -1
- package/idp/social.d.ts +251 -18
- package/idp/social.js +32 -0
- package/idp/social.js.map +1 -1
- package/index/emailDomain.d.ts +41 -16
- package/index/emailDomain.js +25 -0
- package/index/emailDomain.js.map +1 -1
- package/index/emailDomainVerification.d.ts +25 -3
- package/index/emailDomainVerification.js +22 -0
- package/index/emailDomainVerification.js.map +1 -1
- package/index/getDomain.d.ts +14 -11
- package/index/getDomain.js +8 -2
- package/index/getDomain.js.map +1 -1
- package/inline/hook.d.ts +89 -0
- package/inline/hook.js +35 -0
- package/inline/hook.js.map +1 -1
- package/linkDefinition.d.ts +30 -0
- package/linkDefinition.js +30 -0
- package/linkDefinition.js.map +1 -1
- package/linkValue.d.ts +59 -6
- package/linkValue.js +53 -0
- package/linkValue.js.map +1 -1
- package/network/zone.d.ts +74 -27
- package/network/zone.js +44 -0
- package/network/zone.js.map +1 -1
- package/orgConfiguration.d.ts +25 -0
- package/orgConfiguration.js +25 -0
- package/orgConfiguration.js.map +1 -1
- package/orgSupport.d.ts +20 -3
- package/orgSupport.js +17 -0
- package/orgSupport.js.map +1 -1
- package/package.json +1 -1
- package/policy/getDefaultPolicy.d.ts +7 -9
- package/policy/getDefaultPolicy.js +2 -6
- package/policy/getDefaultPolicy.js.map +1 -1
- package/policy/getPolicy.d.ts +10 -11
- package/policy/getPolicy.js +2 -2
- package/policy/getPolicy.js.map +1 -1
- package/policy/mfa.d.ts +259 -18
- package/policy/mfa.js +49 -0
- package/policy/mfa.js.map +1 -1
- package/policy/password.d.ts +117 -90
- package/policy/password.js +27 -0
- package/policy/password.js.map +1 -1
- package/policy/ruleIdpDiscovery.d.ts +149 -27
- package/policy/ruleIdpDiscovery.js +65 -0
- package/policy/ruleIdpDiscovery.js.map +1 -1
- package/policy/ruleMfa.d.ts +35 -24
- package/policy/ruleMfa.js +11 -0
- package/policy/ruleMfa.js.map +1 -1
- package/policy/rulePassword.d.ts +46 -33
- package/policy/rulePassword.js +13 -0
- package/policy/rulePassword.js.map +1 -1
- package/policy/ruleSignon.d.ts +170 -57
- package/policy/ruleSignon.js +92 -0
- package/policy/ruleSignon.js.map +1 -1
- package/policy/signon.d.ts +41 -15
- package/policy/signon.js +26 -0
- package/policy/signon.js.map +1 -1
- package/policyMfaDefault.d.ts +250 -13
- package/policyMfaDefault.js +45 -0
- package/policyMfaDefault.js.map +1 -1
- package/policyPasswordDefault.d.ts +88 -54
- package/policyPasswordDefault.js +22 -0
- package/policyPasswordDefault.js.map +1 -1
- package/policyProfileEnrollment.d.ts +28 -6
- package/policyProfileEnrollment.js +22 -0
- package/policyProfileEnrollment.js.map +1 -1
- package/policyProfileEnrollmentApps.d.ts +42 -5
- package/policyProfileEnrollmentApps.js +37 -0
- package/policyProfileEnrollmentApps.js.map +1 -1
- package/policyRuleProfileEnrollment.d.ts +88 -26
- package/policyRuleProfileEnrollment.js +62 -0
- package/policyRuleProfileEnrollment.js.map +1 -1
- package/profile/mapping.d.ts +95 -9
- package/profile/mapping.js +41 -0
- package/profile/mapping.js.map +1 -1
- package/rateLimiting.d.ts +43 -9
- package/rateLimiting.js +28 -0
- package/rateLimiting.js.map +1 -1
- package/resourceSet.d.ts +32 -10
- package/resourceSet.js +20 -1
- package/resourceSet.js.map +1 -1
- package/roleSubscription.d.ts +110 -9
- package/roleSubscription.js +26 -0
- package/roleSubscription.js.map +1 -1
- package/securityNotificationEmails.d.ts +45 -15
- package/securityNotificationEmails.js +30 -0
- package/securityNotificationEmails.js.map +1 -1
- package/templateSms.d.ts +47 -3
- package/templateSms.js +35 -0
- package/templateSms.js.map +1 -1
- package/theme.d.ts +59 -44
- package/theme.js +15 -0
- package/theme.js.map +1 -1
- package/threatInsightSettings.d.ts +58 -6
- package/threatInsightSettings.js +34 -0
- package/threatInsightSettings.js.map +1 -1
- package/trustedorigin/origin.d.ts +37 -12
- package/trustedorigin/origin.js +25 -0
- package/trustedorigin/origin.js.map +1 -1
- package/types/input.d.ts +227 -60
- package/types/output.d.ts +446 -56
- package/user/getUser.d.ts +104 -32
- package/user/getUser.js +2 -2
- package/user/getUser.js.map +1 -1
- package/user/getUserProfileMappingSource.d.ts +7 -9
- package/user/getUserProfileMappingSource.js +4 -6
- package/user/getUserProfileMappingSource.js.map +1 -1
- package/user/getUserType.d.ts +7 -7
- package/user/getUserType.js +2 -2
- package/user/getUsers.d.ts +57 -61
- package/user/getUsers.js +44 -30
- package/user/getUsers.js.map +1 -1
- package/user/user.d.ts +215 -117
- package/user/user.js +71 -0
- package/user/user.js.map +1 -1
- package/user/userType.d.ts +34 -9
- package/user/userType.js +25 -0
- package/user/userType.js.map +1 -1
- package/userAdminRoles.d.ts +41 -10
- package/userAdminRoles.js +29 -1
- package/userAdminRoles.js.map +1 -1
- package/userBaseSchemaProperty.d.ts +67 -24
- package/userBaseSchemaProperty.js +43 -0
- package/userBaseSchemaProperty.js.map +1 -1
- package/userFactorQuestion.d.ts +52 -14
- package/userFactorQuestion.js +39 -1
- package/userFactorQuestion.js.map +1 -1
- package/userGroupMemberships.d.ts +23 -4
- package/userGroupMemberships.js +20 -1
- package/userGroupMemberships.js.map +1 -1
- package/userSchemaProperty.d.ts +107 -57
- package/userSchemaProperty.js +32 -0
- package/userSchemaProperty.js.map +1 -1
- package/utilities.d.ts +4 -0
- package/utilities.js +33 -1
- package/utilities.js.map +1 -1
package/policyMfaDefault.js
CHANGED
|
@@ -5,6 +5,51 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
5
5
|
exports.PolicyMfaDefault = void 0;
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Configures default MFA Policy.
|
|
10
|
+
*
|
|
11
|
+
* This resource allows you to configure default MFA Policy.
|
|
12
|
+
*
|
|
13
|
+
* > Requires Org Feature Flag `OKTA_MFA_POLICY`. Contact support to have this feature flag ***enabled***.
|
|
14
|
+
*
|
|
15
|
+
* > Unless Org Feature Flag `ENG_ENABLE_OPTIONAL_PASSWORD_ENROLLMENT` is ***disabled*** `oktaPassword` or `oktaEmail` must be present and its `enroll` value set to `REQUIRED`. Contact support to have this feature flag ***disabled***.
|
|
16
|
+
*
|
|
17
|
+
* ## Example Usage
|
|
18
|
+
*
|
|
19
|
+
* ```typescript
|
|
20
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
21
|
+
* import * as okta from "@pulumi/okta";
|
|
22
|
+
*
|
|
23
|
+
* const classicExample = new okta.PolicyMfaDefault("classicExample", {
|
|
24
|
+
* isOie: false,
|
|
25
|
+
* oktaOtp: {
|
|
26
|
+
* enroll: "REQUIRED",
|
|
27
|
+
* },
|
|
28
|
+
* oktaPassword: {
|
|
29
|
+
* enroll: "REQUIRED",
|
|
30
|
+
* },
|
|
31
|
+
* });
|
|
32
|
+
* const oieExample = new okta.PolicyMfaDefault("oieExample", {
|
|
33
|
+
* isOie: true,
|
|
34
|
+
* oktaPassword: {
|
|
35
|
+
* enroll: "REQUIRED",
|
|
36
|
+
* },
|
|
37
|
+
* oktaVerify: {
|
|
38
|
+
* enroll: "REQUIRED",
|
|
39
|
+
* },
|
|
40
|
+
* });
|
|
41
|
+
* ```
|
|
42
|
+
*
|
|
43
|
+
* > If the `okta.PolicyMfaDefault` is used in conjunction with `okta.policy.Mfa` resources, ensure to use a `dependsOn` attribute for the default policy to ensure that all other policies are created/updated first such that the `priority` field can be appropriately computed on the first plan/apply.
|
|
44
|
+
*
|
|
45
|
+
* ## Import
|
|
46
|
+
*
|
|
47
|
+
* Default MFA Policy can be imported without providing Okta ID.
|
|
48
|
+
*
|
|
49
|
+
* ```sh
|
|
50
|
+
* $ pulumi import okta:index/policyMfaDefault:PolicyMfaDefault example .
|
|
51
|
+
* ```
|
|
52
|
+
*/
|
|
8
53
|
class PolicyMfaDefault extends pulumi.CustomResource {
|
|
9
54
|
/**
|
|
10
55
|
* Get an existing PolicyMfaDefault resource's state with the given name, ID, and optional extra
|
package/policyMfaDefault.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"policyMfaDefault.js","sourceRoot":"","sources":["../policyMfaDefault.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC,MAAa,gBAAiB,SAAQ,MAAM,CAAC,cAAc;IACvD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA6B,EAAE,IAAmC;QAC3H,OAAO,IAAI,gBAAgB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACvE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,gBAAgB,CAAC,YAAY,CAAC;IACjE,CAAC;
|
|
1
|
+
{"version":3,"file":"policyMfaDefault.js","sourceRoot":"","sources":["../policyMfaDefault.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4CG;AACH,MAAa,gBAAiB,SAAQ,MAAM,CAAC,cAAc;IACvD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA6B,EAAE,IAAmC;QAC3H,OAAO,IAAI,gBAAgB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACvE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC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AAC,CAAC;QACnE,KAAK,CAAC,gBAAgB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACrE,CAAC;;AAlNL,4CAmNC;AArMG,gBAAgB;AACO,6BAAY,GAAG,8CAA8C,CAAC"}
|
|
@@ -1,4 +1,26 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Configures default password policy.
|
|
4
|
+
*
|
|
5
|
+
* This resource allows you to configure default password policy.
|
|
6
|
+
*
|
|
7
|
+
* ## Example Usage
|
|
8
|
+
*
|
|
9
|
+
* ```typescript
|
|
10
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
11
|
+
* import * as okta from "@pulumi/okta";
|
|
12
|
+
*
|
|
13
|
+
* const _default = new okta.PolicyPasswordDefault("default", {});
|
|
14
|
+
* ```
|
|
15
|
+
*
|
|
16
|
+
* ## Import
|
|
17
|
+
*
|
|
18
|
+
* Default Password Policy can be imported without providing Okta ID.
|
|
19
|
+
*
|
|
20
|
+
* ```sh
|
|
21
|
+
* $ pulumi import okta:index/policyPasswordDefault:PolicyPasswordDefault example .
|
|
22
|
+
* ```
|
|
23
|
+
*/
|
|
2
24
|
export declare class PolicyPasswordDefault extends pulumi.CustomResource {
|
|
3
25
|
/**
|
|
4
26
|
* Get an existing PolicyPasswordDefault resource's state with the given name, ID, and optional extra
|
|
@@ -16,19 +38,19 @@ export declare class PolicyPasswordDefault extends pulumi.CustomResource {
|
|
|
16
38
|
*/
|
|
17
39
|
static isInstance(obj: any): obj is PolicyPasswordDefault;
|
|
18
40
|
/**
|
|
19
|
-
* Enable or disable voice call recovery: ACTIVE or INACTIVE.
|
|
41
|
+
* Enable or disable voice call password recovery: ACTIVE or INACTIVE.
|
|
20
42
|
*/
|
|
21
43
|
readonly callRecovery: pulumi.Output<string | undefined>;
|
|
22
44
|
/**
|
|
23
|
-
* Default
|
|
45
|
+
* Default authentication provider.
|
|
24
46
|
*/
|
|
25
47
|
readonly defaultAuthProvider: pulumi.Output<string>;
|
|
26
48
|
/**
|
|
27
|
-
*
|
|
49
|
+
* ID of the default Okta group.
|
|
28
50
|
*/
|
|
29
51
|
readonly defaultIncludedGroupId: pulumi.Output<string>;
|
|
30
52
|
/**
|
|
31
|
-
* Default policy description
|
|
53
|
+
* Default policy description.
|
|
32
54
|
*/
|
|
33
55
|
readonly description: pulumi.Output<string>;
|
|
34
56
|
/**
|
|
@@ -36,7 +58,7 @@ export declare class PolicyPasswordDefault extends pulumi.CustomResource {
|
|
|
36
58
|
*/
|
|
37
59
|
readonly emailRecovery: pulumi.Output<string | undefined>;
|
|
38
60
|
/**
|
|
39
|
-
* Default policy name
|
|
61
|
+
* Default policy name.
|
|
40
62
|
*/
|
|
41
63
|
readonly name: pulumi.Output<string>;
|
|
42
64
|
/**
|
|
@@ -48,15 +70,15 @@ export declare class PolicyPasswordDefault extends pulumi.CustomResource {
|
|
|
48
70
|
*/
|
|
49
71
|
readonly passwordDictionaryLookup: pulumi.Output<boolean | undefined>;
|
|
50
72
|
/**
|
|
51
|
-
* User firstName attribute must be excluded from the password
|
|
73
|
+
* User firstName attribute must be excluded from the password.
|
|
52
74
|
*/
|
|
53
75
|
readonly passwordExcludeFirstName: pulumi.Output<boolean | undefined>;
|
|
54
76
|
/**
|
|
55
|
-
* User lastName attribute must be excluded from the password
|
|
77
|
+
* User lastName attribute must be excluded from the password.
|
|
56
78
|
*/
|
|
57
79
|
readonly passwordExcludeLastName: pulumi.Output<boolean | undefined>;
|
|
58
80
|
/**
|
|
59
|
-
* If the
|
|
81
|
+
* If the username must be excluded from the password.
|
|
60
82
|
*/
|
|
61
83
|
readonly passwordExcludeUsername: pulumi.Output<boolean | undefined>;
|
|
62
84
|
/**
|
|
@@ -64,19 +86,22 @@ export declare class PolicyPasswordDefault extends pulumi.CustomResource {
|
|
|
64
86
|
*/
|
|
65
87
|
readonly passwordExpireWarnDays: pulumi.Output<number | undefined>;
|
|
66
88
|
/**
|
|
67
|
-
* Number of distinct passwords that must be created before they can be reused: 0 =
|
|
89
|
+
* Number of distinct passwords that must be created before they can be reused: 0 =
|
|
90
|
+
* none.
|
|
68
91
|
*/
|
|
69
92
|
readonly passwordHistoryCount: pulumi.Output<number | undefined>;
|
|
70
93
|
/**
|
|
71
|
-
* Notification channels to use to notify a user when their account
|
|
94
|
+
* Notification channels to use to notify a user when their account
|
|
95
|
+
* has been locked.
|
|
72
96
|
*/
|
|
73
97
|
readonly passwordLockoutNotificationChannels: pulumi.Output<string[] | undefined>;
|
|
74
98
|
/**
|
|
75
|
-
* Length in days a password is valid before expiry: 0 = no limit
|
|
99
|
+
* Length in days a password is valid before expiry: 0 = no limit.,
|
|
76
100
|
*/
|
|
77
101
|
readonly passwordMaxAgeDays: pulumi.Output<number | undefined>;
|
|
78
102
|
/**
|
|
79
|
-
* Number of unsuccessful login attempts allowed before lockout: 0 = no
|
|
103
|
+
* Number of unsuccessful login attempts allowed before lockout: 0 = no
|
|
104
|
+
* limit.
|
|
80
105
|
*/
|
|
81
106
|
readonly passwordMaxLockoutAttempts: pulumi.Output<number | undefined>;
|
|
82
107
|
/**
|
|
@@ -84,23 +109,23 @@ export declare class PolicyPasswordDefault extends pulumi.CustomResource {
|
|
|
84
109
|
*/
|
|
85
110
|
readonly passwordMinAgeMinutes: pulumi.Output<number | undefined>;
|
|
86
111
|
/**
|
|
87
|
-
* Minimum password length.
|
|
112
|
+
* Minimum password length. Default is 8.
|
|
88
113
|
*/
|
|
89
114
|
readonly passwordMinLength: pulumi.Output<number | undefined>;
|
|
90
115
|
/**
|
|
91
|
-
*
|
|
116
|
+
* Minimum number of lower case characters in a password.
|
|
92
117
|
*/
|
|
93
118
|
readonly passwordMinLowercase: pulumi.Output<number | undefined>;
|
|
94
119
|
/**
|
|
95
|
-
*
|
|
120
|
+
* Minimum number of numbers in a password.
|
|
96
121
|
*/
|
|
97
122
|
readonly passwordMinNumber: pulumi.Output<number | undefined>;
|
|
98
123
|
/**
|
|
99
|
-
*
|
|
124
|
+
* Minimum number of symbols in a password.
|
|
100
125
|
*/
|
|
101
126
|
readonly passwordMinSymbol: pulumi.Output<number | undefined>;
|
|
102
127
|
/**
|
|
103
|
-
*
|
|
128
|
+
* Minimum number of upper case characters in a password.
|
|
104
129
|
*/
|
|
105
130
|
readonly passwordMinUppercase: pulumi.Output<number | undefined>;
|
|
106
131
|
/**
|
|
@@ -108,7 +133,7 @@ export declare class PolicyPasswordDefault extends pulumi.CustomResource {
|
|
|
108
133
|
*/
|
|
109
134
|
readonly passwordShowLockoutFailures: pulumi.Output<boolean | undefined>;
|
|
110
135
|
/**
|
|
111
|
-
* Default policy priority
|
|
136
|
+
* Default policy priority.
|
|
112
137
|
*/
|
|
113
138
|
readonly priority: pulumi.Output<number>;
|
|
114
139
|
/**
|
|
@@ -124,7 +149,8 @@ export declare class PolicyPasswordDefault extends pulumi.CustomResource {
|
|
|
124
149
|
*/
|
|
125
150
|
readonly recoveryEmailToken: pulumi.Output<number | undefined>;
|
|
126
151
|
/**
|
|
127
|
-
* When an Active Directory user is locked out of Okta, the Okta unlock operation should also
|
|
152
|
+
* When an Active Directory user is locked out of Okta, the Okta unlock operation should also
|
|
153
|
+
* attempt to unlock the user's Windows account.
|
|
128
154
|
*/
|
|
129
155
|
readonly skipUnlock: pulumi.Output<boolean | undefined>;
|
|
130
156
|
/**
|
|
@@ -132,7 +158,7 @@ export declare class PolicyPasswordDefault extends pulumi.CustomResource {
|
|
|
132
158
|
*/
|
|
133
159
|
readonly smsRecovery: pulumi.Output<string | undefined>;
|
|
134
160
|
/**
|
|
135
|
-
* Default policy status
|
|
161
|
+
* Default policy status.
|
|
136
162
|
*/
|
|
137
163
|
readonly status: pulumi.Output<string>;
|
|
138
164
|
/**
|
|
@@ -149,19 +175,19 @@ export declare class PolicyPasswordDefault extends pulumi.CustomResource {
|
|
|
149
175
|
*/
|
|
150
176
|
export interface PolicyPasswordDefaultState {
|
|
151
177
|
/**
|
|
152
|
-
* Enable or disable voice call recovery: ACTIVE or INACTIVE.
|
|
178
|
+
* Enable or disable voice call password recovery: ACTIVE or INACTIVE.
|
|
153
179
|
*/
|
|
154
180
|
callRecovery?: pulumi.Input<string>;
|
|
155
181
|
/**
|
|
156
|
-
* Default
|
|
182
|
+
* Default authentication provider.
|
|
157
183
|
*/
|
|
158
184
|
defaultAuthProvider?: pulumi.Input<string>;
|
|
159
185
|
/**
|
|
160
|
-
*
|
|
186
|
+
* ID of the default Okta group.
|
|
161
187
|
*/
|
|
162
188
|
defaultIncludedGroupId?: pulumi.Input<string>;
|
|
163
189
|
/**
|
|
164
|
-
* Default policy description
|
|
190
|
+
* Default policy description.
|
|
165
191
|
*/
|
|
166
192
|
description?: pulumi.Input<string>;
|
|
167
193
|
/**
|
|
@@ -169,7 +195,7 @@ export interface PolicyPasswordDefaultState {
|
|
|
169
195
|
*/
|
|
170
196
|
emailRecovery?: pulumi.Input<string>;
|
|
171
197
|
/**
|
|
172
|
-
* Default policy name
|
|
198
|
+
* Default policy name.
|
|
173
199
|
*/
|
|
174
200
|
name?: pulumi.Input<string>;
|
|
175
201
|
/**
|
|
@@ -181,15 +207,15 @@ export interface PolicyPasswordDefaultState {
|
|
|
181
207
|
*/
|
|
182
208
|
passwordDictionaryLookup?: pulumi.Input<boolean>;
|
|
183
209
|
/**
|
|
184
|
-
* User firstName attribute must be excluded from the password
|
|
210
|
+
* User firstName attribute must be excluded from the password.
|
|
185
211
|
*/
|
|
186
212
|
passwordExcludeFirstName?: pulumi.Input<boolean>;
|
|
187
213
|
/**
|
|
188
|
-
* User lastName attribute must be excluded from the password
|
|
214
|
+
* User lastName attribute must be excluded from the password.
|
|
189
215
|
*/
|
|
190
216
|
passwordExcludeLastName?: pulumi.Input<boolean>;
|
|
191
217
|
/**
|
|
192
|
-
* If the
|
|
218
|
+
* If the username must be excluded from the password.
|
|
193
219
|
*/
|
|
194
220
|
passwordExcludeUsername?: pulumi.Input<boolean>;
|
|
195
221
|
/**
|
|
@@ -197,19 +223,22 @@ export interface PolicyPasswordDefaultState {
|
|
|
197
223
|
*/
|
|
198
224
|
passwordExpireWarnDays?: pulumi.Input<number>;
|
|
199
225
|
/**
|
|
200
|
-
* Number of distinct passwords that must be created before they can be reused: 0 =
|
|
226
|
+
* Number of distinct passwords that must be created before they can be reused: 0 =
|
|
227
|
+
* none.
|
|
201
228
|
*/
|
|
202
229
|
passwordHistoryCount?: pulumi.Input<number>;
|
|
203
230
|
/**
|
|
204
|
-
* Notification channels to use to notify a user when their account
|
|
231
|
+
* Notification channels to use to notify a user when their account
|
|
232
|
+
* has been locked.
|
|
205
233
|
*/
|
|
206
234
|
passwordLockoutNotificationChannels?: pulumi.Input<pulumi.Input<string>[]>;
|
|
207
235
|
/**
|
|
208
|
-
* Length in days a password is valid before expiry: 0 = no limit
|
|
236
|
+
* Length in days a password is valid before expiry: 0 = no limit.,
|
|
209
237
|
*/
|
|
210
238
|
passwordMaxAgeDays?: pulumi.Input<number>;
|
|
211
239
|
/**
|
|
212
|
-
* Number of unsuccessful login attempts allowed before lockout: 0 = no
|
|
240
|
+
* Number of unsuccessful login attempts allowed before lockout: 0 = no
|
|
241
|
+
* limit.
|
|
213
242
|
*/
|
|
214
243
|
passwordMaxLockoutAttempts?: pulumi.Input<number>;
|
|
215
244
|
/**
|
|
@@ -217,23 +246,23 @@ export interface PolicyPasswordDefaultState {
|
|
|
217
246
|
*/
|
|
218
247
|
passwordMinAgeMinutes?: pulumi.Input<number>;
|
|
219
248
|
/**
|
|
220
|
-
* Minimum password length.
|
|
249
|
+
* Minimum password length. Default is 8.
|
|
221
250
|
*/
|
|
222
251
|
passwordMinLength?: pulumi.Input<number>;
|
|
223
252
|
/**
|
|
224
|
-
*
|
|
253
|
+
* Minimum number of lower case characters in a password.
|
|
225
254
|
*/
|
|
226
255
|
passwordMinLowercase?: pulumi.Input<number>;
|
|
227
256
|
/**
|
|
228
|
-
*
|
|
257
|
+
* Minimum number of numbers in a password.
|
|
229
258
|
*/
|
|
230
259
|
passwordMinNumber?: pulumi.Input<number>;
|
|
231
260
|
/**
|
|
232
|
-
*
|
|
261
|
+
* Minimum number of symbols in a password.
|
|
233
262
|
*/
|
|
234
263
|
passwordMinSymbol?: pulumi.Input<number>;
|
|
235
264
|
/**
|
|
236
|
-
*
|
|
265
|
+
* Minimum number of upper case characters in a password.
|
|
237
266
|
*/
|
|
238
267
|
passwordMinUppercase?: pulumi.Input<number>;
|
|
239
268
|
/**
|
|
@@ -241,7 +270,7 @@ export interface PolicyPasswordDefaultState {
|
|
|
241
270
|
*/
|
|
242
271
|
passwordShowLockoutFailures?: pulumi.Input<boolean>;
|
|
243
272
|
/**
|
|
244
|
-
* Default policy priority
|
|
273
|
+
* Default policy priority.
|
|
245
274
|
*/
|
|
246
275
|
priority?: pulumi.Input<number>;
|
|
247
276
|
/**
|
|
@@ -257,7 +286,8 @@ export interface PolicyPasswordDefaultState {
|
|
|
257
286
|
*/
|
|
258
287
|
recoveryEmailToken?: pulumi.Input<number>;
|
|
259
288
|
/**
|
|
260
|
-
* When an Active Directory user is locked out of Okta, the Okta unlock operation should also
|
|
289
|
+
* When an Active Directory user is locked out of Okta, the Okta unlock operation should also
|
|
290
|
+
* attempt to unlock the user's Windows account.
|
|
261
291
|
*/
|
|
262
292
|
skipUnlock?: pulumi.Input<boolean>;
|
|
263
293
|
/**
|
|
@@ -265,7 +295,7 @@ export interface PolicyPasswordDefaultState {
|
|
|
265
295
|
*/
|
|
266
296
|
smsRecovery?: pulumi.Input<string>;
|
|
267
297
|
/**
|
|
268
|
-
* Default policy status
|
|
298
|
+
* Default policy status.
|
|
269
299
|
*/
|
|
270
300
|
status?: pulumi.Input<string>;
|
|
271
301
|
}
|
|
@@ -274,7 +304,7 @@ export interface PolicyPasswordDefaultState {
|
|
|
274
304
|
*/
|
|
275
305
|
export interface PolicyPasswordDefaultArgs {
|
|
276
306
|
/**
|
|
277
|
-
* Enable or disable voice call recovery: ACTIVE or INACTIVE.
|
|
307
|
+
* Enable or disable voice call password recovery: ACTIVE or INACTIVE.
|
|
278
308
|
*/
|
|
279
309
|
callRecovery?: pulumi.Input<string>;
|
|
280
310
|
/**
|
|
@@ -290,15 +320,15 @@ export interface PolicyPasswordDefaultArgs {
|
|
|
290
320
|
*/
|
|
291
321
|
passwordDictionaryLookup?: pulumi.Input<boolean>;
|
|
292
322
|
/**
|
|
293
|
-
* User firstName attribute must be excluded from the password
|
|
323
|
+
* User firstName attribute must be excluded from the password.
|
|
294
324
|
*/
|
|
295
325
|
passwordExcludeFirstName?: pulumi.Input<boolean>;
|
|
296
326
|
/**
|
|
297
|
-
* User lastName attribute must be excluded from the password
|
|
327
|
+
* User lastName attribute must be excluded from the password.
|
|
298
328
|
*/
|
|
299
329
|
passwordExcludeLastName?: pulumi.Input<boolean>;
|
|
300
330
|
/**
|
|
301
|
-
* If the
|
|
331
|
+
* If the username must be excluded from the password.
|
|
302
332
|
*/
|
|
303
333
|
passwordExcludeUsername?: pulumi.Input<boolean>;
|
|
304
334
|
/**
|
|
@@ -306,19 +336,22 @@ export interface PolicyPasswordDefaultArgs {
|
|
|
306
336
|
*/
|
|
307
337
|
passwordExpireWarnDays?: pulumi.Input<number>;
|
|
308
338
|
/**
|
|
309
|
-
* Number of distinct passwords that must be created before they can be reused: 0 =
|
|
339
|
+
* Number of distinct passwords that must be created before they can be reused: 0 =
|
|
340
|
+
* none.
|
|
310
341
|
*/
|
|
311
342
|
passwordHistoryCount?: pulumi.Input<number>;
|
|
312
343
|
/**
|
|
313
|
-
* Notification channels to use to notify a user when their account
|
|
344
|
+
* Notification channels to use to notify a user when their account
|
|
345
|
+
* has been locked.
|
|
314
346
|
*/
|
|
315
347
|
passwordLockoutNotificationChannels?: pulumi.Input<pulumi.Input<string>[]>;
|
|
316
348
|
/**
|
|
317
|
-
* Length in days a password is valid before expiry: 0 = no limit
|
|
349
|
+
* Length in days a password is valid before expiry: 0 = no limit.,
|
|
318
350
|
*/
|
|
319
351
|
passwordMaxAgeDays?: pulumi.Input<number>;
|
|
320
352
|
/**
|
|
321
|
-
* Number of unsuccessful login attempts allowed before lockout: 0 = no
|
|
353
|
+
* Number of unsuccessful login attempts allowed before lockout: 0 = no
|
|
354
|
+
* limit.
|
|
322
355
|
*/
|
|
323
356
|
passwordMaxLockoutAttempts?: pulumi.Input<number>;
|
|
324
357
|
/**
|
|
@@ -326,23 +359,23 @@ export interface PolicyPasswordDefaultArgs {
|
|
|
326
359
|
*/
|
|
327
360
|
passwordMinAgeMinutes?: pulumi.Input<number>;
|
|
328
361
|
/**
|
|
329
|
-
* Minimum password length.
|
|
362
|
+
* Minimum password length. Default is 8.
|
|
330
363
|
*/
|
|
331
364
|
passwordMinLength?: pulumi.Input<number>;
|
|
332
365
|
/**
|
|
333
|
-
*
|
|
366
|
+
* Minimum number of lower case characters in a password.
|
|
334
367
|
*/
|
|
335
368
|
passwordMinLowercase?: pulumi.Input<number>;
|
|
336
369
|
/**
|
|
337
|
-
*
|
|
370
|
+
* Minimum number of numbers in a password.
|
|
338
371
|
*/
|
|
339
372
|
passwordMinNumber?: pulumi.Input<number>;
|
|
340
373
|
/**
|
|
341
|
-
*
|
|
374
|
+
* Minimum number of symbols in a password.
|
|
342
375
|
*/
|
|
343
376
|
passwordMinSymbol?: pulumi.Input<number>;
|
|
344
377
|
/**
|
|
345
|
-
*
|
|
378
|
+
* Minimum number of upper case characters in a password.
|
|
346
379
|
*/
|
|
347
380
|
passwordMinUppercase?: pulumi.Input<number>;
|
|
348
381
|
/**
|
|
@@ -362,7 +395,8 @@ export interface PolicyPasswordDefaultArgs {
|
|
|
362
395
|
*/
|
|
363
396
|
recoveryEmailToken?: pulumi.Input<number>;
|
|
364
397
|
/**
|
|
365
|
-
* When an Active Directory user is locked out of Okta, the Okta unlock operation should also
|
|
398
|
+
* When an Active Directory user is locked out of Okta, the Okta unlock operation should also
|
|
399
|
+
* attempt to unlock the user's Windows account.
|
|
366
400
|
*/
|
|
367
401
|
skipUnlock?: pulumi.Input<boolean>;
|
|
368
402
|
/**
|
package/policyPasswordDefault.js
CHANGED
|
@@ -5,6 +5,28 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
5
5
|
exports.PolicyPasswordDefault = void 0;
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Configures default password policy.
|
|
10
|
+
*
|
|
11
|
+
* This resource allows you to configure default password policy.
|
|
12
|
+
*
|
|
13
|
+
* ## Example Usage
|
|
14
|
+
*
|
|
15
|
+
* ```typescript
|
|
16
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
17
|
+
* import * as okta from "@pulumi/okta";
|
|
18
|
+
*
|
|
19
|
+
* const _default = new okta.PolicyPasswordDefault("default", {});
|
|
20
|
+
* ```
|
|
21
|
+
*
|
|
22
|
+
* ## Import
|
|
23
|
+
*
|
|
24
|
+
* Default Password Policy can be imported without providing Okta ID.
|
|
25
|
+
*
|
|
26
|
+
* ```sh
|
|
27
|
+
* $ pulumi import okta:index/policyPasswordDefault:PolicyPasswordDefault example .
|
|
28
|
+
* ```
|
|
29
|
+
*/
|
|
8
30
|
class PolicyPasswordDefault extends pulumi.CustomResource {
|
|
9
31
|
/**
|
|
10
32
|
* Get an existing PolicyPasswordDefault resource's state with the given name, ID, and optional extra
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"policyPasswordDefault.js","sourceRoot":"","sources":["../policyPasswordDefault.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC,MAAa,qBAAsB,SAAQ,MAAM,CAAC,cAAc;IAC5D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAkC,EAAE,IAAmC;QAChI,OAAO,IAAI,qBAAqB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC5E,CAA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cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC3C,cAAc,CAAC,UAAU,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC/C,cAAc,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAChD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,qBAAqB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC1E,CAAC;;AAvOL,sDAwOC;AA1NG,gBAAgB;AACO,kCAAY,GAAG,wDAAwD,CAAC"}
|
|
@@ -1,4 +1,26 @@
|
|
|
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 Profile Enrollment Policy.
|
|
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.PolicyProfileEnrollment("example", {status: "ACTIVE"});
|
|
14
|
+
* ```
|
|
15
|
+
*
|
|
16
|
+
* ## Import
|
|
17
|
+
*
|
|
18
|
+
* A Profile Enrollment Policy can be imported via the Okta ID.
|
|
19
|
+
*
|
|
20
|
+
* ```sh
|
|
21
|
+
* $ pulumi import okta:index/policyProfileEnrollment:PolicyProfileEnrollment example <policy id>
|
|
22
|
+
* ```
|
|
23
|
+
*/
|
|
2
24
|
export declare class PolicyProfileEnrollment extends pulumi.CustomResource {
|
|
3
25
|
/**
|
|
4
26
|
* Get an existing PolicyProfileEnrollment resource's state with the given name, ID, and optional extra
|
|
@@ -16,11 +38,11 @@ export declare class PolicyProfileEnrollment extends pulumi.CustomResource {
|
|
|
16
38
|
*/
|
|
17
39
|
static isInstance(obj: any): obj is PolicyProfileEnrollment;
|
|
18
40
|
/**
|
|
19
|
-
* Name
|
|
41
|
+
* Policy Name.
|
|
20
42
|
*/
|
|
21
43
|
readonly name: pulumi.Output<string>;
|
|
22
44
|
/**
|
|
23
|
-
* Status of the policy
|
|
45
|
+
* Status of the policy.
|
|
24
46
|
*/
|
|
25
47
|
readonly status: pulumi.Output<string | undefined>;
|
|
26
48
|
/**
|
|
@@ -37,11 +59,11 @@ export declare class PolicyProfileEnrollment extends pulumi.CustomResource {
|
|
|
37
59
|
*/
|
|
38
60
|
export interface PolicyProfileEnrollmentState {
|
|
39
61
|
/**
|
|
40
|
-
* Name
|
|
62
|
+
* Policy Name.
|
|
41
63
|
*/
|
|
42
64
|
name?: pulumi.Input<string>;
|
|
43
65
|
/**
|
|
44
|
-
* Status of the policy
|
|
66
|
+
* Status of the policy.
|
|
45
67
|
*/
|
|
46
68
|
status?: pulumi.Input<string>;
|
|
47
69
|
}
|
|
@@ -50,11 +72,11 @@ export interface PolicyProfileEnrollmentState {
|
|
|
50
72
|
*/
|
|
51
73
|
export interface PolicyProfileEnrollmentArgs {
|
|
52
74
|
/**
|
|
53
|
-
* Name
|
|
75
|
+
* Policy Name.
|
|
54
76
|
*/
|
|
55
77
|
name?: pulumi.Input<string>;
|
|
56
78
|
/**
|
|
57
|
-
* Status of the policy
|
|
79
|
+
* Status of the policy.
|
|
58
80
|
*/
|
|
59
81
|
status?: pulumi.Input<string>;
|
|
60
82
|
}
|
|
@@ -5,6 +5,28 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
5
5
|
exports.PolicyProfileEnrollment = 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 Profile Enrollment Policy.
|
|
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.PolicyProfileEnrollment("example", {status: "ACTIVE"});
|
|
20
|
+
* ```
|
|
21
|
+
*
|
|
22
|
+
* ## Import
|
|
23
|
+
*
|
|
24
|
+
* A Profile Enrollment Policy can be imported via the Okta ID.
|
|
25
|
+
*
|
|
26
|
+
* ```sh
|
|
27
|
+
* $ pulumi import okta:index/policyProfileEnrollment:PolicyProfileEnrollment example <policy id>
|
|
28
|
+
* ```
|
|
29
|
+
*/
|
|
8
30
|
class PolicyProfileEnrollment extends pulumi.CustomResource {
|
|
9
31
|
/**
|
|
10
32
|
* Get an existing PolicyProfileEnrollment resource's state with the given name, ID, and optional extra
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"policyProfileEnrollment.js","sourceRoot":"","sources":["../policyProfileEnrollment.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC,MAAa,uBAAwB,SAAQ,MAAM,CAAC,cAAc;IAC9D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAoC,EAAE,IAAmC;QAClI,OAAO,IAAI,uBAAuB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC9E,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,uBAAuB,CAAC,Y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