auth0-deploy-cli 7.5.2 → 7.7.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (115) hide show
  1. package/.eslintrc +7 -41
  2. package/.husky/pre-commit +4 -0
  3. package/.husky/pre-push +3 -1
  4. package/.prettierignore +10 -0
  5. package/.prettierrc.json +4 -0
  6. package/CHANGELOG.md +219 -7
  7. package/CONTRIBUTING.md +2 -2
  8. package/README.md +3 -0
  9. package/lib/args.js +16 -17
  10. package/lib/commands/export.js +3 -3
  11. package/lib/commands/import.js +7 -6
  12. package/lib/commands/index.js +1 -1
  13. package/lib/configFactory.js +5 -1
  14. package/lib/context/defaults.js +4 -3
  15. package/lib/context/directory/handlers/actions.js +6 -5
  16. package/lib/context/directory/handlers/attackProtection.js +10 -9
  17. package/lib/context/directory/handlers/branding.js +60 -0
  18. package/lib/context/directory/handlers/clientGrants.js +6 -4
  19. package/lib/context/directory/handlers/clients.js +4 -3
  20. package/lib/context/directory/handlers/connections.js +7 -4
  21. package/lib/context/directory/handlers/databases.js +30 -22
  22. package/lib/context/directory/handlers/emailProvider.js +6 -4
  23. package/lib/context/directory/handlers/emailTemplates.js +13 -11
  24. package/lib/context/directory/handlers/guardianFactorProviders.js +6 -4
  25. package/lib/context/directory/handlers/guardianFactorTemplates.js +6 -4
  26. package/lib/context/directory/handlers/guardianFactors.js +6 -4
  27. package/lib/context/directory/handlers/guardianPhoneFactorMessageTypes.js +4 -3
  28. package/lib/context/directory/handlers/guardianPhoneFactorSelectedProvider.js +4 -3
  29. package/lib/context/directory/handlers/guardianPolicies.js +4 -3
  30. package/lib/context/directory/handlers/hooks.js +5 -4
  31. package/lib/context/directory/handlers/index.js +5 -2
  32. package/lib/context/directory/handlers/migrations.js +8 -8
  33. package/lib/context/directory/handlers/organizations.js +4 -3
  34. package/lib/context/directory/handlers/pages.js +20 -20
  35. package/lib/context/directory/handlers/resourceServers.js +6 -4
  36. package/lib/context/directory/handlers/roles.js +4 -3
  37. package/lib/context/directory/handlers/rules.js +5 -4
  38. package/lib/context/directory/handlers/rulesConfigs.js +7 -5
  39. package/lib/context/directory/handlers/tenant.js +7 -4
  40. package/lib/context/directory/handlers/triggers.js +3 -2
  41. package/lib/context/directory/index.js +23 -22
  42. package/lib/context/index.js +83 -61
  43. package/lib/context/yaml/handlers/actions.js +12 -8
  44. package/lib/context/yaml/handlers/attackProtection.js +6 -12
  45. package/lib/context/yaml/handlers/branding.js +66 -0
  46. package/lib/context/yaml/handlers/clientGrants.js +5 -4
  47. package/lib/context/yaml/handlers/clients.js +9 -6
  48. package/lib/context/yaml/handlers/connections.js +10 -7
  49. package/lib/context/yaml/handlers/databases.js +15 -10
  50. package/lib/context/yaml/handlers/emailProvider.js +7 -5
  51. package/lib/context/yaml/handlers/emailTemplates.js +6 -5
  52. package/lib/context/yaml/handlers/guardianFactorProviders.js +6 -13
  53. package/lib/context/yaml/handlers/guardianFactorTemplates.js +6 -13
  54. package/lib/context/yaml/handlers/guardianFactors.js +6 -13
  55. package/lib/context/yaml/handlers/guardianPhoneFactorMessageTypes.js +6 -13
  56. package/lib/context/yaml/handlers/guardianPhoneFactorSelectedProvider.js +6 -13
  57. package/lib/context/yaml/handlers/guardianPolicies.js +6 -13
  58. package/lib/context/yaml/handlers/hooks.js +7 -5
  59. package/lib/context/yaml/handlers/index.js +5 -2
  60. package/lib/context/yaml/handlers/migrations.js +3 -2
  61. package/lib/context/yaml/handlers/organizations.js +6 -5
  62. package/lib/context/yaml/handlers/pages.js +6 -5
  63. package/lib/context/yaml/handlers/resourceServers.js +5 -4
  64. package/lib/context/yaml/handlers/roles.js +6 -5
  65. package/lib/context/yaml/handlers/rules.js +6 -5
  66. package/lib/context/yaml/handlers/rulesConfigs.js +6 -5
  67. package/lib/context/yaml/handlers/tenant.js +7 -5
  68. package/lib/context/yaml/handlers/triggers.js +5 -4
  69. package/lib/context/yaml/index.js +33 -24
  70. package/lib/index.js +20 -15
  71. package/lib/logger.js +4 -3
  72. package/lib/readonly.js +11 -16
  73. package/lib/sessionDurationsToMinutes.js +15 -0
  74. package/lib/tools/auth0/client.js +12 -12
  75. package/lib/tools/auth0/handlers/actions.js +21 -23
  76. package/lib/tools/auth0/handlers/attackProtection.js +14 -17
  77. package/lib/tools/auth0/handlers/branding.js +71 -13
  78. package/lib/tools/auth0/handlers/clientGrants.js +17 -10
  79. package/lib/tools/auth0/handlers/clients.js +15 -8
  80. package/lib/tools/auth0/handlers/connections.js +30 -10
  81. package/lib/tools/auth0/handlers/databases.js +25 -13
  82. package/lib/tools/auth0/handlers/default.js +46 -28
  83. package/lib/tools/auth0/handlers/emailTemplates.js +8 -10
  84. package/lib/tools/auth0/handlers/guardianFactorProviders.js +3 -3
  85. package/lib/tools/auth0/handlers/guardianFactorTemplates.js +3 -3
  86. package/lib/tools/auth0/handlers/guardianFactors.js +3 -3
  87. package/lib/tools/auth0/handlers/guardianPhoneFactorMessageTypes.js +11 -10
  88. package/lib/tools/auth0/handlers/guardianPhoneFactorSelectedProvider.js +10 -9
  89. package/lib/tools/auth0/handlers/guardianPolicies.js +5 -4
  90. package/lib/tools/auth0/handlers/hooks.js +34 -21
  91. package/lib/tools/auth0/handlers/index.js +31 -27
  92. package/lib/tools/auth0/handlers/migrations.js +2 -1
  93. package/lib/tools/auth0/handlers/organizations.js +67 -32
  94. package/lib/tools/auth0/handlers/pages.js +20 -14
  95. package/lib/tools/auth0/handlers/prompts.js +1 -0
  96. package/lib/tools/auth0/handlers/resourceServers.js +28 -15
  97. package/lib/tools/auth0/handlers/roles.js +61 -32
  98. package/lib/tools/auth0/handlers/rules.js +58 -35
  99. package/lib/tools/auth0/handlers/rulesConfigs.js +12 -6
  100. package/lib/tools/auth0/handlers/tenant.js +8 -4
  101. package/lib/tools/auth0/handlers/triggers.js +11 -12
  102. package/lib/tools/auth0/index.js +15 -31
  103. package/lib/tools/auth0/schema.js +7 -27
  104. package/lib/tools/calculateChanges.js +149 -0
  105. package/lib/tools/constants.js +162 -154
  106. package/lib/tools/deploy.js +1 -1
  107. package/lib/tools/index.js +1 -1
  108. package/lib/tools/logger.js +14 -8
  109. package/lib/tools/utils.js +34 -150
  110. package/lib/tools/{ValidationError.js → validationError.js} +3 -1
  111. package/lib/types.js +2 -0
  112. package/lib/utils.js +18 -25
  113. package/package.json +11 -2
  114. package/tsconfig.json +2 -3
  115. package/typescript-migration-progress.sh +1 -1
