@pulumi/okta 6.0.0-alpha.1760078393 → 6.0.0-alpha.1768025445
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/adminRoleCustomAssignments.d.ts +76 -0
- package/adminRoleCustomAssignments.js +76 -0
- package/adminRoleCustomAssignments.js.map +1 -1
- package/apiServiceIntegration.d.ts +110 -0
- package/apiServiceIntegration.js +96 -0
- package/apiServiceIntegration.js.map +1 -0
- package/apiToken.d.ts +141 -0
- package/apiToken.js +93 -0
- package/apiToken.js.map +1 -0
- package/app/connection.d.ts +164 -0
- package/app/connection.js +136 -0
- package/app/connection.js.map +1 -0
- package/app/features.d.ts +121 -0
- package/app/features.js +77 -0
- package/app/features.js.map +1 -0
- package/app/getConnection.d.ts +106 -0
- package/app/getConnection.js +62 -0
- package/app/getConnection.js.map +1 -0
- package/app/getFeatures.d.ts +156 -0
- package/app/getFeatures.js +116 -0
- package/app/getFeatures.js.map +1 -0
- package/app/getToken.d.ts +98 -0
- package/app/getToken.js +62 -0
- package/app/getToken.js.map +1 -0
- package/app/groupAssignment.d.ts +1 -1
- package/app/groupAssignment.js +1 -1
- package/app/index.d.ts +18 -0
- package/app/index.js +25 -1
- package/app/index.js.map +1 -1
- package/app/oauth.d.ts +51 -0
- package/app/oauth.js +6 -0
- package/app/oauth.js.map +1 -1
- package/app/threeField.d.ts +15 -0
- package/app/threeField.js +15 -0
- package/app/threeField.js.map +1 -1
- package/app/token.d.ts +108 -0
- package/app/token.js +93 -0
- package/app/token.js.map +1 -0
- package/appSignonPolicyRule.d.ts +1 -7
- package/appSignonPolicyRule.js +1 -7
- package/appSignonPolicyRule.js.map +1 -1
- package/auth/getServerClients.d.ts +114 -0
- package/auth/getServerClients.js +58 -0
- package/auth/getServerClients.js.map +1 -0
- package/auth/getServerKeys.d.ts +113 -0
- package/auth/getServerKeys.js +70 -0
- package/auth/getServerKeys.js.map +1 -0
- package/auth/index.d.ts +6 -0
- package/auth/index.js +7 -1
- package/auth/index.js.map +1 -1
- package/authenticator.d.ts +42 -10
- package/authenticator.js +26 -4
- package/authenticator.js.map +1 -1
- package/customizedSigninPage.d.ts +68 -0
- package/customizedSigninPage.js +68 -0
- package/customizedSigninPage.js.map +1 -1
- package/device.d.ts +80 -0
- package/device.js +69 -0
- package/device.js.map +1 -0
- package/emailCustomization.d.ts +30 -0
- package/emailCustomization.js +30 -0
- package/emailCustomization.js.map +1 -1
- package/feature.d.ts +12 -0
- package/feature.js +12 -0
- package/feature.js.map +1 -1
- package/getApiServiceIntegration.d.ts +85 -0
- package/getApiServiceIntegration.js +78 -0
- package/getApiServiceIntegration.js.map +1 -0
- package/getApiToken.d.ts +88 -0
- package/getApiToken.js +52 -0
- package/getApiToken.js.map +1 -0
- package/getBehaviour.d.ts +4 -0
- package/getBehaviour.js +4 -0
- package/getBehaviour.js.map +1 -1
- package/getBrand.d.ts +30 -0
- package/getBrand.js +30 -0
- package/getBrand.js.map +1 -1
- package/getCatalogEntryUserAccessRequestFields.d.ts +42 -0
- package/getCatalogEntryUserAccessRequestFields.js +24 -0
- package/getCatalogEntryUserAccessRequestFields.js.map +1 -1
- package/getDevice.d.ts +90 -0
- package/getDevice.js +54 -0
- package/getDevice.js.map +1 -0
- package/getEmailCustomization.d.ts +36 -0
- package/getEmailCustomization.js +36 -0
- package/getEmailCustomization.js.map +1 -1
- package/getEmailCustomizations.d.ts +26 -0
- package/getEmailCustomizations.js +26 -0
- package/getEmailCustomizations.js.map +1 -1
- package/getHookKey.d.ts +77 -0
- package/getHookKey.js +52 -0
- package/getHookKey.js.map +1 -0
- package/getPrincipalEntitlements.d.ts +116 -0
- package/getPrincipalEntitlements.js +116 -0
- package/getPrincipalEntitlements.js.map +1 -1
- package/getPushProvider.d.ts +118 -0
- package/getPushProvider.js +86 -0
- package/getPushProvider.js.map +1 -0
- package/getRealmAssignment.d.ts +4 -0
- package/getRealmAssignment.js +4 -0
- package/getRealmAssignment.js.map +1 -1
- package/getRequestSettingResource.d.ts +4 -0
- package/getRequestSettingResource.js +4 -0
- package/getRequestSettingResource.js.map +1 -1
- package/getRequestV2.d.ts +79 -0
- package/getRequestV2.js +28 -0
- package/getRequestV2.js.map +1 -1
- package/getSecurityEventsProvider.d.ts +79 -0
- package/getSecurityEventsProvider.js +52 -0
- package/getSecurityEventsProvider.js.map +1 -0
- package/getTemplate.d.ts +26 -0
- package/getTemplate.js +26 -0
- package/getTemplate.js.map +1 -1
- package/getTemplates.d.ts +24 -0
- package/getTemplates.js +24 -0
- package/getTemplates.js.map +1 -1
- package/getTheme.d.ts +26 -0
- package/getTheme.js +26 -0
- package/getTheme.js.map +1 -1
- package/getThemes.d.ts +24 -0
- package/getThemes.js +24 -0
- package/getThemes.js.map +1 -1
- package/getUiSchema.d.ts +80 -0
- package/getUiSchema.js +52 -0
- package/getUiSchema.js.map +1 -0
- package/group/owner.d.ts +24 -0
- package/group/owner.js +24 -0
- package/group/owner.js.map +1 -1
- package/group/role.d.ts +41 -0
- package/group/role.js +41 -0
- package/group/role.js.map +1 -1
- package/hookKey.d.ts +102 -0
- package/hookKey.js +79 -0
- package/hookKey.js.map +1 -0
- package/index.d.ts +42 -0
- package/index.js +61 -4
- package/index.js.map +1 -1
- package/inline/hook.d.ts +15 -15
- package/inline/hook.js +15 -15
- package/package.json +3 -3
- package/policy/deviceAssuranceAndroid.d.ts +24 -0
- package/policy/deviceAssuranceAndroid.js +24 -0
- package/policy/deviceAssuranceAndroid.js.map +1 -1
- package/policy/deviceAssuranceIos.d.ts +17 -0
- package/policy/deviceAssuranceIos.js +17 -0
- package/policy/deviceAssuranceIos.js.map +1 -1
- package/policy/deviceAssuranceMacos.d.ts +37 -0
- package/policy/deviceAssuranceMacos.js +37 -0
- package/policy/deviceAssuranceMacos.js.map +1 -1
- package/policy/deviceAssuranceWindows.d.ts +43 -0
- package/policy/deviceAssuranceWindows.js +43 -0
- package/policy/deviceAssuranceWindows.js.map +1 -1
- package/policy/mfa.d.ts +18 -0
- package/policy/mfa.js +2 -0
- package/policy/mfa.js.map +1 -1
- package/policyMfaDefault.d.ts +18 -0
- package/policyMfaDefault.js +2 -0
- package/policyMfaDefault.js.map +1 -1
- package/previewSigninPage.d.ts +68 -0
- package/previewSigninPage.js +68 -0
- package/previewSigninPage.js.map +1 -1
- package/pushProvider.d.ts +150 -0
- package/pushProvider.js +126 -0
- package/pushProvider.js.map +1 -0
- package/rateLimiting.d.ts +13 -0
- package/rateLimiting.js +13 -0
- package/rateLimiting.js.map +1 -1
- package/requestCondition.d.ts +47 -2
- package/requestCondition.js +42 -1
- package/requestCondition.js.map +1 -1
- package/requestSettingOrganization.d.ts +19 -0
- package/requestSettingOrganization.js +19 -0
- package/requestSettingOrganization.js.map +1 -1
- package/requestSettingResource.d.ts +20 -0
- package/requestSettingResource.js +20 -0
- package/requestSettingResource.js.map +1 -1
- package/requestV2.d.ts +39 -12
- package/requestV2.js +27 -0
- package/requestV2.js.map +1 -1
- package/securityEventsProvider.d.ts +138 -0
- package/securityEventsProvider.js +107 -0
- package/securityEventsProvider.js.map +1 -0
- package/theme.d.ts +23 -0
- package/theme.js +23 -0
- package/theme.js.map +1 -1
- package/types/input.d.ts +1041 -18
- package/types/output.d.ts +691 -5
- package/uiSchema.d.ts +74 -0
- package/uiSchema.js +73 -0
- package/uiSchema.js.map +1 -0
- package/user/getUser.d.ts +1 -0
- package/user/getUser.js.map +1 -1
- package/user/user.d.ts +12 -0
- package/user/user.js +2 -0
- package/user/user.js.map +1 -1
package/requestV2.d.ts
CHANGED
|
@@ -1,6 +1,33 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
import * as inputs from "./types/input";
|
|
3
3
|
import * as outputs from "./types/output";
|
|
4
|
+
/**
|
|
5
|
+
* Manage the access request process. This resource allows you to create and read an Okta [request](https://developer.okta.com/docs/api/iga/openapi/governance.requests.admin.v2/tag/Requests/#tag/Requests).
|
|
6
|
+
*
|
|
7
|
+
* ## Example Usage
|
|
8
|
+
*
|
|
9
|
+
* ```typescript
|
|
10
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
11
|
+
* import * as okta from "@pulumi/okta";
|
|
12
|
+
*
|
|
13
|
+
* const test = new okta.RequestV2("test", {
|
|
14
|
+
* requested: {
|
|
15
|
+
* type: "CATALOG_ENTRY",
|
|
16
|
+
* entryId: "<entry_id>",
|
|
17
|
+
* },
|
|
18
|
+
* requestedFor: {
|
|
19
|
+
* type: "OKTA_USER",
|
|
20
|
+
* externalId: "<user_id>",
|
|
21
|
+
* },
|
|
22
|
+
* });
|
|
23
|
+
* ```
|
|
24
|
+
*
|
|
25
|
+
* ## Import
|
|
26
|
+
*
|
|
27
|
+
* ```sh
|
|
28
|
+
* $ pulumi import okta:index/requestV2:RequestV2 example <request_id>
|
|
29
|
+
* ```
|
|
30
|
+
*/
|
|
4
31
|
export declare class RequestV2 extends pulumi.CustomResource {
|
|
5
32
|
/**
|
|
6
33
|
* Get an existing RequestV2 resource's state with the given name, ID, and optional extra
|
|
@@ -22,11 +49,11 @@ export declare class RequestV2 extends pulumi.CustomResource {
|
|
|
22
49
|
*/
|
|
23
50
|
readonly accessDuration: pulumi.Output<string>;
|
|
24
51
|
/**
|
|
25
|
-
* The
|
|
52
|
+
* The date and time when the request condition was created.
|
|
26
53
|
*/
|
|
27
54
|
readonly created: pulumi.Output<string>;
|
|
28
55
|
/**
|
|
29
|
-
* The user who created the
|
|
56
|
+
* The id of the user who created the request condition.
|
|
30
57
|
*/
|
|
31
58
|
readonly createdBy: pulumi.Output<string>;
|
|
32
59
|
/**
|
|
@@ -34,15 +61,15 @@ export declare class RequestV2 extends pulumi.CustomResource {
|
|
|
34
61
|
*/
|
|
35
62
|
readonly grantStatus: pulumi.Output<string>;
|
|
36
63
|
/**
|
|
37
|
-
* The date the approved access was granted. Only set if request.
|
|
64
|
+
* The date the approved access was granted. Only set if request . Status is APPROVED.
|
|
38
65
|
*/
|
|
39
66
|
readonly granted: pulumi.Output<string>;
|
|
40
67
|
/**
|
|
41
|
-
* The
|
|
68
|
+
* The date and time when the request condition was last updated.
|
|
42
69
|
*/
|
|
43
70
|
readonly lastUpdated: pulumi.Output<string>;
|
|
44
71
|
/**
|
|
45
|
-
* The user who last updated the
|
|
72
|
+
* The id of the user who last updated the request condition.
|
|
46
73
|
*/
|
|
47
74
|
readonly lastUpdatedBy: pulumi.Output<string>;
|
|
48
75
|
/**
|
|
@@ -62,7 +89,7 @@ export declare class RequestV2 extends pulumi.CustomResource {
|
|
|
62
89
|
*/
|
|
63
90
|
readonly resolved: pulumi.Output<string>;
|
|
64
91
|
/**
|
|
65
|
-
* The date the
|
|
92
|
+
* The date the request was scheduled for revocation.
|
|
66
93
|
*/
|
|
67
94
|
readonly revocationScheduled: pulumi.Output<string>;
|
|
68
95
|
/**
|
|
@@ -95,11 +122,11 @@ export interface RequestV2State {
|
|
|
95
122
|
*/
|
|
96
123
|
accessDuration?: pulumi.Input<string>;
|
|
97
124
|
/**
|
|
98
|
-
* The
|
|
125
|
+
* The date and time when the request condition was created.
|
|
99
126
|
*/
|
|
100
127
|
created?: pulumi.Input<string>;
|
|
101
128
|
/**
|
|
102
|
-
* The user who created the
|
|
129
|
+
* The id of the user who created the request condition.
|
|
103
130
|
*/
|
|
104
131
|
createdBy?: pulumi.Input<string>;
|
|
105
132
|
/**
|
|
@@ -107,15 +134,15 @@ export interface RequestV2State {
|
|
|
107
134
|
*/
|
|
108
135
|
grantStatus?: pulumi.Input<string>;
|
|
109
136
|
/**
|
|
110
|
-
* The date the approved access was granted. Only set if request.
|
|
137
|
+
* The date the approved access was granted. Only set if request . Status is APPROVED.
|
|
111
138
|
*/
|
|
112
139
|
granted?: pulumi.Input<string>;
|
|
113
140
|
/**
|
|
114
|
-
* The
|
|
141
|
+
* The date and time when the request condition was last updated.
|
|
115
142
|
*/
|
|
116
143
|
lastUpdated?: pulumi.Input<string>;
|
|
117
144
|
/**
|
|
118
|
-
* The user who last updated the
|
|
145
|
+
* The id of the user who last updated the request condition.
|
|
119
146
|
*/
|
|
120
147
|
lastUpdatedBy?: pulumi.Input<string>;
|
|
121
148
|
/**
|
|
@@ -135,7 +162,7 @@ export interface RequestV2State {
|
|
|
135
162
|
*/
|
|
136
163
|
resolved?: pulumi.Input<string>;
|
|
137
164
|
/**
|
|
138
|
-
* The date the
|
|
165
|
+
* The date the request was scheduled for revocation.
|
|
139
166
|
*/
|
|
140
167
|
revocationScheduled?: pulumi.Input<string>;
|
|
141
168
|
/**
|
package/requestV2.js
CHANGED
|
@@ -5,6 +5,33 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
5
5
|
exports.RequestV2 = void 0;
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Manage the access request process. This resource allows you to create and read an Okta [request](https://developer.okta.com/docs/api/iga/openapi/governance.requests.admin.v2/tag/Requests/#tag/Requests).
|
|
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.RequestV2("test", {
|
|
18
|
+
* requested: {
|
|
19
|
+
* type: "CATALOG_ENTRY",
|
|
20
|
+
* entryId: "<entry_id>",
|
|
21
|
+
* },
|
|
22
|
+
* requestedFor: {
|
|
23
|
+
* type: "OKTA_USER",
|
|
24
|
+
* externalId: "<user_id>",
|
|
25
|
+
* },
|
|
26
|
+
* });
|
|
27
|
+
* ```
|
|
28
|
+
*
|
|
29
|
+
* ## Import
|
|
30
|
+
*
|
|
31
|
+
* ```sh
|
|
32
|
+
* $ pulumi import okta:index/requestV2:RequestV2 example <request_id>
|
|
33
|
+
* ```
|
|
34
|
+
*/
|
|
8
35
|
class RequestV2 extends pulumi.CustomResource {
|
|
9
36
|
/**
|
|
10
37
|
* Get an existing RequestV2 resource's state with the given name, ID, and optional extra
|
package/requestV2.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"requestV2.js","sourceRoot":"","sources":["../requestV2.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC,MAAa,SAAU,SAAQ,MAAM,CAAC,cAAc;IAChD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAsB,EAAE,IAAmC;QACpH,OAAO,IAAI,SAAS,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAChE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,SAAS,CAAC,YAAY,CAAC;IAC1D,CAAC;IAuED,YAAY,IAAY,EAAE,WAA4C,EAAE,IAAmC;QACvG,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAyC,CAAC;YACxD,cAAc,CAAC,gBAAgB,CAAC,GAAG,KAAK,EAAE,cAAc,CAAC;YACzD,cAAc,CAAC,SAAS,CAAC,GAAG,KAAK,EAAE,OAAO,CAAC;YAC3C,cAAc,CAAC,WAAW,CAAC,GAAG,KAAK,EAAE,SAAS,CAAC;YAC/C,cAAc,CAAC,aAAa,CAAC,GAAG,KAAK,EAAE,WAAW,CAAC;YACnD,cAAc,CAAC,SAAS,CAAC,GAAG,KAAK,EAAE,OAAO,CAAC;YAC3C,cAAc,CAAC,aAAa,CAAC,GAAG,KAAK,EAAE,WAA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3
|
+
import * as outputs from "./types/output";
|
|
4
|
+
/**
|
|
5
|
+
* Creates and manages Security Events Provider instances for signal ingestion.
|
|
6
|
+
*
|
|
7
|
+
* ## Example Usage
|
|
8
|
+
*
|
|
9
|
+
* ### Security Events Provider with Well-Known URL
|
|
10
|
+
*
|
|
11
|
+
* ```typescript
|
|
12
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
13
|
+
* import * as okta from "@pulumi/okta";
|
|
14
|
+
*
|
|
15
|
+
* const exampleWellknown = new okta.SecurityEventsProvider("example_wellknown", {
|
|
16
|
+
* name: "Security Events Provider with well-known URL",
|
|
17
|
+
* type: "okta",
|
|
18
|
+
* isEnabled: "ACTIVE",
|
|
19
|
+
* settings: {
|
|
20
|
+
* wellKnownUrl: "https://example.com/.well-known/ssf_configuration",
|
|
21
|
+
* },
|
|
22
|
+
* });
|
|
23
|
+
* ```
|
|
24
|
+
*
|
|
25
|
+
* ### Security Events Provider with Issuer and JWKS
|
|
26
|
+
*
|
|
27
|
+
* ```typescript
|
|
28
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
29
|
+
* import * as okta from "@pulumi/okta";
|
|
30
|
+
*
|
|
31
|
+
* const exampleIssuer = new okta.SecurityEventsProvider("example_issuer", {
|
|
32
|
+
* name: "Security Events Provider with an issuer and a JWKS URL",
|
|
33
|
+
* type: "okta",
|
|
34
|
+
* isEnabled: "ACTIVE",
|
|
35
|
+
* settings: {
|
|
36
|
+
* issuer: "Issuer",
|
|
37
|
+
* jwksUrl: "https://example.okta.com/jwks/path",
|
|
38
|
+
* },
|
|
39
|
+
* });
|
|
40
|
+
* ```
|
|
41
|
+
*
|
|
42
|
+
* ## Import
|
|
43
|
+
*
|
|
44
|
+
* ```sh
|
|
45
|
+
* $ pulumi import okta:index/securityEventsProvider:SecurityEventsProvider example <security_events_provider_id>
|
|
46
|
+
* ```
|
|
47
|
+
*/
|
|
48
|
+
export declare class SecurityEventsProvider extends pulumi.CustomResource {
|
|
49
|
+
/**
|
|
50
|
+
* Get an existing SecurityEventsProvider resource's state with the given name, ID, and optional extra
|
|
51
|
+
* properties used to qualify the lookup.
|
|
52
|
+
*
|
|
53
|
+
* @param name The _unique_ name of the resulting resource.
|
|
54
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
55
|
+
* @param state Any extra arguments used during the lookup.
|
|
56
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
57
|
+
*/
|
|
58
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: SecurityEventsProviderState, opts?: pulumi.CustomResourceOptions): SecurityEventsProvider;
|
|
59
|
+
/**
|
|
60
|
+
* Returns true if the given object is an instance of SecurityEventsProvider. This is designed to work even
|
|
61
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
62
|
+
*/
|
|
63
|
+
static isInstance(obj: any): obj is SecurityEventsProvider;
|
|
64
|
+
/**
|
|
65
|
+
* Whether or not the Security Events Provider is enabled. Valid values: `ACTIVE`, `INACTIVE`.
|
|
66
|
+
*/
|
|
67
|
+
readonly isEnabled: pulumi.Output<string>;
|
|
68
|
+
/**
|
|
69
|
+
* The name of the Security Events Provider instance.
|
|
70
|
+
*/
|
|
71
|
+
readonly name: pulumi.Output<string>;
|
|
72
|
+
/**
|
|
73
|
+
* Information about the Security Events Provider for signal ingestion.
|
|
74
|
+
*/
|
|
75
|
+
readonly settings: pulumi.Output<outputs.SecurityEventsProviderSettings | undefined>;
|
|
76
|
+
/**
|
|
77
|
+
* Indicates whether the Security Events Provider is active or not.
|
|
78
|
+
*/
|
|
79
|
+
readonly status: pulumi.Output<string>;
|
|
80
|
+
/**
|
|
81
|
+
* The application type of the Security Events Provider.
|
|
82
|
+
*/
|
|
83
|
+
readonly type: pulumi.Output<string>;
|
|
84
|
+
/**
|
|
85
|
+
* Create a SecurityEventsProvider resource with the given unique name, arguments, and options.
|
|
86
|
+
*
|
|
87
|
+
* @param name The _unique_ name of the resource.
|
|
88
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
89
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
90
|
+
*/
|
|
91
|
+
constructor(name: string, args: SecurityEventsProviderArgs, opts?: pulumi.CustomResourceOptions);
|
|
92
|
+
}
|
|
93
|
+
/**
|
|
94
|
+
* Input properties used for looking up and filtering SecurityEventsProvider resources.
|
|
95
|
+
*/
|
|
96
|
+
export interface SecurityEventsProviderState {
|
|
97
|
+
/**
|
|
98
|
+
* Whether or not the Security Events Provider is enabled. Valid values: `ACTIVE`, `INACTIVE`.
|
|
99
|
+
*/
|
|
100
|
+
isEnabled?: pulumi.Input<string>;
|
|
101
|
+
/**
|
|
102
|
+
* The name of the Security Events Provider instance.
|
|
103
|
+
*/
|
|
104
|
+
name?: pulumi.Input<string>;
|
|
105
|
+
/**
|
|
106
|
+
* Information about the Security Events Provider for signal ingestion.
|
|
107
|
+
*/
|
|
108
|
+
settings?: pulumi.Input<inputs.SecurityEventsProviderSettings>;
|
|
109
|
+
/**
|
|
110
|
+
* Indicates whether the Security Events Provider is active or not.
|
|
111
|
+
*/
|
|
112
|
+
status?: pulumi.Input<string>;
|
|
113
|
+
/**
|
|
114
|
+
* The application type of the Security Events Provider.
|
|
115
|
+
*/
|
|
116
|
+
type?: pulumi.Input<string>;
|
|
117
|
+
}
|
|
118
|
+
/**
|
|
119
|
+
* The set of arguments for constructing a SecurityEventsProvider resource.
|
|
120
|
+
*/
|
|
121
|
+
export interface SecurityEventsProviderArgs {
|
|
122
|
+
/**
|
|
123
|
+
* Whether or not the Security Events Provider is enabled. Valid values: `ACTIVE`, `INACTIVE`.
|
|
124
|
+
*/
|
|
125
|
+
isEnabled: pulumi.Input<string>;
|
|
126
|
+
/**
|
|
127
|
+
* The name of the Security Events Provider instance.
|
|
128
|
+
*/
|
|
129
|
+
name?: pulumi.Input<string>;
|
|
130
|
+
/**
|
|
131
|
+
* Information about the Security Events Provider for signal ingestion.
|
|
132
|
+
*/
|
|
133
|
+
settings?: pulumi.Input<inputs.SecurityEventsProviderSettings>;
|
|
134
|
+
/**
|
|
135
|
+
* The application type of the Security Events Provider.
|
|
136
|
+
*/
|
|
137
|
+
type: pulumi.Input<string>;
|
|
138
|
+
}
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
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.SecurityEventsProvider = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Creates and manages Security Events Provider instances for signal ingestion.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ### Security Events Provider with Well-Known URL
|
|
14
|
+
*
|
|
15
|
+
* ```typescript
|
|
16
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
17
|
+
* import * as okta from "@pulumi/okta";
|
|
18
|
+
*
|
|
19
|
+
* const exampleWellknown = new okta.SecurityEventsProvider("example_wellknown", {
|
|
20
|
+
* name: "Security Events Provider with well-known URL",
|
|
21
|
+
* type: "okta",
|
|
22
|
+
* isEnabled: "ACTIVE",
|
|
23
|
+
* settings: {
|
|
24
|
+
* wellKnownUrl: "https://example.com/.well-known/ssf_configuration",
|
|
25
|
+
* },
|
|
26
|
+
* });
|
|
27
|
+
* ```
|
|
28
|
+
*
|
|
29
|
+
* ### Security Events Provider with Issuer and JWKS
|
|
30
|
+
*
|
|
31
|
+
* ```typescript
|
|
32
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
33
|
+
* import * as okta from "@pulumi/okta";
|
|
34
|
+
*
|
|
35
|
+
* const exampleIssuer = new okta.SecurityEventsProvider("example_issuer", {
|
|
36
|
+
* name: "Security Events Provider with an issuer and a JWKS URL",
|
|
37
|
+
* type: "okta",
|
|
38
|
+
* isEnabled: "ACTIVE",
|
|
39
|
+
* settings: {
|
|
40
|
+
* issuer: "Issuer",
|
|
41
|
+
* jwksUrl: "https://example.okta.com/jwks/path",
|
|
42
|
+
* },
|
|
43
|
+
* });
|
|
44
|
+
* ```
|
|
45
|
+
*
|
|
46
|
+
* ## Import
|
|
47
|
+
*
|
|
48
|
+
* ```sh
|
|
49
|
+
* $ pulumi import okta:index/securityEventsProvider:SecurityEventsProvider example <security_events_provider_id>
|
|
50
|
+
* ```
|
|
51
|
+
*/
|
|
52
|
+
class SecurityEventsProvider extends pulumi.CustomResource {
|
|
53
|
+
/**
|
|
54
|
+
* Get an existing SecurityEventsProvider resource's state with the given name, ID, and optional extra
|
|
55
|
+
* properties used to qualify the lookup.
|
|
56
|
+
*
|
|
57
|
+
* @param name The _unique_ name of the resulting resource.
|
|
58
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
59
|
+
* @param state Any extra arguments used during the lookup.
|
|
60
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
61
|
+
*/
|
|
62
|
+
static get(name, id, state, opts) {
|
|
63
|
+
return new SecurityEventsProvider(name, state, { ...opts, id: id });
|
|
64
|
+
}
|
|
65
|
+
/**
|
|
66
|
+
* Returns true if the given object is an instance of SecurityEventsProvider. This is designed to work even
|
|
67
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
68
|
+
*/
|
|
69
|
+
static isInstance(obj) {
|
|
70
|
+
if (obj === undefined || obj === null) {
|
|
71
|
+
return false;
|
|
72
|
+
}
|
|
73
|
+
return obj['__pulumiType'] === SecurityEventsProvider.__pulumiType;
|
|
74
|
+
}
|
|
75
|
+
constructor(name, argsOrState, opts) {
|
|
76
|
+
let resourceInputs = {};
|
|
77
|
+
opts = opts || {};
|
|
78
|
+
if (opts.id) {
|
|
79
|
+
const state = argsOrState;
|
|
80
|
+
resourceInputs["isEnabled"] = state?.isEnabled;
|
|
81
|
+
resourceInputs["name"] = state?.name;
|
|
82
|
+
resourceInputs["settings"] = state?.settings;
|
|
83
|
+
resourceInputs["status"] = state?.status;
|
|
84
|
+
resourceInputs["type"] = state?.type;
|
|
85
|
+
}
|
|
86
|
+
else {
|
|
87
|
+
const args = argsOrState;
|
|
88
|
+
if (args?.isEnabled === undefined && !opts.urn) {
|
|
89
|
+
throw new Error("Missing required property 'isEnabled'");
|
|
90
|
+
}
|
|
91
|
+
if (args?.type === undefined && !opts.urn) {
|
|
92
|
+
throw new Error("Missing required property 'type'");
|
|
93
|
+
}
|
|
94
|
+
resourceInputs["isEnabled"] = args?.isEnabled;
|
|
95
|
+
resourceInputs["name"] = args?.name;
|
|
96
|
+
resourceInputs["settings"] = args?.settings;
|
|
97
|
+
resourceInputs["type"] = args?.type;
|
|
98
|
+
resourceInputs["status"] = undefined /*out*/;
|
|
99
|
+
}
|
|
100
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
101
|
+
super(SecurityEventsProvider.__pulumiType, name, resourceInputs, opts);
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
exports.SecurityEventsProvider = SecurityEventsProvider;
|
|
105
|
+
/** @internal */
|
|
106
|
+
SecurityEventsProvider.__pulumiType = 'okta:index/securityEventsProvider:SecurityEventsProvider';
|
|
107
|
+
//# sourceMappingURL=securityEventsProvider.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"securityEventsProvider.js","sourceRoot":"","sources":["../securityEventsProvider.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2CG;AACH,MAAa,sBAAuB,SAAQ,MAAM,CAAC,cAAc;IAC7D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAmC,EAAE,IAAmC;QACjI,OAAO,IAAI,sBAAsB,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE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C;YACpC,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,EAAE,QAAQ,CAAC;YAC5C,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;YACpC,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,sBAAsB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC3E,CAAC;;AAnFL,wDAoFC;AAtEG,gBAAgB;AACO,mCAAY,GAAG,0DAA0D,CAAC"}
|
package/theme.d.ts
CHANGED
|
@@ -8,6 +8,29 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
8
8
|
* The Okta Management API does not have a true Create or Delete for a theme. Therefore, the theme resource must be imported
|
|
9
9
|
* first into the pulumi state before updates can be applied to the theme.
|
|
10
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 = okta.getBrands({});
|
|
18
|
+
* // resource has been imported into current state:
|
|
19
|
+
* // $ terraform import okta_theme.example <theme id>
|
|
20
|
+
* const example = new okta.Theme("example", {
|
|
21
|
+
* brandId: test.then(test => test.brands?.[0]?.id),
|
|
22
|
+
* logo: "path/to/logo.png",
|
|
23
|
+
* favicon: "path/to/favicon.png",
|
|
24
|
+
* backgroundImage: "path/to/background.png",
|
|
25
|
+
* primaryColorHex: "#1662dd",
|
|
26
|
+
* secondaryColorHex: "#ebebed",
|
|
27
|
+
* signInPageTouchPointVariant: "OKTA_DEFAULT",
|
|
28
|
+
* endUserDashboardTouchPointVariant: "OKTA_DEFAULT",
|
|
29
|
+
* errorPageTouchPointVariant: "OKTA_DEFAULT",
|
|
30
|
+
* emailTemplateTouchPointVariant: "OKTA_DEFAULT",
|
|
31
|
+
* });
|
|
32
|
+
* ```
|
|
33
|
+
*
|
|
11
34
|
* ## Import
|
|
12
35
|
*
|
|
13
36
|
* ```sh
|
package/theme.js
CHANGED
|
@@ -14,6 +14,29 @@ const utilities = require("./utilities");
|
|
|
14
14
|
* The Okta Management API does not have a true Create or Delete for a theme. Therefore, the theme resource must be imported
|
|
15
15
|
* first into the pulumi state before updates can be applied to the theme.
|
|
16
16
|
*
|
|
17
|
+
* ## Example Usage
|
|
18
|
+
*
|
|
19
|
+
* ```typescript
|
|
20
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
21
|
+
* import * as okta from "@pulumi/okta";
|
|
22
|
+
*
|
|
23
|
+
* const test = okta.getBrands({});
|
|
24
|
+
* // resource has been imported into current state:
|
|
25
|
+
* // $ terraform import okta_theme.example <theme id>
|
|
26
|
+
* const example = new okta.Theme("example", {
|
|
27
|
+
* brandId: test.then(test => test.brands?.[0]?.id),
|
|
28
|
+
* logo: "path/to/logo.png",
|
|
29
|
+
* favicon: "path/to/favicon.png",
|
|
30
|
+
* backgroundImage: "path/to/background.png",
|
|
31
|
+
* primaryColorHex: "#1662dd",
|
|
32
|
+
* secondaryColorHex: "#ebebed",
|
|
33
|
+
* signInPageTouchPointVariant: "OKTA_DEFAULT",
|
|
34
|
+
* endUserDashboardTouchPointVariant: "OKTA_DEFAULT",
|
|
35
|
+
* errorPageTouchPointVariant: "OKTA_DEFAULT",
|
|
36
|
+
* emailTemplateTouchPointVariant: "OKTA_DEFAULT",
|
|
37
|
+
* });
|
|
38
|
+
* ```
|
|
39
|
+
*
|
|
17
40
|
* ## Import
|
|
18
41
|
*
|
|
19
42
|
* ```sh
|
package/theme.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"theme.js","sourceRoot":"","sources":["../theme.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAi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