@pulumi/auth0 2.14.0-alpha.1663280530 → 2.14.0-alpha.1666810964
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/action.d.ts +25 -72
- package/action.js +2 -50
- package/action.js.map +1 -1
- package/attackProtection.d.ts +9 -8
- package/attackProtection.js +4 -4
- package/attackProtection.js.map +1 -1
- package/branding.d.ts +31 -30
- package/branding.js +14 -8
- package/branding.js.map +1 -1
- package/brandingTheme.d.ts +156 -0
- package/brandingTheme.js +165 -0
- package/brandingTheme.js.map +1 -0
- package/client.d.ts +145 -126
- package/client.js +26 -22
- package/client.js.map +1 -1
- package/clientGrant.d.ts +12 -13
- package/clientGrant.js +3 -4
- package/clientGrant.js.map +1 -1
- package/config/vars.d.ts +22 -0
- package/config/vars.js +6 -0
- package/config/vars.js.map +1 -1
- package/connection.d.ts +256 -41
- package/connection.js +236 -4
- package/connection.js.map +1 -1
- package/customDomain.d.ts +42 -18
- package/customDomain.js +6 -3
- package/customDomain.js.map +1 -1
- package/customDomainVerification.d.ts +15 -9
- package/customDomainVerification.js +4 -4
- package/customDomainVerification.js.map +1 -1
- package/email.d.ts +37 -18
- package/email.js +23 -5
- package/email.js.map +1 -1
- package/emailTemplate.d.ts +29 -32
- package/emailTemplate.js +2 -5
- package/emailTemplate.js.map +1 -1
- package/getClient.d.ts +111 -6
- package/getClient.js +3 -1
- package/getClient.js.map +1 -1
- package/getGlobalClient.d.ts +98 -31
- package/getGlobalClient.js +3 -11
- package/getGlobalClient.js.map +1 -1
- package/getTenant.d.ts +3 -3
- package/getTenant.js +1 -1
- package/globalClient.d.ts +333 -2
- package/globalClient.js +7 -3
- package/globalClient.js.map +1 -1
- package/guardian.d.ts +32 -56
- package/guardian.js +3 -4
- package/guardian.js.map +1 -1
- package/hook.d.ts +12 -18
- package/hook.js +9 -10
- package/hook.js.map +1 -1
- package/index.d.ts +91 -30
- package/index.js +94 -101
- package/index.js.map +1 -1
- package/logStream.d.ts +34 -18
- package/logStream.js +17 -2
- package/logStream.js.map +1 -1
- package/organization.d.ts +22 -55
- package/organization.js +8 -17
- package/organization.js.map +1 -1
- package/organizationConnection.d.ts +7 -5
- package/organizationConnection.js +7 -5
- package/organizationConnection.js.map +1 -1
- package/organizationMember.d.ts +27 -15
- package/organizationMember.js +18 -6
- package/organizationMember.js.map +1 -1
- package/package.json +2 -2
- package/package.json.dev +2 -2
- package/prompt.d.ts +12 -12
- package/prompt.js +4 -4
- package/promptCustomText.d.ts +8 -9
- package/promptCustomText.js +2 -3
- package/promptCustomText.js.map +1 -1
- package/provider.d.ts +41 -0
- package/provider.js +1 -0
- package/provider.js.map +1 -1
- package/resourceServer.d.ts +47 -46
- package/resourceServer.js +4 -1
- package/resourceServer.js.map +1 -1
- package/role.d.ts +13 -17
- package/role.js +2 -4
- package/role.js.map +1 -1
- package/rule.d.ts +19 -25
- package/rule.js +6 -12
- package/rule.js.map +1 -1
- package/ruleConfig.d.ts +12 -14
- package/ruleConfig.js +9 -9
- package/ruleConfig.js.map +1 -1
- package/tenant.d.ts +91 -80
- package/tenant.js +35 -25
- package/tenant.js.map +1 -1
- package/triggerBinding.d.ts +19 -26
- package/triggerBinding.js +11 -16
- package/triggerBinding.js.map +1 -1
- package/types/index.js.map +1 -1
- package/types/input.d.ts +488 -425
- package/types/output.d.ts +500 -435
- package/user.d.ts +87 -44
- package/user.js +6 -6
- package/user.js.map +1 -1
- package/utilities.js +13 -1
- package/utilities.js.map +1 -1
package/action.d.ts
CHANGED
|
@@ -1,59 +1,12 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
-
import
|
|
2
|
+
import * as inputs from "./types/input";
|
|
3
|
+
import * as outputs from "./types/output";
|
|
3
4
|
/**
|
|
4
|
-
* Actions are secure, tenant-specific, versioned functions written in Node.js that
|
|
5
|
-
* execute at certain points during the Auth0 runtime. Actions are used to
|
|
6
|
-
* customize and extend Auth0's capabilities with custom logic.
|
|
7
|
-
*
|
|
8
|
-
* ## Example Usage
|
|
9
|
-
*
|
|
10
|
-
* ```typescript
|
|
11
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
12
|
-
* import * as auth0 from "@pulumi/auth0";
|
|
13
|
-
*
|
|
14
|
-
* const myAction = new auth0.Action("my_action", {
|
|
15
|
-
* code: `/**
|
|
16
|
-
* * Handler that will be called during the execution of a PostLogin flow.
|
|
17
|
-
* *
|
|
18
|
-
* * @param {Event} event - Details about the user and the context in which they are logging in.
|
|
19
|
-
* * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.
|
|
20
|
-
* */
|
|
21
|
-
* exports.onExecutePostLogin = async (event, api) => {
|
|
22
|
-
* console.log(event)
|
|
23
|
-
* };
|
|
24
|
-
* `,
|
|
25
|
-
* dependencies: [
|
|
26
|
-
* {
|
|
27
|
-
* name: "lodash",
|
|
28
|
-
* version: "latest",
|
|
29
|
-
* },
|
|
30
|
-
* {
|
|
31
|
-
* name: "request",
|
|
32
|
-
* version: "latest",
|
|
33
|
-
* },
|
|
34
|
-
* ],
|
|
35
|
-
* deploy: true,
|
|
36
|
-
* runtime: "node16",
|
|
37
|
-
* secrets: [
|
|
38
|
-
* {
|
|
39
|
-
* name: "FOO",
|
|
40
|
-
* value: "Foo",
|
|
41
|
-
* },
|
|
42
|
-
* {
|
|
43
|
-
* name: "BAR",
|
|
44
|
-
* value: "Bar",
|
|
45
|
-
* },
|
|
46
|
-
* ],
|
|
47
|
-
* supportedTriggers: {
|
|
48
|
-
* id: "post-login",
|
|
49
|
-
* version: "v3",
|
|
50
|
-
* },
|
|
51
|
-
* });
|
|
52
|
-
* ```
|
|
5
|
+
* Actions are secure, tenant-specific, versioned functions written in Node.js that execute at certain points during the Auth0 runtime. Actions are used to customize and extend Auth0's capabilities with custom logic.
|
|
53
6
|
*
|
|
54
7
|
* ## Import
|
|
55
8
|
*
|
|
56
|
-
* An action can be imported using the action's ID
|
|
9
|
+
* An action can be imported using the action's ID. # Example
|
|
57
10
|
*
|
|
58
11
|
* ```sh
|
|
59
12
|
* $ pulumi import auth0:index/action:Action my_action 12f4f21b-017a-319d-92e7-2291c1ca36c4
|
|
@@ -86,17 +39,15 @@ export declare class Action extends pulumi.CustomResource {
|
|
|
86
39
|
*/
|
|
87
40
|
readonly dependencies: pulumi.Output<outputs.ActionDependency[] | undefined>;
|
|
88
41
|
/**
|
|
89
|
-
* Deploying an action will create a new immutable version of the action.
|
|
90
|
-
* If the action is currently bound to a trigger, then the system will begin executing the newly deployed version of the
|
|
91
|
-
* action immediately. Default is `false`.
|
|
42
|
+
* Deploying an action will create a new immutable version of the action. If the action is currently bound to a trigger, then the system will begin executing the newly deployed version of the action immediately.
|
|
92
43
|
*/
|
|
93
44
|
readonly deploy: pulumi.Output<boolean | undefined>;
|
|
94
45
|
/**
|
|
95
|
-
*
|
|
46
|
+
* The name of the action.
|
|
96
47
|
*/
|
|
97
48
|
readonly name: pulumi.Output<string>;
|
|
98
49
|
/**
|
|
99
|
-
* The Node runtime.
|
|
50
|
+
* The Node runtime, e.g. `node16`. Defaults to `node12`.
|
|
100
51
|
*/
|
|
101
52
|
readonly runtime: pulumi.Output<string>;
|
|
102
53
|
/**
|
|
@@ -104,8 +55,10 @@ export declare class Action extends pulumi.CustomResource {
|
|
|
104
55
|
*/
|
|
105
56
|
readonly secrets: pulumi.Output<outputs.ActionSecret[] | undefined>;
|
|
106
57
|
/**
|
|
107
|
-
* List of triggers that this action supports. At this time, an action can only target
|
|
108
|
-
*
|
|
58
|
+
* List of triggers that this action supports. At this time, an action can only target a single trigger at a time. Read
|
|
59
|
+
* [Retrieving the set of triggers available within
|
|
60
|
+
* actions](https://registry.terraform.io/providers/auth0/auth0/latest/docs/guides/action_triggers) to retrieve the latest
|
|
61
|
+
* trigger versions supported.
|
|
109
62
|
*/
|
|
110
63
|
readonly supportedTriggers: pulumi.Output<outputs.ActionSupportedTriggers>;
|
|
111
64
|
/**
|
|
@@ -134,17 +87,15 @@ export interface ActionState {
|
|
|
134
87
|
*/
|
|
135
88
|
dependencies?: pulumi.Input<pulumi.Input<inputs.ActionDependency>[]>;
|
|
136
89
|
/**
|
|
137
|
-
* Deploying an action will create a new immutable version of the action.
|
|
138
|
-
* If the action is currently bound to a trigger, then the system will begin executing the newly deployed version of the
|
|
139
|
-
* action immediately. Default is `false`.
|
|
90
|
+
* Deploying an action will create a new immutable version of the action. If the action is currently bound to a trigger, then the system will begin executing the newly deployed version of the action immediately.
|
|
140
91
|
*/
|
|
141
92
|
deploy?: pulumi.Input<boolean>;
|
|
142
93
|
/**
|
|
143
|
-
*
|
|
94
|
+
* The name of the action.
|
|
144
95
|
*/
|
|
145
96
|
name?: pulumi.Input<string>;
|
|
146
97
|
/**
|
|
147
|
-
* The Node runtime.
|
|
98
|
+
* The Node runtime, e.g. `node16`. Defaults to `node12`.
|
|
148
99
|
*/
|
|
149
100
|
runtime?: pulumi.Input<string>;
|
|
150
101
|
/**
|
|
@@ -152,8 +103,10 @@ export interface ActionState {
|
|
|
152
103
|
*/
|
|
153
104
|
secrets?: pulumi.Input<pulumi.Input<inputs.ActionSecret>[]>;
|
|
154
105
|
/**
|
|
155
|
-
* List of triggers that this action supports. At this time, an action can only target
|
|
156
|
-
*
|
|
106
|
+
* List of triggers that this action supports. At this time, an action can only target a single trigger at a time. Read
|
|
107
|
+
* [Retrieving the set of triggers available within
|
|
108
|
+
* actions](https://registry.terraform.io/providers/auth0/auth0/latest/docs/guides/action_triggers) to retrieve the latest
|
|
109
|
+
* trigger versions supported.
|
|
157
110
|
*/
|
|
158
111
|
supportedTriggers?: pulumi.Input<inputs.ActionSupportedTriggers>;
|
|
159
112
|
/**
|
|
@@ -174,17 +127,15 @@ export interface ActionArgs {
|
|
|
174
127
|
*/
|
|
175
128
|
dependencies?: pulumi.Input<pulumi.Input<inputs.ActionDependency>[]>;
|
|
176
129
|
/**
|
|
177
|
-
* Deploying an action will create a new immutable version of the action.
|
|
178
|
-
* If the action is currently bound to a trigger, then the system will begin executing the newly deployed version of the
|
|
179
|
-
* action immediately. Default is `false`.
|
|
130
|
+
* Deploying an action will create a new immutable version of the action. If the action is currently bound to a trigger, then the system will begin executing the newly deployed version of the action immediately.
|
|
180
131
|
*/
|
|
181
132
|
deploy?: pulumi.Input<boolean>;
|
|
182
133
|
/**
|
|
183
|
-
*
|
|
134
|
+
* The name of the action.
|
|
184
135
|
*/
|
|
185
136
|
name?: pulumi.Input<string>;
|
|
186
137
|
/**
|
|
187
|
-
* The Node runtime.
|
|
138
|
+
* The Node runtime, e.g. `node16`. Defaults to `node12`.
|
|
188
139
|
*/
|
|
189
140
|
runtime?: pulumi.Input<string>;
|
|
190
141
|
/**
|
|
@@ -192,8 +143,10 @@ export interface ActionArgs {
|
|
|
192
143
|
*/
|
|
193
144
|
secrets?: pulumi.Input<pulumi.Input<inputs.ActionSecret>[]>;
|
|
194
145
|
/**
|
|
195
|
-
* List of triggers that this action supports. At this time, an action can only target
|
|
196
|
-
*
|
|
146
|
+
* List of triggers that this action supports. At this time, an action can only target a single trigger at a time. Read
|
|
147
|
+
* [Retrieving the set of triggers available within
|
|
148
|
+
* actions](https://registry.terraform.io/providers/auth0/auth0/latest/docs/guides/action_triggers) to retrieve the latest
|
|
149
|
+
* trigger versions supported.
|
|
197
150
|
*/
|
|
198
151
|
supportedTriggers: pulumi.Input<inputs.ActionSupportedTriggers>;
|
|
199
152
|
}
|
package/action.js
CHANGED
|
@@ -6,59 +6,11 @@ exports.Action = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
-
* Actions are secure, tenant-specific, versioned functions written in Node.js that
|
|
10
|
-
* execute at certain points during the Auth0 runtime. Actions are used to
|
|
11
|
-
* customize and extend Auth0's capabilities with custom logic.
|
|
12
|
-
*
|
|
13
|
-
* ## Example Usage
|
|
14
|
-
*
|
|
15
|
-
* ```typescript
|
|
16
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
17
|
-
* import * as auth0 from "@pulumi/auth0";
|
|
18
|
-
*
|
|
19
|
-
* const myAction = new auth0.Action("my_action", {
|
|
20
|
-
* code: `/**
|
|
21
|
-
* * Handler that will be called during the execution of a PostLogin flow.
|
|
22
|
-
* *
|
|
23
|
-
* * @param {Event} event - Details about the user and the context in which they are logging in.
|
|
24
|
-
* * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.
|
|
25
|
-
* */
|
|
26
|
-
* exports.onExecutePostLogin = async (event, api) => {
|
|
27
|
-
* console.log(event)
|
|
28
|
-
* };
|
|
29
|
-
* `,
|
|
30
|
-
* dependencies: [
|
|
31
|
-
* {
|
|
32
|
-
* name: "lodash",
|
|
33
|
-
* version: "latest",
|
|
34
|
-
* },
|
|
35
|
-
* {
|
|
36
|
-
* name: "request",
|
|
37
|
-
* version: "latest",
|
|
38
|
-
* },
|
|
39
|
-
* ],
|
|
40
|
-
* deploy: true,
|
|
41
|
-
* runtime: "node16",
|
|
42
|
-
* secrets: [
|
|
43
|
-
* {
|
|
44
|
-
* name: "FOO",
|
|
45
|
-
* value: "Foo",
|
|
46
|
-
* },
|
|
47
|
-
* {
|
|
48
|
-
* name: "BAR",
|
|
49
|
-
* value: "Bar",
|
|
50
|
-
* },
|
|
51
|
-
* ],
|
|
52
|
-
* supportedTriggers: {
|
|
53
|
-
* id: "post-login",
|
|
54
|
-
* version: "v3",
|
|
55
|
-
* },
|
|
56
|
-
* });
|
|
57
|
-
* ```
|
|
9
|
+
* Actions are secure, tenant-specific, versioned functions written in Node.js that execute at certain points during the Auth0 runtime. Actions are used to customize and extend Auth0's capabilities with custom logic.
|
|
58
10
|
*
|
|
59
11
|
* ## Import
|
|
60
12
|
*
|
|
61
|
-
* An action can be imported using the action's ID
|
|
13
|
+
* An action can be imported using the action's ID. # Example
|
|
62
14
|
*
|
|
63
15
|
* ```sh
|
|
64
16
|
* $ pulumi import auth0:index/action:Action my_action 12f4f21b-017a-319d-92e7-2291c1ca36c4
|
package/action.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"action.js","sourceRoot":"","sources":["../action.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;
|
|
1
|
+
{"version":3,"file":"action.js","sourceRoot":"","sources":["../action.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;GAYG;AACH,MAAa,MAAO,SAAQ,MAAM,CAAC,cAAc;IAwE7C,YAAY,IAAY,EAAE,WAAsC,EAAE,IAAmC;QACjG,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAsC,CAAC;YACrD,cAAc,CAAC,MAAM,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACxD,cAAc,CAAC,cAAc,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,CAAC;YACxE,cAAc,CAAC,QAAQ,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5D,cAAc,CAAC,MAAM,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACxD,cAAc,CAAC,SAAS,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,cAAc,CAAC,SAAS,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,cAAc,CAAC,mBAAmB,CAAC,GAA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,CAAC,mBAAmB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,iBAAiB,CAAC,CAAC,CAAC,SAAS,CAAC;YAChF,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACnD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,MAAM,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC3D,CAAC;IAvGD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAmB,EAAE,IAAmC;QACjH,OAAO,IAAI,MAAM,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC7D,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,MAAM,CAAC,YAAY,CAAC;IACvD,CAAC;;AA1BL,wBAyGC;AA3FG,gBAAgB;AACO,mBAAY,GAAG,2BAA2B,CAAC"}
|
package/attackProtection.d.ts
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
-
import
|
|
2
|
+
import * as inputs from "./types/input";
|
|
3
|
+
import * as outputs from "./types/output";
|
|
3
4
|
/**
|
|
4
|
-
* Auth0 can detect attacks and stop malicious attempts to access your application such as blocking traffic from certain IPs and displaying
|
|
5
|
+
* Auth0 can detect attacks and stop malicious attempts to access your application such as blocking traffic from certain IPs and displaying CAPTCHAs.
|
|
5
6
|
*
|
|
6
7
|
* ## Example Usage
|
|
7
8
|
*
|
|
@@ -9,7 +10,7 @@ import { input as inputs, output as outputs } from "./types";
|
|
|
9
10
|
* import * as pulumi from "@pulumi/pulumi";
|
|
10
11
|
* import * as auth0 from "@pulumi/auth0";
|
|
11
12
|
*
|
|
12
|
-
* const
|
|
13
|
+
* const myProtection = new auth0.AttackProtection("my_protection", {
|
|
13
14
|
* breachedPasswordDetection: {
|
|
14
15
|
* adminNotificationFrequencies: ["daily"],
|
|
15
16
|
* enabled: true,
|
|
@@ -50,10 +51,10 @@ import { input as inputs, output as outputs } from "./types";
|
|
|
50
51
|
*
|
|
51
52
|
* ## Import
|
|
52
53
|
*
|
|
53
|
-
* As this is not a resource identifiable by an ID within the Auth0 Management API,
|
|
54
|
+
* As this is not a resource identifiable by an ID within the Auth0 Management API, attack_protection can be imported using a random string. # We recommend [Version 4 UUID](https://www.uuidgenerator.net/version4) # Example
|
|
54
55
|
*
|
|
55
56
|
* ```sh
|
|
56
|
-
* $ pulumi import auth0:index/attackProtection:AttackProtection
|
|
57
|
+
* $ pulumi import auth0:index/attackProtection:AttackProtection my_protection 24940d4b-4bd4-44e7-894e-f92e4de36a40
|
|
57
58
|
* ```
|
|
58
59
|
*/
|
|
59
60
|
export declare class AttackProtection extends pulumi.CustomResource {
|
|
@@ -77,7 +78,7 @@ export declare class AttackProtection extends pulumi.CustomResource {
|
|
|
77
78
|
*/
|
|
78
79
|
readonly breachedPasswordDetection: pulumi.Output<outputs.AttackProtectionBreachedPasswordDetection>;
|
|
79
80
|
/**
|
|
80
|
-
*
|
|
81
|
+
* Brute-force protection safeguards against a single IP address attacking a single user account.
|
|
81
82
|
*/
|
|
82
83
|
readonly bruteForceProtection: pulumi.Output<outputs.AttackProtectionBruteForceProtection>;
|
|
83
84
|
/**
|
|
@@ -102,7 +103,7 @@ export interface AttackProtectionState {
|
|
|
102
103
|
*/
|
|
103
104
|
breachedPasswordDetection?: pulumi.Input<inputs.AttackProtectionBreachedPasswordDetection>;
|
|
104
105
|
/**
|
|
105
|
-
*
|
|
106
|
+
* Brute-force protection safeguards against a single IP address attacking a single user account.
|
|
106
107
|
*/
|
|
107
108
|
bruteForceProtection?: pulumi.Input<inputs.AttackProtectionBruteForceProtection>;
|
|
108
109
|
/**
|
|
@@ -119,7 +120,7 @@ export interface AttackProtectionArgs {
|
|
|
119
120
|
*/
|
|
120
121
|
breachedPasswordDetection?: pulumi.Input<inputs.AttackProtectionBreachedPasswordDetection>;
|
|
121
122
|
/**
|
|
122
|
-
*
|
|
123
|
+
* Brute-force protection safeguards against a single IP address attacking a single user account.
|
|
123
124
|
*/
|
|
124
125
|
bruteForceProtection?: pulumi.Input<inputs.AttackProtectionBruteForceProtection>;
|
|
125
126
|
/**
|
package/attackProtection.js
CHANGED
|
@@ -6,7 +6,7 @@ exports.AttackProtection = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
-
* Auth0 can detect attacks and stop malicious attempts to access your application such as blocking traffic from certain IPs and displaying
|
|
9
|
+
* Auth0 can detect attacks and stop malicious attempts to access your application such as blocking traffic from certain IPs and displaying CAPTCHAs.
|
|
10
10
|
*
|
|
11
11
|
* ## Example Usage
|
|
12
12
|
*
|
|
@@ -14,7 +14,7 @@ const utilities = require("./utilities");
|
|
|
14
14
|
* import * as pulumi from "@pulumi/pulumi";
|
|
15
15
|
* import * as auth0 from "@pulumi/auth0";
|
|
16
16
|
*
|
|
17
|
-
* const
|
|
17
|
+
* const myProtection = new auth0.AttackProtection("my_protection", {
|
|
18
18
|
* breachedPasswordDetection: {
|
|
19
19
|
* adminNotificationFrequencies: ["daily"],
|
|
20
20
|
* enabled: true,
|
|
@@ -55,10 +55,10 @@ const utilities = require("./utilities");
|
|
|
55
55
|
*
|
|
56
56
|
* ## Import
|
|
57
57
|
*
|
|
58
|
-
* As this is not a resource identifiable by an ID within the Auth0 Management API,
|
|
58
|
+
* As this is not a resource identifiable by an ID within the Auth0 Management API, attack_protection can be imported using a random string. # We recommend [Version 4 UUID](https://www.uuidgenerator.net/version4) # Example
|
|
59
59
|
*
|
|
60
60
|
* ```sh
|
|
61
|
-
* $ pulumi import auth0:index/attackProtection:AttackProtection
|
|
61
|
+
* $ pulumi import auth0:index/attackProtection:AttackProtection my_protection 24940d4b-4bd4-44e7-894e-f92e4de36a40
|
|
62
62
|
* ```
|
|
63
63
|
*/
|
|
64
64
|
class AttackProtection extends pulumi.CustomResource {
|
package/attackProtection.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"attackProtection.js","sourceRoot":"","sources":["../attackProtection.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;
|
|
1
|
+
{"version":3,"file":"attackProtection.js","sourceRoot":"","sources":["../attackProtection.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuDG;AACH,MAAa,gBAAiB,SAAQ,MAAM,CAAC,cAAc;IAiDvD,YAAY,IAAY,EAAE,WAA0D,EAAE,IAAmC;QACrH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAgD,CAAC;YAC/D,cAAc,CAAC,2BAA2B,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,yBAAyB,CAAC,CAAC,CAAC,SAAS,CAAC;YAClG,cAAc,CAAC,sBAAsB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,oBAAoB,CAAC,CAAC,CAAC,SAAS,CAAC;YACxF,cAAc,CAAC,wBAAwB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,sBAAsB,CAAC,CAAC,CAAC,SAAS,CAAC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./types/output";
|
|
3
4
|
/**
|
|
4
|
-
* This resource allows you to manage branding within your Auth0 tenant.
|
|
5
|
-
*
|
|
6
|
-
* Auth0 can be customized with a look and feel that aligns with your organization's brand requirements and user
|
|
7
|
-
* expectations.
|
|
5
|
+
* This resource allows you to manage branding within your Auth0 tenant. Auth0 can be customized with a look and feel that aligns with your organization's brand requirements and user expectations.
|
|
8
6
|
*
|
|
9
7
|
* ## Example Usage
|
|
10
8
|
*
|
|
11
9
|
* ```typescript
|
|
12
10
|
* import * as pulumi from "@pulumi/pulumi";
|
|
13
11
|
* import * as auth0 from "@pulumi/auth0";
|
|
12
|
+
* import * as fs from "fs";
|
|
14
13
|
*
|
|
15
|
-
* const myBrand = new auth0.Branding("
|
|
14
|
+
* const myBrand = new auth0.Branding("myBrand", {
|
|
15
|
+
* logoUrl: "https://mycompany.org/logo.png",
|
|
16
16
|
* colors: {
|
|
17
|
-
* pageBackground: "#000000",
|
|
18
17
|
* primary: "#0059d6",
|
|
18
|
+
* pageBackground: "#000000",
|
|
19
19
|
* },
|
|
20
|
-
* logoUrl: "https://mycompany.org/logo.png",
|
|
21
20
|
* universalLogin: {
|
|
22
|
-
* body: "
|
|
21
|
+
* body: fs.readFileSync("universal_login_body.html"),
|
|
23
22
|
* },
|
|
24
23
|
* });
|
|
25
24
|
* ```
|
|
25
|
+
*
|
|
26
|
+
* ## Import
|
|
27
|
+
*
|
|
28
|
+
* As this is not a resource identifiable by an ID within the Auth0 Management API, branding can be imported using a random string. # We recommend [Version 4 UUID](https://www.uuidgenerator.net/version4) # Example
|
|
29
|
+
*
|
|
30
|
+
* ```sh
|
|
31
|
+
* $ pulumi import auth0:index/branding:Branding my_brand 22f4f21b-017a-319d-92e7-2291c1ca36c4
|
|
32
|
+
* ```
|
|
26
33
|
*/
|
|
27
34
|
export declare class Branding extends pulumi.CustomResource {
|
|
28
35
|
/**
|
|
@@ -41,25 +48,23 @@ export declare class Branding extends pulumi.CustomResource {
|
|
|
41
48
|
*/
|
|
42
49
|
static isInstance(obj: any): obj is Branding;
|
|
43
50
|
/**
|
|
44
|
-
*
|
|
51
|
+
* Configuration settings for colors for branding.
|
|
45
52
|
*/
|
|
46
53
|
readonly colors: pulumi.Output<outputs.BrandingColors | undefined>;
|
|
47
54
|
/**
|
|
48
|
-
*
|
|
55
|
+
* URL for the favicon.
|
|
49
56
|
*/
|
|
50
57
|
readonly faviconUrl: pulumi.Output<string>;
|
|
51
58
|
/**
|
|
52
|
-
*
|
|
59
|
+
* Configuration settings to customize the font.
|
|
53
60
|
*/
|
|
54
61
|
readonly font: pulumi.Output<outputs.BrandingFont | undefined>;
|
|
55
62
|
/**
|
|
56
|
-
*
|
|
63
|
+
* URL of logo for branding.
|
|
57
64
|
*/
|
|
58
65
|
readonly logoUrl: pulumi.Output<string>;
|
|
59
66
|
/**
|
|
60
|
-
*
|
|
61
|
-
* See Universal Login. This capability can only be used if the tenant has
|
|
62
|
-
* [Custom Domains](https://auth0.com/docs/custom-domains) enabled.
|
|
67
|
+
* Configuration settings for Universal Login.
|
|
63
68
|
*/
|
|
64
69
|
readonly universalLogin: pulumi.Output<outputs.BrandingUniversalLogin | undefined>;
|
|
65
70
|
/**
|
|
@@ -76,25 +81,23 @@ export declare class Branding extends pulumi.CustomResource {
|
|
|
76
81
|
*/
|
|
77
82
|
export interface BrandingState {
|
|
78
83
|
/**
|
|
79
|
-
*
|
|
84
|
+
* Configuration settings for colors for branding.
|
|
80
85
|
*/
|
|
81
86
|
colors?: pulumi.Input<inputs.BrandingColors>;
|
|
82
87
|
/**
|
|
83
|
-
*
|
|
88
|
+
* URL for the favicon.
|
|
84
89
|
*/
|
|
85
90
|
faviconUrl?: pulumi.Input<string>;
|
|
86
91
|
/**
|
|
87
|
-
*
|
|
92
|
+
* Configuration settings to customize the font.
|
|
88
93
|
*/
|
|
89
94
|
font?: pulumi.Input<inputs.BrandingFont>;
|
|
90
95
|
/**
|
|
91
|
-
*
|
|
96
|
+
* URL of logo for branding.
|
|
92
97
|
*/
|
|
93
98
|
logoUrl?: pulumi.Input<string>;
|
|
94
99
|
/**
|
|
95
|
-
*
|
|
96
|
-
* See Universal Login. This capability can only be used if the tenant has
|
|
97
|
-
* [Custom Domains](https://auth0.com/docs/custom-domains) enabled.
|
|
100
|
+
* Configuration settings for Universal Login.
|
|
98
101
|
*/
|
|
99
102
|
universalLogin?: pulumi.Input<inputs.BrandingUniversalLogin>;
|
|
100
103
|
}
|
|
@@ -103,25 +106,23 @@ export interface BrandingState {
|
|
|
103
106
|
*/
|
|
104
107
|
export interface BrandingArgs {
|
|
105
108
|
/**
|
|
106
|
-
*
|
|
109
|
+
* Configuration settings for colors for branding.
|
|
107
110
|
*/
|
|
108
111
|
colors?: pulumi.Input<inputs.BrandingColors>;
|
|
109
112
|
/**
|
|
110
|
-
*
|
|
113
|
+
* URL for the favicon.
|
|
111
114
|
*/
|
|
112
115
|
faviconUrl?: pulumi.Input<string>;
|
|
113
116
|
/**
|
|
114
|
-
*
|
|
117
|
+
* Configuration settings to customize the font.
|
|
115
118
|
*/
|
|
116
119
|
font?: pulumi.Input<inputs.BrandingFont>;
|
|
117
120
|
/**
|
|
118
|
-
*
|
|
121
|
+
* URL of logo for branding.
|
|
119
122
|
*/
|
|
120
123
|
logoUrl?: pulumi.Input<string>;
|
|
121
124
|
/**
|
|
122
|
-
*
|
|
123
|
-
* See Universal Login. This capability can only be used if the tenant has
|
|
124
|
-
* [Custom Domains](https://auth0.com/docs/custom-domains) enabled.
|
|
125
|
+
* Configuration settings for Universal Login.
|
|
125
126
|
*/
|
|
126
127
|
universalLogin?: pulumi.Input<inputs.BrandingUniversalLogin>;
|
|
127
128
|
}
|
package/branding.js
CHANGED
|
@@ -6,28 +6,34 @@ exports.Branding = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
-
* This resource allows you to manage branding within your Auth0 tenant.
|
|
10
|
-
*
|
|
11
|
-
* Auth0 can be customized with a look and feel that aligns with your organization's brand requirements and user
|
|
12
|
-
* expectations.
|
|
9
|
+
* This resource allows you to manage branding within your Auth0 tenant. Auth0 can be customized with a look and feel that aligns with your organization's brand requirements and user expectations.
|
|
13
10
|
*
|
|
14
11
|
* ## Example Usage
|
|
15
12
|
*
|
|
16
13
|
* ```typescript
|
|
17
14
|
* import * as pulumi from "@pulumi/pulumi";
|
|
18
15
|
* import * as auth0 from "@pulumi/auth0";
|
|
16
|
+
* import * as fs from "fs";
|
|
19
17
|
*
|
|
20
|
-
* const myBrand = new auth0.Branding("
|
|
18
|
+
* const myBrand = new auth0.Branding("myBrand", {
|
|
19
|
+
* logoUrl: "https://mycompany.org/logo.png",
|
|
21
20
|
* colors: {
|
|
22
|
-
* pageBackground: "#000000",
|
|
23
21
|
* primary: "#0059d6",
|
|
22
|
+
* pageBackground: "#000000",
|
|
24
23
|
* },
|
|
25
|
-
* logoUrl: "https://mycompany.org/logo.png",
|
|
26
24
|
* universalLogin: {
|
|
27
|
-
* body: "
|
|
25
|
+
* body: fs.readFileSync("universal_login_body.html"),
|
|
28
26
|
* },
|
|
29
27
|
* });
|
|
30
28
|
* ```
|
|
29
|
+
*
|
|
30
|
+
* ## Import
|
|
31
|
+
*
|
|
32
|
+
* As this is not a resource identifiable by an ID within the Auth0 Management API, branding can be imported using a random string. # We recommend [Version 4 UUID](https://www.uuidgenerator.net/version4) # Example
|
|
33
|
+
*
|
|
34
|
+
* ```sh
|
|
35
|
+
* $ pulumi import auth0:index/branding:Branding my_brand 22f4f21b-017a-319d-92e7-2291c1ca36c4
|
|
36
|
+
* ```
|
|
31
37
|
*/
|
|
32
38
|
class Branding extends pulumi.CustomResource {
|
|
33
39
|
constructor(name, argsOrState, opts) {
|
package/branding.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"branding.js","sourceRoot":"","sources":["../branding.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAy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