package/CHANGELOG.md CHANGED
@@ -7,210 +7,329 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [7.7.1] - 2022-04-07
11
+
12
+ ### Added
13
+
14
+ - Deprecation warnings for now deprecated asset-specific exclusion configuration properties: `AUTH0_EXCLUDED_RULES`, `AUTH0_EXCLUDED_CLIENTS`, `AUTH0_EXCLUDED_DATABASES`, `AUTH0_EXCLUDED_CONNECTIONS`, `AUTH0_EXCLUDED_RESOURCE_SERVERS`, `AUTH0_EXCLUDED_DEFAULTS`. See [Resource Exclusion Proposal](https://github.com/auth0/auth0-deploy-cli/issues/451#user-content-deprecated-exclusion-props) for details. [#481]
15
+
16
+ ### Fixed
17
+
18
+ - Rules configs failing to update after regression prevented asset-specific overrides of Node Auth0 SDK methods [#482]
19
+ - Attack protection not replacing keywords [#478]
20
+
21
+ ## [7.7.0] - 2022-04-06
22
+
23
+ ### Added
24
+
25
+ - Exclusion of entire resource types via the `AUTH0_EXCLUDED` configuration parameter. See [Resource Exclusion Proposal](https://github.com/auth0/auth0-deploy-cli/issues/451) for details. [#468]
26
+
27
+ ### Fixed
28
+
29
+ - `idle_session_lifetime` and `session_lifetime` values properly ignored on update if inheriting default tenant values.[#471]
30
+
31
+ ## [7.6.0] - 2022-03-25
32
+
33
+ ### Added
34
+
35
+ - New branding template feature support [#438]
36
+
37
+ ### Fixed
38
+
39
+ - Colliding `e` parameter alias between `export_ids` and `env` [#453]
40
+
10
41
  ## [7.5.2] - 2022-03-15
42
+
11
43
  ### Fixed
44
+
12
45
  - Resetting this version to be latest on NPM
13
46
 
14
47
  ## [7.5.1] - 2022-03-11
48
+
15
49
  ### Fixed
50
+
16
51
  - Updating dead link in logging output [#436]
17
52
  - Fixing `--env` flag to properly dictate environment variable inheritance [#432]
18
53
 
19
54
  ## [7.5.0] - 2022-03-08
55
+
20
56
  ### Added
57
+
21
58
  - Support for attack protection configuration management [#428]
22
59
 
23
60
  ### Fixed
61
+
24
62
  - Excluded connection properties from getting deleted upon update [#430]
25
63
  - Organizations in YAML format are skipped when not defined [#388]
26
64
 
27
65
  ## [7.4.0] - 2022-02-24
66
+
28
67
  ### Added
68
+
29
69
  - Allowing @@ array variable replacement to work when wrapped in quotes [#421]
30
70
 
31
71
  ### Fixed
72
+
32
73
  - Eliminated benign `client_metadata` warnings on import [#416]
33
74
  - Fixing request abstraction from losing function scope, enabling Auth0 Node SDK updates [#412]
34
75
 
35
76
  ### Security
77
+
36
78
  - Updating Auth0 Node SDK to 2.40.0 which fixes minor dependency vulnerability
37
79
 
38
80
  ## [7.3.7] - 2022-02-03
81
+
39
82
  ### Fixed
83
+
40
84
  - Expose errors that may be silently missed in Actions [#408]
41
85
 
42
86
  ## [7.3.6] - 2022-02-02
87
+
43
88
  ### Fixed
89
+
44
90
  - Fix errors caused by incompatibilities introduced by new versions of Auth0 SDK [#406]
45
91
 
46
92
  ## [7.3.5] - 2022-01-27
93
+
47
94
  ### Fixed
95
+
48
96
  - Fix an error with the function context [#403]
49
97
 
50
98
  ## [7.3.4] - 2022-01-26
99
+
51
100
  ### Fixed
101
+
52
102
  - Fix pagination [#401]
53
103
 
54
104
  ## [7.3.3] - 2022-01-26
105
+
55
106
  ### Fixed
107
+
56
108
  - Fix pagination [#400]
57
109
 
58
110
  ### Security
111
+
59
112
  - Security fixes from dependencies
60
113
 
61
114
  ## [7.3.2] - 2021-12-14
115
+
62
116
  ### Security
117
+
63
118
  - Fixes dependency security issues
64
119
 
65
120
  ## [7.3.1] - 2021-09-21
121
+
66
122
  ### Fixed
123
+
67
124
  - Error when authenticating with AUTH0_CLIENT_ID and AUTH0_CLIENT_SECRET with Node.js prior to v14
68
125
 
69
126
  ## [7.3.0] - 2021-09-20
127
+
70
128
  ### Added
129
+
71
130
  - Allow set of AUTH0_AUDIENCE for custom domain [#379] (credit @AliBazzi)
72
131
 
73
132
  ### Fixed
133
+
74
134
  - Load file configured in customScripts for DB Connections [#367] (credit @skukx)
75
135
 
76
136
  ### Security
137
+
77
138
  - Security fixes from dependencies
78
139
 
79
140
  ## [7.2.1] - 2021-08-23
141
+
80
142
  ### Fixed
143
+
81
144
  - [IDS-3074] Updated structure when dumping orgs (#369)
82
-
145
+
83
146
  Fixes an issue when exporting organizations as a directory, connections are not structured in the right way, causing the import to remove any connection on the organizations.
147
+
84
148
  - [DXEX-1721] Fix client metadata property deletion
85
-
149
+
86
150
  Fixes an inconsistency between how we calculate changes on deep metadata-like objects and with how APIv2 expects such changes to be expressed when a property is deleted.
151
+
87
152
  - Bump js-yaml from 3.x to 4.x and move to kacl (#371)
88
-
153
+
89
154
  This PR bumps js-yaml from 3.x to 4.x in accordance with its migration guide. This bump means that we're able to use the default safe behaviour for both exports and imports.
90
-
155
+
91
156
  Notably, this means that we won't end up with values like !<tag:yaml.org,2002:js/undefined> '' that are not at all human friendly and were problematic when we used the .safeLoad functionality.
92
157
 
93
158
  ## [7.2.0] - 2021-07-14
159
+
94
160
  ### Added
161
+
95
162
  - Add runtime property for actions [#364]
96
163
 
97
164
  ## [7.1.1] - 2021-06-23
165
+
98
166
  ### Added
167
+
99
168
  - Export tools module
100
169
 
101
170
  ### Fixed
171
+
102
172
  - Fix exception when actions is undefined [#361]
103
173
  - yargs should not be called when required as a module
104
174
 
105
175
  ## [7.1.0] - 2021-06-23
176
+
106
177
  ### Changed
178
+
107
179
  - Actions refactoring and fixes [#356]
108
180
  - Bump auth0@2.35.1
109
181
 
110
182
  ## [7.0.0] - 2021-06-11
183
+
111
184
  ### Added
185
+
112
186
  - MFA-1174 Support Recovery Codes
113
187
  - Support for organizations
114
188
  - Prompt link to Auth0 Docs upon insufficient scope
115
189
 
116
190
  ### Changed
191
+
117
192
  - Removed dependency on `auth0-source-control-extension-tools`, the package is not part of `auth0-deploy-cli`
118
193
  - Removed dependency on `auth-extension-tools`
119
194
 
120
195
  ### Deprecated
196
+
121
197
  - Dropped Node.js 8 support
122
198
 
123
199
  ### Fixed
200
+
124
201
  - Upstream node registry
125
202
 
126
203
  ### Security
204
+
127
205
  - Security fixes from dependencies
128
206
 
129
207
  ## [6.0.0] - 2020-12-28
208
+
130
209
  ### Deprecated
210
+
131
211
  - This release has been withdrawn
132
212
 
133
213
  ## [5.5.7] - 2021-05-19
214
+
134
215
  ### Added
216
+
135
217
  - Add Support Recovery Codes by bumping auth0-source-control-extension-tools@4.7.2
136
218
 
137
219
  ## [5.5.6] - 2021-04-21
220
+
138
221
  ### Fixed
222
+
139
223
  - Fix EXCLUDE_PROPS behaviour for connections and databases.
140
224
 
141
225
  ## [5.5.5] - 2021-03-26
226
+
142
227
  ### Fixed
228
+
143
229
  - Broken dependencies on 4.5.x range of source-countrol-extension-tools because of organizations.
144
230
 
145
231
  ## [5.5.4] - 2021-03-12
232
+
146
233
  ### Fixed
234
+
147
235
  - Remove limit on permissions in roles
148
236
 
149
237
  ## [5.5.3] - 2021-03-10
238
+
150
239
  ### Added
240
+
151
241
  - Add webauthn platform as a supported factor
152
242
 
153
243
  ## [5.5.2] - 2021-03-10
244
+
154
245
  ### Fixed
246
+
155
247
  - Fix pagination when computing changes
156
248
 
157
249
  ## [5.5.1] - 2021-03-03
250
+
158
251
  ### Fixed
252
+
159
253
  - Fix issues with retrieving more than 50 roles
160
254
 
161
255
  ## [5.5.0] - 2021-01-28
256
+
162
257
  ### Added
258
+
163
259
  - Add support for `verify_email_by_code` email template [#309]
164
260
 
165
261
  ## [5.3.2] - 2020-12-17
262
+
166
263
  ### Fixed
264
+
167
265
  - Fix keyword mapping in client page templates [ESD-10528] [#291]
168
266
 
169
267
  ## [5.3.1] - 2020-11-16
268
+
170
269
  ### Fixed
270
+
171
271
  - Fix report error exporting hooks by bumping auth0-source-control-extension-tools@4.1.12 [#289]
172
272
  - Add MFA factor webauthn-roaming support by bumping auth0-source-control-extension-tools@4.1.12 [#289]
173
273
 
174
274
  ## [5.3.0] - 2020-11-05
275
+
175
276
  ### Changed
277
+
176
278
  - Return database `enabled_clients` in deterministic order [#281]
177
279
 
178
280
  ### Fixed
281
+
179
282
  - Fix the structure of the example policies.json, and correct the guardianPolicies test to use `all-applications` instead of `all-application` [#278]
180
283
  - Fix pagination for specific API calls by bumping auth0-source-control-extension-tools@4.1.9 [#287]
181
284
 
182
285
  ## [5.2.1] - 2020-09-23
286
+
183
287
  ### Fixed
288
+
184
289
  - Issue with client grants deleted when using AUTH0_EXCLUDED_CLIENTS
185
290
 
186
291
  ## [5.2.0] - 2020-09-17
292
+
187
293
  ### Fixed
294
+
188
295
  - Always sort custom database scripts alphabetically
189
296
 
190
297
  ## [5.1.6] - 2020-09-15
298
+
191
299
  ### Fixed
300
+
192
301
  - Add new line support to JSON files generated in directory dumps
193
302
  - Move write file method to common util
194
303
  - Update `auth0-source-control-extension-tools`
195
304
 
196
305
  ## [5.1.5] - 2020-08-13
306
+
197
307
  ### Fixed
308
+
198
309
  - The --proxy_url option should work properly now. (Although only on Node >= 10).
199
310
 
200
311
  ## [5.1.4] - 2020-08-12
312
+
201
313
  ### Fixed
314
+
202
315
  - Connections disabled when the client is added AUTH0_EXCLUDED_CLIENTS list.
203
316
 
204
317
  ## [5.1.3] - 2020-08-04
318
+
205
319
  ### Fixed
320
+
206
321
  - Many entities were not being fetched via the Paging API properly.
207
322
 
208
323
  ## [5.1.3] - 2020-08-04
324
+
209
325
  ### Fixed
326
+
210
327
  - Many entities were not being fetched via the Paging API properly.
211
328
 
212
329
  ## [5.1.0] - 2020-07-09
330
+
213
331
  ### Added
332
+
214
333
  - Add support for three guardian/MFA-related features:
215
334
  - Guardian Policies
216
335
  - Guardian Phone factor selected provider
@@ -218,23 +337,31 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
218
337
  - Adds support for Migrations
219
338
 
220
339
  ## [5.0.0] - 2020-06-04
340
+
221
341
  ### Added
342
+
222
343
  - Allow excluding default values for emailProvider with `AUTH0_EXCLUDED_DEFAULTS` [#236]
223
344
 
224
345
  ### Changed
346
+
225
347
  - [**Breaking**] Updated dependencies and deprecated support for Node versions earlier than 8 via babel@7 and dot-prop@5 [#242]
226
348
 
227
349
  ### Fixed
350
+
228
351
  - pages: fix error when dumping error_page without html property [#247]
229
352
 
230
353
  ## [4.3.1] - 2020-05-20
354
+
231
355
  ### Fixed
356
+
232
357
  - Fixed broken mkdirp package dependency
233
358
 
234
359
  ## [4.3.0] - 2020-05-18
360
+
235
361
  ### Removed
362
+
236
363
  - Removed several unused dependencies:
237
-
364
+
238
365
  - ajv
239
366
  - e6-template-strings
240
367
  - node-storage
@@ -242,174 +369,250 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
242
369
  - xregexp
243
370
 
244
371
  ## [4.2.2] - 2020-05-04
372
+
245
373
  ### Added
374
+
246
375
  - Support for phone message hook added.
247
376
  - Configurable connections directory with `AUTH0_CONNECTIONS_DIRECTORY`.
248
377
 
249
378
  ### Removed
379
+
250
380
  - Remove data from verify email example to prevent copy and paste misuse.
251
381
 
252
382
  ## [4.2.1] - 2020-04-06
383
+
253
384
  ### Fixed
385
+
254
386
  - Fixed rules' reorder to avoid order collisions by updating `auth0-source-control-extension-tools`
255
387
 
256
388
  ## [4.2.0] - 2020-03-28
389
+
257
390
  ### Fixed
391
+
258
392
  - When importing SAML database connections, support client name in the `options.idpinitiated.client_id` property.
259
393
  - When exporting SAML database connections, convert client ID to client name.
260
394
 
261
395
  ## [4.1.0] - 2020-03-28
396
+
262
397
  ### Fixed
398
+
263
399
  - When exporting a mailgun email provider, a placholder api key will be included in the export..
264
400
 
265
401
  ## [4.0.3] - 2020-03-18
402
+
266
403
  ### Fixed
404
+
267
405
  - Programmatic usage will not complain about args. [#215]
268
406
 
269
407
  ## [4.0.2] - 2020-02-28
408
+
270
409
  ### Added
410
+
271
411
  - Included Deploy CLI version number in User-Agent header.
272
412
  - If no command line arguments are passed, the usage statement will be printed.
273
413
 
274
414
  ## [4.0.1] - 2020-02-05
415
+
275
416
  ### Changed
417
+
276
418
  - Update `auth0-source-control-extension-tools`
277
419
 
278
420
  ### Fixed
421
+
279
422
  - Fixed import and export errors when roles and hooks are not available
280
423
 
281
424
  ## [4.0.0] - 2020-01-29
425
+
282
426
  ### Added
427
+
283
428
  - Add support for Hooks and Hook Secrets
284
429
  - Update `auth0`, `auth0-extension-tools`, `auth0-source-control-extension-tools`, and `js-yaml`
285
430
 
286
431
  ## [3.6.7] - 2020-01-08
432
+
287
433
  ### Fixed
434
+
288
435
  - Fixed a crash when no roles are present in a tenant during an export
289
436
 
290
437
  ## [3.6.5] - 2019-12-19
438
+
291
439
  ### Added
440
+
292
441
  - Add readonly flag `remove_stale_idp_attributes`
293
442
 
294
443
  ## [3.6.4] - 2019-12-04
444
+
295
445
  ### Changed
446
+
296
447
  - Update `https-proxy-agent` and `js-yaml`
297
448
 
298
449
  ## [3.6.3] - 2019-11-04
450
+
299
451
  ### Added
452
+
300
453
  - Add `AUTH0_API_MAX_RETRIES` support
301
454
 
302
455
  ## [3.6.2] - 2019-10-18
456
+
303
457
  ### Fixed
458
+
304
459
  - Fix mapping for passwordless email connection template
305
460
 
306
461
  ## [3.6.1] - 2019-09-27
462
+
307
463
  ### Removed
464
+
308
465
  - Removed `--verbose` option
309
466
 
310
467
  ## [3.6.0] - 2019-08-26
468
+
311
469
  ### Changed
470
+
312
471
  - Update `auth0-extension-tools`
313
472
 
314
473
  ### Fixed
474
+
315
475
  - Clear empty descriptions on roles
316
476
 
317
477
  ## [3.5.0] - 2019-08-14
478
+
318
479
  ### Added
480
+
319
481
  - Ability to exclude connections and databases (AUTH0_EXCLUDED_CONNECTIONS & AUTH0_EXCLUDED_DATABASES)
320
482
 
321
483
  ### Fixed
484
+
322
485
  - Excludes for yaml import
323
486
 
324
487
  ## [3.4.0] - 2019-07-15
488
+
325
489
  ### Added
490
+
326
491
  - Load email template for passwordless email connection from external html file [#124]
327
492
  - Load custom_login_page template for client from external html file [#138]
328
493
 
329
494
  ## [3.3.2] - 2019-07-11
495
+
330
496
  ### Changed
497
+
331
498
  - pin minor version of source-control-tools@~3.4.1
332
499
 
333
500
  ## [3.3.1] - 2019-06-13
501
+
334
502
  ### Fixed
503
+
335
504
  - `allowed_clients`, `allowed_logout_urls`, `allowed_origins` and `callbacks` properties of the `client` can no longer be exported as `null`
336
505
 
337
506
  ## [3.3.0] - 2019-04-22
507
+
338
508
  ### Added
509
+
339
510
  - Support for roles and permissions export and import
340
511
 
341
512
  ## [3.2.0] - 2019-04-12
513
+
342
514
  ### Changed
515
+
343
516
  - Secrets (`rules configs` and databases `options.configuration`) can no longer be exported
344
517
 
345
518
  ## [3.1.3] - 2019-04-03
519
+
346
520
  ### Added
521
+
347
522
  - Clearing empty tenant flags on `import`
348
523
 
349
524
  ## [3.1.2] - 2019-03-22
525
+
350
526
  ### Added
527
+
351
528
  - Consistent property sorting for yaml dump [#108] [#61] [#82]
352
529
 
353
530
  ## [3.1.1] - 2019-03-15
531
+
354
532
  ### Fixed
533
+
355
534
  - Exit status code on error [#107]
356
535
 
357
536
  ## [3.1.0] - 2019-03-14
537
+
358
538
  ### Added
539
+
359
540
  - `AUTH0_EXCLUDED_CLIENTS` option has been added to the config. Works similar to `AUTH0_EXCLUDED_RULES` and `AUTH0_EXCLUDED_RESOURCE_SERVERS`. [#102]
360
541
 
361
542
  ## [3.0.2] - 2019-03-12
543
+
362
544
  ### Fixed
545
+
363
546
  - Remove empty `flags` property from tenant settings [#104]
364
547
 
365
548
  ## [3.0.1] - 2019-03-04
549
+
366
550
  ### Fixed
551
+
367
552
  - fix readonly `flags.enable_sso`
368
553
 
369
554
  ## [3.0.0] - 2019-03-04
555
+
370
556
  ### Added
557
+
371
558
  - Options added to the config:
372
559
  - `INCLUDED_PROPS` - enables export of properties that are excluded by default (e.g. `client_secret`)
373
560
  - `EXCLUDED_PROPS` - provides ability to exclude any unwanted properties from exported objects
374
561
 
375
562
  ### Changed
563
+
376
564
  - `--strip` option has been removed from `export` command. Now **IDs will be stripped by default**. `AUTH0_EXPORT_IDENTIFIERS: true` or `--export_ids` can be used to override.
377
565
 
378
566
  ## [2.3.3] - 2019-03-04
567
+
379
568
  ### Fixed
569
+
380
570
  - backport readonly `flags.enable_sso`
381
571
 
382
572
  ## [2.3.2] - 2019-03-02
573
+
383
574
  ### Changed
575
+
384
576
  - set `enable_sso` and `sandbox_version` as readonly properties
385
577
  - alias `export = dump` and `import = deploy` for programmatic usage
386
578
 
387
579
  ## [2.3.1] - 2019-02-27
580
+
388
581
  ### Changed
582
+
389
583
  - convert non-integer `session_lifetime` to minutes [#95]
390
584
  - update `auth0-source-control-extension-tools`
391
585
  - Fix email provider export
392
586
  - Process empty arrays of databases
393
587
 
394
588
  ## [2.3.0] - 2019-02-21
589
+
395
590
  ### Changed
591
+
396
592
  - Empty arrays in the `tenant.yaml` (`clients: []`) will now lead to deleting all relevant records from the tenant. [#89]
397
593
  - Update environment variable explanation in READMEs. [#90]
398
594
  - Sanitize file and folder names. [#92]
399
595
 
400
596
  ## [2.2.5] - 2019-02-04
597
+
401
598
  ### Changed
599
+
402
600
  - Fix for using the wrong proxy reference. [#80]
403
601
 
404
602
  ## [2.2.4] - 2019-01-17
603
+
405
604
  ### Added
605
+
406
606
  - Added 'name' prop to pages examples [#76]
407
607
 
408
608
  ### Changed
609
+
409
610
  - Fix various schema validation issues. auth0-extensions/auth0-source-control-extension-tools PRs [#52] thru [#57]
410
611
 
411
612
  ## 2.2.0 - 2018-11-28
613
+
412
614
  ### Changed
615
+
413
616
  - Update package dependency which contains security vulnerabilities.
414
617
 
415
618
  [#52]: https://github.com/auth0/auth0-deploy-cli/issues/52
@@ -456,8 +659,17 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
456
659
  [#430]: https://github.com/auth0/auth0-deploy-cli/issues/430
457
660
  [#432]: https://github.com/auth0/auth0-deploy-cli/issues/432
458
661
  [#436]: https://github.com/auth0/auth0-deploy-cli/issues/436
459
-
460
- [Unreleased]: https://github.com/auth0/auth0-deploy-cli/compare/v7.5.2...HEAD
662
+ [#438]: https://github.com/auth0/auth0-deploy-cli/issues/438
663
+ [#453]: https://github.com/auth0/auth0-deploy-cli/issues/453
664
+ [#468]: https://github.com/auth0/auth0-deploy-cli/issues/468
665
+ [#471]: https://github.com/auth0/auth0-deploy-cli/issues/471
666
+ [#478]: https://github.com/auth0/auth0-deploy-cli/issues/478
667
+ [#481]: https://github.com/auth0/auth0-deploy-cli/issues/481
668
+ [#482]: https://github.com/auth0/auth0-deploy-cli/issues/482
669
+ [unreleased]: https://github.com/auth0/auth0-deploy-cli/compare/v7.7.1...HEAD
670
+ [7.7.1]: https://github.com/auth0/auth0-deploy-cli/compare/v7.7.0...v7.7.1
671
+ [7.7.0]: https://github.com/auth0/auth0-deploy-cli/compare/v7.6.0...v7.7.0
672
+ [7.6.0]: https://github.com/auth0/auth0-deploy-cli/compare/v7.5.2...v7.6.0
461
673
  [7.5.2]: https://github.com/auth0/auth0-deploy-cli/compare/v7.5.1...v7.5.2
462
674
  [7.5.1]: https://github.com/auth0/auth0-deploy-cli/compare/v7.5.0...v7.5.1
463
675
  [7.5.0]: https://github.com/auth0/auth0-deploy-cli/compare/v7.4.0...v7.5.0
package/CONTRIBUTING.md CHANGED
@@ -7,7 +7,7 @@ Ensure that before running the versioning scripts below, the Unreleased changelo
7
7
  ### Production Versioning
8
8
 
9
9
  ```sh
10
- npm version patch --no-git-tag-version
10
+ npm version patch --no-git-tag-version
11
11
  ```
12
12
 
13
13
  ### Beta Versioning
@@ -25,4 +25,4 @@ Publishing the beta should be done manually:
25
25
  ```sh
26
26
  npm run build
27
27
  npm publish --tag beta
28
- ```
28
+ ```
package/README.md CHANGED
@@ -5,6 +5,7 @@ Auth0 supports continuous integration and deployment (CI/CD) of Auth0 Tenants an
5
5
  The `auth0-deploy-cli` tool supports the importing and exporting of Auth0 Tenant configuration data.
6
6
 
7
7
  Supported Auth0 Management API resources
8
+
8
9
  - [x] [Actions](https://auth0.com/docs/api/management/v2/#!/Actions/get_actions)
9
10
  - [ ] [Branding](https://auth0.com/docs/api/management/v2/#!/Branding/get_branding)
10
11
  - [x] [Clients (Applications)](https://auth0.com/docs/api/management/v2#!/Clients/get_clients)
@@ -47,7 +48,9 @@ Supported Auth0 Management API resources
47
48
  Please visit Auth0 Doc for this [Deploy CLI Tool](https://auth0.com/docs/deploy/deploy-cli-tool)
48
49
 
49
50
  # Integrating with popular CI/CD pipelines
51
+
50
52
  Please visit Auth0 Marketplace Guide for:
53
+
51
54
  - [Azure Pipelines](https://marketplace.auth0.com/integrations/azure-pipeline)
52
55
  - [Bitbucket Pipelines](https://marketplace.auth0.com/integrations/bitbucket-pipeline)
53
56
  - [GitLab Pipelines](https://marketplace.auth0.com/integrations/gitlab-pipeline)