@pulumi/okta 4.11.0-alpha.1726293334 → 4.11.0
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 +1 -1
- package/adminRoleCustom.js +1 -1
- package/adminRoleCustomAssignments.d.ts +1 -1
- package/adminRoleCustomAssignments.js +1 -1
- package/adminRoleTargets.d.ts +1 -1
- package/adminRoleTargets.js +1 -1
- package/app/accessPolicyAssignment.d.ts +1 -1
- package/app/accessPolicyAssignment.js +1 -1
- package/app/autoLogin.d.ts +1 -1
- package/app/autoLogin.js +1 -1
- package/app/basicAuth.d.ts +1 -1
- package/app/basicAuth.js +1 -1
- package/app/bookmark.d.ts +1 -1
- package/app/bookmark.js +1 -1
- package/app/groupAssignment.d.ts +1 -1
- package/app/groupAssignment.js +1 -1
- package/app/oauth.d.ts +1 -1
- package/app/oauth.js +1 -1
- package/app/oauthPostLogoutRedirectUri.d.ts +1 -1
- package/app/oauthPostLogoutRedirectUri.js +1 -1
- package/app/oauthRedirectUri.d.ts +1 -1
- package/app/oauthRedirectUri.js +1 -1
- package/app/saml.d.ts +1 -1
- package/app/saml.js +1 -1
- package/app/securePasswordStore.d.ts +1 -1
- package/app/securePasswordStore.js +1 -1
- package/app/swa.d.ts +1 -1
- package/app/swa.js +1 -1
- package/app/threeField.d.ts +1 -1
- package/app/threeField.js +1 -1
- package/app/user.d.ts +1 -1
- package/app/user.js +1 -1
- package/appGroupAssignments.d.ts +1 -1
- package/appGroupAssignments.js +1 -1
- package/appOauthApiScope.d.ts +1 -1
- package/appOauthApiScope.js +1 -1
- package/appSamlAppSettings.d.ts +1 -1
- package/appSamlAppSettings.js +1 -1
- package/appSharedCredentials.d.ts +1 -1
- package/appSharedCredentials.js +1 -1
- package/appSignonPolicy.d.ts +1 -1
- package/appSignonPolicy.js +1 -1
- package/appSignonPolicyRule.d.ts +1 -1
- package/appSignonPolicyRule.js +1 -1
- package/appUserBaseSchemaProperty.d.ts +1 -1
- package/appUserBaseSchemaProperty.js +1 -1
- package/appUserSchemaProperty.d.ts +1 -1
- package/appUserSchemaProperty.js +1 -1
- package/auth/server.d.ts +1 -1
- package/auth/server.js +1 -1
- package/auth/serverClaim.d.ts +1 -1
- package/auth/serverClaim.js +1 -1
- package/auth/serverPolicy.d.ts +1 -1
- package/auth/serverPolicy.js +1 -1
- package/auth/serverPolicyClaim.d.ts +1 -1
- package/auth/serverPolicyClaim.js +1 -1
- package/auth/serverPolicyRule.d.ts +1 -1
- package/auth/serverPolicyRule.js +1 -1
- package/auth/serverScope.d.ts +1 -1
- package/auth/serverScope.js +1 -1
- package/authServerClaimDefault.d.ts +1 -1
- package/authServerClaimDefault.js +1 -1
- package/authServerDefault.d.ts +1 -1
- package/authServerDefault.js +1 -1
- package/authenticator.d.ts +1 -1
- package/authenticator.js +1 -1
- package/behaviour.d.ts +1 -1
- package/behaviour.js +1 -1
- package/brand.d.ts +1 -1
- package/brand.js +1 -1
- package/captcha.d.ts +1 -1
- package/captcha.js +1 -1
- package/customizedSigninPage.d.ts +1 -1
- package/customizedSigninPage.js +1 -1
- package/domain.d.ts +2 -2
- package/domain.js +1 -1
- package/emailCustomization.d.ts +1 -1
- package/emailCustomization.js +1 -1
- package/emailDomain.d.ts +1 -1
- package/emailDomain.js +1 -1
- package/emailSender.d.ts +1 -1
- package/emailSender.js +1 -1
- package/eventHook.d.ts +1 -1
- package/eventHook.js +1 -1
- package/group/group.d.ts +1 -1
- package/group/group.js +1 -1
- package/group/index.d.ts +3 -0
- package/group/index.js +6 -1
- package/group/index.js.map +1 -1
- package/group/owner.d.ts +127 -0
- package/group/owner.js +93 -0
- package/group/owner.js.map +1 -0
- package/group/role.d.ts +25 -13
- package/group/role.js +5 -13
- package/group/role.js.map +1 -1
- package/group/rule.d.ts +1 -1
- package/group/rule.js +1 -1
- package/groupMemberships.d.ts +2 -2
- package/groupMemberships.js +2 -2
- package/groupSchemaProperty.d.ts +1 -1
- package/groupSchemaProperty.js +1 -1
- package/idp/oidc.d.ts +1 -1
- package/idp/oidc.js +1 -1
- package/idp/saml.d.ts +1 -1
- package/idp/saml.js +1 -1
- package/idp/samlKey.d.ts +1 -1
- package/idp/samlKey.js +1 -1
- package/idp/social.d.ts +1 -1
- package/idp/social.js +1 -1
- package/inline/hook.d.ts +1 -1
- package/inline/hook.js +1 -1
- package/linkDefinition.d.ts +1 -1
- package/linkDefinition.js +1 -1
- package/linkValue.d.ts +1 -1
- package/linkValue.js +1 -1
- package/logStream.d.ts +1 -1
- package/logStream.js +1 -1
- package/network/zone.d.ts +1 -1
- package/network/zone.js +1 -1
- package/package.json +3 -3
- package/policy/deviceAssuranceAndroid.d.ts +1 -1
- package/policy/deviceAssuranceAndroid.js +1 -1
- package/policy/deviceAssuranceChromeos.d.ts +1 -1
- package/policy/deviceAssuranceChromeos.js +1 -1
- package/policy/deviceAssuranceIos.d.ts +1 -1
- package/policy/deviceAssuranceIos.js +1 -1
- package/policy/deviceAssuranceMacos.d.ts +1 -1
- package/policy/deviceAssuranceMacos.js +1 -1
- package/policy/deviceAssuranceWindows.d.ts +1 -1
- package/policy/deviceAssuranceWindows.js +1 -1
- package/policy/mfa.d.ts +1 -1
- package/policy/mfa.js +1 -1
- package/policy/password.d.ts +1 -1
- package/policy/password.js +1 -1
- package/policy/ruleIdpDiscovery.d.ts +1 -1
- package/policy/ruleIdpDiscovery.js +1 -1
- package/policy/ruleMfa.d.ts +1 -1
- package/policy/ruleMfa.js +1 -1
- package/policy/rulePassword.d.ts +1 -1
- package/policy/rulePassword.js +1 -1
- package/policy/ruleSignon.d.ts +1 -1
- package/policy/ruleSignon.js +1 -1
- package/policy/signon.d.ts +1 -1
- package/policy/signon.js +1 -1
- package/policyProfileEnrollment.d.ts +1 -1
- package/policyProfileEnrollment.js +1 -1
- package/policyProfileEnrollmentApps.d.ts +1 -1
- package/policyProfileEnrollmentApps.js +1 -1
- package/policyRuleProfileEnrollment.d.ts +1 -1
- package/policyRuleProfileEnrollment.js +1 -1
- package/resourceSet.d.ts +1 -1
- package/resourceSet.js +1 -1
- package/roleSubscription.d.ts +1 -1
- package/roleSubscription.js +1 -1
- package/templateSms.d.ts +1 -1
- package/templateSms.js +1 -1
- package/theme.d.ts +1 -1
- package/theme.js +1 -1
- package/trustedorigin/origin.d.ts +1 -1
- package/trustedorigin/origin.js +1 -1
- package/user/user.d.ts +1 -1
- package/user/user.js +1 -1
- package/user/userType.d.ts +1 -1
- package/user/userType.js +1 -1
- package/userAdminRoles.d.ts +1 -1
- package/userAdminRoles.js +1 -1
- package/userBaseSchemaProperty.d.ts +2 -2
- package/userBaseSchemaProperty.js +2 -2
- package/userFactorQuestion.d.ts +1 -1
- package/userFactorQuestion.js +1 -1
- package/userSchemaProperty.d.ts +5 -1
- package/userSchemaProperty.js +5 -1
- package/userSchemaProperty.js.map +1 -1
|
@@ -25,7 +25,7 @@ const utilities = require("./utilities");
|
|
|
25
25
|
* ## Import
|
|
26
26
|
*
|
|
27
27
|
* ```sh
|
|
28
|
-
* $ pulumi import okta:index/authServerClaimDefault:AuthServerClaimDefault example
|
|
28
|
+
* $ pulumi import okta:index/authServerClaimDefault:AuthServerClaimDefault example <auth_server_id>/<claim_name>
|
|
29
29
|
* ```
|
|
30
30
|
*/
|
|
31
31
|
class AuthServerClaimDefault extends pulumi.CustomResource {
|
package/authServerDefault.d.ts
CHANGED
|
@@ -17,7 +17,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
17
17
|
* ## Import
|
|
18
18
|
*
|
|
19
19
|
* ```sh
|
|
20
|
-
* $ pulumi import okta:index/authServerDefault:AuthServerDefault example
|
|
20
|
+
* $ pulumi import okta:index/authServerDefault:AuthServerDefault example <default>
|
|
21
21
|
* ```
|
|
22
22
|
*/
|
|
23
23
|
export declare class AuthServerDefault extends pulumi.CustomResource {
|
package/authServerDefault.js
CHANGED
|
@@ -23,7 +23,7 @@ const utilities = require("./utilities");
|
|
|
23
23
|
* ## Import
|
|
24
24
|
*
|
|
25
25
|
* ```sh
|
|
26
|
-
* $ pulumi import okta:index/authServerDefault:AuthServerDefault example
|
|
26
|
+
* $ pulumi import okta:index/authServerDefault:AuthServerDefault example <default>
|
|
27
27
|
* ```
|
|
28
28
|
*/
|
|
29
29
|
class AuthServerDefault extends pulumi.CustomResource {
|
package/authenticator.d.ts
CHANGED
|
@@ -52,7 +52,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
52
52
|
* ## Import
|
|
53
53
|
*
|
|
54
54
|
* ```sh
|
|
55
|
-
* $ pulumi import okta:index/authenticator:Authenticator example
|
|
55
|
+
* $ pulumi import okta:index/authenticator:Authenticator example <authenticator_id>
|
|
56
56
|
* ```
|
|
57
57
|
*/
|
|
58
58
|
export declare class Authenticator extends pulumi.CustomResource {
|
package/authenticator.js
CHANGED
|
@@ -58,7 +58,7 @@ const utilities = require("./utilities");
|
|
|
58
58
|
* ## Import
|
|
59
59
|
*
|
|
60
60
|
* ```sh
|
|
61
|
-
* $ pulumi import okta:index/authenticator:Authenticator example
|
|
61
|
+
* $ pulumi import okta:index/authenticator:Authenticator example <authenticator_id>
|
|
62
62
|
* ```
|
|
63
63
|
*/
|
|
64
64
|
class Authenticator extends pulumi.CustomResource {
|
package/behaviour.d.ts
CHANGED
|
@@ -41,7 +41,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
41
41
|
* ## Import
|
|
42
42
|
*
|
|
43
43
|
* ```sh
|
|
44
|
-
* $ pulumi import okta:index/behaviour:Behaviour example
|
|
44
|
+
* $ pulumi import okta:index/behaviour:Behaviour example <behavior_id>
|
|
45
45
|
* ```
|
|
46
46
|
*/
|
|
47
47
|
export declare class Behaviour extends pulumi.CustomResource {
|
package/behaviour.js
CHANGED
|
@@ -47,7 +47,7 @@ const utilities = require("./utilities");
|
|
|
47
47
|
* ## Import
|
|
48
48
|
*
|
|
49
49
|
* ```sh
|
|
50
|
-
* $ pulumi import okta:index/behaviour:Behaviour example
|
|
50
|
+
* $ pulumi import okta:index/behaviour:Behaviour example <behavior_id>
|
|
51
51
|
* ```
|
|
52
52
|
*/
|
|
53
53
|
class Behaviour extends pulumi.CustomResource {
|
package/brand.d.ts
CHANGED
|
@@ -12,7 +12,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
12
12
|
* ## Import
|
|
13
13
|
*
|
|
14
14
|
* ```sh
|
|
15
|
-
* $ pulumi import okta:index/brand:Brand example
|
|
15
|
+
* $ pulumi import okta:index/brand:Brand example <brand_id>
|
|
16
16
|
* ```
|
|
17
17
|
*/
|
|
18
18
|
export declare class Brand extends pulumi.CustomResource {
|
package/brand.js
CHANGED
|
@@ -18,7 +18,7 @@ const utilities = require("./utilities");
|
|
|
18
18
|
* ## Import
|
|
19
19
|
*
|
|
20
20
|
* ```sh
|
|
21
|
-
* $ pulumi import okta:index/brand:Brand example
|
|
21
|
+
* $ pulumi import okta:index/brand:Brand example <brand_id>
|
|
22
22
|
* ```
|
|
23
23
|
*/
|
|
24
24
|
class Brand extends pulumi.CustomResource {
|
package/captcha.d.ts
CHANGED
|
@@ -21,7 +21,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
21
21
|
* ## Import
|
|
22
22
|
*
|
|
23
23
|
* ```sh
|
|
24
|
-
* $ pulumi import okta:index/captcha:Captcha example
|
|
24
|
+
* $ pulumi import okta:index/captcha:Captcha example <captcha_id>
|
|
25
25
|
* ```
|
|
26
26
|
*/
|
|
27
27
|
export declare class Captcha extends pulumi.CustomResource {
|
package/captcha.js
CHANGED
|
@@ -27,7 +27,7 @@ const utilities = require("./utilities");
|
|
|
27
27
|
* ## Import
|
|
28
28
|
*
|
|
29
29
|
* ```sh
|
|
30
|
-
* $ pulumi import okta:index/captcha:Captcha example
|
|
30
|
+
* $ pulumi import okta:index/captcha:Captcha example <captcha_id>
|
|
31
31
|
* ```
|
|
32
32
|
*/
|
|
33
33
|
class Captcha extends pulumi.CustomResource {
|
|
@@ -7,7 +7,7 @@ import * as outputs from "./types/output";
|
|
|
7
7
|
* ## Import
|
|
8
8
|
*
|
|
9
9
|
* ```sh
|
|
10
|
-
* $ pulumi import okta:index/customizedSigninPage:CustomizedSigninPage example
|
|
10
|
+
* $ pulumi import okta:index/customizedSigninPage:CustomizedSigninPage example <brand_id>
|
|
11
11
|
* ```
|
|
12
12
|
*/
|
|
13
13
|
export declare class CustomizedSigninPage extends pulumi.CustomResource {
|
package/customizedSigninPage.js
CHANGED
|
@@ -11,7 +11,7 @@ const utilities = require("./utilities");
|
|
|
11
11
|
* ## Import
|
|
12
12
|
*
|
|
13
13
|
* ```sh
|
|
14
|
-
* $ pulumi import okta:index/customizedSigninPage:CustomizedSigninPage example
|
|
14
|
+
* $ pulumi import okta:index/customizedSigninPage:CustomizedSigninPage example <brand_id>
|
|
15
15
|
* ```
|
|
16
16
|
*/
|
|
17
17
|
class CustomizedSigninPage extends pulumi.CustomResource {
|
package/domain.d.ts
CHANGED
|
@@ -16,7 +16,7 @@ import * as outputs from "./types/output";
|
|
|
16
16
|
* ## Import
|
|
17
17
|
*
|
|
18
18
|
* ```sh
|
|
19
|
-
* $ pulumi import okta:index/domain:Domain example
|
|
19
|
+
* $ pulumi import okta:index/domain:Domain example <domain_id>
|
|
20
20
|
* ```
|
|
21
21
|
*/
|
|
22
22
|
export declare class Domain extends pulumi.CustomResource {
|
|
@@ -38,7 +38,7 @@ export declare class Domain extends pulumi.CustomResource {
|
|
|
38
38
|
/**
|
|
39
39
|
* Brand id of the domain
|
|
40
40
|
*/
|
|
41
|
-
readonly brandId: pulumi.Output<string
|
|
41
|
+
readonly brandId: pulumi.Output<string>;
|
|
42
42
|
/**
|
|
43
43
|
* Certificate source type that indicates whether the certificate is provided by the user or Okta. Accepted values: `MANUAL`, `OKTA_MANAGED`. Warning: Use of OKTA_MANAGED requires a feature flag to be enabled. Default value = MANUAL
|
|
44
44
|
*/
|
package/domain.js
CHANGED
|
@@ -20,7 +20,7 @@ const utilities = require("./utilities");
|
|
|
20
20
|
* ## Import
|
|
21
21
|
*
|
|
22
22
|
* ```sh
|
|
23
|
-
* $ pulumi import okta:index/domain:Domain example
|
|
23
|
+
* $ pulumi import okta:index/domain:Domain example <domain_id>
|
|
24
24
|
* ```
|
|
25
25
|
*/
|
|
26
26
|
class Domain extends pulumi.CustomResource {
|
package/emailCustomization.d.ts
CHANGED
|
@@ -33,7 +33,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
33
33
|
* ## Import
|
|
34
34
|
*
|
|
35
35
|
* ```sh
|
|
36
|
-
* $ pulumi import okta:index/emailCustomization:EmailCustomization example
|
|
36
|
+
* $ pulumi import okta:index/emailCustomization:EmailCustomization example <customization_id>/<brand_id>/<template_name>
|
|
37
37
|
* ```
|
|
38
38
|
*/
|
|
39
39
|
export declare class EmailCustomization extends pulumi.CustomResource {
|
package/emailCustomization.js
CHANGED
|
@@ -39,7 +39,7 @@ const utilities = require("./utilities");
|
|
|
39
39
|
* ## Import
|
|
40
40
|
*
|
|
41
41
|
* ```sh
|
|
42
|
-
* $ pulumi import okta:index/emailCustomization:EmailCustomization example
|
|
42
|
+
* $ pulumi import okta:index/emailCustomization:EmailCustomization example <customization_id>/<brand_id>/<template_name>
|
|
43
43
|
* ```
|
|
44
44
|
*/
|
|
45
45
|
class EmailCustomization extends pulumi.CustomResource {
|
package/emailDomain.d.ts
CHANGED
|
@@ -19,7 +19,7 @@ import * as outputs from "./types/output";
|
|
|
19
19
|
* ## Import
|
|
20
20
|
*
|
|
21
21
|
* ```sh
|
|
22
|
-
* $ pulumi import okta:index/emailDomain:EmailDomain example
|
|
22
|
+
* $ pulumi import okta:index/emailDomain:EmailDomain example <domain_id>
|
|
23
23
|
* ```
|
|
24
24
|
*/
|
|
25
25
|
export declare class EmailDomain extends pulumi.CustomResource {
|
package/emailDomain.js
CHANGED
|
@@ -23,7 +23,7 @@ const utilities = require("./utilities");
|
|
|
23
23
|
* ## Import
|
|
24
24
|
*
|
|
25
25
|
* ```sh
|
|
26
|
-
* $ pulumi import okta:index/emailDomain:EmailDomain example
|
|
26
|
+
* $ pulumi import okta:index/emailDomain:EmailDomain example <domain_id>
|
|
27
27
|
* ```
|
|
28
28
|
*/
|
|
29
29
|
class EmailDomain extends pulumi.CustomResource {
|
package/emailSender.d.ts
CHANGED
|
@@ -22,7 +22,7 @@ import * as outputs from "./types/output";
|
|
|
22
22
|
* ## Import
|
|
23
23
|
*
|
|
24
24
|
* ```sh
|
|
25
|
-
* $ pulumi import okta:index/emailSender:EmailSender example
|
|
25
|
+
* $ pulumi import okta:index/emailSender:EmailSender example <sender_id>
|
|
26
26
|
* ```
|
|
27
27
|
*/
|
|
28
28
|
export declare class EmailSender extends pulumi.CustomResource {
|
package/emailSender.js
CHANGED
|
@@ -26,7 +26,7 @@ const utilities = require("./utilities");
|
|
|
26
26
|
* ## Import
|
|
27
27
|
*
|
|
28
28
|
* ```sh
|
|
29
|
-
* $ pulumi import okta:index/emailSender:EmailSender example
|
|
29
|
+
* $ pulumi import okta:index/emailSender:EmailSender example <sender_id>
|
|
30
30
|
* ```
|
|
31
31
|
*/
|
|
32
32
|
class EmailSender extends pulumi.CustomResource {
|
package/eventHook.d.ts
CHANGED
|
@@ -32,7 +32,7 @@ import * as outputs from "./types/output";
|
|
|
32
32
|
* ## Import
|
|
33
33
|
*
|
|
34
34
|
* ```sh
|
|
35
|
-
* $ pulumi import okta:index/eventHook:EventHook example
|
|
35
|
+
* $ pulumi import okta:index/eventHook:EventHook example <hook_id>
|
|
36
36
|
* ```
|
|
37
37
|
*/
|
|
38
38
|
export declare class EventHook extends pulumi.CustomResource {
|
package/eventHook.js
CHANGED
|
@@ -36,7 +36,7 @@ const utilities = require("./utilities");
|
|
|
36
36
|
* ## Import
|
|
37
37
|
*
|
|
38
38
|
* ```sh
|
|
39
|
-
* $ pulumi import okta:index/eventHook:EventHook example
|
|
39
|
+
* $ pulumi import okta:index/eventHook:EventHook example <hook_id>
|
|
40
40
|
* ```
|
|
41
41
|
*/
|
|
42
42
|
class EventHook extends pulumi.CustomResource {
|
package/group/group.d.ts
CHANGED
|
@@ -5,7 +5,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
5
5
|
* ## Import
|
|
6
6
|
*
|
|
7
7
|
* ```sh
|
|
8
|
-
* $ pulumi import okta:group/group:Group example
|
|
8
|
+
* $ pulumi import okta:group/group:Group example <group_id>
|
|
9
9
|
* ```
|
|
10
10
|
*/
|
|
11
11
|
export declare class Group extends pulumi.CustomResource {
|
package/group/group.js
CHANGED
|
@@ -11,7 +11,7 @@ const utilities = require("../utilities");
|
|
|
11
11
|
* ## Import
|
|
12
12
|
*
|
|
13
13
|
* ```sh
|
|
14
|
-
* $ pulumi import okta:group/group:Group example
|
|
14
|
+
* $ pulumi import okta:group/group:Group example <group_id>
|
|
15
15
|
* ```
|
|
16
16
|
*/
|
|
17
17
|
class Group extends pulumi.CustomResource {
|
package/group/index.d.ts
CHANGED
|
@@ -10,6 +10,9 @@ export declare const getRuleOutput: typeof import("./getRule").getRuleOutput;
|
|
|
10
10
|
export { GroupArgs, GroupState } from "./group";
|
|
11
11
|
export type Group = import("./group").Group;
|
|
12
12
|
export declare const Group: typeof import("./group").Group;
|
|
13
|
+
export { OwnerArgs, OwnerState } from "./owner";
|
|
14
|
+
export type Owner = import("./owner").Owner;
|
|
15
|
+
export declare const Owner: typeof import("./owner").Owner;
|
|
13
16
|
export { RoleArgs, RoleState } from "./role";
|
|
14
17
|
export type Role = import("./role").Role;
|
|
15
18
|
export declare const Role: typeof import("./role").Role;
|
package/group/index.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
-
exports.Rule = exports.Role = exports.Group = exports.getRuleOutput = exports.getRule = exports.getGroupOutput = exports.getGroup = exports.getEveryoneGroupOutput = exports.getEveryoneGroup = void 0;
|
|
5
|
+
exports.Rule = exports.Role = exports.Owner = exports.Group = exports.getRuleOutput = exports.getRule = exports.getGroupOutput = exports.getGroup = exports.getEveryoneGroupOutput = exports.getEveryoneGroup = void 0;
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("../utilities");
|
|
8
8
|
exports.getEveryoneGroup = null;
|
|
@@ -16,6 +16,8 @@ exports.getRuleOutput = null;
|
|
|
16
16
|
utilities.lazyLoad(exports, ["getRule", "getRuleOutput"], () => require("./getRule"));
|
|
17
17
|
exports.Group = null;
|
|
18
18
|
utilities.lazyLoad(exports, ["Group"], () => require("./group"));
|
|
19
|
+
exports.Owner = null;
|
|
20
|
+
utilities.lazyLoad(exports, ["Owner"], () => require("./owner"));
|
|
19
21
|
exports.Role = null;
|
|
20
22
|
utilities.lazyLoad(exports, ["Role"], () => require("./role"));
|
|
21
23
|
exports.Rule = null;
|
|
@@ -26,6 +28,8 @@ const _module = {
|
|
|
26
28
|
switch (type) {
|
|
27
29
|
case "okta:group/group:Group":
|
|
28
30
|
return new exports.Group(name, undefined, { urn });
|
|
31
|
+
case "okta:group/owner:Owner":
|
|
32
|
+
return new exports.Owner(name, undefined, { urn });
|
|
29
33
|
case "okta:group/role:Role":
|
|
30
34
|
return new exports.Role(name, undefined, { urn });
|
|
31
35
|
case "okta:group/rule:Rule":
|
|
@@ -36,6 +40,7 @@ const _module = {
|
|
|
36
40
|
},
|
|
37
41
|
};
|
|
38
42
|
pulumi.runtime.registerResourceModule("okta", "group/group", _module);
|
|
43
|
+
pulumi.runtime.registerResourceModule("okta", "group/owner", _module);
|
|
39
44
|
pulumi.runtime.registerResourceModule("okta", "group/role", _module);
|
|
40
45
|
pulumi.runtime.registerResourceModule("okta", "group/rule", _module);
|
|
41
46
|
//# sourceMappingURL=index.js.map
|
package/group/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../group/index.ts"],"names":[],"mappings":";AAAA,wFAAw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AAC,CAAA;YACnD,KAAK,wBAAwB;gBACzB,OAAO,IAAI,aAAK,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACnD,KAAK,sBAAsB;gBACvB,OAAO,IAAI,YAAI,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YAClD,KAAK,sBAAsB;gBACvB,OAAO,IAAI,YAAI,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YAClD;gBACI,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACxD;IACL,CAAC;CACJ,CAAC;AACF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,MAAM,EAAE,aAAa,EAAE,OAAO,CAAC,CAAA;AACrE,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,MAAM,EAAE,aAAa,EAAE,OAAO,CAAC,CAAA;AACrE,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,MAAM,EAAE,YAAY,EAAE,OAAO,CAAC,CAAA;AACpE,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,MAAM,EAAE,YAAY,EAAE,OAAO,CAAC,CAAA"}
|
package/group/owner.d.ts
ADDED
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Manages group owner resource.
|
|
4
|
+
*
|
|
5
|
+
* ## Example Usage
|
|
6
|
+
*
|
|
7
|
+
* ```typescript
|
|
8
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
+
* import * as okta from "@pulumi/okta";
|
|
10
|
+
*
|
|
11
|
+
* const test = new okta.user.User("test", {
|
|
12
|
+
* firstName: "TestAcc",
|
|
13
|
+
* lastName: "Smith",
|
|
14
|
+
* login: "testAcc-replace_with_uuid@example.com",
|
|
15
|
+
* email: "testAcc-replace_with_uuid@example.com",
|
|
16
|
+
* });
|
|
17
|
+
* const testGroup = new okta.group.Group("test", {name: "testAcc_replace_with_uuid"});
|
|
18
|
+
* const testOwner = new okta.group.Owner("test", {
|
|
19
|
+
* groupId: testGroup.id,
|
|
20
|
+
* idOfGroupOwner: test.id,
|
|
21
|
+
* type: "USER",
|
|
22
|
+
* });
|
|
23
|
+
* ```
|
|
24
|
+
*/
|
|
25
|
+
export declare class Owner extends pulumi.CustomResource {
|
|
26
|
+
/**
|
|
27
|
+
* Get an existing Owner resource's state with the given name, ID, and optional extra
|
|
28
|
+
* properties used to qualify the lookup.
|
|
29
|
+
*
|
|
30
|
+
* @param name The _unique_ name of the resulting resource.
|
|
31
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
32
|
+
* @param state Any extra arguments used during the lookup.
|
|
33
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
34
|
+
*/
|
|
35
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: OwnerState, opts?: pulumi.CustomResourceOptions): Owner;
|
|
36
|
+
/**
|
|
37
|
+
* Returns true if the given object is an instance of Owner. This is designed to work even
|
|
38
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
39
|
+
*/
|
|
40
|
+
static isInstance(obj: any): obj is Owner;
|
|
41
|
+
/**
|
|
42
|
+
* The display name of the group owner
|
|
43
|
+
*/
|
|
44
|
+
readonly displayName: pulumi.Output<string>;
|
|
45
|
+
/**
|
|
46
|
+
* The id of the group
|
|
47
|
+
*/
|
|
48
|
+
readonly groupId: pulumi.Output<string>;
|
|
49
|
+
/**
|
|
50
|
+
* The user id of the group owner
|
|
51
|
+
*/
|
|
52
|
+
readonly idOfGroupOwner: pulumi.Output<string>;
|
|
53
|
+
/**
|
|
54
|
+
* The ID of the app instance if the originType is APPLICATION. This value is NULL if originType is OKTA_DIRECTORY.
|
|
55
|
+
*/
|
|
56
|
+
readonly originId: pulumi.Output<string>;
|
|
57
|
+
/**
|
|
58
|
+
* The source where group ownership is managed. Enum: "APPLICATION" "OKTA_DIRECTORY"
|
|
59
|
+
*/
|
|
60
|
+
readonly originType: pulumi.Output<string>;
|
|
61
|
+
/**
|
|
62
|
+
* If originType is APPLICATION, this parameter is set to FALSE until the owner's originId is reconciled with an associated Okta ID.
|
|
63
|
+
*/
|
|
64
|
+
readonly resolved: pulumi.Output<boolean>;
|
|
65
|
+
/**
|
|
66
|
+
* The entity type of the owner. Enum: "GROUP" "USER"
|
|
67
|
+
*/
|
|
68
|
+
readonly type: pulumi.Output<string>;
|
|
69
|
+
/**
|
|
70
|
+
* Create a Owner resource with the given unique name, arguments, and options.
|
|
71
|
+
*
|
|
72
|
+
* @param name The _unique_ name of the resource.
|
|
73
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
74
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
75
|
+
*/
|
|
76
|
+
constructor(name: string, args: OwnerArgs, opts?: pulumi.CustomResourceOptions);
|
|
77
|
+
}
|
|
78
|
+
/**
|
|
79
|
+
* Input properties used for looking up and filtering Owner resources.
|
|
80
|
+
*/
|
|
81
|
+
export interface OwnerState {
|
|
82
|
+
/**
|
|
83
|
+
* The display name of the group owner
|
|
84
|
+
*/
|
|
85
|
+
displayName?: pulumi.Input<string>;
|
|
86
|
+
/**
|
|
87
|
+
* The id of the group
|
|
88
|
+
*/
|
|
89
|
+
groupId?: pulumi.Input<string>;
|
|
90
|
+
/**
|
|
91
|
+
* The user id of the group owner
|
|
92
|
+
*/
|
|
93
|
+
idOfGroupOwner?: pulumi.Input<string>;
|
|
94
|
+
/**
|
|
95
|
+
* The ID of the app instance if the originType is APPLICATION. This value is NULL if originType is OKTA_DIRECTORY.
|
|
96
|
+
*/
|
|
97
|
+
originId?: pulumi.Input<string>;
|
|
98
|
+
/**
|
|
99
|
+
* The source where group ownership is managed. Enum: "APPLICATION" "OKTA_DIRECTORY"
|
|
100
|
+
*/
|
|
101
|
+
originType?: pulumi.Input<string>;
|
|
102
|
+
/**
|
|
103
|
+
* If originType is APPLICATION, this parameter is set to FALSE until the owner's originId is reconciled with an associated Okta ID.
|
|
104
|
+
*/
|
|
105
|
+
resolved?: pulumi.Input<boolean>;
|
|
106
|
+
/**
|
|
107
|
+
* The entity type of the owner. Enum: "GROUP" "USER"
|
|
108
|
+
*/
|
|
109
|
+
type?: pulumi.Input<string>;
|
|
110
|
+
}
|
|
111
|
+
/**
|
|
112
|
+
* The set of arguments for constructing a Owner resource.
|
|
113
|
+
*/
|
|
114
|
+
export interface OwnerArgs {
|
|
115
|
+
/**
|
|
116
|
+
* The id of the group
|
|
117
|
+
*/
|
|
118
|
+
groupId: pulumi.Input<string>;
|
|
119
|
+
/**
|
|
120
|
+
* The user id of the group owner
|
|
121
|
+
*/
|
|
122
|
+
idOfGroupOwner: pulumi.Input<string>;
|
|
123
|
+
/**
|
|
124
|
+
* The entity type of the owner. Enum: "GROUP" "USER"
|
|
125
|
+
*/
|
|
126
|
+
type: pulumi.Input<string>;
|
|
127
|
+
}
|
package/group/owner.js
ADDED
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.Owner = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Manages group owner resource.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as okta from "@pulumi/okta";
|
|
16
|
+
*
|
|
17
|
+
* const test = new okta.user.User("test", {
|
|
18
|
+
* firstName: "TestAcc",
|
|
19
|
+
* lastName: "Smith",
|
|
20
|
+
* login: "testAcc-replace_with_uuid@example.com",
|
|
21
|
+
* email: "testAcc-replace_with_uuid@example.com",
|
|
22
|
+
* });
|
|
23
|
+
* const testGroup = new okta.group.Group("test", {name: "testAcc_replace_with_uuid"});
|
|
24
|
+
* const testOwner = new okta.group.Owner("test", {
|
|
25
|
+
* groupId: testGroup.id,
|
|
26
|
+
* idOfGroupOwner: test.id,
|
|
27
|
+
* type: "USER",
|
|
28
|
+
* });
|
|
29
|
+
* ```
|
|
30
|
+
*/
|
|
31
|
+
class Owner extends pulumi.CustomResource {
|
|
32
|
+
/**
|
|
33
|
+
* Get an existing Owner resource's state with the given name, ID, and optional extra
|
|
34
|
+
* properties used to qualify the lookup.
|
|
35
|
+
*
|
|
36
|
+
* @param name The _unique_ name of the resulting resource.
|
|
37
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
38
|
+
* @param state Any extra arguments used during the lookup.
|
|
39
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
40
|
+
*/
|
|
41
|
+
static get(name, id, state, opts) {
|
|
42
|
+
return new Owner(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* Returns true if the given object is an instance of Owner. This is designed to work even
|
|
46
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
47
|
+
*/
|
|
48
|
+
static isInstance(obj) {
|
|
49
|
+
if (obj === undefined || obj === null) {
|
|
50
|
+
return false;
|
|
51
|
+
}
|
|
52
|
+
return obj['__pulumiType'] === Owner.__pulumiType;
|
|
53
|
+
}
|
|
54
|
+
constructor(name, argsOrState, opts) {
|
|
55
|
+
let resourceInputs = {};
|
|
56
|
+
opts = opts || {};
|
|
57
|
+
if (opts.id) {
|
|
58
|
+
const state = argsOrState;
|
|
59
|
+
resourceInputs["displayName"] = state ? state.displayName : undefined;
|
|
60
|
+
resourceInputs["groupId"] = state ? state.groupId : undefined;
|
|
61
|
+
resourceInputs["idOfGroupOwner"] = state ? state.idOfGroupOwner : undefined;
|
|
62
|
+
resourceInputs["originId"] = state ? state.originId : undefined;
|
|
63
|
+
resourceInputs["originType"] = state ? state.originType : undefined;
|
|
64
|
+
resourceInputs["resolved"] = state ? state.resolved : undefined;
|
|
65
|
+
resourceInputs["type"] = state ? state.type : undefined;
|
|
66
|
+
}
|
|
67
|
+
else {
|
|
68
|
+
const args = argsOrState;
|
|
69
|
+
if ((!args || args.groupId === undefined) && !opts.urn) {
|
|
70
|
+
throw new Error("Missing required property 'groupId'");
|
|
71
|
+
}
|
|
72
|
+
if ((!args || args.idOfGroupOwner === undefined) && !opts.urn) {
|
|
73
|
+
throw new Error("Missing required property 'idOfGroupOwner'");
|
|
74
|
+
}
|
|
75
|
+
if ((!args || args.type === undefined) && !opts.urn) {
|
|
76
|
+
throw new Error("Missing required property 'type'");
|
|
77
|
+
}
|
|
78
|
+
resourceInputs["groupId"] = args ? args.groupId : undefined;
|
|
79
|
+
resourceInputs["idOfGroupOwner"] = args ? args.idOfGroupOwner : undefined;
|
|
80
|
+
resourceInputs["type"] = args ? args.type : undefined;
|
|
81
|
+
resourceInputs["displayName"] = undefined /*out*/;
|
|
82
|
+
resourceInputs["originId"] = undefined /*out*/;
|
|
83
|
+
resourceInputs["originType"] = undefined /*out*/;
|
|
84
|
+
resourceInputs["resolved"] = undefined /*out*/;
|
|
85
|
+
}
|
|
86
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
87
|
+
super(Owner.__pulumiType, name, resourceInputs, opts);
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
exports.Owner = Owner;
|
|
91
|
+
/** @internal */
|
|
92
|
+
Owner.__pulumiType = 'okta:group/owner:Owner';
|
|
93
|
+
//# sourceMappingURL=owner.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"owner.js","sourceRoot":"","sources":["../../group/owner.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;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AC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACjD,cAAc,CAAC,UAAU,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAClD;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;;AAlGL,sBAmGC;AArFG,gBAAgB;AACO,kBAAY,GAAG,wBAAwB,CAAC"}
|
package/group/role.d.ts
CHANGED
|
@@ -2,22 +2,10 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
2
2
|
/**
|
|
3
3
|
* Assigns Admin roles to Okta Groups. This resource allows you to assign Okta administrator roles to Okta Groups. This resource provides a one-to-one interface between the Okta group and the admin role.
|
|
4
4
|
*
|
|
5
|
-
* ## Example Usage
|
|
6
|
-
*
|
|
7
|
-
* ```typescript
|
|
8
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
-
* import * as okta from "@pulumi/okta";
|
|
10
|
-
*
|
|
11
|
-
* const example = new okta.group.Role("example", {
|
|
12
|
-
* groupId: "<group id>",
|
|
13
|
-
* roleType: "READ_ONLY_ADMIN",
|
|
14
|
-
* });
|
|
15
|
-
* ```
|
|
16
|
-
*
|
|
17
5
|
* ## Import
|
|
18
6
|
*
|
|
19
7
|
* ```sh
|
|
20
|
-
* $ pulumi import okta:group/role:Role example
|
|
8
|
+
* $ pulumi import okta:group/role:Role example <group_id>/<role_id>
|
|
21
9
|
* ```
|
|
22
10
|
*/
|
|
23
11
|
export declare class Role extends pulumi.CustomResource {
|
|
@@ -45,6 +33,14 @@ export declare class Role extends pulumi.CustomResource {
|
|
|
45
33
|
* ID of group to attach admin roles to
|
|
46
34
|
*/
|
|
47
35
|
readonly groupId: pulumi.Output<string>;
|
|
36
|
+
/**
|
|
37
|
+
* Resource Set ID. Required for roleType = `CUSTOM`
|
|
38
|
+
*/
|
|
39
|
+
readonly resourceSetId: pulumi.Output<string | undefined>;
|
|
40
|
+
/**
|
|
41
|
+
* Role ID. Required for roleType = `CUSTOM`
|
|
42
|
+
*/
|
|
43
|
+
readonly roleId: pulumi.Output<string | undefined>;
|
|
48
44
|
/**
|
|
49
45
|
* Admin role assigned to the group. It can be any one of the following values: "API_ADMIN", "APP_ADMIN", "CUSTOM",
|
|
50
46
|
* "GROUP_MEMBERSHIP_ADMIN", "HELP_DESK_ADMIN", "MOBILE_ADMIN", "ORG_ADMIN", "READ_ONLY_ADMIN", "REPORT_ADMIN",
|
|
@@ -85,6 +81,14 @@ export interface RoleState {
|
|
|
85
81
|
* ID of group to attach admin roles to
|
|
86
82
|
*/
|
|
87
83
|
groupId?: pulumi.Input<string>;
|
|
84
|
+
/**
|
|
85
|
+
* Resource Set ID. Required for roleType = `CUSTOM`
|
|
86
|
+
*/
|
|
87
|
+
resourceSetId?: pulumi.Input<string>;
|
|
88
|
+
/**
|
|
89
|
+
* Role ID. Required for roleType = `CUSTOM`
|
|
90
|
+
*/
|
|
91
|
+
roleId?: pulumi.Input<string>;
|
|
88
92
|
/**
|
|
89
93
|
* Admin role assigned to the group. It can be any one of the following values: "API_ADMIN", "APP_ADMIN", "CUSTOM",
|
|
90
94
|
* "GROUP_MEMBERSHIP_ADMIN", "HELP_DESK_ADMIN", "MOBILE_ADMIN", "ORG_ADMIN", "READ_ONLY_ADMIN", "REPORT_ADMIN",
|
|
@@ -117,6 +121,14 @@ export interface RoleArgs {
|
|
|
117
121
|
* ID of group to attach admin roles to
|
|
118
122
|
*/
|
|
119
123
|
groupId: pulumi.Input<string>;
|
|
124
|
+
/**
|
|
125
|
+
* Resource Set ID. Required for roleType = `CUSTOM`
|
|
126
|
+
*/
|
|
127
|
+
resourceSetId?: pulumi.Input<string>;
|
|
128
|
+
/**
|
|
129
|
+
* Role ID. Required for roleType = `CUSTOM`
|
|
130
|
+
*/
|
|
131
|
+
roleId?: pulumi.Input<string>;
|
|
120
132
|
/**
|
|
121
133
|
* Admin role assigned to the group. It can be any one of the following values: "API_ADMIN", "APP_ADMIN", "CUSTOM",
|
|
122
134
|
* "GROUP_MEMBERSHIP_ADMIN", "HELP_DESK_ADMIN", "MOBILE_ADMIN", "ORG_ADMIN", "READ_ONLY_ADMIN", "REPORT_ADMIN",
|