sfdx-hardis 5.27.0 → 5.28.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.
@@ -57,12 +57,13 @@
57
57
  "world:hello"
58
58
  ]
59
59
  },
60
- "hardis:cache:clear": {
60
+ "hardis:auth:login": {
61
61
  "aliases": [],
62
62
  "args": {},
63
- "description": "Clear cache generated by sfdx-hardis",
63
+ "description": "Login to salesforce org",
64
64
  "examples": [
65
- "$ sf hardis:cache:clear"
65
+ "$ sf hardis:auth:login",
66
+ "CI=true sf hardis:auth:login"
66
67
  ],
67
68
  "flags": {
68
69
  "json": {
@@ -80,6 +81,28 @@
80
81
  "multiple": false,
81
82
  "type": "option"
82
83
  },
84
+ "instanceurl": {
85
+ "char": "r",
86
+ "description": "URL of org instance",
87
+ "name": "instanceurl",
88
+ "hasDynamicHelp": false,
89
+ "multiple": false,
90
+ "type": "option"
91
+ },
92
+ "devhub": {
93
+ "char": "h",
94
+ "description": "Also connect associated DevHub",
95
+ "name": "devhub",
96
+ "allowNo": false,
97
+ "type": "boolean"
98
+ },
99
+ "scratchorg": {
100
+ "char": "s",
101
+ "description": "Scratch org",
102
+ "name": "scratchorg",
103
+ "allowNo": false,
104
+ "type": "boolean"
105
+ },
83
106
  "debug": {
84
107
  "char": "d",
85
108
  "description": "Activate debug mode (more logs)",
@@ -103,39 +126,38 @@
103
126
  },
104
127
  "hasDynamicHelp": false,
105
128
  "hiddenAliases": [],
106
- "id": "hardis:cache:clear",
129
+ "id": "hardis:auth:login",
107
130
  "pluginAlias": "sfdx-hardis",
108
131
  "pluginName": "sfdx-hardis",
109
132
  "pluginType": "core",
110
133
  "strict": true,
111
134
  "enableJsonFlag": true,
112
- "title": "Clear sfdx-hardis cache",
135
+ "title": "Login",
113
136
  "requiresProject": false,
114
137
  "isESM": true,
115
138
  "relativePath": [
116
139
  "lib",
117
140
  "commands",
118
141
  "hardis",
119
- "cache",
120
- "clear.js"
142
+ "auth",
143
+ "login.js"
121
144
  ],
122
145
  "aliasPermutations": [],
123
146
  "permutations": [
124
- "hardis:cache:clear",
125
- "cache:hardis:clear",
126
- "cache:clear:hardis",
127
- "hardis:clear:cache",
128
- "clear:hardis:cache",
129
- "clear:cache:hardis"
147
+ "hardis:auth:login",
148
+ "auth:hardis:login",
149
+ "auth:login:hardis",
150
+ "hardis:login:auth",
151
+ "login:hardis:auth",
152
+ "login:auth:hardis"
130
153
  ]
131
154
  },
132
- "hardis:auth:login": {
155
+ "hardis:cache:clear": {
133
156
  "aliases": [],
134
157
  "args": {},
135
- "description": "Login to salesforce org",
158
+ "description": "Clear cache generated by sfdx-hardis",
136
159
  "examples": [
137
- "$ sf hardis:auth:login",
138
- "CI=true sf hardis:auth:login"
160
+ "$ sf hardis:cache:clear"
139
161
  ],
140
162
  "flags": {
141
163
  "json": {
@@ -153,28 +175,6 @@
153
175
  "multiple": false,
154
176
  "type": "option"
155
177
  },
156
- "instanceurl": {
157
- "char": "r",
158
- "description": "URL of org instance",
159
- "name": "instanceurl",
160
- "hasDynamicHelp": false,
161
- "multiple": false,
162
- "type": "option"
163
- },
164
- "devhub": {
165
- "char": "h",
166
- "description": "Also connect associated DevHub",
167
- "name": "devhub",
168
- "allowNo": false,
169
- "type": "boolean"
170
- },
171
- "scratchorg": {
172
- "char": "s",
173
- "description": "Scratch org",
174
- "name": "scratchorg",
175
- "allowNo": false,
176
- "type": "boolean"
177
- },
178
178
  "debug": {
179
179
  "char": "d",
180
180
  "description": "Activate debug mode (more logs)",
@@ -198,30 +198,30 @@
198
198
  },
199
199
  "hasDynamicHelp": false,
200
200
  "hiddenAliases": [],
201
- "id": "hardis:auth:login",
201
+ "id": "hardis:cache:clear",
202
202
  "pluginAlias": "sfdx-hardis",
203
203
  "pluginName": "sfdx-hardis",
204
204
  "pluginType": "core",
205
205
  "strict": true,
206
206
  "enableJsonFlag": true,
207
- "title": "Login",
207
+ "title": "Clear sfdx-hardis cache",
208
208
  "requiresProject": false,
209
209
  "isESM": true,
210
210
  "relativePath": [
211
211
  "lib",
212
212
  "commands",
213
213
  "hardis",
214
- "auth",
215
- "login.js"
214
+ "cache",
215
+ "clear.js"
216
216
  ],
217
217
  "aliasPermutations": [],
218
218
  "permutations": [
219
- "hardis:auth:login",
220
- "auth:hardis:login",
221
- "auth:login:hardis",
222
- "hardis:login:auth",
223
- "login:hardis:auth",
224
- "login:auth:hardis"
219
+ "hardis:cache:clear",
220
+ "cache:hardis:clear",
221
+ "cache:clear:hardis",
222
+ "hardis:clear:cache",
223
+ "clear:hardis:cache",
224
+ "clear:cache:hardis"
225
225
  ]
226
226
  },
227
227
  "hardis:config:get": {
@@ -1041,7 +1041,7 @@
1041
1041
  "hardis:lint:metadatastatus": {
1042
1042
  "aliases": [],
1043
1043
  "args": {},
1044
- "description": "Check if elements (flows and validation rules) are inactive in the project\n\nThis command is part of [sfdx-hardis Monitoring](https://sfdx-hardis.cloudity.com/salesforce-monitoring-inactive-metadata/) and can output Grafana, Slack and MsTeams Notifications.\n",
1044
+ "description": "Check if elements are inactive in the project:\n\n- Approval Processes\n- Assignment Rules\n- Auto Response Rules\n- Escalation Rules\n- Flows\n- Forecasting Types\n- Record Types\n- Validation Rules\n- Workflow Rules\n\n![](https://github.com/hardisgroupcom/sfdx-hardis/raw/main/docs/assets/images/detect-inactive-metadata.gif)\n\nThis command is part of [sfdx-hardis Monitoring](https://sfdx-hardis.cloudity.com/salesforce-monitoring-inactive-metadata/) and can output Grafana, Slack and MsTeams Notifications.\n",
1045
1045
  "examples": [
1046
1046
  "$ sf hardis:lint:metadatastatus"
1047
1047
  ],
@@ -2386,12 +2386,12 @@
2386
2386
  "mergexml:package:hardis"
2387
2387
  ]
2388
2388
  },
2389
- "hardis:project:create": {
2389
+ "hardis:packagexml:append": {
2390
2390
  "aliases": [],
2391
2391
  "args": {},
2392
- "description": "Create a new SFDX Project",
2392
+ "description": "Append one or multiple package.xml files into a single one",
2393
2393
  "examples": [
2394
- "$ sf hardis:project:create"
2394
+ "$ sf hardis packagexml append -p package1.xml,package2.xml -o package3.xml"
2395
2395
  ],
2396
2396
  "flags": {
2397
2397
  "json": {
@@ -2409,62 +2409,70 @@
2409
2409
  "multiple": false,
2410
2410
  "type": "option"
2411
2411
  },
2412
+ "packagexmls": {
2413
+ "char": "p",
2414
+ "description": "package.xml files path (separated by commas)",
2415
+ "name": "packagexmls",
2416
+ "required": true,
2417
+ "hasDynamicHelp": false,
2418
+ "multiple": false,
2419
+ "type": "option"
2420
+ },
2421
+ "outputfile": {
2422
+ "char": "f",
2423
+ "description": "package.xml output file",
2424
+ "name": "outputfile",
2425
+ "required": true,
2426
+ "hasDynamicHelp": false,
2427
+ "multiple": false,
2428
+ "type": "option"
2429
+ },
2412
2430
  "debug": {
2413
- "char": "d",
2414
- "description": "Activate debug mode (more logs)",
2431
+ "description": "debug",
2415
2432
  "name": "debug",
2416
2433
  "allowNo": false,
2417
2434
  "type": "boolean"
2418
2435
  },
2419
2436
  "websocket": {
2420
- "description": "Websocket host:port for VsCode SFDX Hardis UI integration",
2437
+ "description": "websocket",
2421
2438
  "name": "websocket",
2422
2439
  "hasDynamicHelp": false,
2423
2440
  "multiple": false,
2424
2441
  "type": "option"
2425
- },
2426
- "skipauth": {
2427
- "description": "Skip authentication check when a default username is required",
2428
- "name": "skipauth",
2429
- "allowNo": false,
2430
- "type": "boolean"
2431
2442
  }
2432
2443
  },
2433
2444
  "hasDynamicHelp": false,
2434
2445
  "hiddenAliases": [],
2435
- "id": "hardis:project:create",
2446
+ "id": "hardis:packagexml:append",
2436
2447
  "pluginAlias": "sfdx-hardis",
2437
2448
  "pluginName": "sfdx-hardis",
2438
2449
  "pluginType": "core",
2439
2450
  "strict": true,
2440
2451
  "enableJsonFlag": true,
2441
- "title": "Login",
2442
- "requiresProject": false,
2443
2452
  "isESM": true,
2444
2453
  "relativePath": [
2445
2454
  "lib",
2446
2455
  "commands",
2447
2456
  "hardis",
2448
- "project",
2449
- "create.js"
2457
+ "packagexml",
2458
+ "append.js"
2450
2459
  ],
2451
2460
  "aliasPermutations": [],
2452
2461
  "permutations": [
2453
- "hardis:project:create",
2454
- "project:hardis:create",
2455
- "project:create:hardis",
2456
- "hardis:create:project",
2457
- "create:hardis:project",
2458
- "create:project:hardis"
2462
+ "hardis:packagexml:append",
2463
+ "packagexml:hardis:append",
2464
+ "packagexml:append:hardis",
2465
+ "hardis:append:packagexml",
2466
+ "append:hardis:packagexml",
2467
+ "append:packagexml:hardis"
2459
2468
  ]
2460
2469
  },
2461
- "hardis:project:lint": {
2470
+ "hardis:packagexml:remove": {
2462
2471
  "aliases": [],
2463
2472
  "args": {},
2464
- "description": "Apply syntactic analysis (linters) on the repository sources, using Mega-Linter",
2473
+ "description": "Removes the content of a package.xml file matching another package.xml file",
2465
2474
  "examples": [
2466
- "$ sf hardis:project:lint",
2467
- "$ sf hardis:project:lint --fix"
2475
+ "$ sf hardis packagexml:remove -p package.xml -r destructiveChanges.xml -o my-reduced-package.xml"
2468
2476
  ],
2469
2477
  "flags": {
2470
2478
  "json": {
@@ -2482,82 +2490,85 @@
2482
2490
  "multiple": false,
2483
2491
  "type": "option"
2484
2492
  },
2485
- "fix": {
2486
- "char": "f",
2487
- "description": "Apply linters fixes",
2488
- "name": "fix",
2489
- "allowNo": false,
2490
- "type": "boolean"
2493
+ "packagexml": {
2494
+ "char": "p",
2495
+ "description": "package.xml file to reduce",
2496
+ "name": "packagexml",
2497
+ "hasDynamicHelp": false,
2498
+ "multiple": false,
2499
+ "type": "option"
2491
2500
  },
2492
- "debug": {
2493
- "char": "d",
2494
- "description": "Activate debug mode (more logs)",
2495
- "name": "debug",
2501
+ "removepackagexml": {
2502
+ "char": "r",
2503
+ "description": "package.xml file to use to filter input package.xml",
2504
+ "name": "removepackagexml",
2505
+ "hasDynamicHelp": false,
2506
+ "multiple": false,
2507
+ "type": "option"
2508
+ },
2509
+ "removedonly": {
2510
+ "char": "z",
2511
+ "description": "Use this flag to generate a package.xml with only removed items",
2512
+ "name": "removedonly",
2496
2513
  "allowNo": false,
2497
2514
  "type": "boolean"
2498
2515
  },
2499
- "websocket": {
2500
- "description": "Websocket host:port for VsCode SFDX Hardis UI integration",
2501
- "name": "websocket",
2516
+ "outputfile": {
2517
+ "char": "f",
2518
+ "description": "package.xml output file",
2519
+ "name": "outputfile",
2520
+ "required": true,
2502
2521
  "hasDynamicHelp": false,
2503
2522
  "multiple": false,
2504
2523
  "type": "option"
2505
2524
  },
2506
- "skipauth": {
2507
- "description": "Skip authentication check when a default username is required",
2508
- "name": "skipauth",
2525
+ "debug": {
2526
+ "description": "debug",
2527
+ "name": "debug",
2509
2528
  "allowNo": false,
2510
2529
  "type": "boolean"
2511
2530
  },
2512
- "target-org": {
2513
- "aliases": [
2514
- "targetusername",
2515
- "u"
2516
- ],
2517
- "char": "o",
2518
- "deprecateAliases": true,
2519
- "name": "target-org",
2520
- "noCacheDefault": true,
2521
- "summary": "Username or alias of the target org.",
2522
- "hasDynamicHelp": true,
2531
+ "websocket": {
2532
+ "description": "websocket",
2533
+ "name": "websocket",
2534
+ "hasDynamicHelp": false,
2523
2535
  "multiple": false,
2524
2536
  "type": "option"
2525
2537
  }
2526
2538
  },
2527
- "hasDynamicHelp": true,
2539
+ "hasDynamicHelp": false,
2528
2540
  "hiddenAliases": [],
2529
- "id": "hardis:project:lint",
2541
+ "id": "hardis:packagexml:remove",
2530
2542
  "pluginAlias": "sfdx-hardis",
2531
2543
  "pluginName": "sfdx-hardis",
2532
2544
  "pluginType": "core",
2533
2545
  "strict": true,
2534
2546
  "enableJsonFlag": true,
2535
- "title": "Lint",
2536
2547
  "requiresProject": false,
2537
2548
  "isESM": true,
2538
2549
  "relativePath": [
2539
2550
  "lib",
2540
2551
  "commands",
2541
2552
  "hardis",
2542
- "project",
2543
- "lint.js"
2553
+ "packagexml",
2554
+ "remove.js"
2544
2555
  ],
2545
2556
  "aliasPermutations": [],
2546
2557
  "permutations": [
2547
- "hardis:project:lint",
2548
- "project:hardis:lint",
2549
- "project:lint:hardis",
2550
- "hardis:lint:project",
2551
- "lint:hardis:project",
2552
- "lint:project:hardis"
2558
+ "hardis:packagexml:remove",
2559
+ "packagexml:hardis:remove",
2560
+ "packagexml:remove:hardis",
2561
+ "hardis:remove:packagexml",
2562
+ "remove:hardis:packagexml",
2563
+ "remove:packagexml:hardis"
2553
2564
  ]
2554
2565
  },
2555
- "hardis:scratch:create": {
2566
+ "hardis:project:create": {
2556
2567
  "aliases": [],
2557
2568
  "args": {},
2558
- "description": "Create and initialize a scratch org or a source-tracked sandbox (config can be defined using `config/.sfdx-hardis.yml`):\n\n- **Install packages**\n - Use property `installedPackages`\n- **Push sources**\n- **Assign permission sets**\n - Use property `initPermissionSets`\n- **Run apex initialization scripts**\n - Use property `scratchOrgInitApexScripts`\n- **Load data**\n - Use property `dataPackages`\n ",
2569
+ "description": "Create a new SFDX Project",
2559
2570
  "examples": [
2560
- "$ sf hardis:scratch:create"
2571
+ "$ sf hardis:project:create"
2561
2572
  ],
2562
2573
  "flags": {
2563
2574
  "json": {
@@ -2575,23 +2586,10 @@
2575
2586
  "multiple": false,
2576
2587
  "type": "option"
2577
2588
  },
2578
- "forcenew": {
2579
- "char": "n",
2580
- "description": "If an existing scratch org exists, do not reuse it but create a new one",
2581
- "name": "forcenew",
2582
- "allowNo": false,
2583
- "type": "boolean"
2584
- },
2585
- "pool": {
2586
- "description": "Creates the scratch org for a scratch org pool",
2587
- "name": "pool",
2588
- "allowNo": false,
2589
- "type": "boolean"
2590
- },
2591
- "debug": {
2592
- "char": "d",
2593
- "description": "Activate debug mode (more logs)",
2594
- "name": "debug",
2589
+ "debug": {
2590
+ "char": "d",
2591
+ "description": "Activate debug mode (more logs)",
2592
+ "name": "debug",
2595
2593
  "allowNo": false,
2596
2594
  "type": "boolean"
2597
2595
  },
@@ -2607,60 +2605,43 @@
2607
2605
  "name": "skipauth",
2608
2606
  "allowNo": false,
2609
2607
  "type": "boolean"
2610
- },
2611
- "target-dev-hub": {
2612
- "aliases": [
2613
- "targetdevhubusername"
2614
- ],
2615
- "char": "v",
2616
- "deprecateAliases": true,
2617
- "name": "target-dev-hub",
2618
- "noCacheDefault": true,
2619
- "required": true,
2620
- "summary": "Username or alias of the Dev Hub org. Not required if the `target-dev-hub` configuration variable is already set.",
2621
- "hasDynamicHelp": true,
2622
- "multiple": false,
2623
- "type": "option"
2624
2608
  }
2625
2609
  },
2626
- "hasDynamicHelp": true,
2610
+ "hasDynamicHelp": false,
2627
2611
  "hiddenAliases": [],
2628
- "id": "hardis:scratch:create",
2612
+ "id": "hardis:project:create",
2629
2613
  "pluginAlias": "sfdx-hardis",
2630
2614
  "pluginName": "sfdx-hardis",
2631
2615
  "pluginType": "core",
2632
2616
  "strict": true,
2633
2617
  "enableJsonFlag": true,
2634
- "title": "Create and initialize scratch org",
2635
- "requiresProject": true,
2636
- "requiresSfdxPlugins": [
2637
- "sfdmu",
2638
- "texei-sfdx-plugin"
2639
- ],
2618
+ "title": "Login",
2619
+ "requiresProject": false,
2640
2620
  "isESM": true,
2641
2621
  "relativePath": [
2642
2622
  "lib",
2643
2623
  "commands",
2644
2624
  "hardis",
2645
- "scratch",
2625
+ "project",
2646
2626
  "create.js"
2647
2627
  ],
2648
2628
  "aliasPermutations": [],
2649
2629
  "permutations": [
2650
- "hardis:scratch:create",
2651
- "scratch:hardis:create",
2652
- "scratch:create:hardis",
2653
- "hardis:create:scratch",
2654
- "create:hardis:scratch",
2655
- "create:scratch:hardis"
2630
+ "hardis:project:create",
2631
+ "project:hardis:create",
2632
+ "project:create:hardis",
2633
+ "hardis:create:project",
2634
+ "create:hardis:project",
2635
+ "create:project:hardis"
2656
2636
  ]
2657
2637
  },
2658
- "hardis:scratch:delete": {
2638
+ "hardis:project:lint": {
2659
2639
  "aliases": [],
2660
2640
  "args": {},
2661
- "description": "Assisted menu to delete scratch orgs associated to a DevHub",
2641
+ "description": "Apply syntactic analysis (linters) on the repository sources, using Mega-Linter",
2662
2642
  "examples": [
2663
- "$ sf hardis:scratch:delete"
2643
+ "$ sf hardis:project:lint",
2644
+ "$ sf hardis:project:lint --fix"
2664
2645
  ],
2665
2646
  "flags": {
2666
2647
  "json": {
@@ -2678,6 +2659,13 @@
2678
2659
  "multiple": false,
2679
2660
  "type": "option"
2680
2661
  },
2662
+ "fix": {
2663
+ "char": "f",
2664
+ "description": "Apply linters fixes",
2665
+ "name": "fix",
2666
+ "allowNo": false,
2667
+ "type": "boolean"
2668
+ },
2681
2669
  "debug": {
2682
2670
  "char": "d",
2683
2671
  "description": "Activate debug mode (more logs)",
@@ -2698,16 +2686,16 @@
2698
2686
  "allowNo": false,
2699
2687
  "type": "boolean"
2700
2688
  },
2701
- "target-dev-hub": {
2689
+ "target-org": {
2702
2690
  "aliases": [
2703
- "targetdevhubusername"
2691
+ "targetusername",
2692
+ "u"
2704
2693
  ],
2705
- "char": "v",
2694
+ "char": "o",
2706
2695
  "deprecateAliases": true,
2707
- "name": "target-dev-hub",
2696
+ "name": "target-org",
2708
2697
  "noCacheDefault": true,
2709
- "required": true,
2710
- "summary": "Username or alias of the Dev Hub org. Not required if the `target-dev-hub` configuration variable is already set.",
2698
+ "summary": "Username or alias of the target org.",
2711
2699
  "hasDynamicHelp": true,
2712
2700
  "multiple": false,
2713
2701
  "type": "option"
@@ -2715,37 +2703,38 @@
2715
2703
  },
2716
2704
  "hasDynamicHelp": true,
2717
2705
  "hiddenAliases": [],
2718
- "id": "hardis:scratch:delete",
2706
+ "id": "hardis:project:lint",
2719
2707
  "pluginAlias": "sfdx-hardis",
2720
2708
  "pluginName": "sfdx-hardis",
2721
2709
  "pluginType": "core",
2722
2710
  "strict": true,
2723
2711
  "enableJsonFlag": true,
2724
- "title": "Delete scratch orgs(s)",
2712
+ "title": "Lint",
2713
+ "requiresProject": false,
2725
2714
  "isESM": true,
2726
2715
  "relativePath": [
2727
2716
  "lib",
2728
2717
  "commands",
2729
2718
  "hardis",
2730
- "scratch",
2731
- "delete.js"
2719
+ "project",
2720
+ "lint.js"
2732
2721
  ],
2733
2722
  "aliasPermutations": [],
2734
2723
  "permutations": [
2735
- "hardis:scratch:delete",
2736
- "scratch:hardis:delete",
2737
- "scratch:delete:hardis",
2738
- "hardis:delete:scratch",
2739
- "delete:hardis:scratch",
2740
- "delete:scratch:hardis"
2724
+ "hardis:project:lint",
2725
+ "project:hardis:lint",
2726
+ "project:lint:hardis",
2727
+ "hardis:lint:project",
2728
+ "lint:hardis:project",
2729
+ "lint:project:hardis"
2741
2730
  ]
2742
2731
  },
2743
- "hardis:scratch:pull": {
2732
+ "hardis:scratch:create": {
2744
2733
  "aliases": [],
2745
2734
  "args": {},
2746
- "description": "This commands pulls the updates you performed in your scratch or sandbox org, into your local files\n\nThen, you probably want to stage and commit the files containing the updates you want to keep, as explained in this video.\n\n<iframe width=\"560\" height=\"315\" src=\"https://www.youtube.com/embed/Ik6whtflmfY\" title=\"YouTube video player\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen></iframe>\n\n- Calls `sf project retrieve start` under the hood\n- If there are errors, proposes to automatically add erroneous item in `.forceignore`, then pull again\n- If you don't see your updated items in the results, you can manually retrieve [using SF Extension **Org Browser** or **Salesforce CLI**](https://sfdx-hardis.cloudity.com/salesforce-ci-cd-publish-task/#retrieve-metadatas)\n- If you want to always retrieve sources like CustomApplication that are not always detected as updates by project:retrieve:start , you can define property **autoRetrieveWhenPull** in .sfdx-hardis.yml\n\nExample:\n```yaml\nautoRetrieveWhenPull:\n - CustomApplication:MyCustomApplication\n - CustomApplication:MyOtherCustomApplication\n - CustomApplication:MyThirdCustomApp\n```\n",
2735
+ "description": "Create and initialize a scratch org or a source-tracked sandbox (config can be defined using `config/.sfdx-hardis.yml`):\n\n- **Install packages**\n - Use property `installedPackages`\n- **Push sources**\n- **Assign permission sets**\n - Use property `initPermissionSets`\n- **Run apex initialization scripts**\n - Use property `scratchOrgInitApexScripts`\n- **Load data**\n - Use property `dataPackages`\n ",
2747
2736
  "examples": [
2748
- "$ sf hardis:scratch:pull"
2737
+ "$ sf hardis:scratch:create"
2749
2738
  ],
2750
2739
  "flags": {
2751
2740
  "json": {
@@ -2763,6 +2752,19 @@
2763
2752
  "multiple": false,
2764
2753
  "type": "option"
2765
2754
  },
2755
+ "forcenew": {
2756
+ "char": "n",
2757
+ "description": "If an existing scratch org exists, do not reuse it but create a new one",
2758
+ "name": "forcenew",
2759
+ "allowNo": false,
2760
+ "type": "boolean"
2761
+ },
2762
+ "pool": {
2763
+ "description": "Creates the scratch org for a scratch org pool",
2764
+ "name": "pool",
2765
+ "allowNo": false,
2766
+ "type": "boolean"
2767
+ },
2766
2768
  "debug": {
2767
2769
  "char": "d",
2768
2770
  "description": "Activate debug mode (more logs)",
@@ -2783,17 +2785,16 @@
2783
2785
  "allowNo": false,
2784
2786
  "type": "boolean"
2785
2787
  },
2786
- "target-org": {
2788
+ "target-dev-hub": {
2787
2789
  "aliases": [
2788
- "targetusername",
2789
- "u"
2790
+ "targetdevhubusername"
2790
2791
  ],
2791
- "char": "o",
2792
+ "char": "v",
2792
2793
  "deprecateAliases": true,
2793
- "name": "target-org",
2794
+ "name": "target-dev-hub",
2794
2795
  "noCacheDefault": true,
2795
2796
  "required": true,
2796
- "summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
2797
+ "summary": "Username or alias of the Dev Hub org. Not required if the `target-dev-hub` configuration variable is already set.",
2797
2798
  "hasDynamicHelp": true,
2798
2799
  "multiple": false,
2799
2800
  "type": "option"
@@ -2801,38 +2802,42 @@
2801
2802
  },
2802
2803
  "hasDynamicHelp": true,
2803
2804
  "hiddenAliases": [],
2804
- "id": "hardis:scratch:pull",
2805
+ "id": "hardis:scratch:create",
2805
2806
  "pluginAlias": "sfdx-hardis",
2806
2807
  "pluginName": "sfdx-hardis",
2807
2808
  "pluginType": "core",
2808
2809
  "strict": true,
2809
2810
  "enableJsonFlag": true,
2810
- "title": "Scratch PULL",
2811
+ "title": "Create and initialize scratch org",
2811
2812
  "requiresProject": true,
2813
+ "requiresSfdxPlugins": [
2814
+ "sfdmu",
2815
+ "texei-sfdx-plugin"
2816
+ ],
2812
2817
  "isESM": true,
2813
2818
  "relativePath": [
2814
2819
  "lib",
2815
2820
  "commands",
2816
2821
  "hardis",
2817
2822
  "scratch",
2818
- "pull.js"
2823
+ "create.js"
2819
2824
  ],
2820
2825
  "aliasPermutations": [],
2821
2826
  "permutations": [
2822
- "hardis:scratch:pull",
2823
- "scratch:hardis:pull",
2824
- "scratch:pull:hardis",
2825
- "hardis:pull:scratch",
2826
- "pull:hardis:scratch",
2827
- "pull:scratch:hardis"
2827
+ "hardis:scratch:create",
2828
+ "scratch:hardis:create",
2829
+ "scratch:create:hardis",
2830
+ "hardis:create:scratch",
2831
+ "create:hardis:scratch",
2832
+ "create:scratch:hardis"
2828
2833
  ]
2829
2834
  },
2830
- "hardis:scratch:push": {
2835
+ "hardis:scratch:delete": {
2831
2836
  "aliases": [],
2832
2837
  "args": {},
2833
- "description": "Push local files to scratch org\n\nCalls `sf project deploy start` under the hood\n",
2838
+ "description": "Assisted menu to delete scratch orgs associated to a DevHub",
2834
2839
  "examples": [
2835
- "$ sf hardis:scratch:push"
2840
+ "$ sf hardis:scratch:delete"
2836
2841
  ],
2837
2842
  "flags": {
2838
2843
  "json": {
@@ -2870,17 +2875,16 @@
2870
2875
  "allowNo": false,
2871
2876
  "type": "boolean"
2872
2877
  },
2873
- "target-org": {
2878
+ "target-dev-hub": {
2874
2879
  "aliases": [
2875
- "targetusername",
2876
- "u"
2880
+ "targetdevhubusername"
2877
2881
  ],
2878
- "char": "o",
2882
+ "char": "v",
2879
2883
  "deprecateAliases": true,
2880
- "name": "target-org",
2884
+ "name": "target-dev-hub",
2881
2885
  "noCacheDefault": true,
2882
2886
  "required": true,
2883
- "summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
2887
+ "summary": "Username or alias of the Dev Hub org. Not required if the `target-dev-hub` configuration variable is already set.",
2884
2888
  "hasDynamicHelp": true,
2885
2889
  "multiple": false,
2886
2890
  "type": "option"
@@ -2888,38 +2892,37 @@
2888
2892
  },
2889
2893
  "hasDynamicHelp": true,
2890
2894
  "hiddenAliases": [],
2891
- "id": "hardis:scratch:push",
2895
+ "id": "hardis:scratch:delete",
2892
2896
  "pluginAlias": "sfdx-hardis",
2893
2897
  "pluginName": "sfdx-hardis",
2894
2898
  "pluginType": "core",
2895
2899
  "strict": true,
2896
2900
  "enableJsonFlag": true,
2897
- "title": "Scratch PUSH",
2898
- "requiresProject": true,
2901
+ "title": "Delete scratch orgs(s)",
2899
2902
  "isESM": true,
2900
2903
  "relativePath": [
2901
2904
  "lib",
2902
2905
  "commands",
2903
2906
  "hardis",
2904
2907
  "scratch",
2905
- "push.js"
2908
+ "delete.js"
2906
2909
  ],
2907
2910
  "aliasPermutations": [],
2908
2911
  "permutations": [
2909
- "hardis:scratch:push",
2910
- "scratch:hardis:push",
2911
- "scratch:push:hardis",
2912
- "hardis:push:scratch",
2913
- "push:hardis:scratch",
2914
- "push:scratch:hardis"
2912
+ "hardis:scratch:delete",
2913
+ "scratch:hardis:delete",
2914
+ "scratch:delete:hardis",
2915
+ "hardis:delete:scratch",
2916
+ "delete:hardis:scratch",
2917
+ "delete:scratch:hardis"
2915
2918
  ]
2916
2919
  },
2917
- "hardis:packagexml:append": {
2920
+ "hardis:scratch:pull": {
2918
2921
  "aliases": [],
2919
2922
  "args": {},
2920
- "description": "Append one or multiple package.xml files into a single one",
2923
+ "description": "This commands pulls the updates you performed in your scratch or sandbox org, into your local files\n\nThen, you probably want to stage and commit the files containing the updates you want to keep, as explained in this video.\n\n<iframe width=\"560\" height=\"315\" src=\"https://www.youtube.com/embed/Ik6whtflmfY\" title=\"YouTube video player\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen></iframe>\n\n- Calls `sf project retrieve start` under the hood\n- If there are errors, proposes to automatically add erroneous item in `.forceignore`, then pull again\n- If you don't see your updated items in the results, you can manually retrieve [using SF Extension **Org Browser** or **Salesforce CLI**](https://sfdx-hardis.cloudity.com/salesforce-ci-cd-publish-task/#retrieve-metadatas)\n- If you want to always retrieve sources like CustomApplication that are not always detected as updates by project:retrieve:start , you can define property **autoRetrieveWhenPull** in .sfdx-hardis.yml\n\nExample:\n```yaml\nautoRetrieveWhenPull:\n - CustomApplication:MyCustomApplication\n - CustomApplication:MyOtherCustomApplication\n - CustomApplication:MyThirdCustomApp\n```\n",
2921
2924
  "examples": [
2922
- "$ sf hardis packagexml append -p package1.xml,package2.xml -o package3.xml"
2925
+ "$ sf hardis:scratch:pull"
2923
2926
  ],
2924
2927
  "flags": {
2925
2928
  "json": {
@@ -2937,70 +2940,76 @@
2937
2940
  "multiple": false,
2938
2941
  "type": "option"
2939
2942
  },
2940
- "packagexmls": {
2941
- "char": "p",
2942
- "description": "package.xml files path (separated by commas)",
2943
- "name": "packagexmls",
2944
- "required": true,
2945
- "hasDynamicHelp": false,
2946
- "multiple": false,
2947
- "type": "option"
2948
- },
2949
- "outputfile": {
2950
- "char": "f",
2951
- "description": "package.xml output file",
2952
- "name": "outputfile",
2953
- "required": true,
2954
- "hasDynamicHelp": false,
2955
- "multiple": false,
2956
- "type": "option"
2957
- },
2958
2943
  "debug": {
2959
- "description": "debug",
2944
+ "char": "d",
2945
+ "description": "Activate debug mode (more logs)",
2960
2946
  "name": "debug",
2961
2947
  "allowNo": false,
2962
2948
  "type": "boolean"
2963
2949
  },
2964
2950
  "websocket": {
2965
- "description": "websocket",
2951
+ "description": "Websocket host:port for VsCode SFDX Hardis UI integration",
2966
2952
  "name": "websocket",
2967
2953
  "hasDynamicHelp": false,
2968
2954
  "multiple": false,
2969
2955
  "type": "option"
2956
+ },
2957
+ "skipauth": {
2958
+ "description": "Skip authentication check when a default username is required",
2959
+ "name": "skipauth",
2960
+ "allowNo": false,
2961
+ "type": "boolean"
2962
+ },
2963
+ "target-org": {
2964
+ "aliases": [
2965
+ "targetusername",
2966
+ "u"
2967
+ ],
2968
+ "char": "o",
2969
+ "deprecateAliases": true,
2970
+ "name": "target-org",
2971
+ "noCacheDefault": true,
2972
+ "required": true,
2973
+ "summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
2974
+ "hasDynamicHelp": true,
2975
+ "multiple": false,
2976
+ "type": "option"
2970
2977
  }
2971
2978
  },
2972
- "hasDynamicHelp": false,
2979
+ "hasDynamicHelp": true,
2973
2980
  "hiddenAliases": [],
2974
- "id": "hardis:packagexml:append",
2981
+ "id": "hardis:scratch:pull",
2975
2982
  "pluginAlias": "sfdx-hardis",
2976
2983
  "pluginName": "sfdx-hardis",
2977
2984
  "pluginType": "core",
2978
2985
  "strict": true,
2979
2986
  "enableJsonFlag": true,
2987
+ "title": "Scratch PULL",
2988
+ "requiresProject": true,
2980
2989
  "isESM": true,
2981
2990
  "relativePath": [
2982
2991
  "lib",
2983
2992
  "commands",
2984
2993
  "hardis",
2985
- "packagexml",
2986
- "append.js"
2994
+ "scratch",
2995
+ "pull.js"
2987
2996
  ],
2988
2997
  "aliasPermutations": [],
2989
2998
  "permutations": [
2990
- "hardis:packagexml:append",
2991
- "packagexml:hardis:append",
2992
- "packagexml:append:hardis",
2993
- "hardis:append:packagexml",
2994
- "append:hardis:packagexml",
2995
- "append:packagexml:hardis"
2999
+ "hardis:scratch:pull",
3000
+ "scratch:hardis:pull",
3001
+ "scratch:pull:hardis",
3002
+ "hardis:pull:scratch",
3003
+ "pull:hardis:scratch",
3004
+ "pull:scratch:hardis"
2996
3005
  ]
2997
3006
  },
2998
- "hardis:packagexml:remove": {
3007
+ "hardis:scratch:push": {
2999
3008
  "aliases": [],
3000
3009
  "args": {},
3001
- "description": "Removes the content of a package.xml file matching another package.xml file",
3010
+ "description": "Push local files to scratch org\n\nCalls `sf project deploy start` under the hood\n",
3002
3011
  "examples": [
3003
- "$ sf hardis packagexml:remove -p package.xml -r destructiveChanges.xml -o my-reduced-package.xml"
3012
+ "$ sf hardis:scratch:push"
3004
3013
  ],
3005
3014
  "flags": {
3006
3015
  "json": {
@@ -3010,85 +3019,76 @@
3010
3019
  "allowNo": false,
3011
3020
  "type": "boolean"
3012
3021
  },
3013
- "flags-dir": {
3014
- "helpGroup": "GLOBAL",
3015
- "name": "flags-dir",
3016
- "summary": "Import flag values from a directory.",
3017
- "hasDynamicHelp": false,
3018
- "multiple": false,
3019
- "type": "option"
3020
- },
3021
- "packagexml": {
3022
- "char": "p",
3023
- "description": "package.xml file to reduce",
3024
- "name": "packagexml",
3025
- "hasDynamicHelp": false,
3026
- "multiple": false,
3027
- "type": "option"
3028
- },
3029
- "removepackagexml": {
3030
- "char": "r",
3031
- "description": "package.xml file to use to filter input package.xml",
3032
- "name": "removepackagexml",
3033
- "hasDynamicHelp": false,
3034
- "multiple": false,
3035
- "type": "option"
3036
- },
3037
- "removedonly": {
3038
- "char": "z",
3039
- "description": "Use this flag to generate a package.xml with only removed items",
3040
- "name": "removedonly",
3041
- "allowNo": false,
3042
- "type": "boolean"
3043
- },
3044
- "outputfile": {
3045
- "char": "f",
3046
- "description": "package.xml output file",
3047
- "name": "outputfile",
3048
- "required": true,
3022
+ "flags-dir": {
3023
+ "helpGroup": "GLOBAL",
3024
+ "name": "flags-dir",
3025
+ "summary": "Import flag values from a directory.",
3049
3026
  "hasDynamicHelp": false,
3050
3027
  "multiple": false,
3051
3028
  "type": "option"
3052
3029
  },
3053
3030
  "debug": {
3054
- "description": "debug",
3031
+ "char": "d",
3032
+ "description": "Activate debug mode (more logs)",
3055
3033
  "name": "debug",
3056
3034
  "allowNo": false,
3057
3035
  "type": "boolean"
3058
3036
  },
3059
3037
  "websocket": {
3060
- "description": "websocket",
3038
+ "description": "Websocket host:port for VsCode SFDX Hardis UI integration",
3061
3039
  "name": "websocket",
3062
3040
  "hasDynamicHelp": false,
3063
3041
  "multiple": false,
3064
3042
  "type": "option"
3043
+ },
3044
+ "skipauth": {
3045
+ "description": "Skip authentication check when a default username is required",
3046
+ "name": "skipauth",
3047
+ "allowNo": false,
3048
+ "type": "boolean"
3049
+ },
3050
+ "target-org": {
3051
+ "aliases": [
3052
+ "targetusername",
3053
+ "u"
3054
+ ],
3055
+ "char": "o",
3056
+ "deprecateAliases": true,
3057
+ "name": "target-org",
3058
+ "noCacheDefault": true,
3059
+ "required": true,
3060
+ "summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
3061
+ "hasDynamicHelp": true,
3062
+ "multiple": false,
3063
+ "type": "option"
3065
3064
  }
3066
3065
  },
3067
- "hasDynamicHelp": false,
3066
+ "hasDynamicHelp": true,
3068
3067
  "hiddenAliases": [],
3069
- "id": "hardis:packagexml:remove",
3068
+ "id": "hardis:scratch:push",
3070
3069
  "pluginAlias": "sfdx-hardis",
3071
3070
  "pluginName": "sfdx-hardis",
3072
3071
  "pluginType": "core",
3073
3072
  "strict": true,
3074
3073
  "enableJsonFlag": true,
3075
- "requiresProject": false,
3074
+ "title": "Scratch PUSH",
3075
+ "requiresProject": true,
3076
3076
  "isESM": true,
3077
3077
  "relativePath": [
3078
3078
  "lib",
3079
3079
  "commands",
3080
3080
  "hardis",
3081
- "packagexml",
3082
- "remove.js"
3081
+ "scratch",
3082
+ "push.js"
3083
3083
  ],
3084
3084
  "aliasPermutations": [],
3085
3085
  "permutations": [
3086
- "hardis:packagexml:remove",
3087
- "packagexml:hardis:remove",
3088
- "packagexml:remove:hardis",
3089
- "hardis:remove:packagexml",
3090
- "remove:hardis:packagexml",
3091
- "remove:packagexml:hardis"
3086
+ "hardis:scratch:push",
3087
+ "scratch:hardis:push",
3088
+ "scratch:push:hardis",
3089
+ "hardis:push:scratch",
3090
+ "push:hardis:scratch",
3091
+ "push:scratch:hardis"
3092
3092
  ]
3093
3093
  },
3094
3094
  "hardis:source:deploy": {
@@ -4114,6 +4114,105 @@
4114
4114
  "ws:work:hardis"
4115
4115
  ]
4116
4116
  },
4117
+ "hardis:doc:extract:permsetgroups": {
4118
+ "aliases": [],
4119
+ "args": {},
4120
+ "description": "Generate markdown files with project documentation",
4121
+ "examples": [
4122
+ "$ sf hardis:doc:extract:permsetgroups"
4123
+ ],
4124
+ "flags": {
4125
+ "json": {
4126
+ "description": "Format output as json.",
4127
+ "helpGroup": "GLOBAL",
4128
+ "name": "json",
4129
+ "allowNo": false,
4130
+ "type": "boolean"
4131
+ },
4132
+ "flags-dir": {
4133
+ "helpGroup": "GLOBAL",
4134
+ "name": "flags-dir",
4135
+ "summary": "Import flag values from a directory.",
4136
+ "hasDynamicHelp": false,
4137
+ "multiple": false,
4138
+ "type": "option"
4139
+ },
4140
+ "outputfile": {
4141
+ "char": "f",
4142
+ "description": "Force the path and name of output report file. Must end with .csv",
4143
+ "name": "outputfile",
4144
+ "hasDynamicHelp": false,
4145
+ "multiple": false,
4146
+ "type": "option"
4147
+ },
4148
+ "debug": {
4149
+ "char": "d",
4150
+ "description": "Activate debug mode (more logs)",
4151
+ "name": "debug",
4152
+ "allowNo": false,
4153
+ "type": "boolean"
4154
+ },
4155
+ "websocket": {
4156
+ "description": "Websocket host:port for VsCode SFDX Hardis UI integration",
4157
+ "name": "websocket",
4158
+ "hasDynamicHelp": false,
4159
+ "multiple": false,
4160
+ "type": "option"
4161
+ },
4162
+ "skipauth": {
4163
+ "description": "Skip authentication check when a default username is required",
4164
+ "name": "skipauth",
4165
+ "allowNo": false,
4166
+ "type": "boolean"
4167
+ }
4168
+ },
4169
+ "hasDynamicHelp": false,
4170
+ "hiddenAliases": [],
4171
+ "id": "hardis:doc:extract:permsetgroups",
4172
+ "pluginAlias": "sfdx-hardis",
4173
+ "pluginName": "sfdx-hardis",
4174
+ "pluginType": "core",
4175
+ "strict": true,
4176
+ "enableJsonFlag": true,
4177
+ "title": "Generate project documentation",
4178
+ "requiresProject": true,
4179
+ "isESM": true,
4180
+ "relativePath": [
4181
+ "lib",
4182
+ "commands",
4183
+ "hardis",
4184
+ "doc",
4185
+ "extract",
4186
+ "permsetgroups.js"
4187
+ ],
4188
+ "aliasPermutations": [],
4189
+ "permutations": [
4190
+ "hardis:doc:extract:permsetgroups",
4191
+ "doc:hardis:extract:permsetgroups",
4192
+ "doc:extract:hardis:permsetgroups",
4193
+ "doc:extract:permsetgroups:hardis",
4194
+ "hardis:extract:doc:permsetgroups",
4195
+ "extract:hardis:doc:permsetgroups",
4196
+ "extract:doc:hardis:permsetgroups",
4197
+ "extract:doc:permsetgroups:hardis",
4198
+ "hardis:extract:permsetgroups:doc",
4199
+ "extract:hardis:permsetgroups:doc",
4200
+ "extract:permsetgroups:hardis:doc",
4201
+ "extract:permsetgroups:doc:hardis",
4202
+ "hardis:doc:permsetgroups:extract",
4203
+ "doc:hardis:permsetgroups:extract",
4204
+ "doc:permsetgroups:hardis:extract",
4205
+ "doc:permsetgroups:extract:hardis",
4206
+ "hardis:permsetgroups:doc:extract",
4207
+ "permsetgroups:hardis:doc:extract",
4208
+ "permsetgroups:doc:hardis:extract",
4209
+ "permsetgroups:doc:extract:hardis",
4210
+ "hardis:permsetgroups:extract:doc",
4211
+ "permsetgroups:hardis:extract:doc",
4212
+ "permsetgroups:extract:hardis:doc",
4213
+ "permsetgroups:extract:doc:hardis"
4214
+ ]
4215
+ },
4117
4216
  "hardis:doc:plugin:generate": {
4118
4217
  "aliases": [],
4119
4218
  "args": {},
@@ -4334,105 +4433,6 @@
4334
4433
  "extract:pull-requests:git:hardis"
4335
4434
  ]
4336
4435
  },
4337
- "hardis:doc:extract:permsetgroups": {
4338
- "aliases": [],
4339
- "args": {},
4340
- "description": "Generate markdown files with project documentation",
4341
- "examples": [
4342
- "$ sf hardis:doc:extract:permsetgroups"
4343
- ],
4344
- "flags": {
4345
- "json": {
4346
- "description": "Format output as json.",
4347
- "helpGroup": "GLOBAL",
4348
- "name": "json",
4349
- "allowNo": false,
4350
- "type": "boolean"
4351
- },
4352
- "flags-dir": {
4353
- "helpGroup": "GLOBAL",
4354
- "name": "flags-dir",
4355
- "summary": "Import flag values from a directory.",
4356
- "hasDynamicHelp": false,
4357
- "multiple": false,
4358
- "type": "option"
4359
- },
4360
- "outputfile": {
4361
- "char": "f",
4362
- "description": "Force the path and name of output report file. Must end with .csv",
4363
- "name": "outputfile",
4364
- "hasDynamicHelp": false,
4365
- "multiple": false,
4366
- "type": "option"
4367
- },
4368
- "debug": {
4369
- "char": "d",
4370
- "description": "Activate debug mode (more logs)",
4371
- "name": "debug",
4372
- "allowNo": false,
4373
- "type": "boolean"
4374
- },
4375
- "websocket": {
4376
- "description": "Websocket host:port for VsCode SFDX Hardis UI integration",
4377
- "name": "websocket",
4378
- "hasDynamicHelp": false,
4379
- "multiple": false,
4380
- "type": "option"
4381
- },
4382
- "skipauth": {
4383
- "description": "Skip authentication check when a default username is required",
4384
- "name": "skipauth",
4385
- "allowNo": false,
4386
- "type": "boolean"
4387
- }
4388
- },
4389
- "hasDynamicHelp": false,
4390
- "hiddenAliases": [],
4391
- "id": "hardis:doc:extract:permsetgroups",
4392
- "pluginAlias": "sfdx-hardis",
4393
- "pluginName": "sfdx-hardis",
4394
- "pluginType": "core",
4395
- "strict": true,
4396
- "enableJsonFlag": true,
4397
- "title": "Generate project documentation",
4398
- "requiresProject": true,
4399
- "isESM": true,
4400
- "relativePath": [
4401
- "lib",
4402
- "commands",
4403
- "hardis",
4404
- "doc",
4405
- "extract",
4406
- "permsetgroups.js"
4407
- ],
4408
- "aliasPermutations": [],
4409
- "permutations": [
4410
- "hardis:doc:extract:permsetgroups",
4411
- "doc:hardis:extract:permsetgroups",
4412
- "doc:extract:hardis:permsetgroups",
4413
- "doc:extract:permsetgroups:hardis",
4414
- "hardis:extract:doc:permsetgroups",
4415
- "extract:hardis:doc:permsetgroups",
4416
- "extract:doc:hardis:permsetgroups",
4417
- "extract:doc:permsetgroups:hardis",
4418
- "hardis:extract:permsetgroups:doc",
4419
- "extract:hardis:permsetgroups:doc",
4420
- "extract:permsetgroups:hardis:doc",
4421
- "extract:permsetgroups:doc:hardis",
4422
- "hardis:doc:permsetgroups:extract",
4423
- "doc:hardis:permsetgroups:extract",
4424
- "doc:permsetgroups:hardis:extract",
4425
- "doc:permsetgroups:extract:hardis",
4426
- "hardis:permsetgroups:doc:extract",
4427
- "permsetgroups:hardis:doc:extract",
4428
- "permsetgroups:doc:hardis:extract",
4429
- "permsetgroups:doc:extract:hardis",
4430
- "hardis:permsetgroups:extract:doc",
4431
- "permsetgroups:hardis:extract:doc",
4432
- "permsetgroups:extract:hardis:doc",
4433
- "permsetgroups:extract:doc:hardis"
4434
- ]
4435
- },
4436
4436
  "hardis:org:community:update": {
4437
4437
  "aliases": [],
4438
4438
  "args": {},
@@ -5199,7 +5199,7 @@
5199
5199
  "hardis:org:diagnose:audittrail": {
5200
5200
  "aliases": [],
5201
5201
  "args": {},
5202
- "description": "Export Audit trail into a CSV file with selected criteria, and highlight suspect actions\n\nRegular setup actions performed in major orgs are filtered.\n\n- \"\"\n - createScratchOrg\n - changedsenderemail\n - deleteScratchOrg\n - loginasgrantedtopartnerbt\n- Certificate and Key Management\n - insertCertificate\n- Custom App Licenses\n - addeduserpackagelicense\n - granteduserpackagelicense\n- Customer Portal\n - createdcustomersuccessuser\n- Currency\n - updateddatedexchrate\n- Data Management\n - queueMembership\n- Email Administration\n - dkimRotationPreparationSuccessful\n - dkimRotationSuccessful\n- Groups\n - groupMembership\n- Holidays\n - holiday_insert\n- Inbox mobile and legacy desktop apps\n - enableSIQUserNonEAC\n- Manage Users\n - activateduser\n - createduser\n - changedcommunitynickname\n - changedemail\n - changedfederationid\n - changedpassword\n - changedinteractionuseroffon\n - changedinteractionuseronoff\n - changedmarketinguseroffon\n - changedmarketinguseronoff\n - changedprofileforuser\n - changedprofileforusercusttostd\n - changedprofileforuserstdtocust\n - changedroleforusertonone\n - changedroleforuser\n - changedroleforuserfromnone\n - changedUserEmailVerifiedStatusUnverified\n - changedUserEmailVerifiedStatusVerified\n - changedUserPhoneNumber\n - changedUserPhoneVerifiedStatusUnverified\n - deactivateduser\n - deleteAuthenticatorPairing\n - deleteTwoFactorInfo2\n - deleteTwoFactorTempCode\n - frozeuser\n - insertAuthenticatorPairing\n - insertTwoFactorInfo2\n - insertTwoFactorTempCode\n - lightningloginenroll\n - PermSetAssign\n - PermSetGroupAssign\n - PermSetGroupUnassign\n - PermSetLicenseAssign\n - PermSetUnassign\n - PermSetLicenseUnassign\n - registeredUserPhoneNumber\n - resetpassword\n - suOrgAdminLogin\n - suOrgAdminLogout\n - unfrozeuser\n - useremailchangesent\n- Mobile Administration\n - assigneduserstomobileconfig\n- Reporting Snapshots\n - createdReportJob\n - deletedReportJob\n- Sandboxes\n - DeleteSandbox\n\nBy default, deployment user defined in .sfdx-hardis.yml targetUsername property will be excluded.\n\nYou can define additional users to exclude in .sfdx-hardis.yml **monitoringExcludeUsernames** property.\n\nYou can also add more sections / actions considered as not suspect using property **monitoringAllowedSectionsActions**\n\nExample:\n\n```yaml\nmonitoringExcludeUsernames:\n - deploymentuser@cloudity.com\n - marketingcloud@cloudity.com\n - integration-user@cloudity.com\n\nmonitoringAllowedSectionsActions:\n \"Some section\": [] // Will ignore all actions from such section\n \"Some other section\": [\"actionType1\",\"actionType2\",\"actionType3\"] // Will ignore only those 3 actions from section \"Some other section\". Other actions in the same section will be considered as suspect.\n```\n\nThis command is part of [sfdx-hardis Monitoring](https://sfdx-hardis.cloudity.com/salesforce-monitoring-suspect-audit-trail/) and can output Grafana, Slack and MsTeams Notifications.\n",
5202
+ "description": "Export Audit trail into a CSV file with selected criteria, and highlight suspect actions\n\nRegular setup actions performed in major orgs are filtered.\n\n- \"\"\n - createScratchOrg\n - changedsenderemail\n - deleteScratchOrg\n - loginasgrantedtopartnerbt\n- Certificate and Key Management\n - insertCertificate\n- Custom App Licenses\n - addeduserpackagelicense\n - granteduserpackagelicense\n - revokeduserpackagelicense\n- Customer Portal\n - createdcustomersuccessuser\n - CSPUserDisabled\n- Currency\n - updateddatedexchrate\n- Data Management\n - queueMembership\n- Email Administration\n - dkimRotationPreparationSuccessful\n - dkimRotationSuccessful\n- Groups\n - groupMembership\n- Holidays\n - holiday_insert\n- Inbox mobile and legacy desktop apps\n - enableSIQUserNonEAC\n- Manage Users\n - activateduser\n - createduser\n - changedcommunitynickname\n - changedemail\n - changedfederationid\n - changedpassword\n - changedinteractionuseroffon\n - changedinteractionuseronoff\n - changedmarketinguseroffon\n - changedmarketinguseronoff\n - changedprofileforuser\n - changedprofileforusercusttostd\n - changedprofileforuserstdtocust\n - changedroleforusertonone\n - changedroleforuser\n - changedroleforuserfromnone\n - changedUserEmailVerifiedStatusUnverified\n - changedUserEmailVerifiedStatusVerified\n - changedknowledgeuseroffon\n - changedsupportuseroffon\n - changedUserPhoneNumber\n - changedUserPhoneVerifiedStatusUnverified\n - deactivateduser\n - deleteAuthenticatorPairing\n - deleteTwoFactorInfo2\n - deleteTwoFactorTempCode\n - frozeuser\n - insertAuthenticatorPairing\n - insertTwoFactorInfo2\n - insertTwoFactorTempCode\n - lightningloginenroll\n - PermSetAssign\n - PermSetGroupAssign\n - PermSetGroupUnassign\n - PermSetLicenseAssign\n - PermSetUnassign\n - PermSetLicenseUnassign\n - registeredUserPhoneNumber\n - resetpassword\n - suNetworkAdminLogin\n - suNetworkAdminLogout\n - suOrgAdminLogin\n - suOrgAdminLogout\n - unfrozeuser\n - useremailchangesent\n- Mobile Administration\n - assigneduserstomobileconfig\n- Reporting Snapshots\n - createdReportJob\n - deletedReportJob\n- Sandboxes\n - DeleteSandbox\n\nBy default, deployment user defined in .sfdx-hardis.yml targetUsername property will be excluded.\n\nYou can define additional users to exclude in .sfdx-hardis.yml **monitoringExcludeUsernames** property.\n\nYou can also add more sections / actions considered as not suspect using property **monitoringAllowedSectionsActions**\n\nExample:\n\n```yaml\nmonitoringExcludeUsernames:\n - deploymentuser@cloudity.com\n - marketingcloud@cloudity.com\n - integration-user@cloudity.com\n\nmonitoringAllowedSectionsActions:\n \"Some section\": [] // Will ignore all actions from such section\n \"Some other section\": [\"actionType1\",\"actionType2\",\"actionType3\"] // Will ignore only those 3 actions from section \"Some other section\". Other actions in the same section will be considered as suspect.\n```\n\n## Excel output example\n\n![](https://github.com/hardisgroupcom/sfdx-hardis/raw/main/docs/assets/images/screenshot-monitoring-audittrail-excel.jpg)\n\n## Local output example\n\n![](https://github.com/hardisgroupcom/sfdx-hardis/raw/main/docs/assets/images/screenshot-monitoring-audittrail-local.jpg)\n\nThis command is part of [sfdx-hardis Monitoring](https://sfdx-hardis.cloudity.com/salesforce-monitoring-suspect-audit-trail/) and can output Grafana, Slack and MsTeams Notifications.\n",
5203
5203
  "examples": [
5204
5204
  "$ sf hardis:org:diagnose:audittrail",
5205
5205
  "$ sf hardis:org:diagnose:audittrail --excludeusers baptiste@titi.com",
@@ -14525,5 +14525,5 @@
14525
14525
  ]
14526
14526
  }
14527
14527
  },
14528
- "version": "5.27.0"
14528
+ "version": "5.28.1"
14529
14529
  }