auth0-deploy-cli 7.17.3 → 7.17.4
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/.nyc_output/67e163b9-d5bd-4ae5-9b74-0b04dfeaf361.json +1 -0
- package/.nyc_output/processinfo/{4931ff4a-8b09-4a9b-899c-ce541c2f6b8a.json → 67e163b9-d5bd-4ae5-9b74-0b04dfeaf361.json} +1 -1
- package/.nyc_output/processinfo/f2a37c08-0ae4-478f-8782-0e1416b1d10e.json +1 -0
- package/.nyc_output/processinfo/f4c8ad6c-7554-4bd2-8c36-1202264880e7.json +1 -0
- package/.nyc_output/processinfo/index.json +1 -1
- package/CHANGELOG.md +9 -1
- package/coverage/lcov-report/index.html +14 -14
- package/coverage/lcov-report/src/args.ts.html +1 -1
- package/coverage/lcov-report/src/commands/export.ts.html +1 -1
- package/coverage/lcov-report/src/commands/import.ts.html +1 -1
- package/coverage/lcov-report/src/commands/index.html +1 -1
- package/coverage/lcov-report/src/configFactory.ts.html +1 -1
- package/coverage/lcov-report/src/context/defaults.ts.html +1 -1
- package/coverage/lcov-report/src/context/directory/handlers/actions.ts.html +1 -1
- package/coverage/lcov-report/src/context/directory/handlers/attackProtection.ts.html +1 -1
- package/coverage/lcov-report/src/context/directory/handlers/branding.ts.html +1 -1
- package/coverage/lcov-report/src/context/directory/handlers/clientGrants.ts.html +1 -1
- package/coverage/lcov-report/src/context/directory/handlers/clients.ts.html +1 -1
- package/coverage/lcov-report/src/context/directory/handlers/connections.ts.html +1 -1
- package/coverage/lcov-report/src/context/directory/handlers/customDomains.ts.html +1 -1
- package/coverage/lcov-report/src/context/directory/handlers/databases.ts.html +1 -1
- package/coverage/lcov-report/src/context/directory/handlers/emailProvider.ts.html +1 -1
- package/coverage/lcov-report/src/context/directory/handlers/emailTemplates.ts.html +1 -1
- package/coverage/lcov-report/src/context/directory/handlers/guardianFactorProviders.ts.html +1 -1
- package/coverage/lcov-report/src/context/directory/handlers/guardianFactorTemplates.ts.html +1 -1
- package/coverage/lcov-report/src/context/directory/handlers/guardianFactors.ts.html +1 -1
- package/coverage/lcov-report/src/context/directory/handlers/guardianPhoneFactorMessageTypes.ts.html +1 -1
- package/coverage/lcov-report/src/context/directory/handlers/guardianPhoneFactorSelectedProvider.ts.html +1 -1
- package/coverage/lcov-report/src/context/directory/handlers/guardianPolicies.ts.html +1 -1
- package/coverage/lcov-report/src/context/directory/handlers/hooks.ts.html +1 -1
- package/coverage/lcov-report/src/context/directory/handlers/index.html +1 -1
- package/coverage/lcov-report/src/context/directory/handlers/index.ts.html +1 -1
- package/coverage/lcov-report/src/context/directory/handlers/logStreams.ts.html +1 -1
- package/coverage/lcov-report/src/context/directory/handlers/migrations.ts.html +1 -1
- package/coverage/lcov-report/src/context/directory/handlers/organizations.ts.html +1 -1
- package/coverage/lcov-report/src/context/directory/handlers/pages.ts.html +1 -1
- package/coverage/lcov-report/src/context/directory/handlers/prompts.ts.html +1 -1
- package/coverage/lcov-report/src/context/directory/handlers/resourceServers.ts.html +1 -1
- package/coverage/lcov-report/src/context/directory/handlers/roles.ts.html +1 -1
- package/coverage/lcov-report/src/context/directory/handlers/rules.ts.html +1 -1
- package/coverage/lcov-report/src/context/directory/handlers/rulesConfigs.ts.html +1 -1
- package/coverage/lcov-report/src/context/directory/handlers/tenant.ts.html +1 -1
- package/coverage/lcov-report/src/context/directory/handlers/themes.ts.html +1 -1
- package/coverage/lcov-report/src/context/directory/handlers/triggers.ts.html +1 -1
- package/coverage/lcov-report/src/context/directory/index.html +1 -1
- package/coverage/lcov-report/src/context/directory/index.ts.html +1 -1
- package/coverage/lcov-report/src/context/index.html +1 -1
- package/coverage/lcov-report/src/context/index.ts.html +1 -1
- package/coverage/lcov-report/src/context/yaml/handlers/actions.ts.html +1 -1
- package/coverage/lcov-report/src/context/yaml/handlers/attackProtection.ts.html +1 -1
- package/coverage/lcov-report/src/context/yaml/handlers/branding.ts.html +1 -1
- package/coverage/lcov-report/src/context/yaml/handlers/clientGrants.ts.html +1 -1
- package/coverage/lcov-report/src/context/yaml/handlers/clients.ts.html +1 -1
- package/coverage/lcov-report/src/context/yaml/handlers/connections.ts.html +1 -1
- package/coverage/lcov-report/src/context/yaml/handlers/customDomains.ts.html +1 -1
- package/coverage/lcov-report/src/context/yaml/handlers/databases.ts.html +1 -1
- package/coverage/lcov-report/src/context/yaml/handlers/emailProvider.ts.html +1 -1
- package/coverage/lcov-report/src/context/yaml/handlers/emailTemplates.ts.html +1 -1
- package/coverage/lcov-report/src/context/yaml/handlers/guardianFactorProviders.ts.html +1 -1
- package/coverage/lcov-report/src/context/yaml/handlers/guardianFactorTemplates.ts.html +1 -1
- package/coverage/lcov-report/src/context/yaml/handlers/guardianFactors.ts.html +1 -1
- package/coverage/lcov-report/src/context/yaml/handlers/guardianPhoneFactorMessageTypes.ts.html +1 -1
- package/coverage/lcov-report/src/context/yaml/handlers/guardianPhoneFactorSelectedProvider.ts.html +1 -1
- package/coverage/lcov-report/src/context/yaml/handlers/guardianPolicies.ts.html +1 -1
- package/coverage/lcov-report/src/context/yaml/handlers/hooks.ts.html +1 -1
- package/coverage/lcov-report/src/context/yaml/handlers/index.html +1 -1
- package/coverage/lcov-report/src/context/yaml/handlers/index.ts.html +1 -1
- package/coverage/lcov-report/src/context/yaml/handlers/logStreams.ts.html +1 -1
- package/coverage/lcov-report/src/context/yaml/handlers/migrations.ts.html +1 -1
- package/coverage/lcov-report/src/context/yaml/handlers/organizations.ts.html +1 -1
- package/coverage/lcov-report/src/context/yaml/handlers/pages.ts.html +1 -1
- package/coverage/lcov-report/src/context/yaml/handlers/prompts.ts.html +1 -1
- package/coverage/lcov-report/src/context/yaml/handlers/resourceServers.ts.html +1 -1
- package/coverage/lcov-report/src/context/yaml/handlers/roles.ts.html +1 -1
- package/coverage/lcov-report/src/context/yaml/handlers/rules.ts.html +1 -1
- package/coverage/lcov-report/src/context/yaml/handlers/rulesConfigs.ts.html +1 -1
- package/coverage/lcov-report/src/context/yaml/handlers/tenant.ts.html +1 -1
- package/coverage/lcov-report/src/context/yaml/handlers/themes.ts.html +1 -1
- package/coverage/lcov-report/src/context/yaml/handlers/triggers.ts.html +1 -1
- package/coverage/lcov-report/src/context/yaml/index.html +1 -1
- package/coverage/lcov-report/src/context/yaml/index.ts.html +1 -1
- package/coverage/lcov-report/src/index.html +1 -1
- package/coverage/lcov-report/src/index.ts.html +1 -1
- package/coverage/lcov-report/src/keywordPreservation.ts.html +1 -1
- package/coverage/lcov-report/src/logger.ts.html +2 -2
- package/coverage/lcov-report/src/readonly.ts.html +1 -1
- package/coverage/lcov-report/src/sessionDurationsToMinutes.ts.html +1 -1
- package/coverage/lcov-report/src/tools/auth0/client.ts.html +1 -1
- package/coverage/lcov-report/src/tools/auth0/handlers/actions.ts.html +1 -1
- package/coverage/lcov-report/src/tools/auth0/handlers/attackProtection.ts.html +1 -1
- package/coverage/lcov-report/src/tools/auth0/handlers/branding.ts.html +1 -1
- package/coverage/lcov-report/src/tools/auth0/handlers/clientGrants.ts.html +1 -1
- package/coverage/lcov-report/src/tools/auth0/handlers/clients.ts.html +1 -1
- package/coverage/lcov-report/src/tools/auth0/handlers/connections.ts.html +1 -1
- package/coverage/lcov-report/src/tools/auth0/handlers/customDomains.ts.html +1 -1
- package/coverage/lcov-report/src/tools/auth0/handlers/databases.ts.html +1 -1
- package/coverage/lcov-report/src/tools/auth0/handlers/default.ts.html +15 -15
- package/coverage/lcov-report/src/tools/auth0/handlers/emailProvider.ts.html +1 -1
- package/coverage/lcov-report/src/tools/auth0/handlers/emailTemplates.ts.html +1 -1
- package/coverage/lcov-report/src/tools/auth0/handlers/guardianFactorProviders.ts.html +1 -1
- package/coverage/lcov-report/src/tools/auth0/handlers/guardianFactorTemplates.ts.html +1 -1
- package/coverage/lcov-report/src/tools/auth0/handlers/guardianFactors.ts.html +1 -1
- package/coverage/lcov-report/src/tools/auth0/handlers/guardianPhoneFactorMessageTypes.ts.html +1 -1
- package/coverage/lcov-report/src/tools/auth0/handlers/guardianPhoneFactorSelectedProvider.ts.html +1 -1
- package/coverage/lcov-report/src/tools/auth0/handlers/guardianPolicies.ts.html +1 -1
- package/coverage/lcov-report/src/tools/auth0/handlers/hooks.ts.html +1 -1
- package/coverage/lcov-report/src/tools/auth0/handlers/index.html +13 -13
- package/coverage/lcov-report/src/tools/auth0/handlers/index.ts.html +1 -1
- package/coverage/lcov-report/src/tools/auth0/handlers/logStreams.ts.html +1 -1
- package/coverage/lcov-report/src/tools/auth0/handlers/migrations.ts.html +1 -1
- package/coverage/lcov-report/src/tools/auth0/handlers/organizations.ts.html +1 -1
- package/coverage/lcov-report/src/tools/auth0/handlers/pages.ts.html +1 -1
- package/coverage/lcov-report/src/tools/auth0/handlers/prompts.ts.html +1 -1
- package/coverage/lcov-report/src/tools/auth0/handlers/resourceServers.ts.html +1 -1
- package/coverage/lcov-report/src/tools/auth0/handlers/roles.ts.html +1 -1
- package/coverage/lcov-report/src/tools/auth0/handlers/rules.ts.html +1 -1
- package/coverage/lcov-report/src/tools/auth0/handlers/rulesConfigs.ts.html +1 -1
- package/coverage/lcov-report/src/tools/auth0/handlers/tenant.ts.html +137 -74
- package/coverage/lcov-report/src/tools/auth0/handlers/themes.ts.html +1 -1
- package/coverage/lcov-report/src/tools/auth0/handlers/triggers.ts.html +1 -1
- package/coverage/lcov-report/src/tools/auth0/index.html +1 -1
- package/coverage/lcov-report/src/tools/auth0/index.ts.html +1 -1
- package/coverage/lcov-report/src/tools/auth0/schema.ts.html +1 -1
- package/coverage/lcov-report/src/tools/calculateChanges.ts.html +1 -1
- package/coverage/lcov-report/src/tools/constants.ts.html +1 -1
- package/coverage/lcov-report/src/tools/deploy.ts.html +1 -1
- package/coverage/lcov-report/src/tools/index.html +1 -1
- package/coverage/lcov-report/src/tools/index.ts.html +1 -1
- package/coverage/lcov-report/src/tools/utils.ts.html +1 -1
- package/coverage/lcov-report/src/tools/validationError.ts.html +1 -1
- package/coverage/lcov-report/src/types.ts.html +1 -1
- package/coverage/lcov-report/src/utils.ts.html +1 -1
- package/coverage/lcov.info +108 -102
- package/lib/tools/auth0/handlers/tenant.d.ts +2 -4
- package/lib/tools/auth0/handlers/tenant.js +56 -30
- package/lib/tools/auth0/handlers/tenant.js.map +1 -1
- package/package.json +1 -1
- package/.nyc_output/4931ff4a-8b09-4a9b-899c-ce541c2f6b8a.json +0 -1
- package/.nyc_output/processinfo/760b21c1-74f0-47a2-bacb-55b1796d1d84.json +0 -1
- package/.nyc_output/processinfo/f8a6012a-6f3c-46cf-8693-1687738e001c.json +0 -1
- /package/.nyc_output/{760b21c1-74f0-47a2-bacb-55b1796d1d84.json → f2a37c08-0ae4-478f-8782-0e1416b1d10e.json} +0 -0
- /package/.nyc_output/{f8a6012a-6f3c-46cf-8693-1687738e001c.json → f4c8ad6c-7554-4bd2-8c36-1202264880e7.json} +0 -0
package/coverage/lcov.info
CHANGED
|
@@ -335,11 +335,11 @@ SF:src/logger.ts
|
|
|
335
335
|
FN:10,(anonymous_0)
|
|
336
336
|
FNF:1
|
|
337
337
|
FNH:1
|
|
338
|
-
FNDA:
|
|
338
|
+
FNDA:792,(anonymous_0)
|
|
339
339
|
DA:1,1
|
|
340
340
|
DA:3,1
|
|
341
341
|
DA:5,1
|
|
342
|
-
DA:10,
|
|
342
|
+
DA:10,792
|
|
343
343
|
DA:16,1
|
|
344
344
|
LF:5
|
|
345
345
|
LH:5
|
|
@@ -5491,7 +5491,7 @@ FNF:35
|
|
|
5491
5491
|
FNH:27
|
|
5492
5492
|
FNDA:10,order
|
|
5493
5493
|
FNDA:10,decorator
|
|
5494
|
-
FNDA:
|
|
5494
|
+
FNDA:3993,(anonymous_10)
|
|
5495
5495
|
FNDA:57,(anonymous_11)
|
|
5496
5496
|
FNDA:24,(anonymous_12)
|
|
5497
5497
|
FNDA:33,(anonymous_13)
|
|
@@ -5533,20 +5533,20 @@ DA:17,10
|
|
|
5533
5533
|
DA:18,10
|
|
5534
5534
|
DA:19,10
|
|
5535
5535
|
DA:25,1
|
|
5536
|
-
DA:64,
|
|
5537
|
-
DA:65,
|
|
5538
|
-
DA:66,
|
|
5539
|
-
DA:67,
|
|
5540
|
-
DA:68,
|
|
5541
|
-
DA:69,
|
|
5542
|
-
DA:70,
|
|
5543
|
-
DA:71,
|
|
5544
|
-
DA:72,
|
|
5545
|
-
DA:73,
|
|
5546
|
-
DA:75,
|
|
5547
|
-
DA:83,
|
|
5548
|
-
DA:84,
|
|
5549
|
-
DA:85,
|
|
5536
|
+
DA:64,3993
|
|
5537
|
+
DA:65,3993
|
|
5538
|
+
DA:66,3993
|
|
5539
|
+
DA:67,3993
|
|
5540
|
+
DA:68,3993
|
|
5541
|
+
DA:69,3993
|
|
5542
|
+
DA:70,3993
|
|
5543
|
+
DA:71,3993
|
|
5544
|
+
DA:72,3993
|
|
5545
|
+
DA:73,3993
|
|
5546
|
+
DA:75,3993
|
|
5547
|
+
DA:83,3993
|
|
5548
|
+
DA:84,3993
|
|
5549
|
+
DA:85,3993
|
|
5550
5550
|
DA:89,57
|
|
5551
5551
|
DA:90,47
|
|
5552
5552
|
DA:91,47
|
|
@@ -5630,20 +5630,20 @@ DA:303,20
|
|
|
5630
5630
|
DA:306,0
|
|
5631
5631
|
LF:104
|
|
5632
5632
|
LH:89
|
|
5633
|
-
BRDA:66,0,0,
|
|
5634
|
-
BRDA:66,0,1,
|
|
5635
|
-
BRDA:69,1,0,
|
|
5636
|
-
BRDA:69,1,1,
|
|
5637
|
-
BRDA:70,2,0,
|
|
5638
|
-
BRDA:70,2,1,
|
|
5639
|
-
BRDA:71,3,0,
|
|
5640
|
-
BRDA:71,3,1,
|
|
5641
|
-
BRDA:72,4,0,
|
|
5642
|
-
BRDA:72,4,1,
|
|
5643
|
-
BRDA:73,5,0,
|
|
5644
|
-
BRDA:73,5,1,
|
|
5645
|
-
BRDA:80,6,0,
|
|
5646
|
-
BRDA:80,6,1,
|
|
5633
|
+
BRDA:66,0,0,3993
|
|
5634
|
+
BRDA:66,0,1,2478
|
|
5635
|
+
BRDA:69,1,0,3993
|
|
5636
|
+
BRDA:69,1,1,3166
|
|
5637
|
+
BRDA:70,2,0,3993
|
|
5638
|
+
BRDA:70,2,1,3852
|
|
5639
|
+
BRDA:71,3,0,3993
|
|
5640
|
+
BRDA:71,3,1,2725
|
|
5641
|
+
BRDA:72,4,0,3993
|
|
5642
|
+
BRDA:72,4,1,3858
|
|
5643
|
+
BRDA:73,5,0,3993
|
|
5644
|
+
BRDA:73,5,1,3724
|
|
5645
|
+
BRDA:80,6,0,3993
|
|
5646
|
+
BRDA:80,6,1,3579
|
|
5647
5647
|
BRDA:89,7,0,47
|
|
5648
5648
|
BRDA:89,7,1,10
|
|
5649
5649
|
BRDA:123,8,0,0
|
|
@@ -7380,89 +7380,95 @@ BRH:3
|
|
|
7380
7380
|
end_of_record
|
|
7381
7381
|
TN:
|
|
7382
7382
|
SF:src/tools/auth0/handlers/tenant.ts
|
|
7383
|
-
FN:
|
|
7384
|
-
FN:
|
|
7385
|
-
FN:
|
|
7386
|
-
FN:
|
|
7387
|
-
FN:
|
|
7388
|
-
FN:
|
|
7389
|
-
FN:
|
|
7390
|
-
FN:
|
|
7383
|
+
FN:24,(anonymous_15)
|
|
7384
|
+
FN:31,(anonymous_16)
|
|
7385
|
+
FN:36,(anonymous_18)
|
|
7386
|
+
FN:43,(anonymous_19)
|
|
7387
|
+
FN:49,(anonymous_21)
|
|
7388
|
+
FN:61,(anonymous_22)
|
|
7389
|
+
FN:122,(anonymous_24)
|
|
7390
|
+
FN:125,(anonymous_25)
|
|
7391
7391
|
FNF:8
|
|
7392
7392
|
FNH:8
|
|
7393
|
-
FNDA:
|
|
7394
|
-
FNDA:
|
|
7395
|
-
FNDA:
|
|
7393
|
+
FNDA:135,(anonymous_15)
|
|
7394
|
+
FNDA:7,(anonymous_16)
|
|
7395
|
+
FNDA:70,(anonymous_18)
|
|
7396
7396
|
FNDA:73,(anonymous_19)
|
|
7397
7397
|
FNDA:11,(anonymous_21)
|
|
7398
|
-
FNDA:
|
|
7399
|
-
FNDA:
|
|
7400
|
-
FNDA:
|
|
7398
|
+
FNDA:3,(anonymous_22)
|
|
7399
|
+
FNDA:5,(anonymous_24)
|
|
7400
|
+
FNDA:57,(anonymous_25)
|
|
7401
7401
|
DA:1,1
|
|
7402
7402
|
DA:3,1
|
|
7403
7403
|
DA:4,1
|
|
7404
7404
|
DA:5,1
|
|
7405
|
-
DA:
|
|
7406
|
-
DA:
|
|
7407
|
-
DA:
|
|
7408
|
-
DA:
|
|
7409
|
-
DA:
|
|
7410
|
-
DA:
|
|
7411
|
-
DA:
|
|
7412
|
-
DA:36,
|
|
7413
|
-
DA:
|
|
7414
|
-
DA:
|
|
7415
|
-
DA:
|
|
7416
|
-
DA:
|
|
7417
|
-
DA:49,
|
|
7418
|
-
DA:50,
|
|
7419
|
-
DA:
|
|
7420
|
-
DA:61,
|
|
7421
|
-
DA:
|
|
7422
|
-
DA:
|
|
7423
|
-
DA:
|
|
7405
|
+
DA:7,1
|
|
7406
|
+
DA:9,1
|
|
7407
|
+
DA:15,1
|
|
7408
|
+
DA:21,1
|
|
7409
|
+
DA:25,135
|
|
7410
|
+
DA:32,7
|
|
7411
|
+
DA:34,7
|
|
7412
|
+
DA:36,7
|
|
7413
|
+
DA:37,70
|
|
7414
|
+
DA:40,7
|
|
7415
|
+
DA:44,73
|
|
7416
|
+
DA:47,73
|
|
7417
|
+
DA:49,11
|
|
7418
|
+
DA:50,5
|
|
7419
|
+
DA:51,1
|
|
7420
|
+
DA:61,1
|
|
7421
|
+
DA:62,3
|
|
7422
|
+
DA:65,3
|
|
7423
|
+
DA:67,3
|
|
7424
|
+
DA:71,3
|
|
7424
7425
|
DA:72,2
|
|
7425
|
-
DA:73,
|
|
7426
|
+
DA:73,2
|
|
7427
|
+
DA:74,1
|
|
7428
|
+
DA:78,3
|
|
7426
7429
|
DA:79,2
|
|
7427
7430
|
DA:80,2
|
|
7428
7431
|
DA:81,2
|
|
7429
|
-
DA:
|
|
7430
|
-
DA:
|
|
7431
|
-
DA:
|
|
7432
|
-
DA:
|
|
7433
|
-
DA:
|
|
7434
|
-
DA:
|
|
7435
|
-
DA:
|
|
7436
|
-
DA:
|
|
7437
|
-
DA:
|
|
7438
|
-
DA:
|
|
7439
|
-
DA:
|
|
7440
|
-
|
|
7441
|
-
|
|
7442
|
-
|
|
7443
|
-
BRDA:
|
|
7444
|
-
BRDA:
|
|
7445
|
-
BRDA:
|
|
7446
|
-
BRDA:
|
|
7447
|
-
BRDA:
|
|
7448
|
-
BRDA:
|
|
7449
|
-
BRDA:
|
|
7450
|
-
BRDA:
|
|
7451
|
-
BRDA:
|
|
7452
|
-
BRDA:
|
|
7453
|
-
BRDA:
|
|
7454
|
-
BRDA:
|
|
7455
|
-
BRDA:
|
|
7456
|
-
BRDA:
|
|
7457
|
-
BRDA:
|
|
7458
|
-
BRDA:
|
|
7459
|
-
BRDA:
|
|
7460
|
-
BRDA:
|
|
7461
|
-
BRDA:
|
|
7462
|
-
BRDA:
|
|
7463
|
-
BRDA:
|
|
7464
|
-
|
|
7465
|
-
|
|
7432
|
+
DA:94,1
|
|
7433
|
+
DA:122,1
|
|
7434
|
+
DA:123,5
|
|
7435
|
+
DA:124,5
|
|
7436
|
+
DA:126,57
|
|
7437
|
+
DA:127,57
|
|
7438
|
+
DA:128,5
|
|
7439
|
+
DA:129,5
|
|
7440
|
+
DA:131,52
|
|
7441
|
+
DA:139,5
|
|
7442
|
+
DA:140,3
|
|
7443
|
+
DA:150,5
|
|
7444
|
+
LF:43
|
|
7445
|
+
LH:43
|
|
7446
|
+
BRDA:37,0,0,0
|
|
7447
|
+
BRDA:37,0,1,70
|
|
7448
|
+
BRDA:47,1,0,68
|
|
7449
|
+
BRDA:47,1,1,5
|
|
7450
|
+
BRDA:50,2,0,1
|
|
7451
|
+
BRDA:50,2,1,4
|
|
7452
|
+
BRDA:65,3,0,0
|
|
7453
|
+
BRDA:65,3,1,3
|
|
7454
|
+
BRDA:71,4,0,2
|
|
7455
|
+
BRDA:71,4,1,1
|
|
7456
|
+
BRDA:73,5,0,1
|
|
7457
|
+
BRDA:73,5,1,1
|
|
7458
|
+
BRDA:78,6,0,2
|
|
7459
|
+
BRDA:78,6,1,1
|
|
7460
|
+
BRDA:78,7,0,3
|
|
7461
|
+
BRDA:78,7,1,3
|
|
7462
|
+
BRDA:127,8,0,5
|
|
7463
|
+
BRDA:127,8,1,52
|
|
7464
|
+
BRDA:139,9,0,3
|
|
7465
|
+
BRDA:139,9,1,2
|
|
7466
|
+
BRDA:142,10,0,2
|
|
7467
|
+
BRDA:142,10,1,1
|
|
7468
|
+
BRDA:145,11,0,2
|
|
7469
|
+
BRDA:145,11,1,1
|
|
7470
|
+
BRF:24
|
|
7471
|
+
BRH:22
|
|
7466
7472
|
end_of_record
|
|
7467
7473
|
TN:
|
|
7468
7474
|
SF:src/tools/auth0/handlers/themes.ts
|
|
@@ -16,7 +16,5 @@ export default class TenantHandler extends DefaultHandler {
|
|
|
16
16
|
validate(assets: Assets): Promise<void>;
|
|
17
17
|
processChanges(assets: Assets): Promise<void>;
|
|
18
18
|
}
|
|
19
|
-
export declare const
|
|
20
|
-
|
|
21
|
-
proposedFlags: Tenant['flags'];
|
|
22
|
-
}) => Tenant['flags'];
|
|
19
|
+
export declare const allowedTenantFlags: string[];
|
|
20
|
+
export declare const removeUnallowedTenantFlags: (proposedFlags: Tenant['flags']) => Tenant['flags'];
|
|
@@ -41,11 +41,12 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
41
41
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
42
42
|
};
|
|
43
43
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
44
|
-
exports.
|
|
44
|
+
exports.removeUnallowedTenantFlags = exports.allowedTenantFlags = exports.schema = void 0;
|
|
45
45
|
const validationError_1 = __importDefault(require("../../validationError"));
|
|
46
46
|
const default_1 = __importStar(require("./default"));
|
|
47
47
|
const pages_1 = require("./pages");
|
|
48
48
|
const utils_1 = require("../../utils");
|
|
49
|
+
const logger_1 = __importDefault(require("../../../logger"));
|
|
49
50
|
exports.schema = {
|
|
50
51
|
type: 'object',
|
|
51
52
|
};
|
|
@@ -88,13 +89,12 @@ class TenantHandler extends default_1.default {
|
|
|
88
89
|
// Do nothing if not set
|
|
89
90
|
if (!tenant)
|
|
90
91
|
return;
|
|
91
|
-
const existingTenant = this.existing || (yield this.getType());
|
|
92
92
|
const updatedTenant = Object.assign({}, tenant);
|
|
93
93
|
if ('flags' in updatedTenant) {
|
|
94
|
-
updatedTenant.flags = (0, exports.
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
}
|
|
94
|
+
updatedTenant.flags = (0, exports.removeUnallowedTenantFlags)(tenant.flags);
|
|
95
|
+
if (Object.keys(updatedTenant.flags).length === 0) {
|
|
96
|
+
delete updatedTenant.flags;
|
|
97
|
+
}
|
|
98
98
|
}
|
|
99
99
|
if (updatedTenant && Object.keys(updatedTenant).length > 0) {
|
|
100
100
|
yield this.client.tenant.updateSettings(updatedTenant);
|
|
@@ -108,30 +108,56 @@ __decorate([
|
|
|
108
108
|
(0, default_1.order)('100')
|
|
109
109
|
], TenantHandler.prototype, "processChanges", null);
|
|
110
110
|
exports.default = TenantHandler;
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
111
|
+
/*
|
|
112
|
+
Tenant flags are used to facilitate a number of functionalities, some
|
|
113
|
+
public, some internal. The subset of flags that are allowed to be updated
|
|
114
|
+
in the context of the Deploy CLI is based on wether they're publicly exposed
|
|
115
|
+
in the Auth0 API docs:
|
|
116
|
+
|
|
117
|
+
https://auth0.com/docs/api/management/v2#!/Tenants/patch_settings
|
|
118
|
+
*/
|
|
119
|
+
exports.allowedTenantFlags = [
|
|
120
|
+
'change_pwd_flow_v1',
|
|
121
|
+
'enable_client_connections',
|
|
122
|
+
'enable_apis_section',
|
|
123
|
+
'enable_pipeline2',
|
|
124
|
+
'enable_dynamic_client_registration',
|
|
125
|
+
'enable_custom_domain_in_emails',
|
|
126
|
+
'allow_legacy_tokeninfo_endpoint',
|
|
127
|
+
'enable_legacy_profile',
|
|
128
|
+
'enable_idtoken_api2',
|
|
129
|
+
'enable_public_signup_user_exists_error',
|
|
130
|
+
'allow_legacy_delegation_grant_types',
|
|
131
|
+
'allow_legacy_ro_grant_types',
|
|
132
|
+
'enable_sso',
|
|
133
|
+
'disable_clickjack_protection_headers',
|
|
134
|
+
'no_disclose_enterprise_connections',
|
|
135
|
+
'disable_management_api_sms_obfuscation',
|
|
136
|
+
'enforce_client_authentication_on_passwordless_start',
|
|
137
|
+
'trust_azure_adfs_email_verified_connection_property',
|
|
138
|
+
'enable_adfs_waad_email_verification',
|
|
139
|
+
'revoke_refresh_token_grant',
|
|
140
|
+
'dashboard_log_streams_next',
|
|
141
|
+
'dashboard_insights_view',
|
|
142
|
+
'disable_fields_map_fix',
|
|
143
|
+
'require_pushed_authorization_requests',
|
|
144
|
+
'mfa_show_factor_list_on_enrollment',
|
|
145
|
+
];
|
|
146
|
+
const removeUnallowedTenantFlags = (proposedFlags) => {
|
|
147
|
+
const removedFlags = [];
|
|
148
|
+
const filteredFlags = Object.keys(proposedFlags).reduce((acc, proposedKey) => {
|
|
149
|
+
const isAllowedFlag = exports.allowedTenantFlags.includes(proposedKey);
|
|
150
|
+
if (!isAllowedFlag) {
|
|
151
|
+
removedFlags.push(proposedKey);
|
|
152
|
+
return acc;
|
|
153
|
+
}
|
|
154
|
+
return Object.assign(Object.assign({}, acc), { [proposedKey]: proposedFlags[proposedKey] });
|
|
134
155
|
}, {});
|
|
156
|
+
if (removedFlags.length > 0) {
|
|
157
|
+
logger_1.default.warn(`The following tenant flag${removedFlags.length > 1 ? 's have not been' : ' has not been'} updated because deemed incompatible with the target tenant: ${removedFlags.join(', ')}
|
|
158
|
+
${removedFlags.length > 1 ? 'These flags' : 'This flag'} can likely be removed from the tenant definition file. If you believe this removal is an error, please report via a Github issue.`);
|
|
159
|
+
}
|
|
160
|
+
return filteredFlags;
|
|
135
161
|
};
|
|
136
|
-
exports.
|
|
162
|
+
exports.removeUnallowedTenantFlags = removeUnallowedTenantFlags;
|
|
137
163
|
//# sourceMappingURL=tenant.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tenant.js","sourceRoot":"","sources":["../../../../src/tools/auth0/handlers/tenant.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,4EAAoD;AAEpD,qDAAkD;AAClD,mCAAsD;AACtD,uCAAkD;
|
|
1
|
+
{"version":3,"file":"tenant.js","sourceRoot":"","sources":["../../../../src/tools/auth0/handlers/tenant.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,4EAAoD;AAEpD,qDAAkD;AAClD,mCAAsD;AACtD,uCAAkD;AAElD,6DAAkC;AAErB,QAAA,MAAM,GAAG;IACpB,IAAI,EAAE,QAAQ;CACf,CAAC;AAIF,MAAM,aAAa,GAAG;IACpB,GAAG,MAAM,CAAC,IAAI,CAAC,mBAAW,CAAC;IAC3B,GAAG,MAAM,CAAC,MAAM,CAAC,mBAAW,CAAC;IAC7B,GAAG,sBAAc;CAClB,CAAC;AAEF,MAAqB,aAAc,SAAQ,iBAAc;IAGvD,YAAY,OAAuB;QACjC,KAAK,iCACA,OAAO,KACV,IAAI,EAAE,QAAQ,IACd,CAAC;IACL,CAAC;IAEK,OAAO;;YACX,MAAM,MAAM,GAAG,MAAM,IAAI,CAAC,MAAM,CAAC,MAAM,CAAC,WAAW,EAAE,CAAC;YAEtD,IAAI,C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