sfdx-hardis 6.9.1-alpha202510270034.0 → 6.10.0
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/CHANGELOG.md +4 -3
- package/lib/commands/hardis/org/diagnose/storage-stats.d.ts +18 -0
- package/lib/commands/hardis/org/diagnose/storage-stats.js +278 -0
- package/lib/commands/hardis/org/diagnose/storage-stats.js.map +1 -0
- package/lib/commands/hardis/project/deploy/notify.js +23 -19
- package/lib/commands/hardis/project/deploy/notify.js.map +1 -1
- package/lib/commands/hardis/project/deploy/quick.js +2 -3
- package/lib/commands/hardis/project/deploy/quick.js.map +1 -1
- package/lib/commands/hardis/project/deploy/start.js +5 -4
- package/lib/commands/hardis/project/deploy/start.js.map +1 -1
- package/lib/commands/hardis/project/deploy/validate.js +3 -4
- package/lib/commands/hardis/project/deploy/validate.js.map +1 -1
- package/lib/commands/hardis/source/deploy.js +3 -4
- package/lib/commands/hardis/source/deploy.js.map +1 -1
- package/lib/common/gitProvider/azureDevops.d.ts +0 -1
- package/lib/common/gitProvider/azureDevops.js +3 -71
- package/lib/common/gitProvider/azureDevops.js.map +1 -1
- package/lib/common/gitProvider/bitbucket.d.ts +0 -1
- package/lib/common/gitProvider/bitbucket.js +2 -81
- package/lib/common/gitProvider/bitbucket.js.map +1 -1
- package/lib/common/gitProvider/gitProviderRoot.d.ts +0 -1
- package/lib/common/gitProvider/gitProviderRoot.js +0 -6
- package/lib/common/gitProvider/gitProviderRoot.js.map +1 -1
- package/lib/common/gitProvider/github.d.ts +0 -1
- package/lib/common/gitProvider/github.js +1 -74
- package/lib/common/gitProvider/github.js.map +1 -1
- package/lib/common/gitProvider/gitlab.d.ts +0 -3
- package/lib/common/gitProvider/gitlab.js +2 -110
- package/lib/common/gitProvider/gitlab.js.map +1 -1
- package/lib/common/gitProvider/index.d.ts +1 -1
- package/lib/common/gitProvider/index.js +5 -12
- package/lib/common/gitProvider/index.js.map +1 -1
- package/lib/common/utils/dataUtils.d.ts +2 -2
- package/lib/common/utils/dataUtils.js +1 -5
- package/lib/common/utils/dataUtils.js.map +1 -1
- package/lib/common/utils/deployTips.js +1 -2
- package/lib/common/utils/deployTips.js.map +1 -1
- package/lib/common/utils/deployUtils.d.ts +7 -0
- package/lib/common/utils/deployUtils.js +75 -28
- package/lib/common/utils/deployUtils.js.map +1 -1
- package/lib/common/utils/gitUtils.d.ts +0 -2
- package/lib/common/utils/gitUtils.js +1 -7
- package/lib/common/utils/gitUtils.js.map +1 -1
- package/oclif.manifest.json +663 -549
- package/package.json +1 -1
- package/lib/common/actionsProvider/actionsProvider.d.ts +0 -37
- package/lib/common/actionsProvider/actionsProvider.js +0 -56
- package/lib/common/actionsProvider/actionsProvider.js.map +0 -1
- package/lib/common/actionsProvider/apexAction.d.ts +0 -6
- package/lib/common/actionsProvider/apexAction.js +0 -35
- package/lib/common/actionsProvider/apexAction.js.map +0 -1
- package/lib/common/actionsProvider/commandAction.d.ts +0 -6
- package/lib/common/actionsProvider/commandAction.js +0 -28
- package/lib/common/actionsProvider/commandAction.js.map +0 -1
- package/lib/common/actionsProvider/dataAction.d.ts +0 -6
- package/lib/common/actionsProvider/dataAction.js +0 -43
- package/lib/common/actionsProvider/dataAction.js.map +0 -1
- package/lib/common/actionsProvider/manualAction.d.ts +0 -6
- package/lib/common/actionsProvider/manualAction.js +0 -26
- package/lib/common/actionsProvider/manualAction.js.map +0 -1
- package/lib/common/actionsProvider/publishCommunityAction.d.ts +0 -6
- package/lib/common/actionsProvider/publishCommunityAction.js +0 -30
- package/lib/common/actionsProvider/publishCommunityAction.js.map +0 -1
- package/lib/common/utils/prePostCommandUtils.d.ts +0 -7
- package/lib/common/utils/prePostCommandUtils.js +0 -272
- package/lib/common/utils/prePostCommandUtils.js.map +0 -1
package/oclif.manifest.json
CHANGED
|
@@ -5539,15 +5539,12 @@
|
|
|
5539
5539
|
"import:data:org:hardis"
|
|
5540
5540
|
]
|
|
5541
5541
|
},
|
|
5542
|
-
"hardis:org:
|
|
5542
|
+
"hardis:org:files:export": {
|
|
5543
5543
|
"aliases": [],
|
|
5544
5544
|
"args": {},
|
|
5545
|
-
"description": "
|
|
5545
|
+
"description": "\n## Command Behavior\n\n**Exports file attachments (ContentVersion, Attachment) from a Salesforce org based on a predefined configuration.**\n\nThis command enables the mass download of files associated with Salesforce records, providing a robust solution for backing up files, migrating them to other systems, or integrating them with external document management solutions.\n\nKey functionalities:\n\n- **Configuration-Driven Export:** Relies on an `export.json` file within a designated file export project to define the export criteria, including the SOQL query for parent records, file types to export, output naming conventions, and file size filtering.\n- **File Size Filtering:** Supports minimum file size filtering via the `fileSizeMin` configuration parameter (in KB). Files smaller than the specified size will be skipped during export.\n- **File Validation:** After downloading each file, validates the integrity by:\n - **Checksum Validation:** For ContentVersion files, compares MD5 checksum with Salesforce's stored checksum\n - **Size Validation:** For both ContentVersion and Attachment files, verifies actual file size matches expected size\n - **Status Tracking:** Files are categorized with specific statuses: `success` (valid files), `failed` (download errors), `skipped` (filtered files), `invalid` (downloaded but failed validation)\n - All validation results are logged in the CSV export log for audit purposes\n- **Resume/Restart Capability:** \n - **Resume Mode:** When `--resume` flag is used (default in CI environments), checks existing downloaded files for validity. Valid files are skipped, invalid files are re-downloaded.\n - **Restart Mode:** When resume is disabled, clears the output folder and starts a fresh export.\n - **Interactive Mode:** When existing files are found and `--resume` is not explicitly specified (non-CI environments), prompts the user to choose between resume or restart.\n- **Interactive Project Selection:** If the file export project path is not provided via the `--path` flag, it interactively prompts the user to select one.\n- **Configurable Export Options:** Allows overriding default export settings such as `chunksize` (number of records processed in a batch), `polltimeout` (timeout for Bulk API calls), and `startchunknumber` (to resume a failed export).\n- **Support for ContentVersion and Attachment:** Handles both modern Salesforce Files (ContentVersion) and older Attachments.\n\nSee this article for a practical example:\n\n[](https://nicolas.vuillamy.fr/how-to-mass-download-notes-and-attachments-files-from-a-salesforce-org-83a028824afd)\n\n<details markdown=\"1\">\n<summary>Technical explanations</summary>\n\nThe command's technical implementation involves:\n\n- **FilesExporter Class:** The core logic is encapsulated within the `FilesExporter` class, which orchestrates the entire export process.\n- **SOQL Queries (Bulk API):** It uses Salesforce Bulk API queries to efficiently retrieve large volumes of parent record IDs and file metadata, including checksums and file sizes.\n- **File Download:** Downloads the actual file content from Salesforce.\n- **File Validation:** After each successful download, validates file integrity by comparing checksums (ContentVersion) and file sizes (both ContentVersion and Attachment) against Salesforce metadata.\n- **Resume Logic:** In resume mode, checks for existing files before downloading, validates their integrity, and only re-downloads invalid or missing files. This enables efficient recovery from interrupted exports.\n- **File System Operations:** Writes the downloaded files to the local file system, organizing them into folders based on the configured naming conventions.\n- **Configuration Loading:** Reads the `export.json` file to get the export configuration. It also allows for interactive overriding of these settings.\n- **Interactive Prompts:** Uses `selectFilesWorkspace` to allow the user to choose a file export project, `promptFilesExportConfiguration` for customizing export options, and prompts for resume/restart choice when existing files are found.\n- **Error Handling:** Includes mechanisms to handle potential errors during the export process, such as network issues, API limits, and file validation failures. Each file is assigned a specific status (`success`, `failed`, `skipped`, `invalid`) for comprehensive tracking and troubleshooting.\n</details>\n",
|
|
5546
5546
|
"examples": [
|
|
5547
|
-
"$ sf hardis:org:
|
|
5548
|
-
"$ sf hardis:org:diagnose:audittrail --excludeusers baptiste@titi.com",
|
|
5549
|
-
"$ sf hardis:org:diagnose:audittrail --excludeusers baptiste@titi.com,bertrand@titi.com",
|
|
5550
|
-
"$ sf hardis:org:diagnose:audittrail --lastndays 5"
|
|
5547
|
+
"$ sf hardis:org:files:export"
|
|
5551
5548
|
],
|
|
5552
5549
|
"flags": {
|
|
5553
5550
|
"json": {
|
|
@@ -5565,30 +5562,48 @@
|
|
|
5565
5562
|
"multiple": false,
|
|
5566
5563
|
"type": "option"
|
|
5567
5564
|
},
|
|
5568
|
-
"
|
|
5569
|
-
"char": "
|
|
5570
|
-
"description": "
|
|
5571
|
-
"name": "
|
|
5565
|
+
"path": {
|
|
5566
|
+
"char": "p",
|
|
5567
|
+
"description": "Path to the file export project",
|
|
5568
|
+
"name": "path",
|
|
5572
5569
|
"hasDynamicHelp": false,
|
|
5573
5570
|
"multiple": false,
|
|
5574
5571
|
"type": "option"
|
|
5575
5572
|
},
|
|
5576
|
-
"
|
|
5573
|
+
"chunksize": {
|
|
5574
|
+
"char": "c",
|
|
5575
|
+
"description": "Number of records to add in a chunk before it is processed",
|
|
5576
|
+
"name": "chunksize",
|
|
5577
|
+
"default": 1000,
|
|
5578
|
+
"hasDynamicHelp": false,
|
|
5579
|
+
"multiple": false,
|
|
5580
|
+
"type": "option"
|
|
5581
|
+
},
|
|
5582
|
+
"polltimeout": {
|
|
5577
5583
|
"char": "t",
|
|
5578
|
-
"description": "
|
|
5579
|
-
"name": "
|
|
5584
|
+
"description": "Timeout in MS for Bulk API calls",
|
|
5585
|
+
"name": "polltimeout",
|
|
5586
|
+
"default": 300000,
|
|
5580
5587
|
"hasDynamicHelp": false,
|
|
5581
5588
|
"multiple": false,
|
|
5582
5589
|
"type": "option"
|
|
5583
5590
|
},
|
|
5584
|
-
"
|
|
5585
|
-
"char": "
|
|
5586
|
-
"description": "
|
|
5587
|
-
"name": "
|
|
5591
|
+
"startchunknumber": {
|
|
5592
|
+
"char": "s",
|
|
5593
|
+
"description": "Chunk number to start from",
|
|
5594
|
+
"name": "startchunknumber",
|
|
5595
|
+
"default": 0,
|
|
5588
5596
|
"hasDynamicHelp": false,
|
|
5589
5597
|
"multiple": false,
|
|
5590
5598
|
"type": "option"
|
|
5591
5599
|
},
|
|
5600
|
+
"resume": {
|
|
5601
|
+
"char": "r",
|
|
5602
|
+
"description": "Resume previous export by checking existing files (default in CI)",
|
|
5603
|
+
"name": "resume",
|
|
5604
|
+
"allowNo": false,
|
|
5605
|
+
"type": "boolean"
|
|
5606
|
+
},
|
|
5592
5607
|
"debug": {
|
|
5593
5608
|
"char": "d",
|
|
5594
5609
|
"description": "Activate debug mode (more logs)",
|
|
@@ -5627,13 +5642,13 @@
|
|
|
5627
5642
|
},
|
|
5628
5643
|
"hasDynamicHelp": true,
|
|
5629
5644
|
"hiddenAliases": [],
|
|
5630
|
-
"id": "hardis:org:
|
|
5645
|
+
"id": "hardis:org:files:export",
|
|
5631
5646
|
"pluginAlias": "sfdx-hardis",
|
|
5632
5647
|
"pluginName": "sfdx-hardis",
|
|
5633
5648
|
"pluginType": "core",
|
|
5634
5649
|
"strict": true,
|
|
5635
5650
|
"enableJsonFlag": true,
|
|
5636
|
-
"title": "
|
|
5651
|
+
"title": "Export files",
|
|
5637
5652
|
"requiresProject": false,
|
|
5638
5653
|
"isESM": true,
|
|
5639
5654
|
"relativePath": [
|
|
@@ -5641,43 +5656,43 @@
|
|
|
5641
5656
|
"commands",
|
|
5642
5657
|
"hardis",
|
|
5643
5658
|
"org",
|
|
5644
|
-
"
|
|
5645
|
-
"
|
|
5659
|
+
"files",
|
|
5660
|
+
"export.js"
|
|
5646
5661
|
],
|
|
5647
5662
|
"aliasPermutations": [],
|
|
5648
5663
|
"permutations": [
|
|
5649
|
-
"hardis:org:
|
|
5650
|
-
"org:hardis:
|
|
5651
|
-
"org:
|
|
5652
|
-
"org:
|
|
5653
|
-
"hardis:
|
|
5654
|
-
"
|
|
5655
|
-
"
|
|
5656
|
-
"
|
|
5657
|
-
"hardis:
|
|
5658
|
-
"
|
|
5659
|
-
"
|
|
5660
|
-
"
|
|
5661
|
-
"hardis:org:
|
|
5662
|
-
"org:hardis:
|
|
5663
|
-
"org:
|
|
5664
|
-
"org:
|
|
5665
|
-
"hardis:
|
|
5666
|
-
"
|
|
5667
|
-
"
|
|
5668
|
-
"
|
|
5669
|
-
"hardis:
|
|
5670
|
-
"
|
|
5671
|
-
"
|
|
5672
|
-
"
|
|
5664
|
+
"hardis:org:files:export",
|
|
5665
|
+
"org:hardis:files:export",
|
|
5666
|
+
"org:files:hardis:export",
|
|
5667
|
+
"org:files:export:hardis",
|
|
5668
|
+
"hardis:files:org:export",
|
|
5669
|
+
"files:hardis:org:export",
|
|
5670
|
+
"files:org:hardis:export",
|
|
5671
|
+
"files:org:export:hardis",
|
|
5672
|
+
"hardis:files:export:org",
|
|
5673
|
+
"files:hardis:export:org",
|
|
5674
|
+
"files:export:hardis:org",
|
|
5675
|
+
"files:export:org:hardis",
|
|
5676
|
+
"hardis:org:export:files",
|
|
5677
|
+
"org:hardis:export:files",
|
|
5678
|
+
"org:export:hardis:files",
|
|
5679
|
+
"org:export:files:hardis",
|
|
5680
|
+
"hardis:export:org:files",
|
|
5681
|
+
"export:hardis:org:files",
|
|
5682
|
+
"export:org:hardis:files",
|
|
5683
|
+
"export:org:files:hardis",
|
|
5684
|
+
"hardis:export:files:org",
|
|
5685
|
+
"export:hardis:files:org",
|
|
5686
|
+
"export:files:hardis:org",
|
|
5687
|
+
"export:files:org:hardis"
|
|
5673
5688
|
]
|
|
5674
5689
|
},
|
|
5675
|
-
"hardis:org:
|
|
5690
|
+
"hardis:org:files:import": {
|
|
5676
5691
|
"aliases": [],
|
|
5677
5692
|
"args": {},
|
|
5678
|
-
"description": "\
|
|
5693
|
+
"description": "\nThis command facilitates the mass upload of files into Salesforce, allowing you to populate records with associated documents, images, or other file types. It's a crucial tool for data migration, content seeding, or synchronizing external file repositories with Salesforce.\n\nKey functionalities:\n\n- **Configuration-Driven Import:** Relies on an `export.json` file within a designated file export project (created using `sf hardis:org:configure:files`) to determine which files to import and how they should be associated with Salesforce records.\n- **Interactive Project Selection:** If the file import project path is not provided via the `--path` flag, it interactively prompts the user to select one.\n- **Overwrite Option:** The `--overwrite` flag allows you to replace existing files in Salesforce with local versions that have the same name. Be aware that this option doubles the number of API calls used.\n- **Support for ContentVersion and Attachment:** Handles both modern Salesforce Files (ContentVersion) and older Attachments.\n\nSee this article for how to export files, which is often a prerequisite for importing:\n\n[](https://nicolas.vuillamy.fr/how-to-mass-download-notes-and-attachments-files-from-a-salesforce-org-83a028824afd)\n\n<details markdown=\"1\">\n<summary>Technical explanations</summary>\n\nThe command's technical implementation involves:\n\n- **FilesImporter Class:** The core logic is encapsulated within the `FilesImporter` class, which orchestrates the entire import process.\n- **File System Scan:** Scans the local file system within the configured project directory to identify files for import.\n- **Salesforce API Interaction:** Uses Salesforce APIs (e.g., ContentVersion, Attachment) to upload files and associate them with records.\n- **Configuration Loading:** Reads the `export.json` file to get the import configuration, including SOQL queries to identify parent records for file association.\n- **Interactive Prompts:** Uses `selectFilesWorkspace` to allow the user to choose a file import project and `prompts` for confirming the overwrite behavior.\n- **Error Handling:** Includes mechanisms to handle potential errors during the import process, such as API limits or file upload failures.\n</details>\n",
|
|
5679
5694
|
"examples": [
|
|
5680
|
-
"$ sf hardis:org:
|
|
5695
|
+
"$ sf hardis:org:files:import"
|
|
5681
5696
|
],
|
|
5682
5697
|
"flags": {
|
|
5683
5698
|
"json": {
|
|
@@ -5695,6 +5710,21 @@
|
|
|
5695
5710
|
"multiple": false,
|
|
5696
5711
|
"type": "option"
|
|
5697
5712
|
},
|
|
5713
|
+
"path": {
|
|
5714
|
+
"char": "p",
|
|
5715
|
+
"description": "Path to the file export project",
|
|
5716
|
+
"name": "path",
|
|
5717
|
+
"hasDynamicHelp": false,
|
|
5718
|
+
"multiple": false,
|
|
5719
|
+
"type": "option"
|
|
5720
|
+
},
|
|
5721
|
+
"overwrite": {
|
|
5722
|
+
"char": "f",
|
|
5723
|
+
"description": "Override existing files (doubles the number of API calls)",
|
|
5724
|
+
"name": "overwrite",
|
|
5725
|
+
"allowNo": false,
|
|
5726
|
+
"type": "boolean"
|
|
5727
|
+
},
|
|
5698
5728
|
"debug": {
|
|
5699
5729
|
"char": "d",
|
|
5700
5730
|
"description": "Activate debug mode (more logs)",
|
|
@@ -5733,13 +5763,13 @@
|
|
|
5733
5763
|
},
|
|
5734
5764
|
"hasDynamicHelp": true,
|
|
5735
5765
|
"hiddenAliases": [],
|
|
5736
|
-
"id": "hardis:org:
|
|
5766
|
+
"id": "hardis:org:files:import",
|
|
5737
5767
|
"pluginAlias": "sfdx-hardis",
|
|
5738
5768
|
"pluginName": "sfdx-hardis",
|
|
5739
5769
|
"pluginType": "core",
|
|
5740
5770
|
"strict": true,
|
|
5741
5771
|
"enableJsonFlag": true,
|
|
5742
|
-
"title": "
|
|
5772
|
+
"title": "Import files",
|
|
5743
5773
|
"requiresProject": false,
|
|
5744
5774
|
"isESM": true,
|
|
5745
5775
|
"relativePath": [
|
|
@@ -5747,46 +5777,46 @@
|
|
|
5747
5777
|
"commands",
|
|
5748
5778
|
"hardis",
|
|
5749
5779
|
"org",
|
|
5750
|
-
"
|
|
5751
|
-
"
|
|
5780
|
+
"files",
|
|
5781
|
+
"import.js"
|
|
5752
5782
|
],
|
|
5753
5783
|
"aliasPermutations": [],
|
|
5754
5784
|
"permutations": [
|
|
5755
|
-
"hardis:org:
|
|
5756
|
-
"org:hardis:
|
|
5757
|
-
"org:
|
|
5758
|
-
"org:
|
|
5759
|
-
"hardis:
|
|
5760
|
-
"
|
|
5761
|
-
"
|
|
5762
|
-
"
|
|
5763
|
-
"hardis:
|
|
5764
|
-
"
|
|
5765
|
-
"
|
|
5766
|
-
"
|
|
5767
|
-
"hardis:org:
|
|
5768
|
-
"org:hardis:
|
|
5769
|
-
"org:
|
|
5770
|
-
"org:
|
|
5771
|
-
"hardis:
|
|
5772
|
-
"
|
|
5773
|
-
"
|
|
5774
|
-
"
|
|
5775
|
-
"hardis:
|
|
5776
|
-
"
|
|
5777
|
-
"
|
|
5778
|
-
"
|
|
5785
|
+
"hardis:org:files:import",
|
|
5786
|
+
"org:hardis:files:import",
|
|
5787
|
+
"org:files:hardis:import",
|
|
5788
|
+
"org:files:import:hardis",
|
|
5789
|
+
"hardis:files:org:import",
|
|
5790
|
+
"files:hardis:org:import",
|
|
5791
|
+
"files:org:hardis:import",
|
|
5792
|
+
"files:org:import:hardis",
|
|
5793
|
+
"hardis:files:import:org",
|
|
5794
|
+
"files:hardis:import:org",
|
|
5795
|
+
"files:import:hardis:org",
|
|
5796
|
+
"files:import:org:hardis",
|
|
5797
|
+
"hardis:org:import:files",
|
|
5798
|
+
"org:hardis:import:files",
|
|
5799
|
+
"org:import:hardis:files",
|
|
5800
|
+
"org:import:files:hardis",
|
|
5801
|
+
"hardis:import:org:files",
|
|
5802
|
+
"import:hardis:org:files",
|
|
5803
|
+
"import:org:hardis:files",
|
|
5804
|
+
"import:org:files:hardis",
|
|
5805
|
+
"hardis:import:files:org",
|
|
5806
|
+
"import:hardis:files:org",
|
|
5807
|
+
"import:files:hardis:org",
|
|
5808
|
+
"import:files:org:hardis"
|
|
5779
5809
|
]
|
|
5780
5810
|
},
|
|
5781
|
-
"hardis:org:diagnose:
|
|
5811
|
+
"hardis:org:diagnose:audittrail": {
|
|
5782
5812
|
"aliases": [],
|
|
5783
5813
|
"args": {},
|
|
5784
|
-
"description": "
|
|
5814
|
+
"description": "Export Audit trail into a CSV file with selected criteria, and highlight suspect actions\n\nAlso detects updates of Custom Settings values (disable by defining `SKIP_AUDIT_TRAIL_CUSTOM_SETTINGS=true`)\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- External Objects\n - xdsEncryptedFieldChange\n- Groups\n - groupMembership\n- Holidays\n - holiday_insert\n- Inbox mobile and legacy desktop apps\n - enableSIQUserNonEAC\n - siqUserAcceptedTOS\n- Manage Users\n - activateduser\n - createduser\n - changedcommunitynickname\n - changedemail\n - changedfederationid\n - changedpassword\n - changedinteractionuseroffon\n - changedinteractionuseronoff\n - changedmarketinguseroffon\n - changedmarketinguseronoff\n - changedofflineuseroffon\n - changedprofileforuserstdtostd\n - changedprofileforuser\n - changedprofileforusercusttostd\n - changedprofileforuserstdtocust\n - changedroleforusertonone\n - changedroleforuser\n - changedroleforuserfromnone\n - changedUserAdminVerifiedStatusVerified\n - changedUserEmailVerifiedStatusUnverified\n - changedUserEmailVerifiedStatusVerified\n - changedknowledgeuseroffon\n - changedsfcontentuseroffon\n - changedsupportuseroffon\n - changedusername\n - changedUserPhoneNumber\n - changedUserPhoneVerifiedStatusUnverified\n - changedUserPhoneVerifiedStatusVerified\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\n\n## Local output example\n\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",
|
|
5785
5815
|
"examples": [
|
|
5786
|
-
"$ sf hardis:org:diagnose:
|
|
5787
|
-
"$ sf hardis:org:diagnose:
|
|
5788
|
-
"$ sf hardis:org:diagnose:
|
|
5789
|
-
"$ sf hardis:org:diagnose:
|
|
5816
|
+
"$ sf hardis:org:diagnose:audittrail",
|
|
5817
|
+
"$ sf hardis:org:diagnose:audittrail --excludeusers baptiste@titi.com",
|
|
5818
|
+
"$ sf hardis:org:diagnose:audittrail --excludeusers baptiste@titi.com,bertrand@titi.com",
|
|
5819
|
+
"$ sf hardis:org:diagnose:audittrail --lastndays 5"
|
|
5790
5820
|
],
|
|
5791
5821
|
"flags": {
|
|
5792
5822
|
"json": {
|
|
@@ -5804,20 +5834,18 @@
|
|
|
5804
5834
|
"multiple": false,
|
|
5805
5835
|
"type": "option"
|
|
5806
5836
|
},
|
|
5807
|
-
"
|
|
5837
|
+
"excludeusers": {
|
|
5808
5838
|
"char": "e",
|
|
5809
|
-
"description": "
|
|
5810
|
-
"name": "
|
|
5811
|
-
"default": "ApiTotalUsage",
|
|
5839
|
+
"description": "Comma-separated list of usernames to exclude",
|
|
5840
|
+
"name": "excludeusers",
|
|
5812
5841
|
"hasDynamicHelp": false,
|
|
5813
5842
|
"multiple": false,
|
|
5814
5843
|
"type": "option"
|
|
5815
5844
|
},
|
|
5816
|
-
"
|
|
5817
|
-
"char": "
|
|
5818
|
-
"description": "Number of
|
|
5819
|
-
"name": "
|
|
5820
|
-
"default": 999,
|
|
5845
|
+
"lastndays": {
|
|
5846
|
+
"char": "t",
|
|
5847
|
+
"description": "Number of days to extract from today (included)",
|
|
5848
|
+
"name": "lastndays",
|
|
5821
5849
|
"hasDynamicHelp": false,
|
|
5822
5850
|
"multiple": false,
|
|
5823
5851
|
"type": "option"
|
|
@@ -5868,13 +5896,13 @@
|
|
|
5868
5896
|
},
|
|
5869
5897
|
"hasDynamicHelp": true,
|
|
5870
5898
|
"hiddenAliases": [],
|
|
5871
|
-
"id": "hardis:org:diagnose:
|
|
5899
|
+
"id": "hardis:org:diagnose:audittrail",
|
|
5872
5900
|
"pluginAlias": "sfdx-hardis",
|
|
5873
5901
|
"pluginName": "sfdx-hardis",
|
|
5874
5902
|
"pluginType": "core",
|
|
5875
5903
|
"strict": true,
|
|
5876
5904
|
"enableJsonFlag": true,
|
|
5877
|
-
"title": "
|
|
5905
|
+
"title": "Diagnose content of Setup Audit Trail",
|
|
5878
5906
|
"requiresProject": false,
|
|
5879
5907
|
"isESM": true,
|
|
5880
5908
|
"relativePath": [
|
|
@@ -5883,50 +5911,50 @@
|
|
|
5883
5911
|
"hardis",
|
|
5884
5912
|
"org",
|
|
5885
5913
|
"diagnose",
|
|
5886
|
-
"
|
|
5914
|
+
"audittrail.js"
|
|
5887
5915
|
],
|
|
5888
5916
|
"aliasPermutations": [],
|
|
5889
5917
|
"permutations": [
|
|
5890
|
-
"hardis:org:diagnose:
|
|
5891
|
-
"org:hardis:diagnose:
|
|
5892
|
-
"org:diagnose:hardis:
|
|
5893
|
-
"org:diagnose:
|
|
5894
|
-
"hardis:diagnose:org:
|
|
5895
|
-
"diagnose:hardis:org:
|
|
5896
|
-
"diagnose:org:hardis:
|
|
5897
|
-
"diagnose:org:
|
|
5898
|
-
"hardis:diagnose:
|
|
5899
|
-
"diagnose:hardis:
|
|
5900
|
-
"diagnose:
|
|
5901
|
-
"diagnose:
|
|
5902
|
-
"hardis:org:
|
|
5903
|
-
"org:hardis:
|
|
5904
|
-
"org:
|
|
5905
|
-
"org:
|
|
5906
|
-
"hardis:
|
|
5907
|
-
"
|
|
5908
|
-
"
|
|
5909
|
-
"
|
|
5910
|
-
"hardis:
|
|
5911
|
-
"
|
|
5912
|
-
"
|
|
5913
|
-
"
|
|
5914
|
-
]
|
|
5915
|
-
},
|
|
5916
|
-
"hardis:org:diagnose:
|
|
5917
|
-
"aliases": [],
|
|
5918
|
-
"args": {},
|
|
5919
|
-
"description": "\n
|
|
5920
|
-
"examples": [
|
|
5921
|
-
"$ sf hardis:org:diagnose:
|
|
5922
|
-
],
|
|
5923
|
-
"flags": {
|
|
5924
|
-
"json": {
|
|
5925
|
-
"description": "Format output as json.",
|
|
5926
|
-
"helpGroup": "GLOBAL",
|
|
5927
|
-
"name": "json",
|
|
5928
|
-
"allowNo": false,
|
|
5929
|
-
"type": "boolean"
|
|
5918
|
+
"hardis:org:diagnose:audittrail",
|
|
5919
|
+
"org:hardis:diagnose:audittrail",
|
|
5920
|
+
"org:diagnose:hardis:audittrail",
|
|
5921
|
+
"org:diagnose:audittrail:hardis",
|
|
5922
|
+
"hardis:diagnose:org:audittrail",
|
|
5923
|
+
"diagnose:hardis:org:audittrail",
|
|
5924
|
+
"diagnose:org:hardis:audittrail",
|
|
5925
|
+
"diagnose:org:audittrail:hardis",
|
|
5926
|
+
"hardis:diagnose:audittrail:org",
|
|
5927
|
+
"diagnose:hardis:audittrail:org",
|
|
5928
|
+
"diagnose:audittrail:hardis:org",
|
|
5929
|
+
"diagnose:audittrail:org:hardis",
|
|
5930
|
+
"hardis:org:audittrail:diagnose",
|
|
5931
|
+
"org:hardis:audittrail:diagnose",
|
|
5932
|
+
"org:audittrail:hardis:diagnose",
|
|
5933
|
+
"org:audittrail:diagnose:hardis",
|
|
5934
|
+
"hardis:audittrail:org:diagnose",
|
|
5935
|
+
"audittrail:hardis:org:diagnose",
|
|
5936
|
+
"audittrail:org:hardis:diagnose",
|
|
5937
|
+
"audittrail:org:diagnose:hardis",
|
|
5938
|
+
"hardis:audittrail:diagnose:org",
|
|
5939
|
+
"audittrail:hardis:diagnose:org",
|
|
5940
|
+
"audittrail:diagnose:hardis:org",
|
|
5941
|
+
"audittrail:diagnose:org:hardis"
|
|
5942
|
+
]
|
|
5943
|
+
},
|
|
5944
|
+
"hardis:org:diagnose:instanceupgrade": {
|
|
5945
|
+
"aliases": [],
|
|
5946
|
+
"args": {},
|
|
5947
|
+
"description": "\n## Command Behavior\n\n**Retrieves and displays the scheduled upgrade date for a Salesforce org's instance.**\n\nThis command provides crucial information about when your Salesforce instance will be upgraded to the next major release (Spring, Summer, or Winter). This is vital for release planning, testing, and ensuring compatibility with upcoming Salesforce features.\n\nKey functionalities:\n\n- **Instance Identification:** Determines the Salesforce instance name of your target org.\n- **Upgrade Date Retrieval:** Fetches the planned start time of the next major core service upgrade for that instance from the Salesforce Status API.\n- **Days Until Upgrade:** Calculates and displays the number of days remaining until the next major upgrade.\n- **Severity-Based Logging:** Adjusts the log severity (info, warning) based on the proximity of the upgrade date, providing a visual cue for urgency.\n- **Notifications:** Sends notifications to configured channels (e.g., Slack, MS Teams, Grafana) with the upgrade information, making it suitable for automated monitoring.\n\n<details markdown=\"1\">\n<summary>Technical explanations</summary>\n\nThe command's technical implementation involves:\n\n- **Salesforce SOQL Query:** It first queries the `Organization` object in Salesforce to get the `InstanceName` of the target org.\n- **Salesforce Status API Integration:** It makes an HTTP GET request to the Salesforce Status API (`https://api.status.salesforce.com/v1/instances/{instanceName}/status`) to retrieve detailed information about the instance, including scheduled maintenances.\n- **Data Parsing:** It parses the JSON response from the Status API to extract the relevant major release upgrade information.\n- **Date Calculation:** Uses the `moment` library to calculate the difference in days between the current date and the planned upgrade date.\n- **Notification Integration:** It integrates with the `NotifProvider` to send notifications, including the instance name, upgrade date, and days remaining, along with relevant metrics for monitoring dashboards.\n- **User Feedback:** Provides clear messages to the user about the upgrade status and proximity.\n</details>\n",
|
|
5948
|
+
"examples": [
|
|
5949
|
+
"$ sf hardis:org:diagnose:instanceupgrade"
|
|
5950
|
+
],
|
|
5951
|
+
"flags": {
|
|
5952
|
+
"json": {
|
|
5953
|
+
"description": "Format output as json.",
|
|
5954
|
+
"helpGroup": "GLOBAL",
|
|
5955
|
+
"name": "json",
|
|
5956
|
+
"allowNo": false,
|
|
5957
|
+
"type": "boolean"
|
|
5930
5958
|
},
|
|
5931
5959
|
"flags-dir": {
|
|
5932
5960
|
"helpGroup": "GLOBAL",
|
|
@@ -5936,21 +5964,6 @@
|
|
|
5936
5964
|
"multiple": false,
|
|
5937
5965
|
"type": "option"
|
|
5938
5966
|
},
|
|
5939
|
-
"outputfile": {
|
|
5940
|
-
"char": "f",
|
|
5941
|
-
"description": "Force the path and name of output report file. Must end with .csv",
|
|
5942
|
-
"name": "outputfile",
|
|
5943
|
-
"hasDynamicHelp": false,
|
|
5944
|
-
"multiple": false,
|
|
5945
|
-
"type": "option"
|
|
5946
|
-
},
|
|
5947
|
-
"usedonly": {
|
|
5948
|
-
"char": "u",
|
|
5949
|
-
"description": "Filter to have only used licenses",
|
|
5950
|
-
"name": "usedonly",
|
|
5951
|
-
"allowNo": false,
|
|
5952
|
-
"type": "boolean"
|
|
5953
|
-
},
|
|
5954
5967
|
"debug": {
|
|
5955
5968
|
"char": "d",
|
|
5956
5969
|
"description": "Activate debug mode (more logs)",
|
|
@@ -5989,13 +6002,13 @@
|
|
|
5989
6002
|
},
|
|
5990
6003
|
"hasDynamicHelp": true,
|
|
5991
6004
|
"hiddenAliases": [],
|
|
5992
|
-
"id": "hardis:org:diagnose:
|
|
6005
|
+
"id": "hardis:org:diagnose:instanceupgrade",
|
|
5993
6006
|
"pluginAlias": "sfdx-hardis",
|
|
5994
6007
|
"pluginName": "sfdx-hardis",
|
|
5995
6008
|
"pluginType": "core",
|
|
5996
6009
|
"strict": true,
|
|
5997
6010
|
"enableJsonFlag": true,
|
|
5998
|
-
"title": "
|
|
6011
|
+
"title": "Get Instance Upgrade date",
|
|
5999
6012
|
"requiresProject": false,
|
|
6000
6013
|
"isESM": true,
|
|
6001
6014
|
"relativePath": [
|
|
@@ -6004,42 +6017,45 @@
|
|
|
6004
6017
|
"hardis",
|
|
6005
6018
|
"org",
|
|
6006
6019
|
"diagnose",
|
|
6007
|
-
"
|
|
6020
|
+
"instanceupgrade.js"
|
|
6008
6021
|
],
|
|
6009
6022
|
"aliasPermutations": [],
|
|
6010
6023
|
"permutations": [
|
|
6011
|
-
"hardis:org:diagnose:
|
|
6012
|
-
"org:hardis:diagnose:
|
|
6013
|
-
"org:diagnose:hardis:
|
|
6014
|
-
"org:diagnose:
|
|
6015
|
-
"hardis:diagnose:org:
|
|
6016
|
-
"diagnose:hardis:org:
|
|
6017
|
-
"diagnose:org:hardis:
|
|
6018
|
-
"diagnose:org:
|
|
6019
|
-
"hardis:diagnose:
|
|
6020
|
-
"diagnose:hardis:
|
|
6021
|
-
"diagnose:
|
|
6022
|
-
"diagnose:
|
|
6023
|
-
"hardis:org:
|
|
6024
|
-
"org:hardis:
|
|
6025
|
-
"org:
|
|
6026
|
-
"org:
|
|
6027
|
-
"hardis:
|
|
6028
|
-
"
|
|
6029
|
-
"
|
|
6030
|
-
"
|
|
6031
|
-
"hardis:
|
|
6032
|
-
"
|
|
6033
|
-
"
|
|
6034
|
-
"
|
|
6024
|
+
"hardis:org:diagnose:instanceupgrade",
|
|
6025
|
+
"org:hardis:diagnose:instanceupgrade",
|
|
6026
|
+
"org:diagnose:hardis:instanceupgrade",
|
|
6027
|
+
"org:diagnose:instanceupgrade:hardis",
|
|
6028
|
+
"hardis:diagnose:org:instanceupgrade",
|
|
6029
|
+
"diagnose:hardis:org:instanceupgrade",
|
|
6030
|
+
"diagnose:org:hardis:instanceupgrade",
|
|
6031
|
+
"diagnose:org:instanceupgrade:hardis",
|
|
6032
|
+
"hardis:diagnose:instanceupgrade:org",
|
|
6033
|
+
"diagnose:hardis:instanceupgrade:org",
|
|
6034
|
+
"diagnose:instanceupgrade:hardis:org",
|
|
6035
|
+
"diagnose:instanceupgrade:org:hardis",
|
|
6036
|
+
"hardis:org:instanceupgrade:diagnose",
|
|
6037
|
+
"org:hardis:instanceupgrade:diagnose",
|
|
6038
|
+
"org:instanceupgrade:hardis:diagnose",
|
|
6039
|
+
"org:instanceupgrade:diagnose:hardis",
|
|
6040
|
+
"hardis:instanceupgrade:org:diagnose",
|
|
6041
|
+
"instanceupgrade:hardis:org:diagnose",
|
|
6042
|
+
"instanceupgrade:org:hardis:diagnose",
|
|
6043
|
+
"instanceupgrade:org:diagnose:hardis",
|
|
6044
|
+
"hardis:instanceupgrade:diagnose:org",
|
|
6045
|
+
"instanceupgrade:hardis:diagnose:org",
|
|
6046
|
+
"instanceupgrade:diagnose:hardis:org",
|
|
6047
|
+
"instanceupgrade:diagnose:org:hardis"
|
|
6035
6048
|
]
|
|
6036
6049
|
},
|
|
6037
|
-
"hardis:org:diagnose:
|
|
6050
|
+
"hardis:org:diagnose:legacyapi": {
|
|
6038
6051
|
"aliases": [],
|
|
6039
6052
|
"args": {},
|
|
6040
|
-
"description": "
|
|
6053
|
+
"description": "Checks if an org uses retired or someday retired API version\n\n\nSee article below\n\n[](https://nicolas.vuillamy.fr/handle-salesforce-api-versions-deprecation-like-a-pro-335065f52238)\n\nThis command is part of [sfdx-hardis Monitoring](https://sfdx-hardis.cloudity.com/salesforce-monitoring-deprecated-api-calls/) and can output Grafana, Slack and MsTeams Notifications.\n",
|
|
6041
6054
|
"examples": [
|
|
6042
|
-
"$ sf hardis:org:diagnose:
|
|
6055
|
+
"$ sf hardis:org:diagnose:legacyapi",
|
|
6056
|
+
"$ sf hardis:org:diagnose:legacyapi -u hardis@myclient.com",
|
|
6057
|
+
"$ sf hardis:org:diagnose:legacyapi --outputfile 'c:/path/to/folder/legacyapi.csv'",
|
|
6058
|
+
"$ sf hardis:org:diagnose:legacyapi -u hardis@myclient.com --outputfile ./tmp/legacyapi.csv"
|
|
6043
6059
|
],
|
|
6044
6060
|
"flags": {
|
|
6045
6061
|
"json": {
|
|
@@ -6057,6 +6073,24 @@
|
|
|
6057
6073
|
"multiple": false,
|
|
6058
6074
|
"type": "option"
|
|
6059
6075
|
},
|
|
6076
|
+
"eventtype": {
|
|
6077
|
+
"char": "e",
|
|
6078
|
+
"description": "Type of EventLogFile event to analyze",
|
|
6079
|
+
"name": "eventtype",
|
|
6080
|
+
"default": "ApiTotalUsage",
|
|
6081
|
+
"hasDynamicHelp": false,
|
|
6082
|
+
"multiple": false,
|
|
6083
|
+
"type": "option"
|
|
6084
|
+
},
|
|
6085
|
+
"limit": {
|
|
6086
|
+
"char": "l",
|
|
6087
|
+
"description": "Number of latest EventLogFile events to analyze",
|
|
6088
|
+
"name": "limit",
|
|
6089
|
+
"default": 999,
|
|
6090
|
+
"hasDynamicHelp": false,
|
|
6091
|
+
"multiple": false,
|
|
6092
|
+
"type": "option"
|
|
6093
|
+
},
|
|
6060
6094
|
"outputfile": {
|
|
6061
6095
|
"char": "f",
|
|
6062
6096
|
"description": "Force the path and name of output report file. Must end with .csv",
|
|
@@ -6103,13 +6137,13 @@
|
|
|
6103
6137
|
},
|
|
6104
6138
|
"hasDynamicHelp": true,
|
|
6105
6139
|
"hiddenAliases": [],
|
|
6106
|
-
"id": "hardis:org:diagnose:
|
|
6140
|
+
"id": "hardis:org:diagnose:legacyapi",
|
|
6107
6141
|
"pluginAlias": "sfdx-hardis",
|
|
6108
6142
|
"pluginName": "sfdx-hardis",
|
|
6109
6143
|
"pluginType": "core",
|
|
6110
6144
|
"strict": true,
|
|
6111
6145
|
"enableJsonFlag": true,
|
|
6112
|
-
"title": "Check
|
|
6146
|
+
"title": "Check for legacy API use",
|
|
6113
6147
|
"requiresProject": false,
|
|
6114
6148
|
"isESM": true,
|
|
6115
6149
|
"relativePath": [
|
|
@@ -6118,42 +6152,42 @@
|
|
|
6118
6152
|
"hardis",
|
|
6119
6153
|
"org",
|
|
6120
6154
|
"diagnose",
|
|
6121
|
-
"
|
|
6155
|
+
"legacyapi.js"
|
|
6122
6156
|
],
|
|
6123
6157
|
"aliasPermutations": [],
|
|
6124
6158
|
"permutations": [
|
|
6125
|
-
"hardis:org:diagnose:
|
|
6126
|
-
"org:hardis:diagnose:
|
|
6127
|
-
"org:diagnose:hardis:
|
|
6128
|
-
"org:diagnose:
|
|
6129
|
-
"hardis:diagnose:org:
|
|
6130
|
-
"diagnose:hardis:org:
|
|
6131
|
-
"diagnose:org:hardis:
|
|
6132
|
-
"diagnose:org:
|
|
6133
|
-
"hardis:diagnose:
|
|
6134
|
-
"diagnose:hardis:
|
|
6135
|
-
"diagnose:
|
|
6136
|
-
"diagnose:
|
|
6137
|
-
"hardis:org:
|
|
6138
|
-
"org:hardis:
|
|
6139
|
-
"org:
|
|
6140
|
-
"org:
|
|
6141
|
-
"hardis:
|
|
6142
|
-
"
|
|
6143
|
-
"
|
|
6144
|
-
"
|
|
6145
|
-
"hardis:
|
|
6146
|
-
"
|
|
6147
|
-
"
|
|
6148
|
-
"
|
|
6159
|
+
"hardis:org:diagnose:legacyapi",
|
|
6160
|
+
"org:hardis:diagnose:legacyapi",
|
|
6161
|
+
"org:diagnose:hardis:legacyapi",
|
|
6162
|
+
"org:diagnose:legacyapi:hardis",
|
|
6163
|
+
"hardis:diagnose:org:legacyapi",
|
|
6164
|
+
"diagnose:hardis:org:legacyapi",
|
|
6165
|
+
"diagnose:org:hardis:legacyapi",
|
|
6166
|
+
"diagnose:org:legacyapi:hardis",
|
|
6167
|
+
"hardis:diagnose:legacyapi:org",
|
|
6168
|
+
"diagnose:hardis:legacyapi:org",
|
|
6169
|
+
"diagnose:legacyapi:hardis:org",
|
|
6170
|
+
"diagnose:legacyapi:org:hardis",
|
|
6171
|
+
"hardis:org:legacyapi:diagnose",
|
|
6172
|
+
"org:hardis:legacyapi:diagnose",
|
|
6173
|
+
"org:legacyapi:hardis:diagnose",
|
|
6174
|
+
"org:legacyapi:diagnose:hardis",
|
|
6175
|
+
"hardis:legacyapi:org:diagnose",
|
|
6176
|
+
"legacyapi:hardis:org:diagnose",
|
|
6177
|
+
"legacyapi:org:hardis:diagnose",
|
|
6178
|
+
"legacyapi:org:diagnose:hardis",
|
|
6179
|
+
"hardis:legacyapi:diagnose:org",
|
|
6180
|
+
"legacyapi:hardis:diagnose:org",
|
|
6181
|
+
"legacyapi:diagnose:hardis:org",
|
|
6182
|
+
"legacyapi:diagnose:org:hardis"
|
|
6149
6183
|
]
|
|
6150
6184
|
},
|
|
6151
|
-
"hardis:org:diagnose:
|
|
6185
|
+
"hardis:org:diagnose:licenses": {
|
|
6152
6186
|
"aliases": [],
|
|
6153
6187
|
"args": {},
|
|
6154
|
-
"description": "\n
|
|
6188
|
+
"description": "\n**Lists and analyzes User Licenses and Permission Set Licenses subscribed and used in a Salesforce org.**\n\nThis command provides a comprehensive overview of your Salesforce license consumption. It's particularly useful for:\n\n- **License Management:** Understanding which licenses are active, how many are available, and how many are being used.\n- **Cost Optimization:** Identifying unused or underutilized licenses that could be reallocated or decommissioned.\n- **Compliance:** Ensuring that your organization is compliant with Salesforce licensing agreements.\n- **Monitoring:** Tracking license usage trends over time.\n\nKey functionalities:\n\n- **User License Details:** Retrieves information about standard and custom User Licenses, including `MasterLabel`, `Name`, `TotalLicenses`, and `UsedLicenses`.\n- **Permission Set License Details:** Retrieves information about Permission Set Licenses, including `MasterLabel`, `PermissionSetLicenseKey`, `TotalLicenses`, and `UsedLicenses`.\n- **Used Licenses Filter:** The `--usedonly` flag allows you to filter the report to show only licenses that have at least one `UsedLicenses` count greater than zero.\n- **CSV Report Generation:** Generates a CSV file containing all the retrieved license information, suitable for detailed analysis.\n- **Notifications:** Sends notifications to configured channels (e.g., Grafana, Slack, MS Teams) with a summary of license usage, including lists of active and used licenses.\n\n<details markdown=\"1\">\n<summary>Technical explanations</summary>\n\nThe command's technical implementation involves:\n\n- **Salesforce SOQL Queries:** It executes SOQL queries against the `UserLicense` and `PermissionSetLicense` objects in Salesforce to retrieve license data.\n- **Data Transformation:** It processes the query results, reformatting the data to be more readable and consistent for reporting purposes (e.g., removing `Id` and `attributes`, renaming `PermissionSetLicenseKey` to `Name`).\n- **Data Aggregation:** It aggregates license information, creating a `licensesByKey` object for quick lookups and a `usedLicenses` array for a concise list of actively used licenses.\n- **Report Generation:** It uses `generateCsvFile` to create the CSV report of license data.\n- **Notification Integration:** It integrates with the `NotifProvider` to send notifications, including attachments of the generated CSV report and metrics for monitoring dashboards.\n- **User Feedback:** Provides clear messages to the user about the license extraction process and the used licenses.\n</details>\n",
|
|
6155
6189
|
"examples": [
|
|
6156
|
-
"$ sf hardis:org:diagnose:
|
|
6190
|
+
"$ sf hardis:org:diagnose:licenses"
|
|
6157
6191
|
],
|
|
6158
6192
|
"flags": {
|
|
6159
6193
|
"json": {
|
|
@@ -6179,6 +6213,13 @@
|
|
|
6179
6213
|
"multiple": false,
|
|
6180
6214
|
"type": "option"
|
|
6181
6215
|
},
|
|
6216
|
+
"usedonly": {
|
|
6217
|
+
"char": "u",
|
|
6218
|
+
"description": "Filter to have only used licenses",
|
|
6219
|
+
"name": "usedonly",
|
|
6220
|
+
"allowNo": false,
|
|
6221
|
+
"type": "boolean"
|
|
6222
|
+
},
|
|
6182
6223
|
"debug": {
|
|
6183
6224
|
"char": "d",
|
|
6184
6225
|
"description": "Activate debug mode (more logs)",
|
|
@@ -6217,13 +6258,13 @@
|
|
|
6217
6258
|
},
|
|
6218
6259
|
"hasDynamicHelp": true,
|
|
6219
6260
|
"hiddenAliases": [],
|
|
6220
|
-
"id": "hardis:org:diagnose:
|
|
6261
|
+
"id": "hardis:org:diagnose:licenses",
|
|
6221
6262
|
"pluginAlias": "sfdx-hardis",
|
|
6222
6263
|
"pluginName": "sfdx-hardis",
|
|
6223
6264
|
"pluginType": "core",
|
|
6224
6265
|
"strict": true,
|
|
6225
6266
|
"enableJsonFlag": true,
|
|
6226
|
-
"title": "
|
|
6267
|
+
"title": "List licenses subscribed and used in a Salesforce org",
|
|
6227
6268
|
"requiresProject": false,
|
|
6228
6269
|
"isESM": true,
|
|
6229
6270
|
"relativePath": [
|
|
@@ -6232,57 +6273,56 @@
|
|
|
6232
6273
|
"hardis",
|
|
6233
6274
|
"org",
|
|
6234
6275
|
"diagnose",
|
|
6235
|
-
"
|
|
6276
|
+
"licenses.js"
|
|
6236
6277
|
],
|
|
6237
6278
|
"aliasPermutations": [],
|
|
6238
6279
|
"permutations": [
|
|
6239
|
-
"hardis:org:diagnose:
|
|
6240
|
-
"org:hardis:diagnose:
|
|
6241
|
-
"org:diagnose:hardis:
|
|
6242
|
-
"org:diagnose:
|
|
6243
|
-
"hardis:diagnose:org:
|
|
6244
|
-
"diagnose:hardis:org:
|
|
6245
|
-
"diagnose:org:hardis:
|
|
6246
|
-
"diagnose:org:
|
|
6247
|
-
"hardis:diagnose:
|
|
6248
|
-
"diagnose:hardis:
|
|
6249
|
-
"diagnose:
|
|
6250
|
-
"diagnose:
|
|
6251
|
-
"hardis:org:
|
|
6252
|
-
"org:hardis:
|
|
6253
|
-
"org:
|
|
6254
|
-
"org:
|
|
6255
|
-
"hardis:
|
|
6256
|
-
"
|
|
6257
|
-
"
|
|
6258
|
-
"
|
|
6259
|
-
"hardis:
|
|
6260
|
-
"
|
|
6261
|
-
"
|
|
6262
|
-
"
|
|
6263
|
-
]
|
|
6264
|
-
},
|
|
6265
|
-
"hardis:org:diagnose:
|
|
6266
|
-
"aliases": [],
|
|
6267
|
-
"args": {},
|
|
6268
|
-
"description": "
|
|
6269
|
-
"examples": [
|
|
6270
|
-
"$ sf hardis:org:diagnose:
|
|
6271
|
-
|
|
6272
|
-
|
|
6273
|
-
|
|
6274
|
-
|
|
6275
|
-
"
|
|
6276
|
-
"
|
|
6277
|
-
"
|
|
6278
|
-
"
|
|
6279
|
-
|
|
6280
|
-
|
|
6281
|
-
|
|
6282
|
-
"
|
|
6283
|
-
"
|
|
6284
|
-
"
|
|
6285
|
-
"hasDynamicHelp": false,
|
|
6280
|
+
"hardis:org:diagnose:licenses",
|
|
6281
|
+
"org:hardis:diagnose:licenses",
|
|
6282
|
+
"org:diagnose:hardis:licenses",
|
|
6283
|
+
"org:diagnose:licenses:hardis",
|
|
6284
|
+
"hardis:diagnose:org:licenses",
|
|
6285
|
+
"diagnose:hardis:org:licenses",
|
|
6286
|
+
"diagnose:org:hardis:licenses",
|
|
6287
|
+
"diagnose:org:licenses:hardis",
|
|
6288
|
+
"hardis:diagnose:licenses:org",
|
|
6289
|
+
"diagnose:hardis:licenses:org",
|
|
6290
|
+
"diagnose:licenses:hardis:org",
|
|
6291
|
+
"diagnose:licenses:org:hardis",
|
|
6292
|
+
"hardis:org:licenses:diagnose",
|
|
6293
|
+
"org:hardis:licenses:diagnose",
|
|
6294
|
+
"org:licenses:hardis:diagnose",
|
|
6295
|
+
"org:licenses:diagnose:hardis",
|
|
6296
|
+
"hardis:licenses:org:diagnose",
|
|
6297
|
+
"licenses:hardis:org:diagnose",
|
|
6298
|
+
"licenses:org:hardis:diagnose",
|
|
6299
|
+
"licenses:org:diagnose:hardis",
|
|
6300
|
+
"hardis:licenses:diagnose:org",
|
|
6301
|
+
"licenses:hardis:diagnose:org",
|
|
6302
|
+
"licenses:diagnose:hardis:org",
|
|
6303
|
+
"licenses:diagnose:org:hardis"
|
|
6304
|
+
]
|
|
6305
|
+
},
|
|
6306
|
+
"hardis:org:diagnose:releaseupdates": {
|
|
6307
|
+
"aliases": [],
|
|
6308
|
+
"args": {},
|
|
6309
|
+
"description": "Export Release Updates into a CSV file with selected criteria, and highlight Release Updates that should be checked.\n\nBefore publishing **Breaking Changes** ❌, Salesforce announce them in the setup menu [**Release Updates**](https://help.salesforce.com/s/articleView?id=sf.release_updates.htm&type=5)\n\n⚠️ Some of them are very important, because if you don't make the related upgrades in time (ex: before Winter 25) , your production org can crash !\n\nThis command is part of [sfdx-hardis Monitoring](https://sfdx-hardis.cloudity.com/salesforce-monitoring-release-updates/) and can output Grafana, Slack and MsTeams Notifications.\n",
|
|
6310
|
+
"examples": [
|
|
6311
|
+
"$ sf hardis:org:diagnose:releaseupdates"
|
|
6312
|
+
],
|
|
6313
|
+
"flags": {
|
|
6314
|
+
"json": {
|
|
6315
|
+
"description": "Format output as json.",
|
|
6316
|
+
"helpGroup": "GLOBAL",
|
|
6317
|
+
"name": "json",
|
|
6318
|
+
"allowNo": false,
|
|
6319
|
+
"type": "boolean"
|
|
6320
|
+
},
|
|
6321
|
+
"flags-dir": {
|
|
6322
|
+
"helpGroup": "GLOBAL",
|
|
6323
|
+
"name": "flags-dir",
|
|
6324
|
+
"summary": "Import flag values from a directory.",
|
|
6325
|
+
"hasDynamicHelp": false,
|
|
6286
6326
|
"multiple": false,
|
|
6287
6327
|
"type": "option"
|
|
6288
6328
|
},
|
|
@@ -6294,14 +6334,6 @@
|
|
|
6294
6334
|
"multiple": false,
|
|
6295
6335
|
"type": "option"
|
|
6296
6336
|
},
|
|
6297
|
-
"days": {
|
|
6298
|
-
"char": "t",
|
|
6299
|
-
"description": "Extracts the users that have been inactive for the amount of days specified. In CI, default is 180 days",
|
|
6300
|
-
"name": "days",
|
|
6301
|
-
"hasDynamicHelp": false,
|
|
6302
|
-
"multiple": false,
|
|
6303
|
-
"type": "option"
|
|
6304
|
-
},
|
|
6305
6337
|
"debug": {
|
|
6306
6338
|
"char": "d",
|
|
6307
6339
|
"description": "Activate debug mode (more logs)",
|
|
@@ -6340,13 +6372,13 @@
|
|
|
6340
6372
|
},
|
|
6341
6373
|
"hasDynamicHelp": true,
|
|
6342
6374
|
"hiddenAliases": [],
|
|
6343
|
-
"id": "hardis:org:diagnose:
|
|
6375
|
+
"id": "hardis:org:diagnose:releaseupdates",
|
|
6344
6376
|
"pluginAlias": "sfdx-hardis",
|
|
6345
6377
|
"pluginName": "sfdx-hardis",
|
|
6346
6378
|
"pluginType": "core",
|
|
6347
6379
|
"strict": true,
|
|
6348
6380
|
"enableJsonFlag": true,
|
|
6349
|
-
"title": "
|
|
6381
|
+
"title": "Check Release Updates of an org",
|
|
6350
6382
|
"requiresProject": false,
|
|
6351
6383
|
"isESM": true,
|
|
6352
6384
|
"relativePath": [
|
|
@@ -6355,42 +6387,42 @@
|
|
|
6355
6387
|
"hardis",
|
|
6356
6388
|
"org",
|
|
6357
6389
|
"diagnose",
|
|
6358
|
-
"
|
|
6390
|
+
"releaseupdates.js"
|
|
6359
6391
|
],
|
|
6360
6392
|
"aliasPermutations": [],
|
|
6361
6393
|
"permutations": [
|
|
6362
|
-
"hardis:org:diagnose:
|
|
6363
|
-
"org:hardis:diagnose:
|
|
6364
|
-
"org:diagnose:hardis:
|
|
6365
|
-
"org:diagnose:
|
|
6366
|
-
"hardis:diagnose:org:
|
|
6367
|
-
"diagnose:hardis:org:
|
|
6368
|
-
"diagnose:org:hardis:
|
|
6369
|
-
"diagnose:org:
|
|
6370
|
-
"hardis:diagnose:
|
|
6371
|
-
"diagnose:hardis:
|
|
6372
|
-
"diagnose:
|
|
6373
|
-
"diagnose:
|
|
6374
|
-
"hardis:org:
|
|
6375
|
-
"org:hardis:
|
|
6376
|
-
"org:
|
|
6377
|
-
"org:
|
|
6378
|
-
"hardis:
|
|
6379
|
-
"
|
|
6380
|
-
"
|
|
6381
|
-
"
|
|
6382
|
-
"hardis:
|
|
6383
|
-
"
|
|
6384
|
-
"
|
|
6385
|
-
"
|
|
6394
|
+
"hardis:org:diagnose:releaseupdates",
|
|
6395
|
+
"org:hardis:diagnose:releaseupdates",
|
|
6396
|
+
"org:diagnose:hardis:releaseupdates",
|
|
6397
|
+
"org:diagnose:releaseupdates:hardis",
|
|
6398
|
+
"hardis:diagnose:org:releaseupdates",
|
|
6399
|
+
"diagnose:hardis:org:releaseupdates",
|
|
6400
|
+
"diagnose:org:hardis:releaseupdates",
|
|
6401
|
+
"diagnose:org:releaseupdates:hardis",
|
|
6402
|
+
"hardis:diagnose:releaseupdates:org",
|
|
6403
|
+
"diagnose:hardis:releaseupdates:org",
|
|
6404
|
+
"diagnose:releaseupdates:hardis:org",
|
|
6405
|
+
"diagnose:releaseupdates:org:hardis",
|
|
6406
|
+
"hardis:org:releaseupdates:diagnose",
|
|
6407
|
+
"org:hardis:releaseupdates:diagnose",
|
|
6408
|
+
"org:releaseupdates:hardis:diagnose",
|
|
6409
|
+
"org:releaseupdates:diagnose:hardis",
|
|
6410
|
+
"hardis:releaseupdates:org:diagnose",
|
|
6411
|
+
"releaseupdates:hardis:org:diagnose",
|
|
6412
|
+
"releaseupdates:org:hardis:diagnose",
|
|
6413
|
+
"releaseupdates:org:diagnose:hardis",
|
|
6414
|
+
"hardis:releaseupdates:diagnose:org",
|
|
6415
|
+
"releaseupdates:hardis:diagnose:org",
|
|
6416
|
+
"releaseupdates:diagnose:hardis:org",
|
|
6417
|
+
"releaseupdates:diagnose:org:hardis"
|
|
6386
6418
|
]
|
|
6387
6419
|
},
|
|
6388
|
-
"hardis:org:diagnose:
|
|
6420
|
+
"hardis:org:diagnose:storage-stats": {
|
|
6389
6421
|
"aliases": [],
|
|
6390
6422
|
"args": {},
|
|
6391
|
-
"description": "
|
|
6423
|
+
"description": "**Extracts and analyzes Data Storage usage for a Salesforce org, providing detailed per-object breakdowns with yearly trends.**\n\nThis command provides a comprehensive overview of your Salesforce data storage consumption. It's particularly useful for:\n\n- **Storage Management:** Understanding which SObjects consume the most storage and how usage has evolved over time.\n- **Cost Optimization:** Identifying storage-heavy objects that could be candidates for data archival or cleanup strategies.\n- **Capacity Planning:** Tracking storage trends to predict when additional capacity will be needed.\n- **Compliance & Governance:** Monitoring data growth patterns to ensure alignment with data retention policies.\n\nKey functionalities:\n\n- **Storage Limits Analysis:** Retrieves and displays org data storage limits, including total capacity, used storage, remaining storage, and percentage used. Detects and alerts on over-usage scenarios.\n- **SObject Discovery & Filtering:** Automatically discovers all SObjects in the org and filters them to focus on production/custom objects (excludes metadata types, platform-only objects, and cached empty objects).\n- **Interactive Selection:** Prompts the user to select which SObjects to analyze and choose between `CreatedDate` or `LastModifiedDate` for temporal breakdown.\n- **Yearly Storage Breakdown:** Executes grouped SOQL queries per object to calculate record counts by year, providing historical growth trends.\n- **Storage Estimation:** Estimates storage usage for each object using an average record size heuristic (2 KB per record) and calculates the percentage of org quota consumed.\n- **Dual CSV Reports:** Generates two CSV files: a detailed by-year breakdown and a totals-per-object summary, both suitable for spreadsheet analysis and reporting.\n- **Empty Objects Cache:** Maintains a per-user cache of objects detected with zero records to optimize subsequent runs by skipping empty tables.\n- **Progress Tracking:** Sends WebSocket progress messages for integration with external UIs and monitoring dashboards.\n\n<details markdown=\"1\">\n<summary>Technical explanations</summary>\n\nThe command's technical implementation involves:\n\n- **Limits Retrieval:** Calls `conn.limits()` to retrieve the `DataStorageMB` object containing `Max` and `Remaining` values. Handles negative `Remaining` values (over-usage scenarios) by calculating `overUsageMB` and adjusting display values.\n- **SObject Discovery:** Uses `conn.metadata.list([{ type: 'CustomObject' }])` to get custom objects and `conn.describeGlobal()` to get all SObjects. Filters by object capabilities (`layoutable`, `queryable`, `retrieveable`, `createable`, `updateable`, `deletable`) and excludes metadata types (`__mdt` suffix) and cached empty objects.\n- **User Interaction:** Uses `prompts` for interactive multi-select of SObjects and single-select for date field choice. All objects are pre-selected by default for user convenience.\n- **Yearly Aggregation Queries:** For each selected SObject, executes a grouped SOQL query: `SELECT CALENDAR_YEAR(<DateField>) year, COUNT(Id) total FROM <SObject> GROUP BY CALENDAR_YEAR(<DateField>) ORDER BY CALENDAR_YEAR(<DateField>) DESC`. Handles query errors gracefully (logs error and continues with next object).\n- **Storage Calculation:** Applies a conservative average record size of 2 KB (2048 bytes) to estimate storage consumption. Calculates both MB usage and percentage of org quota for each object and year.\n- **Report Generation:** Uses `generateCsvFile` and `generateReportPath` helpers to create two CSV files in the reports directory:\n - Detailed breakdown: includes all yearly statistics per object\n - Totals summary: includes only aggregate totals per object\n- **Caching Mechanism:** Writes a JSON cache file per authenticated username (sanitized) in the reports directory (`<username>_empty_tables_cache.json`) containing an array of empty object names. The cache is updated after each run with newly detected empty objects.\n- **Progress & UX:** Uses `WebSocketClient` to emit start/step/end progress messages for external monitoring. Outputs summary tables with `uxLogTable` and status messages with `uxLog`.\n- **Return Value:** Returns a JSON object containing `tableStorageInfos` (all rows), `tableStorageInfosTotals` (summary rows), `storageLimits` (org limits object), and `outputFiles` (paths to generated CSV/XLSX reports).\n</details>\n\n\n\n\n",
|
|
6392
6424
|
"examples": [
|
|
6393
|
-
"$ sf hardis:org:diagnose:
|
|
6425
|
+
"$ sf hardis:org:diagnose:storage-stats"
|
|
6394
6426
|
],
|
|
6395
6427
|
"flags": {
|
|
6396
6428
|
"json": {
|
|
@@ -6454,31 +6486,14 @@
|
|
|
6454
6486
|
},
|
|
6455
6487
|
"hasDynamicHelp": true,
|
|
6456
6488
|
"hiddenAliases": [],
|
|
6457
|
-
"id": "hardis:org:diagnose:
|
|
6489
|
+
"id": "hardis:org:diagnose:storage-stats",
|
|
6458
6490
|
"pluginAlias": "sfdx-hardis",
|
|
6459
6491
|
"pluginName": "sfdx-hardis",
|
|
6460
6492
|
"pluginType": "core",
|
|
6461
6493
|
"strict": true,
|
|
6462
6494
|
"enableJsonFlag": true,
|
|
6463
|
-
"title": "
|
|
6464
|
-
"
|
|
6465
|
-
"Ant Migration Tool",
|
|
6466
|
-
"Chatter Desktop",
|
|
6467
|
-
"Chatter Mobile for BlackBerry",
|
|
6468
|
-
"Force.com IDE",
|
|
6469
|
-
"OIQ_Integration",
|
|
6470
|
-
"Salesforce CLI",
|
|
6471
|
-
"Salesforce Files",
|
|
6472
|
-
"Salesforce Mobile Dashboards",
|
|
6473
|
-
"Salesforce Touch",
|
|
6474
|
-
"Salesforce for Outlook",
|
|
6475
|
-
"SalesforceA",
|
|
6476
|
-
"SalesforceA for Android",
|
|
6477
|
-
"SalesforceA for iOS",
|
|
6478
|
-
"SalesforceDX Namespace Registry",
|
|
6479
|
-
"SalesforceIQ"
|
|
6480
|
-
],
|
|
6481
|
-
"requiresProject": false,
|
|
6495
|
+
"title": "Extract Data Storage stats",
|
|
6496
|
+
"requiresProject": true,
|
|
6482
6497
|
"isESM": true,
|
|
6483
6498
|
"relativePath": [
|
|
6484
6499
|
"lib",
|
|
@@ -6486,43 +6501,42 @@
|
|
|
6486
6501
|
"hardis",
|
|
6487
6502
|
"org",
|
|
6488
6503
|
"diagnose",
|
|
6489
|
-
"
|
|
6504
|
+
"storage-stats.js"
|
|
6490
6505
|
],
|
|
6491
6506
|
"aliasPermutations": [],
|
|
6492
6507
|
"permutations": [
|
|
6493
|
-
"hardis:org:diagnose:
|
|
6494
|
-
"org:hardis:diagnose:
|
|
6495
|
-
"org:diagnose:hardis:
|
|
6496
|
-
"org:diagnose:
|
|
6497
|
-
"hardis:diagnose:org:
|
|
6498
|
-
"diagnose:hardis:org:
|
|
6499
|
-
"diagnose:org:hardis:
|
|
6500
|
-
"diagnose:org:
|
|
6501
|
-
"hardis:diagnose:
|
|
6502
|
-
"diagnose:hardis:
|
|
6503
|
-
"diagnose:
|
|
6504
|
-
"diagnose:
|
|
6505
|
-
"hardis:org:
|
|
6506
|
-
"org:hardis:
|
|
6507
|
-
"org:
|
|
6508
|
-
"org:
|
|
6509
|
-
"hardis:
|
|
6510
|
-
"
|
|
6511
|
-
"
|
|
6512
|
-
"
|
|
6513
|
-
"hardis:
|
|
6514
|
-
"
|
|
6515
|
-
"
|
|
6516
|
-
"
|
|
6508
|
+
"hardis:org:diagnose:storage-stats",
|
|
6509
|
+
"org:hardis:diagnose:storage-stats",
|
|
6510
|
+
"org:diagnose:hardis:storage-stats",
|
|
6511
|
+
"org:diagnose:storage-stats:hardis",
|
|
6512
|
+
"hardis:diagnose:org:storage-stats",
|
|
6513
|
+
"diagnose:hardis:org:storage-stats",
|
|
6514
|
+
"diagnose:org:hardis:storage-stats",
|
|
6515
|
+
"diagnose:org:storage-stats:hardis",
|
|
6516
|
+
"hardis:diagnose:storage-stats:org",
|
|
6517
|
+
"diagnose:hardis:storage-stats:org",
|
|
6518
|
+
"diagnose:storage-stats:hardis:org",
|
|
6519
|
+
"diagnose:storage-stats:org:hardis",
|
|
6520
|
+
"hardis:org:storage-stats:diagnose",
|
|
6521
|
+
"org:hardis:storage-stats:diagnose",
|
|
6522
|
+
"org:storage-stats:hardis:diagnose",
|
|
6523
|
+
"org:storage-stats:diagnose:hardis",
|
|
6524
|
+
"hardis:storage-stats:org:diagnose",
|
|
6525
|
+
"storage-stats:hardis:org:diagnose",
|
|
6526
|
+
"storage-stats:org:hardis:diagnose",
|
|
6527
|
+
"storage-stats:org:diagnose:hardis",
|
|
6528
|
+
"hardis:storage-stats:diagnose:org",
|
|
6529
|
+
"storage-stats:hardis:diagnose:org",
|
|
6530
|
+
"storage-stats:diagnose:hardis:org",
|
|
6531
|
+
"storage-stats:diagnose:org:hardis"
|
|
6517
6532
|
]
|
|
6518
6533
|
},
|
|
6519
|
-
"hardis:org:diagnose:
|
|
6534
|
+
"hardis:org:diagnose:unsecure-connected-apps": {
|
|
6520
6535
|
"aliases": [],
|
|
6521
6536
|
"args": {},
|
|
6522
|
-
"description": "\n## Command Behavior\n\n**Detects
|
|
6537
|
+
"description": "\n## Command Behavior\n\n**Detects unsecured Connected Apps in a Salesforce org and generates detailed reports for security analysis.**\n\nThis command is a critical security diagnostic tool that helps administrators identify Connected Apps that may pose security risks due to improper configuration. It provides comprehensive analysis of OAuth tokens and Connected App security settings to ensure proper access control.\n\nKey functionalities:\n\n- **OAuth Token Analysis:** Queries all OAuth tokens in the org using SOQL to retrieve comprehensive token information including app names, users, authorization status, and usage statistics.\n- **Security Status Assessment:** Evaluates each Connected App's security configuration by checking the `IsUsingAdminAuthorization` flag to determine if admin pre-approval is required.\n- **Unsecured App Detection:** Identifies Connected Apps that allow users to authorize themselves without admin approval, which can pose security risks.\n- **Detailed Reporting:** Generates two comprehensive CSV reports:\n - **OAuth Tokens Report:** Lists all OAuth tokens with security status, user information, and usage data\n - **Connected Apps Summary:** Aggregates unsecured Connected Apps with counts of associated OAuth tokens\n- **Visual Indicators:** Uses status icons (❌ for unsecured, ✅ for secured) to provide immediate visual feedback on security status.\n- **Security Recommendations:** Provides actionable guidance on how to secure Connected Apps through proper configuration.\n- **Notifications:** Sends alerts to configured channels (Grafana, Slack, MS Teams) with security findings and attached reports.\n\nThis command is part of [sfdx-hardis Monitoring](https://sfdx-hardis.cloudity.com/salesforce-monitoring-org-security/) and can output Grafana, Slack and MsTeams Notifications.\n\n<iframe width=\"560\" height=\"315\" src=\"https://www.youtube.com/embed/jHv8yrSK8Dg\" title=\"YouTube video player\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen></iframe>\n\n<details markdown=\"1\">\n<summary>Technical explanations</summary>\n\nThe command's technical implementation involves:\n\n- **SOQL Query Execution:** Executes a comprehensive SOQL query on the `OauthToken` object, joining with `AppMenuItem` and `User` objects to gather complete security context.\n- **Security Analysis Logic:** Analyzes the `AppMenuItem.IsUsingAdminAuthorization` field to determine if a Connected App requires admin pre-approval for user authorization.\n- **Data Transformation:** Processes raw SOQL results to add security status indicators and reorganize data for optimal reporting and analysis.\n- **Aggregation Processing:** Groups OAuth tokens by Connected App name to provide summary statistics and identify the most problematic applications.\n- **Report Generation:** Uses `generateCsvFile` to create structured CSV reports with proper formatting and metadata for easy analysis and sharing.\n- **Notification Integration:** Integrates with the `NotifProvider` to send security alerts with detailed metrics, including the number of unsecured Connected Apps and associated OAuth tokens.\n- **File Management:** Generates multiple output formats (CSV, XLSX) and manages file paths using `generateReportPath` for consistent report organization.\n- **Connection Management:** Uses `setConnectionVariables` to ensure proper authentication context for notification providers that require org connection details.\n</details>\n",
|
|
6523
6538
|
"examples": [
|
|
6524
|
-
"$ sf hardis:org:diagnose:
|
|
6525
|
-
"$ sf hardis:org:diagnose:unusedlicenses --fix"
|
|
6539
|
+
"$ sf hardis:org:diagnose:unsecure-connected-apps"
|
|
6526
6540
|
],
|
|
6527
6541
|
"flags": {
|
|
6528
6542
|
"json": {
|
|
@@ -6586,32 +6600,14 @@
|
|
|
6586
6600
|
},
|
|
6587
6601
|
"hasDynamicHelp": true,
|
|
6588
6602
|
"hiddenAliases": [],
|
|
6589
|
-
"id": "hardis:org:diagnose:
|
|
6603
|
+
"id": "hardis:org:diagnose:unsecure-connected-apps",
|
|
6590
6604
|
"pluginAlias": "sfdx-hardis",
|
|
6591
6605
|
"pluginName": "sfdx-hardis",
|
|
6592
6606
|
"pluginType": "core",
|
|
6593
6607
|
"strict": true,
|
|
6594
6608
|
"enableJsonFlag": true,
|
|
6595
|
-
"title": "Detect
|
|
6609
|
+
"title": "Detect Unsecured Connected Apps",
|
|
6596
6610
|
"requiresProject": false,
|
|
6597
|
-
"additionalPermissionSetsToAlwaysGet": [
|
|
6598
|
-
"Sales_User"
|
|
6599
|
-
],
|
|
6600
|
-
"permSetsPermSetLicenses": [
|
|
6601
|
-
{
|
|
6602
|
-
"permSet": "Sales_User",
|
|
6603
|
-
"permSetLicense": "SalesUserPsl"
|
|
6604
|
-
}
|
|
6605
|
-
],
|
|
6606
|
-
"profilesPermissionSetLicenses": [
|
|
6607
|
-
{
|
|
6608
|
-
"profile": "Salesforce API Only",
|
|
6609
|
-
"permSetLicense": "SalesforceAPIIntegrationPsl"
|
|
6610
|
-
}
|
|
6611
|
-
],
|
|
6612
|
-
"alwaysExcludeForActiveUsersPermissionSetLicenses": [
|
|
6613
|
-
"IdentityConnect"
|
|
6614
|
-
],
|
|
6615
6611
|
"isESM": true,
|
|
6616
6612
|
"relativePath": [
|
|
6617
6613
|
"lib",
|
|
@@ -6619,46 +6615,43 @@
|
|
|
6619
6615
|
"hardis",
|
|
6620
6616
|
"org",
|
|
6621
6617
|
"diagnose",
|
|
6622
|
-
"
|
|
6618
|
+
"unsecure-connected-apps.js"
|
|
6623
6619
|
],
|
|
6624
6620
|
"aliasPermutations": [],
|
|
6625
6621
|
"permutations": [
|
|
6626
|
-
"hardis:org:diagnose:
|
|
6627
|
-
"org:hardis:diagnose:
|
|
6628
|
-
"org:diagnose:hardis:
|
|
6629
|
-
"org:diagnose:
|
|
6630
|
-
"hardis:diagnose:org:
|
|
6631
|
-
"diagnose:hardis:org:
|
|
6632
|
-
"diagnose:org:hardis:
|
|
6633
|
-
"diagnose:org:
|
|
6634
|
-
"hardis:diagnose:
|
|
6635
|
-
"diagnose:hardis:
|
|
6636
|
-
"diagnose:
|
|
6637
|
-
"diagnose:
|
|
6638
|
-
"hardis:org:
|
|
6639
|
-
"org:hardis:
|
|
6640
|
-
"org:
|
|
6641
|
-
"org:
|
|
6642
|
-
"hardis:
|
|
6643
|
-
"
|
|
6644
|
-
"
|
|
6645
|
-
"
|
|
6646
|
-
"hardis:
|
|
6647
|
-
"
|
|
6648
|
-
"
|
|
6649
|
-
"
|
|
6622
|
+
"hardis:org:diagnose:unsecure-connected-apps",
|
|
6623
|
+
"org:hardis:diagnose:unsecure-connected-apps",
|
|
6624
|
+
"org:diagnose:hardis:unsecure-connected-apps",
|
|
6625
|
+
"org:diagnose:unsecure-connected-apps:hardis",
|
|
6626
|
+
"hardis:diagnose:org:unsecure-connected-apps",
|
|
6627
|
+
"diagnose:hardis:org:unsecure-connected-apps",
|
|
6628
|
+
"diagnose:org:hardis:unsecure-connected-apps",
|
|
6629
|
+
"diagnose:org:unsecure-connected-apps:hardis",
|
|
6630
|
+
"hardis:diagnose:unsecure-connected-apps:org",
|
|
6631
|
+
"diagnose:hardis:unsecure-connected-apps:org",
|
|
6632
|
+
"diagnose:unsecure-connected-apps:hardis:org",
|
|
6633
|
+
"diagnose:unsecure-connected-apps:org:hardis",
|
|
6634
|
+
"hardis:org:unsecure-connected-apps:diagnose",
|
|
6635
|
+
"org:hardis:unsecure-connected-apps:diagnose",
|
|
6636
|
+
"org:unsecure-connected-apps:hardis:diagnose",
|
|
6637
|
+
"org:unsecure-connected-apps:diagnose:hardis",
|
|
6638
|
+
"hardis:unsecure-connected-apps:org:diagnose",
|
|
6639
|
+
"unsecure-connected-apps:hardis:org:diagnose",
|
|
6640
|
+
"unsecure-connected-apps:org:hardis:diagnose",
|
|
6641
|
+
"unsecure-connected-apps:org:diagnose:hardis",
|
|
6642
|
+
"hardis:unsecure-connected-apps:diagnose:org",
|
|
6643
|
+
"unsecure-connected-apps:hardis:diagnose:org",
|
|
6644
|
+
"unsecure-connected-apps:diagnose:hardis:org",
|
|
6645
|
+
"unsecure-connected-apps:diagnose:org:hardis"
|
|
6650
6646
|
]
|
|
6651
6647
|
},
|
|
6652
|
-
"hardis:org:diagnose:
|
|
6648
|
+
"hardis:org:diagnose:unused-apex-classes": {
|
|
6653
6649
|
"aliases": [],
|
|
6654
6650
|
"args": {},
|
|
6655
|
-
"description": "
|
|
6651
|
+
"description": "List all async Apex classes (Batch,Queueable,Schedulable) that has not been called for more than 365 days.\n \nThe result class list probably can be removed from the project, and that will improve your test classes performances 😊\n\nThe number of unused day is overridable using --days option. \n\nThe command uses queries on AsyncApexJob and CronTrigger technical tables to build the result.\n\nApex Classes CreatedBy and CreatedOn fields are calculated from MIN(date from git, date from org)\n\nThis command is part of [sfdx-hardis Monitoring](https://sfdx-hardis.cloudity.com/salesforce-monitoring-unused-apex-classes/) and can output Grafana, Slack and MsTeams Notifications.\n\n\n",
|
|
6656
6652
|
"examples": [
|
|
6657
|
-
"$ sf hardis:org:diagnose:
|
|
6658
|
-
"$ sf hardis:org:diagnose:
|
|
6659
|
-
"$ sf hardis:org:diagnose:unusedusers --days 60 --licensetypes all-crm",
|
|
6660
|
-
"$ sf hardis:org:diagnose:unusedusers --days 60 --licenseidentifiers SFDC,AUL,AUL1",
|
|
6661
|
-
"$ sf hardis:org:diagnose:unusedusers --days 60 --licensetypes all-crm --returnactiveusers"
|
|
6653
|
+
"$ sf hardis:org:diagnose:unused-apex-classes",
|
|
6654
|
+
"$ sf hardis:org:diagnose:unused-apex-classes --days 700"
|
|
6662
6655
|
],
|
|
6663
6656
|
"flags": {
|
|
6664
6657
|
"json": {
|
|
@@ -6692,33 +6685,6 @@
|
|
|
6692
6685
|
"multiple": false,
|
|
6693
6686
|
"type": "option"
|
|
6694
6687
|
},
|
|
6695
|
-
"licensetypes": {
|
|
6696
|
-
"char": "l",
|
|
6697
|
-
"description": "Type of licenses to check. If set, do not use licenseidentifiers option. In CI, default is all-crm",
|
|
6698
|
-
"name": "licensetypes",
|
|
6699
|
-
"hasDynamicHelp": false,
|
|
6700
|
-
"multiple": false,
|
|
6701
|
-
"options": [
|
|
6702
|
-
"all",
|
|
6703
|
-
"all-crm",
|
|
6704
|
-
"all-paying"
|
|
6705
|
-
],
|
|
6706
|
-
"type": "option"
|
|
6707
|
-
},
|
|
6708
|
-
"licenseidentifiers": {
|
|
6709
|
-
"char": "i",
|
|
6710
|
-
"description": "Comma-separated list of license identifiers, in case licensetypes is not used.. Identifiers available at https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_userlicense.htm",
|
|
6711
|
-
"name": "licenseidentifiers",
|
|
6712
|
-
"hasDynamicHelp": false,
|
|
6713
|
-
"multiple": false,
|
|
6714
|
-
"type": "option"
|
|
6715
|
-
},
|
|
6716
|
-
"returnactiveusers": {
|
|
6717
|
-
"description": "Inverts the command by returning the active users",
|
|
6718
|
-
"name": "returnactiveusers",
|
|
6719
|
-
"allowNo": false,
|
|
6720
|
-
"type": "boolean"
|
|
6721
|
-
},
|
|
6722
6688
|
"debug": {
|
|
6723
6689
|
"char": "d",
|
|
6724
6690
|
"description": "Activate debug mode (more logs)",
|
|
@@ -6757,13 +6723,13 @@
|
|
|
6757
6723
|
},
|
|
6758
6724
|
"hasDynamicHelp": true,
|
|
6759
6725
|
"hiddenAliases": [],
|
|
6760
|
-
"id": "hardis:org:diagnose:
|
|
6726
|
+
"id": "hardis:org:diagnose:unused-apex-classes",
|
|
6761
6727
|
"pluginAlias": "sfdx-hardis",
|
|
6762
6728
|
"pluginName": "sfdx-hardis",
|
|
6763
6729
|
"pluginType": "core",
|
|
6764
6730
|
"strict": true,
|
|
6765
6731
|
"enableJsonFlag": true,
|
|
6766
|
-
"title": "Detect unused
|
|
6732
|
+
"title": "Detect unused Apex classes in an org",
|
|
6767
6733
|
"requiresProject": false,
|
|
6768
6734
|
"isESM": true,
|
|
6769
6735
|
"relativePath": [
|
|
@@ -6772,42 +6738,42 @@
|
|
|
6772
6738
|
"hardis",
|
|
6773
6739
|
"org",
|
|
6774
6740
|
"diagnose",
|
|
6775
|
-
"
|
|
6741
|
+
"unused-apex-classes.js"
|
|
6776
6742
|
],
|
|
6777
6743
|
"aliasPermutations": [],
|
|
6778
6744
|
"permutations": [
|
|
6779
|
-
"hardis:org:diagnose:
|
|
6780
|
-
"org:hardis:diagnose:
|
|
6781
|
-
"org:diagnose:hardis:
|
|
6782
|
-
"org:diagnose:
|
|
6783
|
-
"hardis:diagnose:org:
|
|
6784
|
-
"diagnose:hardis:org:
|
|
6785
|
-
"diagnose:org:hardis:
|
|
6786
|
-
"diagnose:org:
|
|
6787
|
-
"hardis:diagnose:
|
|
6788
|
-
"diagnose:hardis:
|
|
6789
|
-
"diagnose:
|
|
6790
|
-
"diagnose:
|
|
6791
|
-
"hardis:org:
|
|
6792
|
-
"org:hardis:
|
|
6793
|
-
"org:
|
|
6794
|
-
"org:
|
|
6795
|
-
"hardis:
|
|
6796
|
-
"
|
|
6797
|
-
"
|
|
6798
|
-
"
|
|
6799
|
-
"hardis:
|
|
6800
|
-
"
|
|
6801
|
-
"
|
|
6802
|
-
"
|
|
6745
|
+
"hardis:org:diagnose:unused-apex-classes",
|
|
6746
|
+
"org:hardis:diagnose:unused-apex-classes",
|
|
6747
|
+
"org:diagnose:hardis:unused-apex-classes",
|
|
6748
|
+
"org:diagnose:unused-apex-classes:hardis",
|
|
6749
|
+
"hardis:diagnose:org:unused-apex-classes",
|
|
6750
|
+
"diagnose:hardis:org:unused-apex-classes",
|
|
6751
|
+
"diagnose:org:hardis:unused-apex-classes",
|
|
6752
|
+
"diagnose:org:unused-apex-classes:hardis",
|
|
6753
|
+
"hardis:diagnose:unused-apex-classes:org",
|
|
6754
|
+
"diagnose:hardis:unused-apex-classes:org",
|
|
6755
|
+
"diagnose:unused-apex-classes:hardis:org",
|
|
6756
|
+
"diagnose:unused-apex-classes:org:hardis",
|
|
6757
|
+
"hardis:org:unused-apex-classes:diagnose",
|
|
6758
|
+
"org:hardis:unused-apex-classes:diagnose",
|
|
6759
|
+
"org:unused-apex-classes:hardis:diagnose",
|
|
6760
|
+
"org:unused-apex-classes:diagnose:hardis",
|
|
6761
|
+
"hardis:unused-apex-classes:org:diagnose",
|
|
6762
|
+
"unused-apex-classes:hardis:org:diagnose",
|
|
6763
|
+
"unused-apex-classes:org:hardis:diagnose",
|
|
6764
|
+
"unused-apex-classes:org:diagnose:hardis",
|
|
6765
|
+
"hardis:unused-apex-classes:diagnose:org",
|
|
6766
|
+
"unused-apex-classes:hardis:diagnose:org",
|
|
6767
|
+
"unused-apex-classes:diagnose:hardis:org",
|
|
6768
|
+
"unused-apex-classes:diagnose:org:hardis"
|
|
6803
6769
|
]
|
|
6804
6770
|
},
|
|
6805
|
-
"hardis:org:
|
|
6771
|
+
"hardis:org:diagnose:unused-connected-apps": {
|
|
6806
6772
|
"aliases": [],
|
|
6807
6773
|
"args": {},
|
|
6808
|
-
"description": "\n## Command Behavior\n\n**
|
|
6774
|
+
"description": "\n## Command Behavior\n\n**Identifies and reports on potentially unused Connected Apps in a Salesforce org, suggesting candidates for deletion or deactivation.**\n\nThis command helps improve org security and reduce technical debt by pinpointing Connected Apps that are no longer actively used. Connected Apps can pose security risks if left unmonitored, and cleaning them up contributes to a healthier Salesforce environment.\n\nKey functionalities:\n\n- **Connected App Data Collection:** Gathers information about all Connected Apps in the org, including creation and last modified dates, and associated users.\n- **Usage Analysis:** Analyzes `LoginHistory` and `OAuthToken` records to determine the last usage date of each Connected App.\n- **Inactivity Detection:** Flags Connected Apps as potentially unused if they have no recent login history or OAuth token usage.\n- **Accessibility Check:** Examines Connected App metadata to identify if they are accessible (e.g., if they require admin approval and have no profiles or permission sets assigned).\n- **Ignored Apps:** Automatically ignores a predefined list of common Salesforce Connected Apps (e.g., `Salesforce CLI`, `Salesforce Mobile Dashboards`). You can extend this list by defining the `ALLOWED_INACTIVE_CONNECTED_APPS` environment variable.\n- **CSV Report Generation:** Generates a CSV file containing details of all analyzed Connected Apps, including their usage status, last usage date, and reasons for being flagged as potentially unused.\n- **Notifications:** Sends notifications to configured channels (Grafana, Slack, MS Teams) with a summary of potentially unused Connected Apps.\n\n**Default Ignored Connected Apps:**\n\n- Ant Migration Tool\n- Chatter Desktop\n- Chatter Mobile for BlackBerry\n- Force.com IDE\n- OIQ_Integration\n- Salesforce CLI\n- Salesforce Files\n- Salesforce Mobile Dashboards\n- Salesforce Touch\n- Salesforce for Outlook\n- SalesforceA\n- SalesforceA for Android\n- SalesforceA for iOS\n- SalesforceDX Namespace Registry\n- SalesforceIQ\n\nYou can add more ignored apps by defining a comma-separated list of names in the `ALLOWED_INACTIVE_CONNECTED_APPS` environment variable.\n\n_Example: \nALLOWED_INACTIVE_CONNECTED_APPS=My App 1,My App 2, My App 3_\n\nThis command is part of [sfdx-hardis Monitoring](https://sfdx-hardis.cloudity.com/salesforce-monitoring-unused-connected-apps/) and can output Grafana, Slack and MsTeams Notifications.\n\n<details markdown=\"1\">\n<summary>Technical explanations</summary>\n\nThe command's technical implementation involves:\n\n- **Salesforce SOQL Queries:** It performs SOQL queries against `ConnectedApplication`, `LoginHistory`, and `OAuthToken` objects to gather comprehensive data about Connected Apps and their usage.\n- **Temporary SFDX Project:** It creates a temporary SFDX project to retrieve Connected App metadata, allowing for local parsing and analysis of their XML files.\n- **Metadata Parsing:** It parses the `connectedApp-meta.xml` files to check for `isAdminApproved` and the presence of `profileName` or `permissionsetName` to determine accessibility.\n- **Data Correlation:** It correlates data from various Salesforce objects to build a complete picture of each Connected App's usage and status.\n- **Date Calculation:** Uses `moment` to calculate the time since the last OAuth token usage.\n- **Report Generation:** It uses `generateCsvFile` to create the CSV report of unused Connected Apps.\n- **Notification Integration:** It integrates with the `NotifProvider` to send notifications, including attachments of the generated CSV report and metrics for monitoring dashboards.\n- **File System Operations:** Uses `fs-extra` for creating and removing temporary directories and files.\n- **Environment Variable Reading:** Reads the `ALLOWED_INACTIVE_CONNECTED_APPS` environment variable to customize the list of ignored Connected Apps.\n</details>\n",
|
|
6809
6775
|
"examples": [
|
|
6810
|
-
"$ sf hardis:org:
|
|
6776
|
+
"$ sf hardis:org:diagnose:unused-connected-apps"
|
|
6811
6777
|
],
|
|
6812
6778
|
"flags": {
|
|
6813
6779
|
"json": {
|
|
@@ -6825,47 +6791,145 @@
|
|
|
6825
6791
|
"multiple": false,
|
|
6826
6792
|
"type": "option"
|
|
6827
6793
|
},
|
|
6828
|
-
"
|
|
6829
|
-
"char": "
|
|
6830
|
-
"description": "
|
|
6831
|
-
"name": "
|
|
6794
|
+
"outputfile": {
|
|
6795
|
+
"char": "f",
|
|
6796
|
+
"description": "Force the path and name of output report file. Must end with .csv",
|
|
6797
|
+
"name": "outputfile",
|
|
6832
6798
|
"hasDynamicHelp": false,
|
|
6833
6799
|
"multiple": false,
|
|
6834
6800
|
"type": "option"
|
|
6835
6801
|
},
|
|
6836
|
-
"
|
|
6837
|
-
"char": "
|
|
6838
|
-
"description": "
|
|
6839
|
-
"name": "
|
|
6840
|
-
"
|
|
6802
|
+
"debug": {
|
|
6803
|
+
"char": "d",
|
|
6804
|
+
"description": "Activate debug mode (more logs)",
|
|
6805
|
+
"name": "debug",
|
|
6806
|
+
"allowNo": false,
|
|
6807
|
+
"type": "boolean"
|
|
6808
|
+
},
|
|
6809
|
+
"websocket": {
|
|
6810
|
+
"description": "Websocket host:port for VsCode SFDX Hardis UI integration",
|
|
6811
|
+
"name": "websocket",
|
|
6841
6812
|
"hasDynamicHelp": false,
|
|
6842
6813
|
"multiple": false,
|
|
6843
6814
|
"type": "option"
|
|
6844
6815
|
},
|
|
6845
|
-
"
|
|
6846
|
-
"
|
|
6847
|
-
"
|
|
6848
|
-
"
|
|
6849
|
-
"
|
|
6850
|
-
|
|
6816
|
+
"skipauth": {
|
|
6817
|
+
"description": "Skip authentication check when a default username is required",
|
|
6818
|
+
"name": "skipauth",
|
|
6819
|
+
"allowNo": false,
|
|
6820
|
+
"type": "boolean"
|
|
6821
|
+
},
|
|
6822
|
+
"target-org": {
|
|
6823
|
+
"aliases": [
|
|
6824
|
+
"targetusername",
|
|
6825
|
+
"u"
|
|
6826
|
+
],
|
|
6827
|
+
"char": "o",
|
|
6828
|
+
"deprecateAliases": true,
|
|
6829
|
+
"name": "target-org",
|
|
6830
|
+
"noCacheDefault": true,
|
|
6831
|
+
"required": true,
|
|
6832
|
+
"summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
|
|
6833
|
+
"hasDynamicHelp": true,
|
|
6851
6834
|
"multiple": false,
|
|
6852
6835
|
"type": "option"
|
|
6836
|
+
}
|
|
6837
|
+
},
|
|
6838
|
+
"hasDynamicHelp": true,
|
|
6839
|
+
"hiddenAliases": [],
|
|
6840
|
+
"id": "hardis:org:diagnose:unused-connected-apps",
|
|
6841
|
+
"pluginAlias": "sfdx-hardis",
|
|
6842
|
+
"pluginName": "sfdx-hardis",
|
|
6843
|
+
"pluginType": "core",
|
|
6844
|
+
"strict": true,
|
|
6845
|
+
"enableJsonFlag": true,
|
|
6846
|
+
"title": "Unused Connected Apps in an org",
|
|
6847
|
+
"allowedInactiveConnectedApps": [
|
|
6848
|
+
"Ant Migration Tool",
|
|
6849
|
+
"Chatter Desktop",
|
|
6850
|
+
"Chatter Mobile for BlackBerry",
|
|
6851
|
+
"Force.com IDE",
|
|
6852
|
+
"OIQ_Integration",
|
|
6853
|
+
"Salesforce CLI",
|
|
6854
|
+
"Salesforce Files",
|
|
6855
|
+
"Salesforce Mobile Dashboards",
|
|
6856
|
+
"Salesforce Touch",
|
|
6857
|
+
"Salesforce for Outlook",
|
|
6858
|
+
"SalesforceA",
|
|
6859
|
+
"SalesforceA for Android",
|
|
6860
|
+
"SalesforceA for iOS",
|
|
6861
|
+
"SalesforceDX Namespace Registry",
|
|
6862
|
+
"SalesforceIQ"
|
|
6863
|
+
],
|
|
6864
|
+
"requiresProject": false,
|
|
6865
|
+
"isESM": true,
|
|
6866
|
+
"relativePath": [
|
|
6867
|
+
"lib",
|
|
6868
|
+
"commands",
|
|
6869
|
+
"hardis",
|
|
6870
|
+
"org",
|
|
6871
|
+
"diagnose",
|
|
6872
|
+
"unused-connected-apps.js"
|
|
6873
|
+
],
|
|
6874
|
+
"aliasPermutations": [],
|
|
6875
|
+
"permutations": [
|
|
6876
|
+
"hardis:org:diagnose:unused-connected-apps",
|
|
6877
|
+
"org:hardis:diagnose:unused-connected-apps",
|
|
6878
|
+
"org:diagnose:hardis:unused-connected-apps",
|
|
6879
|
+
"org:diagnose:unused-connected-apps:hardis",
|
|
6880
|
+
"hardis:diagnose:org:unused-connected-apps",
|
|
6881
|
+
"diagnose:hardis:org:unused-connected-apps",
|
|
6882
|
+
"diagnose:org:hardis:unused-connected-apps",
|
|
6883
|
+
"diagnose:org:unused-connected-apps:hardis",
|
|
6884
|
+
"hardis:diagnose:unused-connected-apps:org",
|
|
6885
|
+
"diagnose:hardis:unused-connected-apps:org",
|
|
6886
|
+
"diagnose:unused-connected-apps:hardis:org",
|
|
6887
|
+
"diagnose:unused-connected-apps:org:hardis",
|
|
6888
|
+
"hardis:org:unused-connected-apps:diagnose",
|
|
6889
|
+
"org:hardis:unused-connected-apps:diagnose",
|
|
6890
|
+
"org:unused-connected-apps:hardis:diagnose",
|
|
6891
|
+
"org:unused-connected-apps:diagnose:hardis",
|
|
6892
|
+
"hardis:unused-connected-apps:org:diagnose",
|
|
6893
|
+
"unused-connected-apps:hardis:org:diagnose",
|
|
6894
|
+
"unused-connected-apps:org:hardis:diagnose",
|
|
6895
|
+
"unused-connected-apps:org:diagnose:hardis",
|
|
6896
|
+
"hardis:unused-connected-apps:diagnose:org",
|
|
6897
|
+
"unused-connected-apps:hardis:diagnose:org",
|
|
6898
|
+
"unused-connected-apps:diagnose:hardis:org",
|
|
6899
|
+
"unused-connected-apps:diagnose:org:hardis"
|
|
6900
|
+
]
|
|
6901
|
+
},
|
|
6902
|
+
"hardis:org:diagnose:unusedlicenses": {
|
|
6903
|
+
"aliases": [],
|
|
6904
|
+
"args": {},
|
|
6905
|
+
"description": "\n## Command Behavior\n\n**Detects and suggests the deletion of unused Permission Set License Assignments in a Salesforce org.**\n\nWhen a Permission Set (PS) linked to a Permission Set License (PSL) is assigned to a user, a Permission Set License Assignment (PSLA) is automatically created. However, when that PS is unassigned from the user, the PSLA is *not* automatically deleted. This can lead to organizations being charged for unused PSLAs, representing a hidden cost and technical debt.\n\nThis command identifies such useless PSLAs and provides options to delete them, helping to optimize license usage and reduce unnecessary expenses.\n\nKey functionalities:\n\n- **PSLA Detection:** Queries the Salesforce org to find all active PSLAs.\n- **Usage Verification:** Correlates PSLAs with actual Permission Set Assignments and Permission Set Group Assignments to determine if the underlying Permission Sets are still assigned to the user.\n- **Special Case Handling:** Accounts for specific scenarios where profiles might implicitly assign PSLAs (e.g., `Salesforce API Only` profile assigning `SalesforceAPIIntegrationPsl`) and allows for always excluding certain PSLAs from the unused check.\n- **Reporting:** Generates a CSV report of all identified unused PSLAs, including the user and the associated Permission Set License.\n- **Notifications:** Sends notifications to configured channels (Grafana, Slack, MS Teams) with a summary of unused PSLAs.\n- **Interactive Deletion:** In non-CI environments, it offers an interactive prompt to bulk delete the identified unused PSLAs.\n\nMany thanks to [Vincent Finet](https://www.linkedin.com/in/vincentfinet/) for the inspiration during his great speaker session at [French Touch Dreamin '23](https://frenchtouchdreamin.com/), and his kind agreement for reusing such inspiration in this command 😊\n\nThis command is part of [sfdx-hardis Monitoring](https://sfdx-hardis.cloudity.com/salesforce-monitoring-unused-licenses/) and can output Grafana, Slack and MsTeams Notifications.\n\n<details markdown=\"1\">\n<summary>Technical explanations</summary>\n\nThe command's technical implementation involves extensive querying of Salesforce objects and data correlation:\n\n- **SOQL Queries (Bulk API):** It uses `bulkQuery` and `bulkQueryChunksIn` to efficiently retrieve large volumes of data from `PermissionSetLicenseAssign`, `PermissionSetLicense`, `PermissionSet`, `PermissionSetGroupComponent`, and `PermissionSetAssignment` objects.\n- **Data Correlation:** It meticulously correlates data across these objects to determine if a `PermissionSetLicenseAssign` record has a corresponding active assignment to a Permission Set or Permission Set Group for the same user.\n- **Filtering Logic:** It applies complex filtering logic to exclude PSLAs that are genuinely in use or are part of predefined exceptions (e.g., `alwaysExcludeForActiveUsersPermissionSetLicenses`).\n- **Bulk Deletion:** If the user opts to delete unused PSLAs, it uses `bulkUpdate` with the `delete` operation to efficiently remove multiple records.\n- **Report Generation:** It uses `generateCsvFile` to create the CSV report of unused PSLAs.\n- **Notification Integration:** It integrates with the `NotifProvider` to send notifications, including attachments of the generated CSV report and metrics for monitoring dashboards.\n- **User Interaction:** Uses `prompts` for interactive confirmation before performing deletion operations.\n</details>\n",
|
|
6906
|
+
"examples": [
|
|
6907
|
+
"$ sf hardis:org:diagnose:unusedlicenses",
|
|
6908
|
+
"$ sf hardis:org:diagnose:unusedlicenses --fix"
|
|
6909
|
+
],
|
|
6910
|
+
"flags": {
|
|
6911
|
+
"json": {
|
|
6912
|
+
"description": "Format output as json.",
|
|
6913
|
+
"helpGroup": "GLOBAL",
|
|
6914
|
+
"name": "json",
|
|
6915
|
+
"allowNo": false,
|
|
6916
|
+
"type": "boolean"
|
|
6853
6917
|
},
|
|
6854
|
-
"
|
|
6855
|
-
"
|
|
6856
|
-
"
|
|
6857
|
-
"
|
|
6858
|
-
"default": 0,
|
|
6918
|
+
"flags-dir": {
|
|
6919
|
+
"helpGroup": "GLOBAL",
|
|
6920
|
+
"name": "flags-dir",
|
|
6921
|
+
"summary": "Import flag values from a directory.",
|
|
6859
6922
|
"hasDynamicHelp": false,
|
|
6860
6923
|
"multiple": false,
|
|
6861
6924
|
"type": "option"
|
|
6862
6925
|
},
|
|
6863
|
-
"
|
|
6864
|
-
"char": "
|
|
6865
|
-
"description": "
|
|
6866
|
-
"name": "
|
|
6867
|
-
"
|
|
6868
|
-
"
|
|
6926
|
+
"outputfile": {
|
|
6927
|
+
"char": "f",
|
|
6928
|
+
"description": "Force the path and name of output report file. Must end with .csv",
|
|
6929
|
+
"name": "outputfile",
|
|
6930
|
+
"hasDynamicHelp": false,
|
|
6931
|
+
"multiple": false,
|
|
6932
|
+
"type": "option"
|
|
6869
6933
|
},
|
|
6870
6934
|
"debug": {
|
|
6871
6935
|
"char": "d",
|
|
@@ -6905,57 +6969,79 @@
|
|
|
6905
6969
|
},
|
|
6906
6970
|
"hasDynamicHelp": true,
|
|
6907
6971
|
"hiddenAliases": [],
|
|
6908
|
-
"id": "hardis:org:
|
|
6972
|
+
"id": "hardis:org:diagnose:unusedlicenses",
|
|
6909
6973
|
"pluginAlias": "sfdx-hardis",
|
|
6910
6974
|
"pluginName": "sfdx-hardis",
|
|
6911
6975
|
"pluginType": "core",
|
|
6912
6976
|
"strict": true,
|
|
6913
6977
|
"enableJsonFlag": true,
|
|
6914
|
-
"title": "
|
|
6978
|
+
"title": "Detect unused Permission Set Licenses (beta)",
|
|
6915
6979
|
"requiresProject": false,
|
|
6980
|
+
"additionalPermissionSetsToAlwaysGet": [
|
|
6981
|
+
"Sales_User"
|
|
6982
|
+
],
|
|
6983
|
+
"permSetsPermSetLicenses": [
|
|
6984
|
+
{
|
|
6985
|
+
"permSet": "Sales_User",
|
|
6986
|
+
"permSetLicense": "SalesUserPsl"
|
|
6987
|
+
}
|
|
6988
|
+
],
|
|
6989
|
+
"profilesPermissionSetLicenses": [
|
|
6990
|
+
{
|
|
6991
|
+
"profile": "Salesforce API Only",
|
|
6992
|
+
"permSetLicense": "SalesforceAPIIntegrationPsl"
|
|
6993
|
+
}
|
|
6994
|
+
],
|
|
6995
|
+
"alwaysExcludeForActiveUsersPermissionSetLicenses": [
|
|
6996
|
+
"IdentityConnect"
|
|
6997
|
+
],
|
|
6916
6998
|
"isESM": true,
|
|
6917
6999
|
"relativePath": [
|
|
6918
7000
|
"lib",
|
|
6919
7001
|
"commands",
|
|
6920
7002
|
"hardis",
|
|
6921
7003
|
"org",
|
|
6922
|
-
"
|
|
6923
|
-
"
|
|
7004
|
+
"diagnose",
|
|
7005
|
+
"unusedlicenses.js"
|
|
6924
7006
|
],
|
|
6925
7007
|
"aliasPermutations": [],
|
|
6926
7008
|
"permutations": [
|
|
6927
|
-
"hardis:org:
|
|
6928
|
-
"org:hardis:
|
|
6929
|
-
"org:
|
|
6930
|
-
"org:
|
|
6931
|
-
"hardis:
|
|
6932
|
-
"
|
|
6933
|
-
"
|
|
6934
|
-
"
|
|
6935
|
-
"hardis:
|
|
6936
|
-
"
|
|
6937
|
-
"
|
|
6938
|
-
"
|
|
6939
|
-
"hardis:org:
|
|
6940
|
-
"org:hardis:
|
|
6941
|
-
"org:
|
|
6942
|
-
"org:
|
|
6943
|
-
"hardis:
|
|
6944
|
-
"
|
|
6945
|
-
"
|
|
6946
|
-
"
|
|
6947
|
-
"hardis:
|
|
6948
|
-
"
|
|
6949
|
-
"
|
|
6950
|
-
"
|
|
7009
|
+
"hardis:org:diagnose:unusedlicenses",
|
|
7010
|
+
"org:hardis:diagnose:unusedlicenses",
|
|
7011
|
+
"org:diagnose:hardis:unusedlicenses",
|
|
7012
|
+
"org:diagnose:unusedlicenses:hardis",
|
|
7013
|
+
"hardis:diagnose:org:unusedlicenses",
|
|
7014
|
+
"diagnose:hardis:org:unusedlicenses",
|
|
7015
|
+
"diagnose:org:hardis:unusedlicenses",
|
|
7016
|
+
"diagnose:org:unusedlicenses:hardis",
|
|
7017
|
+
"hardis:diagnose:unusedlicenses:org",
|
|
7018
|
+
"diagnose:hardis:unusedlicenses:org",
|
|
7019
|
+
"diagnose:unusedlicenses:hardis:org",
|
|
7020
|
+
"diagnose:unusedlicenses:org:hardis",
|
|
7021
|
+
"hardis:org:unusedlicenses:diagnose",
|
|
7022
|
+
"org:hardis:unusedlicenses:diagnose",
|
|
7023
|
+
"org:unusedlicenses:hardis:diagnose",
|
|
7024
|
+
"org:unusedlicenses:diagnose:hardis",
|
|
7025
|
+
"hardis:unusedlicenses:org:diagnose",
|
|
7026
|
+
"unusedlicenses:hardis:org:diagnose",
|
|
7027
|
+
"unusedlicenses:org:hardis:diagnose",
|
|
7028
|
+
"unusedlicenses:org:diagnose:hardis",
|
|
7029
|
+
"hardis:unusedlicenses:diagnose:org",
|
|
7030
|
+
"unusedlicenses:hardis:diagnose:org",
|
|
7031
|
+
"unusedlicenses:diagnose:hardis:org",
|
|
7032
|
+
"unusedlicenses:diagnose:org:hardis"
|
|
6951
7033
|
]
|
|
6952
7034
|
},
|
|
6953
|
-
"hardis:org:
|
|
7035
|
+
"hardis:org:diagnose:unusedusers": {
|
|
6954
7036
|
"aliases": [],
|
|
6955
7037
|
"args": {},
|
|
6956
|
-
"description": "\
|
|
7038
|
+
"description": "\n## Command Behavior\n\n**Detects and reports on inactive or unused Salesforce user accounts, helping to optimize license usage and enhance security.**\n\nEfficient user management is vital in Salesforce to ensure resources are optimized and costs are controlled. However, inactive or unused user accounts can often go unnoticed, leading to wasted licenses and potential security risks. This tool addresses this challenge by enabling administrators to identify users who haven't logged in within a specified period.\n\nBy analyzing user login activity and last login timestamps, this feature highlights inactive user accounts, allowing administrators to take appropriate action. Whether it's deactivating dormant accounts, freeing up licenses, or ensuring compliance with security policies, this functionality empowers administrators to maintain a lean and secure Salesforce environment.\n\nKey functionalities:\n\n- **Inactivity Detection:** Identifies users who have not logged in for a specified number of days (`--days` flag, default 180 days in CI, 365 days otherwise).\n- **License Type Filtering:** Allows filtering users by license type using `--licensetypes` (e.g., `all-crm`, `all-paying`) or specific license identifiers using `--licenseidentifiers`.\n - `all-crm`: Includes `SFDC`, `AUL`, `AUL1`, `AULL_IGHT` licenses.\n - `all-paying`: Includes `SFDC`, `AUL`, `AUL1`, `AULL_IGHT`, `PID_Customer_Community`, `PID_Customer_Community_Login`, `PID_Partner_Community`, `PID_Partner_Community_Login` licenses.\n - Note: You can see the full list of available license identifiers in [Salesforce Documentation](https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/sfdx_cli_reference/sforce_api_objects_userlicense.htm).\n- **Active User Retrieval:** The `--returnactiveusers` flag inverts the command, allowing you to retrieve active users who *have* logged in during the specified period.\n- **CSV Report Generation:** Generates a CSV file containing details of all identified users (inactive or active), including their last login date, profile, and license information.\n- **Notifications:** Sends notifications to configured channels (Grafana, Slack, MS Teams) with a summary of inactive or active users.\n\nThis command is part of [sfdx-hardis Monitoring](https://sfdx-hardis.cloudity.com/salesforce-monitoring-inactive-users/) and can output Grafana, Slack and MsTeams Notifications.\n\n<details markdown=\"1\">\n<summary>Technical explanations</summary>\n\nThe command's technical implementation involves:\n\n- **SOQL Query (Bulk API):** It uses `bulkQuery` to efficiently retrieve user records from the Salesforce `User` object. The SOQL query dynamically constructs its WHERE clause based on the `--days`, `--licensetypes`, `--licenseidentifiers`, and `--returnactiveusers` flags.\n- **Interactive Prompts:** Uses `prompts` to interactively ask the user for the number of inactive days and license types if not provided via flags.\n- **License Mapping:** Internally maps common license type aliases (e.g., `all-crm`) to their corresponding Salesforce `LicenseDefinitionKey` values.\n- **Report Generation:** It uses `generateCsvFile` to create the CSV report of users.\n- **Notification Integration:** It integrates with the `NotifProvider` to send notifications, including attachments of the generated CSV report and metrics for monitoring dashboards.\n- **User Feedback:** Provides a summary of the findings in the console, indicating the number of inactive or active users found.\n</details>",
|
|
6957
7039
|
"examples": [
|
|
6958
|
-
"$ sf hardis:org:
|
|
7040
|
+
"$ sf hardis:org:diagnose:unusedusers",
|
|
7041
|
+
"$ sf hardis:org:diagnose:unusedusers --days 365",
|
|
7042
|
+
"$ sf hardis:org:diagnose:unusedusers --days 60 --licensetypes all-crm",
|
|
7043
|
+
"$ sf hardis:org:diagnose:unusedusers --days 60 --licenseidentifiers SFDC,AUL,AUL1",
|
|
7044
|
+
"$ sf hardis:org:diagnose:unusedusers --days 60 --licensetypes all-crm --returnactiveusers"
|
|
6959
7045
|
],
|
|
6960
7046
|
"flags": {
|
|
6961
7047
|
"json": {
|
|
@@ -6973,18 +7059,46 @@
|
|
|
6973
7059
|
"multiple": false,
|
|
6974
7060
|
"type": "option"
|
|
6975
7061
|
},
|
|
6976
|
-
"
|
|
6977
|
-
"char": "
|
|
6978
|
-
"description": "
|
|
6979
|
-
"name": "
|
|
7062
|
+
"outputfile": {
|
|
7063
|
+
"char": "f",
|
|
7064
|
+
"description": "Force the path and name of output report file. Must end with .csv",
|
|
7065
|
+
"name": "outputfile",
|
|
6980
7066
|
"hasDynamicHelp": false,
|
|
6981
7067
|
"multiple": false,
|
|
6982
7068
|
"type": "option"
|
|
6983
7069
|
},
|
|
6984
|
-
"
|
|
6985
|
-
"char": "
|
|
6986
|
-
"description": "
|
|
6987
|
-
"name": "
|
|
7070
|
+
"days": {
|
|
7071
|
+
"char": "t",
|
|
7072
|
+
"description": "Extracts the users that have been inactive for the amount of days specified. In CI, default is 180 days",
|
|
7073
|
+
"name": "days",
|
|
7074
|
+
"hasDynamicHelp": false,
|
|
7075
|
+
"multiple": false,
|
|
7076
|
+
"type": "option"
|
|
7077
|
+
},
|
|
7078
|
+
"licensetypes": {
|
|
7079
|
+
"char": "l",
|
|
7080
|
+
"description": "Type of licenses to check. If set, do not use licenseidentifiers option. In CI, default is all-crm",
|
|
7081
|
+
"name": "licensetypes",
|
|
7082
|
+
"hasDynamicHelp": false,
|
|
7083
|
+
"multiple": false,
|
|
7084
|
+
"options": [
|
|
7085
|
+
"all",
|
|
7086
|
+
"all-crm",
|
|
7087
|
+
"all-paying"
|
|
7088
|
+
],
|
|
7089
|
+
"type": "option"
|
|
7090
|
+
},
|
|
7091
|
+
"licenseidentifiers": {
|
|
7092
|
+
"char": "i",
|
|
7093
|
+
"description": "Comma-separated list of license identifiers, in case licensetypes is not used.. Identifiers available at https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_userlicense.htm",
|
|
7094
|
+
"name": "licenseidentifiers",
|
|
7095
|
+
"hasDynamicHelp": false,
|
|
7096
|
+
"multiple": false,
|
|
7097
|
+
"type": "option"
|
|
7098
|
+
},
|
|
7099
|
+
"returnactiveusers": {
|
|
7100
|
+
"description": "Inverts the command by returning the active users",
|
|
7101
|
+
"name": "returnactiveusers",
|
|
6988
7102
|
"allowNo": false,
|
|
6989
7103
|
"type": "boolean"
|
|
6990
7104
|
},
|
|
@@ -7026,13 +7140,13 @@
|
|
|
7026
7140
|
},
|
|
7027
7141
|
"hasDynamicHelp": true,
|
|
7028
7142
|
"hiddenAliases": [],
|
|
7029
|
-
"id": "hardis:org:
|
|
7143
|
+
"id": "hardis:org:diagnose:unusedusers",
|
|
7030
7144
|
"pluginAlias": "sfdx-hardis",
|
|
7031
7145
|
"pluginName": "sfdx-hardis",
|
|
7032
7146
|
"pluginType": "core",
|
|
7033
7147
|
"strict": true,
|
|
7034
7148
|
"enableJsonFlag": true,
|
|
7035
|
-
"title": "
|
|
7149
|
+
"title": "Detect unused Users in Salesforce",
|
|
7036
7150
|
"requiresProject": false,
|
|
7037
7151
|
"isESM": true,
|
|
7038
7152
|
"relativePath": [
|
|
@@ -7040,35 +7154,35 @@
|
|
|
7040
7154
|
"commands",
|
|
7041
7155
|
"hardis",
|
|
7042
7156
|
"org",
|
|
7043
|
-
"
|
|
7044
|
-
"
|
|
7157
|
+
"diagnose",
|
|
7158
|
+
"unusedusers.js"
|
|
7045
7159
|
],
|
|
7046
7160
|
"aliasPermutations": [],
|
|
7047
7161
|
"permutations": [
|
|
7048
|
-
"hardis:org:
|
|
7049
|
-
"org:hardis:
|
|
7050
|
-
"org:
|
|
7051
|
-
"org:
|
|
7052
|
-
"hardis:
|
|
7053
|
-
"
|
|
7054
|
-
"
|
|
7055
|
-
"
|
|
7056
|
-
"hardis:
|
|
7057
|
-
"
|
|
7058
|
-
"
|
|
7059
|
-
"
|
|
7060
|
-
"hardis:org:
|
|
7061
|
-
"org:hardis:
|
|
7062
|
-
"org:
|
|
7063
|
-
"org:
|
|
7064
|
-
"hardis:
|
|
7065
|
-
"
|
|
7066
|
-
"
|
|
7067
|
-
"
|
|
7068
|
-
"hardis:
|
|
7069
|
-
"
|
|
7070
|
-
"
|
|
7071
|
-
"
|
|
7162
|
+
"hardis:org:diagnose:unusedusers",
|
|
7163
|
+
"org:hardis:diagnose:unusedusers",
|
|
7164
|
+
"org:diagnose:hardis:unusedusers",
|
|
7165
|
+
"org:diagnose:unusedusers:hardis",
|
|
7166
|
+
"hardis:diagnose:org:unusedusers",
|
|
7167
|
+
"diagnose:hardis:org:unusedusers",
|
|
7168
|
+
"diagnose:org:hardis:unusedusers",
|
|
7169
|
+
"diagnose:org:unusedusers:hardis",
|
|
7170
|
+
"hardis:diagnose:unusedusers:org",
|
|
7171
|
+
"diagnose:hardis:unusedusers:org",
|
|
7172
|
+
"diagnose:unusedusers:hardis:org",
|
|
7173
|
+
"diagnose:unusedusers:org:hardis",
|
|
7174
|
+
"hardis:org:unusedusers:diagnose",
|
|
7175
|
+
"org:hardis:unusedusers:diagnose",
|
|
7176
|
+
"org:unusedusers:hardis:diagnose",
|
|
7177
|
+
"org:unusedusers:diagnose:hardis",
|
|
7178
|
+
"hardis:unusedusers:org:diagnose",
|
|
7179
|
+
"unusedusers:hardis:org:diagnose",
|
|
7180
|
+
"unusedusers:org:hardis:diagnose",
|
|
7181
|
+
"unusedusers:org:diagnose:hardis",
|
|
7182
|
+
"hardis:unusedusers:diagnose:org",
|
|
7183
|
+
"unusedusers:hardis:diagnose:org",
|
|
7184
|
+
"unusedusers:diagnose:hardis:org",
|
|
7185
|
+
"unusedusers:diagnose:org:hardis"
|
|
7072
7186
|
]
|
|
7073
7187
|
},
|
|
7074
7188
|
"hardis:org:fix:listviewmine": {
|
|
@@ -15370,5 +15484,5 @@
|
|
|
15370
15484
|
]
|
|
15371
15485
|
}
|
|
15372
15486
|
},
|
|
15373
|
-
"version": "6.
|
|
15487
|
+
"version": "6.10.0"
|
|
15374
15488
|
}
|