sfdx-hardis 5.32.2-beta202505101931.0 → 5.34.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 +10 -2
- package/lib/commands/hardis/misc/custom-label-translations.d.ts +21 -0
- package/lib/commands/hardis/misc/custom-label-translations.js +311 -0
- package/lib/commands/hardis/misc/custom-label-translations.js.map +1 -0
- package/lib/commands/hardis/org/diagnose/audittrail.d.ts +11 -0
- package/lib/commands/hardis/org/diagnose/audittrail.js +249 -158
- package/lib/commands/hardis/org/diagnose/audittrail.js.map +1 -1
- package/lib/common/aiProvider/promptTemplates.js +1 -1
- package/lib/common/aiProvider/promptTemplates.js.map +1 -1
- package/lib/common/utils/apiUtils.js +22 -2
- package/lib/common/utils/apiUtils.js.map +1 -1
- package/oclif.manifest.json +254 -164
- package/package.json +1 -1
package/oclif.manifest.json
CHANGED
|
@@ -57,12 +57,13 @@
|
|
|
57
57
|
"world:hello"
|
|
58
58
|
]
|
|
59
59
|
},
|
|
60
|
-
"hardis:
|
|
60
|
+
"hardis:auth:login": {
|
|
61
61
|
"aliases": [],
|
|
62
62
|
"args": {},
|
|
63
|
-
"description": "
|
|
63
|
+
"description": "Login to salesforce org",
|
|
64
64
|
"examples": [
|
|
65
|
-
"$ sf hardis:
|
|
65
|
+
"$ sf hardis:auth:login",
|
|
66
|
+
"CI=true sf hardis:auth:login"
|
|
66
67
|
],
|
|
67
68
|
"flags": {
|
|
68
69
|
"json": {
|
|
@@ -80,6 +81,28 @@
|
|
|
80
81
|
"multiple": false,
|
|
81
82
|
"type": "option"
|
|
82
83
|
},
|
|
84
|
+
"instanceurl": {
|
|
85
|
+
"char": "r",
|
|
86
|
+
"description": "URL of org instance",
|
|
87
|
+
"name": "instanceurl",
|
|
88
|
+
"hasDynamicHelp": false,
|
|
89
|
+
"multiple": false,
|
|
90
|
+
"type": "option"
|
|
91
|
+
},
|
|
92
|
+
"devhub": {
|
|
93
|
+
"char": "h",
|
|
94
|
+
"description": "Also connect associated DevHub",
|
|
95
|
+
"name": "devhub",
|
|
96
|
+
"allowNo": false,
|
|
97
|
+
"type": "boolean"
|
|
98
|
+
},
|
|
99
|
+
"scratchorg": {
|
|
100
|
+
"char": "s",
|
|
101
|
+
"description": "Scratch org",
|
|
102
|
+
"name": "scratchorg",
|
|
103
|
+
"allowNo": false,
|
|
104
|
+
"type": "boolean"
|
|
105
|
+
},
|
|
83
106
|
"debug": {
|
|
84
107
|
"char": "d",
|
|
85
108
|
"description": "Activate debug mode (more logs)",
|
|
@@ -103,39 +126,38 @@
|
|
|
103
126
|
},
|
|
104
127
|
"hasDynamicHelp": false,
|
|
105
128
|
"hiddenAliases": [],
|
|
106
|
-
"id": "hardis:
|
|
129
|
+
"id": "hardis:auth:login",
|
|
107
130
|
"pluginAlias": "sfdx-hardis",
|
|
108
131
|
"pluginName": "sfdx-hardis",
|
|
109
132
|
"pluginType": "core",
|
|
110
133
|
"strict": true,
|
|
111
134
|
"enableJsonFlag": true,
|
|
112
|
-
"title": "
|
|
135
|
+
"title": "Login",
|
|
113
136
|
"requiresProject": false,
|
|
114
137
|
"isESM": true,
|
|
115
138
|
"relativePath": [
|
|
116
139
|
"lib",
|
|
117
140
|
"commands",
|
|
118
141
|
"hardis",
|
|
119
|
-
"
|
|
120
|
-
"
|
|
142
|
+
"auth",
|
|
143
|
+
"login.js"
|
|
121
144
|
],
|
|
122
145
|
"aliasPermutations": [],
|
|
123
146
|
"permutations": [
|
|
124
|
-
"hardis:
|
|
125
|
-
"
|
|
126
|
-
"
|
|
127
|
-
"hardis:
|
|
128
|
-
"
|
|
129
|
-
"
|
|
147
|
+
"hardis:auth:login",
|
|
148
|
+
"auth:hardis:login",
|
|
149
|
+
"auth:login:hardis",
|
|
150
|
+
"hardis:login:auth",
|
|
151
|
+
"login:hardis:auth",
|
|
152
|
+
"login:auth:hardis"
|
|
130
153
|
]
|
|
131
154
|
},
|
|
132
|
-
"hardis:
|
|
155
|
+
"hardis:cache:clear": {
|
|
133
156
|
"aliases": [],
|
|
134
157
|
"args": {},
|
|
135
|
-
"description": "
|
|
158
|
+
"description": "Clear cache generated by sfdx-hardis",
|
|
136
159
|
"examples": [
|
|
137
|
-
"$ sf hardis:
|
|
138
|
-
"CI=true sf hardis:auth:login"
|
|
160
|
+
"$ sf hardis:cache:clear"
|
|
139
161
|
],
|
|
140
162
|
"flags": {
|
|
141
163
|
"json": {
|
|
@@ -153,28 +175,6 @@
|
|
|
153
175
|
"multiple": false,
|
|
154
176
|
"type": "option"
|
|
155
177
|
},
|
|
156
|
-
"instanceurl": {
|
|
157
|
-
"char": "r",
|
|
158
|
-
"description": "URL of org instance",
|
|
159
|
-
"name": "instanceurl",
|
|
160
|
-
"hasDynamicHelp": false,
|
|
161
|
-
"multiple": false,
|
|
162
|
-
"type": "option"
|
|
163
|
-
},
|
|
164
|
-
"devhub": {
|
|
165
|
-
"char": "h",
|
|
166
|
-
"description": "Also connect associated DevHub",
|
|
167
|
-
"name": "devhub",
|
|
168
|
-
"allowNo": false,
|
|
169
|
-
"type": "boolean"
|
|
170
|
-
},
|
|
171
|
-
"scratchorg": {
|
|
172
|
-
"char": "s",
|
|
173
|
-
"description": "Scratch org",
|
|
174
|
-
"name": "scratchorg",
|
|
175
|
-
"allowNo": false,
|
|
176
|
-
"type": "boolean"
|
|
177
|
-
},
|
|
178
178
|
"debug": {
|
|
179
179
|
"char": "d",
|
|
180
180
|
"description": "Activate debug mode (more logs)",
|
|
@@ -198,30 +198,30 @@
|
|
|
198
198
|
},
|
|
199
199
|
"hasDynamicHelp": false,
|
|
200
200
|
"hiddenAliases": [],
|
|
201
|
-
"id": "hardis:
|
|
201
|
+
"id": "hardis:cache:clear",
|
|
202
202
|
"pluginAlias": "sfdx-hardis",
|
|
203
203
|
"pluginName": "sfdx-hardis",
|
|
204
204
|
"pluginType": "core",
|
|
205
205
|
"strict": true,
|
|
206
206
|
"enableJsonFlag": true,
|
|
207
|
-
"title": "
|
|
207
|
+
"title": "Clear sfdx-hardis cache",
|
|
208
208
|
"requiresProject": false,
|
|
209
209
|
"isESM": true,
|
|
210
210
|
"relativePath": [
|
|
211
211
|
"lib",
|
|
212
212
|
"commands",
|
|
213
213
|
"hardis",
|
|
214
|
-
"
|
|
215
|
-
"
|
|
214
|
+
"cache",
|
|
215
|
+
"clear.js"
|
|
216
216
|
],
|
|
217
217
|
"aliasPermutations": [],
|
|
218
218
|
"permutations": [
|
|
219
|
-
"hardis:
|
|
220
|
-
"
|
|
221
|
-
"
|
|
222
|
-
"hardis:
|
|
223
|
-
"
|
|
224
|
-
"
|
|
219
|
+
"hardis:cache:clear",
|
|
220
|
+
"cache:hardis:clear",
|
|
221
|
+
"cache:clear:hardis",
|
|
222
|
+
"hardis:clear:cache",
|
|
223
|
+
"clear:hardis:cache",
|
|
224
|
+
"clear:cache:hardis"
|
|
225
225
|
]
|
|
226
226
|
},
|
|
227
227
|
"hardis:config:get": {
|
|
@@ -1514,6 +1514,96 @@
|
|
|
1514
1514
|
"deploy:mdapi:hardis"
|
|
1515
1515
|
]
|
|
1516
1516
|
},
|
|
1517
|
+
"hardis:misc:custom-label-translations": {
|
|
1518
|
+
"aliases": [],
|
|
1519
|
+
"args": {},
|
|
1520
|
+
"description": "Extract selected custom labels, or of a given Lightning Web Component (LWC), from all language translation files. This command generates translation files ('*.translation - meta.xml') for each language already retrieved in the current project, containing only the specified custom labels.",
|
|
1521
|
+
"examples": [
|
|
1522
|
+
"$ sf hardis:misc:custom-label-translations --label CustomLabelName",
|
|
1523
|
+
"$ sf hardis:misc:custom-label-translations --label Label1,Label2",
|
|
1524
|
+
"$ sf hardis:misc:custom-label-translations --lwc MyComponent"
|
|
1525
|
+
],
|
|
1526
|
+
"flags": {
|
|
1527
|
+
"json": {
|
|
1528
|
+
"description": "Format output as json.",
|
|
1529
|
+
"helpGroup": "GLOBAL",
|
|
1530
|
+
"name": "json",
|
|
1531
|
+
"allowNo": false,
|
|
1532
|
+
"type": "boolean"
|
|
1533
|
+
},
|
|
1534
|
+
"flags-dir": {
|
|
1535
|
+
"helpGroup": "GLOBAL",
|
|
1536
|
+
"name": "flags-dir",
|
|
1537
|
+
"summary": "Import flag values from a directory.",
|
|
1538
|
+
"hasDynamicHelp": false,
|
|
1539
|
+
"multiple": false,
|
|
1540
|
+
"type": "option"
|
|
1541
|
+
},
|
|
1542
|
+
"label": {
|
|
1543
|
+
"char": "l",
|
|
1544
|
+
"description": "Developer name(s) of the custom label(s), comma-separated",
|
|
1545
|
+
"name": "label",
|
|
1546
|
+
"hasDynamicHelp": false,
|
|
1547
|
+
"multiple": false,
|
|
1548
|
+
"type": "option"
|
|
1549
|
+
},
|
|
1550
|
+
"lwc": {
|
|
1551
|
+
"char": "c",
|
|
1552
|
+
"description": "Developer name of the Lightning Web Component",
|
|
1553
|
+
"name": "lwc",
|
|
1554
|
+
"hasDynamicHelp": false,
|
|
1555
|
+
"multiple": false,
|
|
1556
|
+
"type": "option"
|
|
1557
|
+
},
|
|
1558
|
+
"debug": {
|
|
1559
|
+
"char": "d",
|
|
1560
|
+
"description": "Activate debug mode (more logs)",
|
|
1561
|
+
"name": "debug",
|
|
1562
|
+
"allowNo": false,
|
|
1563
|
+
"type": "boolean"
|
|
1564
|
+
},
|
|
1565
|
+
"websocket": {
|
|
1566
|
+
"description": "Websocket host:port for VsCode SFDX Hardis UI integration",
|
|
1567
|
+
"name": "websocket",
|
|
1568
|
+
"hasDynamicHelp": false,
|
|
1569
|
+
"multiple": false,
|
|
1570
|
+
"type": "option"
|
|
1571
|
+
},
|
|
1572
|
+
"skipauth": {
|
|
1573
|
+
"description": "Skip authentication check when a default username is required",
|
|
1574
|
+
"name": "skipauth",
|
|
1575
|
+
"allowNo": false,
|
|
1576
|
+
"type": "boolean"
|
|
1577
|
+
}
|
|
1578
|
+
},
|
|
1579
|
+
"hasDynamicHelp": false,
|
|
1580
|
+
"hiddenAliases": [],
|
|
1581
|
+
"id": "hardis:misc:custom-label-translations",
|
|
1582
|
+
"pluginAlias": "sfdx-hardis",
|
|
1583
|
+
"pluginName": "sfdx-hardis",
|
|
1584
|
+
"pluginType": "core",
|
|
1585
|
+
"strict": true,
|
|
1586
|
+
"enableJsonFlag": true,
|
|
1587
|
+
"title": "Custom Label Translations",
|
|
1588
|
+
"requiresProject": true,
|
|
1589
|
+
"isESM": true,
|
|
1590
|
+
"relativePath": [
|
|
1591
|
+
"lib",
|
|
1592
|
+
"commands",
|
|
1593
|
+
"hardis",
|
|
1594
|
+
"misc",
|
|
1595
|
+
"custom-label-translations.js"
|
|
1596
|
+
],
|
|
1597
|
+
"aliasPermutations": [],
|
|
1598
|
+
"permutations": [
|
|
1599
|
+
"hardis:misc:custom-label-translations",
|
|
1600
|
+
"misc:hardis:custom-label-translations",
|
|
1601
|
+
"misc:custom-label-translations:hardis",
|
|
1602
|
+
"hardis:custom-label-translations:misc",
|
|
1603
|
+
"custom-label-translations:hardis:misc",
|
|
1604
|
+
"custom-label-translations:misc:hardis"
|
|
1605
|
+
]
|
|
1606
|
+
},
|
|
1517
1607
|
"hardis:misc:purge-references": {
|
|
1518
1608
|
"aliases": [],
|
|
1519
1609
|
"args": {},
|
|
@@ -5199,7 +5289,7 @@
|
|
|
5199
5289
|
"hardis:org:diagnose:audittrail": {
|
|
5200
5290
|
"aliases": [],
|
|
5201
5291
|
"args": {},
|
|
5202
|
-
"description": "Export Audit trail into a CSV file with selected criteria, and highlight suspect actions\n\nRegular setup actions performed in major orgs are filtered.\n\n- \"\"\n - createScratchOrg\n - changedsenderemail\n - deleteScratchOrg\n - loginasgrantedtopartnerbt\n- Certificate and Key Management\n - insertCertificate\n- Custom App Licenses\n - addeduserpackagelicense\n - granteduserpackagelicense\n - revokeduserpackagelicense\n- Customer Portal\n - createdcustomersuccessuser\n - CSPUserDisabled\n- Currency\n - updateddatedexchrate\n- Data Management\n - queueMembership\n- Email Administration\n - dkimRotationPreparationSuccessful\n - dkimRotationSuccessful\n- Groups\n - groupMembership\n- Holidays\n - holiday_insert\n- Inbox mobile and legacy desktop apps\n - enableSIQUserNonEAC\n- Manage Users\n - activateduser\n - createduser\n - changedcommunitynickname\n - changedemail\n - changedfederationid\n - changedpassword\n - changedinteractionuseroffon\n - changedinteractionuseronoff\n - changedmarketinguseroffon\n - changedmarketinguseronoff\n - changedofflineuseroffon\n - changedprofileforuserstdtostd\n - changedprofileforuser\n - changedprofileforusercusttostd\n - changedprofileforuserstdtocust\n - changedroleforusertonone\n - changedroleforuser\n - changedroleforuserfromnone\n - changedUserEmailVerifiedStatusUnverified\n - changedUserEmailVerifiedStatusVerified\n - changedknowledgeuseroffon\n - changedsfcontentuseroffon\n - changedsupportuseroffon\n - changedUserPhoneNumber\n - changedUserPhoneVerifiedStatusUnverified\n - deactivateduser\n - deleteAuthenticatorPairing\n - deleteTwoFactorInfo2\n - deleteTwoFactorTempCode\n - frozeuser\n - insertAuthenticatorPairing\n - insertTwoFactorInfo2\n - insertTwoFactorTempCode\n - lightningloginenroll\n - PermSetAssign\n - PermSetGroupAssign\n - PermSetGroupUnassign\n - PermSetLicenseAssign\n - PermSetUnassign\n - PermSetLicenseUnassign\n - registeredUserPhoneNumber\n - resetpassword\n - suNetworkAdminLogin\n - suNetworkAdminLogout\n - suOrgAdminLogin\n - suOrgAdminLogout\n - unfrozeuser\n - useremailchangesent\n- Mobile Administration\n - assigneduserstomobileconfig\n- Reporting Snapshots\n - createdReportJob\n - deletedReportJob\n- Sandboxes\n - DeleteSandbox\n\nBy default, deployment user defined in .sfdx-hardis.yml targetUsername property will be excluded.\n\nYou can define additional users to exclude in .sfdx-hardis.yml **monitoringExcludeUsernames** property.\n\nYou can also add more sections / actions considered as not suspect using property **monitoringAllowedSectionsActions**\n\nExample:\n\n```yaml\nmonitoringExcludeUsernames:\n - deploymentuser@cloudity.com\n - marketingcloud@cloudity.com\n - integration-user@cloudity.com\n\nmonitoringAllowedSectionsActions:\n \"Some section\": [] // Will ignore all actions from such section\n \"Some other section\": [\"actionType1\",\"actionType2\",\"actionType3\"] // Will ignore only those 3 actions from section \"Some other section\". Other actions in the same section will be considered as suspect.\n```\n\n## Excel output example\n\n\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",
|
|
5292
|
+
"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- Groups\n - groupMembership\n- Holidays\n - holiday_insert\n- Inbox mobile and legacy desktop apps\n - enableSIQUserNonEAC\n- Manage Users\n - activateduser\n - createduser\n - changedcommunitynickname\n - changedemail\n - changedfederationid\n - changedpassword\n - changedinteractionuseroffon\n - changedinteractionuseronoff\n - changedmarketinguseroffon\n - changedmarketinguseronoff\n - changedofflineuseroffon\n - changedprofileforuserstdtostd\n - changedprofileforuser\n - changedprofileforusercusttostd\n - changedprofileforuserstdtocust\n - changedroleforusertonone\n - changedroleforuser\n - changedroleforuserfromnone\n - changedUserEmailVerifiedStatusUnverified\n - changedUserEmailVerifiedStatusVerified\n - changedknowledgeuseroffon\n - changedsfcontentuseroffon\n - changedsupportuseroffon\n - changedUserPhoneNumber\n - changedUserPhoneVerifiedStatusUnverified\n - deactivateduser\n - deleteAuthenticatorPairing\n - deleteTwoFactorInfo2\n - deleteTwoFactorTempCode\n - frozeuser\n - insertAuthenticatorPairing\n - insertTwoFactorInfo2\n - insertTwoFactorTempCode\n - lightningloginenroll\n - PermSetAssign\n - PermSetGroupAssign\n - PermSetGroupUnassign\n - PermSetLicenseAssign\n - PermSetUnassign\n - PermSetLicenseUnassign\n - registeredUserPhoneNumber\n - resetpassword\n - suNetworkAdminLogin\n - suNetworkAdminLogout\n - suOrgAdminLogin\n - suOrgAdminLogout\n - unfrozeuser\n - useremailchangesent\n- Mobile Administration\n - assigneduserstomobileconfig\n- Reporting Snapshots\n - createdReportJob\n - deletedReportJob\n- Sandboxes\n - DeleteSandbox\n\nBy default, deployment user defined in .sfdx-hardis.yml targetUsername property will be excluded.\n\nYou can define additional users to exclude in .sfdx-hardis.yml **monitoringExcludeUsernames** property.\n\nYou can also add more sections / actions considered as not suspect using property **monitoringAllowedSectionsActions**\n\nExample:\n\n```yaml\nmonitoringExcludeUsernames:\n - deploymentuser@cloudity.com\n - marketingcloud@cloudity.com\n - integration-user@cloudity.com\n\nmonitoringAllowedSectionsActions:\n \"Some section\": [] // Will ignore all actions from such section\n \"Some other section\": [\"actionType1\",\"actionType2\",\"actionType3\"] // Will ignore only those 3 actions from section \"Some other section\". Other actions in the same section will be considered as suspect.\n```\n\n## Excel output example\n\n\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",
|
|
5203
5293
|
"examples": [
|
|
5204
5294
|
"$ sf hardis:org:diagnose:audittrail",
|
|
5205
5295
|
"$ sf hardis:org:diagnose:audittrail --excludeusers baptiste@titi.com",
|
|
@@ -12072,6 +12162,119 @@
|
|
|
12072
12162
|
"v53flexipages:fix:project:hardis"
|
|
12073
12163
|
]
|
|
12074
12164
|
},
|
|
12165
|
+
"hardis:project:metadata:findduplicates": {
|
|
12166
|
+
"aliases": [],
|
|
12167
|
+
"args": {},
|
|
12168
|
+
"description": "find duplicate values in XML file(s).\n Find duplicate values in XML file(s). Keys to be checked can be configured in `config/sfdx-hardis.yml` using property metadataDuplicateFindKeys.\n\nDefault config :\nmetadataDuplicateFindKeys :\n[object Object]\n",
|
|
12169
|
+
"examples": [
|
|
12170
|
+
"\n<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Layout xmlns=\"http://soap.sforce.com/2006/04/metadata\">\n <layoutSections>\n ...\n <layoutColumns>\n <layoutItems>\n <behavior>Required</behavior>\n <field>Name</field>\n </layoutItems>\n <layoutItems>\n <behavior>Required</behavior>\n <field>Name</field>\n </layoutItems>\n </layoutColumns>\n </layoutSections>\n</Layout>\n",
|
|
12171
|
+
"\n$ sf hardis:project:metadata:findduplicates --file layout.layout-meta.xml\n[sfdx-hardis] Duplicate values in layout.layout-meta.xml\n - Key : Layout.layoutSections.layoutColumns.layoutItems.field\n - Values : Name\n",
|
|
12172
|
+
"\n$ sf hardis:project.metadata:findduplicates -f \"force-app/main/default/**/*.xml\"\n[sfdx-hardis] hardis:project:metadata:findduplicates execution time 0:00:00.397\n[sfdx-hardis] Duplicate values in layout1.layout-meta.xml\n - Key : Layout.layoutSections.layoutColumns.layoutItems.field\n - Values : CreatedById\n\n[sfdx-hardis] Duplicate values in layout2.layout-meta.xml\n - Key : Layout.layoutSections.layoutColumns.layoutItems.field\n - Values : LastModifiedById, Name\n"
|
|
12173
|
+
],
|
|
12174
|
+
"flags": {
|
|
12175
|
+
"json": {
|
|
12176
|
+
"description": "Format output as json.",
|
|
12177
|
+
"helpGroup": "GLOBAL",
|
|
12178
|
+
"name": "json",
|
|
12179
|
+
"allowNo": false,
|
|
12180
|
+
"type": "boolean"
|
|
12181
|
+
},
|
|
12182
|
+
"flags-dir": {
|
|
12183
|
+
"helpGroup": "GLOBAL",
|
|
12184
|
+
"name": "flags-dir",
|
|
12185
|
+
"summary": "Import flag values from a directory.",
|
|
12186
|
+
"hasDynamicHelp": false,
|
|
12187
|
+
"multiple": false,
|
|
12188
|
+
"type": "option"
|
|
12189
|
+
},
|
|
12190
|
+
"files": {
|
|
12191
|
+
"char": "f",
|
|
12192
|
+
"description": "XML metadata files path",
|
|
12193
|
+
"name": "files",
|
|
12194
|
+
"hasDynamicHelp": false,
|
|
12195
|
+
"multiple": true,
|
|
12196
|
+
"type": "option"
|
|
12197
|
+
},
|
|
12198
|
+
"websocket": {
|
|
12199
|
+
"description": "Websocket host:port for VsCode SFDX Hardis UI integration",
|
|
12200
|
+
"name": "websocket",
|
|
12201
|
+
"hasDynamicHelp": false,
|
|
12202
|
+
"multiple": false,
|
|
12203
|
+
"type": "option"
|
|
12204
|
+
},
|
|
12205
|
+
"skipauth": {
|
|
12206
|
+
"description": "Skip authentication check when a default username is required",
|
|
12207
|
+
"name": "skipauth",
|
|
12208
|
+
"allowNo": false,
|
|
12209
|
+
"type": "boolean"
|
|
12210
|
+
}
|
|
12211
|
+
},
|
|
12212
|
+
"hasDynamicHelp": false,
|
|
12213
|
+
"hiddenAliases": [],
|
|
12214
|
+
"id": "hardis:project:metadata:findduplicates",
|
|
12215
|
+
"pluginAlias": "sfdx-hardis",
|
|
12216
|
+
"pluginName": "sfdx-hardis",
|
|
12217
|
+
"pluginType": "core",
|
|
12218
|
+
"strict": true,
|
|
12219
|
+
"enableJsonFlag": true,
|
|
12220
|
+
"metadataDuplicateFindKeys": {
|
|
12221
|
+
"layout": [
|
|
12222
|
+
"Layout.layoutSections.layoutColumns.layoutItems.field",
|
|
12223
|
+
"Layout.quickActionListItems.quickActionName"
|
|
12224
|
+
],
|
|
12225
|
+
"profile": [
|
|
12226
|
+
"Profile.fieldPermissions.field",
|
|
12227
|
+
"Profile.objectPermissions.object",
|
|
12228
|
+
"Profile.classAccesses.apexClass"
|
|
12229
|
+
],
|
|
12230
|
+
"labels": [
|
|
12231
|
+
"CustomLabels.labels.fullName"
|
|
12232
|
+
],
|
|
12233
|
+
"permissionset": [
|
|
12234
|
+
"PermissionSet.fieldPermissions.field",
|
|
12235
|
+
"PermissionSet.objectPermissions.object",
|
|
12236
|
+
"PermissionSet.classAccesses.apexClass"
|
|
12237
|
+
]
|
|
12238
|
+
},
|
|
12239
|
+
"title": "XML duplicate values finder",
|
|
12240
|
+
"requiresProject": true,
|
|
12241
|
+
"isESM": true,
|
|
12242
|
+
"relativePath": [
|
|
12243
|
+
"lib",
|
|
12244
|
+
"commands",
|
|
12245
|
+
"hardis",
|
|
12246
|
+
"project",
|
|
12247
|
+
"metadata",
|
|
12248
|
+
"findduplicates.js"
|
|
12249
|
+
],
|
|
12250
|
+
"aliasPermutations": [],
|
|
12251
|
+
"permutations": [
|
|
12252
|
+
"hardis:project:metadata:findduplicates",
|
|
12253
|
+
"project:hardis:metadata:findduplicates",
|
|
12254
|
+
"project:metadata:hardis:findduplicates",
|
|
12255
|
+
"project:metadata:findduplicates:hardis",
|
|
12256
|
+
"hardis:metadata:project:findduplicates",
|
|
12257
|
+
"metadata:hardis:project:findduplicates",
|
|
12258
|
+
"metadata:project:hardis:findduplicates",
|
|
12259
|
+
"metadata:project:findduplicates:hardis",
|
|
12260
|
+
"hardis:metadata:findduplicates:project",
|
|
12261
|
+
"metadata:hardis:findduplicates:project",
|
|
12262
|
+
"metadata:findduplicates:hardis:project",
|
|
12263
|
+
"metadata:findduplicates:project:hardis",
|
|
12264
|
+
"hardis:project:findduplicates:metadata",
|
|
12265
|
+
"project:hardis:findduplicates:metadata",
|
|
12266
|
+
"project:findduplicates:hardis:metadata",
|
|
12267
|
+
"project:findduplicates:metadata:hardis",
|
|
12268
|
+
"hardis:findduplicates:project:metadata",
|
|
12269
|
+
"findduplicates:hardis:project:metadata",
|
|
12270
|
+
"findduplicates:project:hardis:metadata",
|
|
12271
|
+
"findduplicates:project:metadata:hardis",
|
|
12272
|
+
"hardis:findduplicates:metadata:project",
|
|
12273
|
+
"findduplicates:hardis:metadata:project",
|
|
12274
|
+
"findduplicates:metadata:hardis:project",
|
|
12275
|
+
"findduplicates:metadata:project:hardis"
|
|
12276
|
+
]
|
|
12277
|
+
},
|
|
12075
12278
|
"hardis:project:generate:bypass": {
|
|
12076
12279
|
"aliases": [],
|
|
12077
12280
|
"args": {},
|
|
@@ -12438,119 +12641,6 @@
|
|
|
12438
12641
|
"gitdelta:generate:project:hardis"
|
|
12439
12642
|
]
|
|
12440
12643
|
},
|
|
12441
|
-
"hardis:project:metadata:findduplicates": {
|
|
12442
|
-
"aliases": [],
|
|
12443
|
-
"args": {},
|
|
12444
|
-
"description": "find duplicate values in XML file(s).\n Find duplicate values in XML file(s). Keys to be checked can be configured in `config/sfdx-hardis.yml` using property metadataDuplicateFindKeys.\n\nDefault config :\nmetadataDuplicateFindKeys :\n[object Object]\n",
|
|
12445
|
-
"examples": [
|
|
12446
|
-
"\n<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Layout xmlns=\"http://soap.sforce.com/2006/04/metadata\">\n <layoutSections>\n ...\n <layoutColumns>\n <layoutItems>\n <behavior>Required</behavior>\n <field>Name</field>\n </layoutItems>\n <layoutItems>\n <behavior>Required</behavior>\n <field>Name</field>\n </layoutItems>\n </layoutColumns>\n </layoutSections>\n</Layout>\n",
|
|
12447
|
-
"\n$ sf hardis:project:metadata:findduplicates --file layout.layout-meta.xml\n[sfdx-hardis] Duplicate values in layout.layout-meta.xml\n - Key : Layout.layoutSections.layoutColumns.layoutItems.field\n - Values : Name\n",
|
|
12448
|
-
"\n$ sf hardis:project.metadata:findduplicates -f \"force-app/main/default/**/*.xml\"\n[sfdx-hardis] hardis:project:metadata:findduplicates execution time 0:00:00.397\n[sfdx-hardis] Duplicate values in layout1.layout-meta.xml\n - Key : Layout.layoutSections.layoutColumns.layoutItems.field\n - Values : CreatedById\n\n[sfdx-hardis] Duplicate values in layout2.layout-meta.xml\n - Key : Layout.layoutSections.layoutColumns.layoutItems.field\n - Values : LastModifiedById, Name\n"
|
|
12449
|
-
],
|
|
12450
|
-
"flags": {
|
|
12451
|
-
"json": {
|
|
12452
|
-
"description": "Format output as json.",
|
|
12453
|
-
"helpGroup": "GLOBAL",
|
|
12454
|
-
"name": "json",
|
|
12455
|
-
"allowNo": false,
|
|
12456
|
-
"type": "boolean"
|
|
12457
|
-
},
|
|
12458
|
-
"flags-dir": {
|
|
12459
|
-
"helpGroup": "GLOBAL",
|
|
12460
|
-
"name": "flags-dir",
|
|
12461
|
-
"summary": "Import flag values from a directory.",
|
|
12462
|
-
"hasDynamicHelp": false,
|
|
12463
|
-
"multiple": false,
|
|
12464
|
-
"type": "option"
|
|
12465
|
-
},
|
|
12466
|
-
"files": {
|
|
12467
|
-
"char": "f",
|
|
12468
|
-
"description": "XML metadata files path",
|
|
12469
|
-
"name": "files",
|
|
12470
|
-
"hasDynamicHelp": false,
|
|
12471
|
-
"multiple": true,
|
|
12472
|
-
"type": "option"
|
|
12473
|
-
},
|
|
12474
|
-
"websocket": {
|
|
12475
|
-
"description": "Websocket host:port for VsCode SFDX Hardis UI integration",
|
|
12476
|
-
"name": "websocket",
|
|
12477
|
-
"hasDynamicHelp": false,
|
|
12478
|
-
"multiple": false,
|
|
12479
|
-
"type": "option"
|
|
12480
|
-
},
|
|
12481
|
-
"skipauth": {
|
|
12482
|
-
"description": "Skip authentication check when a default username is required",
|
|
12483
|
-
"name": "skipauth",
|
|
12484
|
-
"allowNo": false,
|
|
12485
|
-
"type": "boolean"
|
|
12486
|
-
}
|
|
12487
|
-
},
|
|
12488
|
-
"hasDynamicHelp": false,
|
|
12489
|
-
"hiddenAliases": [],
|
|
12490
|
-
"id": "hardis:project:metadata:findduplicates",
|
|
12491
|
-
"pluginAlias": "sfdx-hardis",
|
|
12492
|
-
"pluginName": "sfdx-hardis",
|
|
12493
|
-
"pluginType": "core",
|
|
12494
|
-
"strict": true,
|
|
12495
|
-
"enableJsonFlag": true,
|
|
12496
|
-
"metadataDuplicateFindKeys": {
|
|
12497
|
-
"layout": [
|
|
12498
|
-
"Layout.layoutSections.layoutColumns.layoutItems.field",
|
|
12499
|
-
"Layout.quickActionListItems.quickActionName"
|
|
12500
|
-
],
|
|
12501
|
-
"profile": [
|
|
12502
|
-
"Profile.fieldPermissions.field",
|
|
12503
|
-
"Profile.objectPermissions.object",
|
|
12504
|
-
"Profile.classAccesses.apexClass"
|
|
12505
|
-
],
|
|
12506
|
-
"labels": [
|
|
12507
|
-
"CustomLabels.labels.fullName"
|
|
12508
|
-
],
|
|
12509
|
-
"permissionset": [
|
|
12510
|
-
"PermissionSet.fieldPermissions.field",
|
|
12511
|
-
"PermissionSet.objectPermissions.object",
|
|
12512
|
-
"PermissionSet.classAccesses.apexClass"
|
|
12513
|
-
]
|
|
12514
|
-
},
|
|
12515
|
-
"title": "XML duplicate values finder",
|
|
12516
|
-
"requiresProject": true,
|
|
12517
|
-
"isESM": true,
|
|
12518
|
-
"relativePath": [
|
|
12519
|
-
"lib",
|
|
12520
|
-
"commands",
|
|
12521
|
-
"hardis",
|
|
12522
|
-
"project",
|
|
12523
|
-
"metadata",
|
|
12524
|
-
"findduplicates.js"
|
|
12525
|
-
],
|
|
12526
|
-
"aliasPermutations": [],
|
|
12527
|
-
"permutations": [
|
|
12528
|
-
"hardis:project:metadata:findduplicates",
|
|
12529
|
-
"project:hardis:metadata:findduplicates",
|
|
12530
|
-
"project:metadata:hardis:findduplicates",
|
|
12531
|
-
"project:metadata:findduplicates:hardis",
|
|
12532
|
-
"hardis:metadata:project:findduplicates",
|
|
12533
|
-
"metadata:hardis:project:findduplicates",
|
|
12534
|
-
"metadata:project:hardis:findduplicates",
|
|
12535
|
-
"metadata:project:findduplicates:hardis",
|
|
12536
|
-
"hardis:metadata:findduplicates:project",
|
|
12537
|
-
"metadata:hardis:findduplicates:project",
|
|
12538
|
-
"metadata:findduplicates:hardis:project",
|
|
12539
|
-
"metadata:findduplicates:project:hardis",
|
|
12540
|
-
"hardis:project:findduplicates:metadata",
|
|
12541
|
-
"project:hardis:findduplicates:metadata",
|
|
12542
|
-
"project:findduplicates:hardis:metadata",
|
|
12543
|
-
"project:findduplicates:metadata:hardis",
|
|
12544
|
-
"hardis:findduplicates:project:metadata",
|
|
12545
|
-
"findduplicates:hardis:project:metadata",
|
|
12546
|
-
"findduplicates:project:hardis:metadata",
|
|
12547
|
-
"findduplicates:project:metadata:hardis",
|
|
12548
|
-
"hardis:findduplicates:metadata:project",
|
|
12549
|
-
"findduplicates:hardis:metadata:project",
|
|
12550
|
-
"findduplicates:metadata:hardis:project",
|
|
12551
|
-
"findduplicates:metadata:project:hardis"
|
|
12552
|
-
]
|
|
12553
|
-
},
|
|
12554
12644
|
"hardis:scratch:pool:create": {
|
|
12555
12645
|
"aliases": [],
|
|
12556
12646
|
"args": {},
|
|
@@ -14525,5 +14615,5 @@
|
|
|
14525
14615
|
]
|
|
14526
14616
|
}
|
|
14527
14617
|
},
|
|
14528
|
-
"version": "5.
|
|
14618
|
+
"version": "5.34.0"
|
|
14529
14619
|
}
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"description": "Swiss-army-knife Toolbox for Salesforce.\n Allows you to define a complete CD/CD Pipeline.\n Orchestrate base commands and assist users with interactive wizards",
|
|
4
4
|
"author": "NicolasVuillamy @nvuillam",
|
|
5
5
|
"bugs": "https://github.com/hardisgroupcom/sfdx-hardis/issues",
|
|
6
|
-
"version": "5.
|
|
6
|
+
"version": "5.34.0",
|
|
7
7
|
"dependencies": {
|
|
8
8
|
"@actions/github": "^6.0.1",
|
|
9
9
|
"@cparra/apexdocs": "^3.12.1",
|