sfdx-hardis 6.10.1-alpha202511022140.0 → 6.10.1-alpha202511022157.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.
|
@@ -33,7 +33,7 @@ export async function executePrePostCommands(property, options) {
|
|
|
33
33
|
continue;
|
|
34
34
|
}
|
|
35
35
|
// If if skipIfError is true and deployment failed
|
|
36
|
-
if (options.success === false && cmd
|
|
36
|
+
if (options.success === false && !(cmd?.skipIfError === false)) {
|
|
37
37
|
uxLog("action", this, c.yellow(`[DeploymentActions] Skipping ${cmd.label} (skipIfError=true) `));
|
|
38
38
|
cmd.result = {
|
|
39
39
|
statusCode: "skipped",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"prePostCommandUtils.js","sourceRoot":"","sources":["../../../src/common/utils/prePostCommandUtils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAc,OAAO,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,CAAC,MAAM,OAAO,CAAC;AACtB,OAAO,EAAE,MAAM,UAAU,CAAC;AAC1B,OAAO,IAAI,MAAM,SAAS,CAAC;AAE3B,OAAO,KAAK,IAAI,MAAM,MAAM,CAAC;AAC7B,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAClD,OAAO,EAAE,KAAK,EAAE,MAAM,YAAY,CAAC;AACnC,OAAO,EAAyB,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAC7E,OAAO,EAAE,6BAA6B,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AACnF,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAC1C,2DAA2D;AAC3D,OAAO,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,MAAM,eAAe,CAAC;AACvE,OAAO,EAAE,eAAe,EAAkB,MAAM,uCAAuC,CAAC;AAExF,MAAM,CAAC,KAAK,UAAU,sBAAsB,CAAC,QAAoD,EAAE,OAA0F;IAC3L,MAAM,W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,CAAC,MAAM,CAAC,MAAM,gBAAgB,GAAG,iBAAiB,CAAC;YAC9H,CAAC;YAED,MAAM,SAAS,GAAG,GAAG,CAAC,WAAW,CAAC,CAAC;gBACjC,GAAG,GAAG,CAAC,KAAK,KAAK,GAAG,CAAC,WAAW,CAAC,KAAK,IAAI,GAAG,GAAG,CAAC,CAAC;gBAClD,GAAG,CAAC,KAAK,CAAC;YACZ,YAAY,IAAI,0BAA0B,GAAG,CAAC,EAAE,gBAAgB,SAAS,gBAAgB,CAAC;YAC1F,YAAY,IAAI,OAAO,CAAC;YACxB,YAAY,IAAI,iBAAiB,CAAA;YACjC,YAAY,IAAI,SAAS,CAAC;YAC1B,YAAY,IAAI,cAAc,CAAC;QACjC,CAAC;IACH,CAAC;IACD,YAAY,IAAI,gBAAgB,CAAC;IACjC,MAAM,iBAAiB,GAAG,QAAQ,KAAK,mBAAmB,CAAC,CAAC,CAAC,qCAAqC,CAAC,CAAC,CAAC,sCAAsC,CAAC;IAC5I,MAAM,MAAM,GAAG;QACb,CAAC,iBAAiB,CAAC,EAAE,YAAY;KAClC,CAAC;IACF,kBAAkB,CAAC,MAAM,CAAC,CAAC;AAC7B,CAAC"}
|
package/oclif.manifest.json
CHANGED
|
@@ -132,13 +132,12 @@
|
|
|
132
132
|
"clear:cache:hardis"
|
|
133
133
|
]
|
|
134
134
|
},
|
|
135
|
-
"hardis:
|
|
135
|
+
"hardis:config:get": {
|
|
136
136
|
"aliases": [],
|
|
137
137
|
"args": {},
|
|
138
|
-
"description": "\n## Command Behavior\n\n**
|
|
138
|
+
"description": "\n## Command Behavior\n\n**Retrieves and displays the sfdx-hardis configuration for a specified level.**\n\nThis command allows you to inspect the configuration that is currently in effect for your project, which is useful for debugging and understanding how sfdx-hardis will behave.\n\n- **Configuration levels:** It can retrieve configuration from three different levels:\n - **Project:** The configuration defined in the project's `.sfdx-hardis.yml` file.\n - **Branch:** The configuration defined in a branch-specific configuration file (e.g., `.sfdx-hardis.production.yml`).\n - **User:** The global user-level configuration.\n\n## Technical explanations\n\nThe command's logic is straightforward:\n\n- **`getConfig` function:** It calls the `getConfig` utility function, passing the desired configuration level as an argument.\n- **Configuration loading:** The `getConfig` function is responsible for finding the appropriate configuration file, reading its contents, and parsing it as YAML or JSON.\n- **Output:** The retrieved configuration is then displayed to the user as a JSON string.\n",
|
|
139
139
|
"examples": [
|
|
140
|
-
"$ sf hardis:
|
|
141
|
-
"CI=true CI_COMMIT_REF_NAME=monitoring_myclient sf hardis:auth:login"
|
|
140
|
+
"$ sf hardis:project:deploy:sources:metadata"
|
|
142
141
|
],
|
|
143
142
|
"flags": {
|
|
144
143
|
"json": {
|
|
@@ -156,28 +155,20 @@
|
|
|
156
155
|
"multiple": false,
|
|
157
156
|
"type": "option"
|
|
158
157
|
},
|
|
159
|
-
"
|
|
160
|
-
"char": "
|
|
161
|
-
"description": "
|
|
162
|
-
"name": "
|
|
158
|
+
"level": {
|
|
159
|
+
"char": "l",
|
|
160
|
+
"description": "project,branch or user",
|
|
161
|
+
"name": "level",
|
|
162
|
+
"default": "project",
|
|
163
163
|
"hasDynamicHelp": false,
|
|
164
164
|
"multiple": false,
|
|
165
|
+
"options": [
|
|
166
|
+
"project",
|
|
167
|
+
"branch",
|
|
168
|
+
"user"
|
|
169
|
+
],
|
|
165
170
|
"type": "option"
|
|
166
171
|
},
|
|
167
|
-
"devhub": {
|
|
168
|
-
"char": "h",
|
|
169
|
-
"description": "Also connect associated DevHub",
|
|
170
|
-
"name": "devhub",
|
|
171
|
-
"allowNo": false,
|
|
172
|
-
"type": "boolean"
|
|
173
|
-
},
|
|
174
|
-
"scratchorg": {
|
|
175
|
-
"char": "s",
|
|
176
|
-
"description": "Scratch org",
|
|
177
|
-
"name": "scratchorg",
|
|
178
|
-
"allowNo": false,
|
|
179
|
-
"type": "boolean"
|
|
180
|
-
},
|
|
181
172
|
"debug": {
|
|
182
173
|
"char": "d",
|
|
183
174
|
"description": "Activate debug mode (more logs)",
|
|
@@ -201,38 +192,39 @@
|
|
|
201
192
|
},
|
|
202
193
|
"hasDynamicHelp": false,
|
|
203
194
|
"hiddenAliases": [],
|
|
204
|
-
"id": "hardis:
|
|
195
|
+
"id": "hardis:config:get",
|
|
205
196
|
"pluginAlias": "sfdx-hardis",
|
|
206
197
|
"pluginName": "sfdx-hardis",
|
|
207
198
|
"pluginType": "core",
|
|
208
199
|
"strict": true,
|
|
209
200
|
"enableJsonFlag": true,
|
|
210
|
-
"title": "
|
|
201
|
+
"title": "Deploy metadata sources to org",
|
|
211
202
|
"requiresProject": false,
|
|
212
203
|
"isESM": true,
|
|
213
204
|
"relativePath": [
|
|
214
205
|
"lib",
|
|
215
206
|
"commands",
|
|
216
207
|
"hardis",
|
|
217
|
-
"
|
|
218
|
-
"
|
|
208
|
+
"config",
|
|
209
|
+
"get.js"
|
|
219
210
|
],
|
|
220
211
|
"aliasPermutations": [],
|
|
221
212
|
"permutations": [
|
|
222
|
-
"hardis:
|
|
223
|
-
"
|
|
224
|
-
"
|
|
225
|
-
"hardis:
|
|
226
|
-
"
|
|
227
|
-
"
|
|
213
|
+
"hardis:config:get",
|
|
214
|
+
"config:hardis:get",
|
|
215
|
+
"config:get:hardis",
|
|
216
|
+
"hardis:get:config",
|
|
217
|
+
"get:hardis:config",
|
|
218
|
+
"get:config:hardis"
|
|
228
219
|
]
|
|
229
220
|
},
|
|
230
|
-
"hardis:
|
|
221
|
+
"hardis:auth:login": {
|
|
231
222
|
"aliases": [],
|
|
232
223
|
"args": {},
|
|
233
|
-
"description": "\n## Command Behavior\n\n**
|
|
224
|
+
"description": "\n## Command Behavior\n\n**Authenticates to a Salesforce org, primarily designed for CI/CD workflows.**\n\nThis command facilitates secure and automated logins to Salesforce organizations within continuous integration and continuous delivery pipelines. It leverages pre-configured authentication details, ensuring that CI/CD processes can interact with Salesforce without manual intervention.\n\nKey aspects:\n\n- **Configuration-Driven:** It relies on authentication variables and files set up by dedicated configuration commands:\n - For CI/CD repositories: [Configure Org CI Authentication](https://sfdx-hardis.cloudity.com/hardis/project/configure/auth/)\n - For Monitoring repositories: [Configure Org Monitoring](https://sfdx-hardis.cloudity.com/hardis/org/configure/monitoring/)\n- **Technical Org Support:** Supports authentication to a 'technical org' (e.g., for calling Agentforce from another org) by utilizing the `SFDX_AUTH_URL_TECHNICAL_ORG` environment variable. If this variable is set, the command authenticates to this org with the alias `TECHNICAL_ORG`.\n\nTo obtain the `SFDX_AUTH_URL_TECHNICAL_ORG` value, you can run `sf org display --verbose --json` and copy the `sfdxAuthUrl` field from the output.\n\n<details markdown=\"1\">\n<summary>Technical explanations</summary>\n\nThe command's technical flow involves:\n\n- **Flag Parsing:** It parses command-line flags such as `instanceurl`, `devhub`, `scratchorg`, and `debug` to determine the authentication context.\n- **Authentication Hook:** It triggers an internal authentication hook (`this.config.runHook('auth', ...`)) which is responsible for executing the actual authentication logic based on the provided flags (e.g., whether it's a Dev Hub or a scratch org).\n- **Environment Variable Check:** It checks for the presence of `SFDX_AUTH_URL_TECHNICAL_ORG` or `TECHNICAL_ORG_ALIAS` environment variables.\n- **`authOrg` Utility:** If a technical org is configured, it calls the `authOrg` utility function to perform the authentication for that specific org, ensuring it's connected and available for subsequent operations.\n- **Salesforce CLI Integration:** It integrates with the Salesforce CLI's authentication mechanisms to establish and manage org connections.\n</details>\n",
|
|
234
225
|
"examples": [
|
|
235
|
-
"$ sf hardis:
|
|
226
|
+
"$ sf hardis:auth:login",
|
|
227
|
+
"CI=true CI_COMMIT_REF_NAME=monitoring_myclient sf hardis:auth:login"
|
|
236
228
|
],
|
|
237
229
|
"flags": {
|
|
238
230
|
"json": {
|
|
@@ -250,20 +242,28 @@
|
|
|
250
242
|
"multiple": false,
|
|
251
243
|
"type": "option"
|
|
252
244
|
},
|
|
253
|
-
"
|
|
254
|
-
"char": "
|
|
255
|
-
"description": "
|
|
256
|
-
"name": "
|
|
257
|
-
"default": "project",
|
|
245
|
+
"instanceurl": {
|
|
246
|
+
"char": "r",
|
|
247
|
+
"description": "URL of org instance",
|
|
248
|
+
"name": "instanceurl",
|
|
258
249
|
"hasDynamicHelp": false,
|
|
259
250
|
"multiple": false,
|
|
260
|
-
"options": [
|
|
261
|
-
"project",
|
|
262
|
-
"branch",
|
|
263
|
-
"user"
|
|
264
|
-
],
|
|
265
251
|
"type": "option"
|
|
266
252
|
},
|
|
253
|
+
"devhub": {
|
|
254
|
+
"char": "h",
|
|
255
|
+
"description": "Also connect associated DevHub",
|
|
256
|
+
"name": "devhub",
|
|
257
|
+
"allowNo": false,
|
|
258
|
+
"type": "boolean"
|
|
259
|
+
},
|
|
260
|
+
"scratchorg": {
|
|
261
|
+
"char": "s",
|
|
262
|
+
"description": "Scratch org",
|
|
263
|
+
"name": "scratchorg",
|
|
264
|
+
"allowNo": false,
|
|
265
|
+
"type": "boolean"
|
|
266
|
+
},
|
|
267
267
|
"debug": {
|
|
268
268
|
"char": "d",
|
|
269
269
|
"description": "Activate debug mode (more logs)",
|
|
@@ -287,30 +287,30 @@
|
|
|
287
287
|
},
|
|
288
288
|
"hasDynamicHelp": false,
|
|
289
289
|
"hiddenAliases": [],
|
|
290
|
-
"id": "hardis:
|
|
290
|
+
"id": "hardis:auth:login",
|
|
291
291
|
"pluginAlias": "sfdx-hardis",
|
|
292
292
|
"pluginName": "sfdx-hardis",
|
|
293
293
|
"pluginType": "core",
|
|
294
294
|
"strict": true,
|
|
295
295
|
"enableJsonFlag": true,
|
|
296
|
-
"title": "
|
|
296
|
+
"title": "Login",
|
|
297
297
|
"requiresProject": false,
|
|
298
298
|
"isESM": true,
|
|
299
299
|
"relativePath": [
|
|
300
300
|
"lib",
|
|
301
301
|
"commands",
|
|
302
302
|
"hardis",
|
|
303
|
-
"
|
|
304
|
-
"
|
|
303
|
+
"auth",
|
|
304
|
+
"login.js"
|
|
305
305
|
],
|
|
306
306
|
"aliasPermutations": [],
|
|
307
307
|
"permutations": [
|
|
308
|
-
"hardis:
|
|
309
|
-
"
|
|
310
|
-
"
|
|
311
|
-
"hardis:
|
|
312
|
-
"
|
|
313
|
-
"
|
|
308
|
+
"hardis:auth:login",
|
|
309
|
+
"auth:hardis:login",
|
|
310
|
+
"auth:login:hardis",
|
|
311
|
+
"hardis:login:auth",
|
|
312
|
+
"login:hardis:auth",
|
|
313
|
+
"login:auth:hardis"
|
|
314
314
|
]
|
|
315
315
|
},
|
|
316
316
|
"hardis:doc:fieldusage": {
|
|
@@ -5808,13 +5808,15 @@
|
|
|
5808
5808
|
"import:files:org:hardis"
|
|
5809
5809
|
]
|
|
5810
5810
|
},
|
|
5811
|
-
"hardis:org:
|
|
5811
|
+
"hardis:org:diagnose:audittrail": {
|
|
5812
5812
|
"aliases": [],
|
|
5813
5813
|
"args": {},
|
|
5814
|
-
"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",
|
|
5815
5815
|
"examples": [
|
|
5816
|
-
"$ sf hardis:org:
|
|
5817
|
-
"$ sf hardis:org:
|
|
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"
|
|
5818
5820
|
],
|
|
5819
5821
|
"flags": {
|
|
5820
5822
|
"json": {
|
|
@@ -5832,10 +5834,26 @@
|
|
|
5832
5834
|
"multiple": false,
|
|
5833
5835
|
"type": "option"
|
|
5834
5836
|
},
|
|
5835
|
-
"
|
|
5836
|
-
"char": "
|
|
5837
|
-
"description": "Comma-separated list of
|
|
5838
|
-
"name": "
|
|
5837
|
+
"excludeusers": {
|
|
5838
|
+
"char": "e",
|
|
5839
|
+
"description": "Comma-separated list of usernames to exclude",
|
|
5840
|
+
"name": "excludeusers",
|
|
5841
|
+
"hasDynamicHelp": false,
|
|
5842
|
+
"multiple": false,
|
|
5843
|
+
"type": "option"
|
|
5844
|
+
},
|
|
5845
|
+
"lastndays": {
|
|
5846
|
+
"char": "t",
|
|
5847
|
+
"description": "Number of days to extract from today (included)",
|
|
5848
|
+
"name": "lastndays",
|
|
5849
|
+
"hasDynamicHelp": false,
|
|
5850
|
+
"multiple": false,
|
|
5851
|
+
"type": "option"
|
|
5852
|
+
},
|
|
5853
|
+
"outputfile": {
|
|
5854
|
+
"char": "f",
|
|
5855
|
+
"description": "Force the path and name of output report file. Must end with .csv",
|
|
5856
|
+
"name": "outputfile",
|
|
5839
5857
|
"hasDynamicHelp": false,
|
|
5840
5858
|
"multiple": false,
|
|
5841
5859
|
"type": "option"
|
|
@@ -5878,59 +5896,57 @@
|
|
|
5878
5896
|
},
|
|
5879
5897
|
"hasDynamicHelp": true,
|
|
5880
5898
|
"hiddenAliases": [],
|
|
5881
|
-
"id": "hardis:org:
|
|
5899
|
+
"id": "hardis:org:diagnose:audittrail",
|
|
5882
5900
|
"pluginAlias": "sfdx-hardis",
|
|
5883
5901
|
"pluginName": "sfdx-hardis",
|
|
5884
5902
|
"pluginType": "core",
|
|
5885
5903
|
"strict": true,
|
|
5886
5904
|
"enableJsonFlag": true,
|
|
5887
|
-
"title": "
|
|
5888
|
-
"requiresProject":
|
|
5905
|
+
"title": "Diagnose content of Setup Audit Trail",
|
|
5906
|
+
"requiresProject": false,
|
|
5889
5907
|
"isESM": true,
|
|
5890
5908
|
"relativePath": [
|
|
5891
5909
|
"lib",
|
|
5892
5910
|
"commands",
|
|
5893
5911
|
"hardis",
|
|
5894
5912
|
"org",
|
|
5895
|
-
"
|
|
5896
|
-
"
|
|
5913
|
+
"diagnose",
|
|
5914
|
+
"audittrail.js"
|
|
5897
5915
|
],
|
|
5898
5916
|
"aliasPermutations": [],
|
|
5899
5917
|
"permutations": [
|
|
5900
|
-
"hardis:org:
|
|
5901
|
-
"org:hardis:
|
|
5902
|
-
"org:
|
|
5903
|
-
"org:
|
|
5904
|
-
"hardis:
|
|
5905
|
-
"
|
|
5906
|
-
"
|
|
5907
|
-
"
|
|
5908
|
-
"hardis:
|
|
5909
|
-
"
|
|
5910
|
-
"
|
|
5911
|
-
"
|
|
5912
|
-
"hardis:org:
|
|
5913
|
-
"org:hardis:
|
|
5914
|
-
"org:
|
|
5915
|
-
"org:
|
|
5916
|
-
"hardis:
|
|
5917
|
-
"
|
|
5918
|
-
"
|
|
5919
|
-
"
|
|
5920
|
-
"hardis:
|
|
5921
|
-
"
|
|
5922
|
-
"
|
|
5923
|
-
"
|
|
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"
|
|
5924
5942
|
]
|
|
5925
5943
|
},
|
|
5926
|
-
"hardis:org:
|
|
5944
|
+
"hardis:org:diagnose:instanceupgrade": {
|
|
5927
5945
|
"aliases": [],
|
|
5928
5946
|
"args": {},
|
|
5929
|
-
"description": "\n## Command Behavior\n\n**
|
|
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",
|
|
5930
5948
|
"examples": [
|
|
5931
|
-
"$ sf hardis:org:
|
|
5932
|
-
"$ sf hardis:org:generate:packagexmlfull --outputfile /tmp/packagexmlfull.xml",
|
|
5933
|
-
"$ sf hardis:org:generate:packagexmlfull --target-org nico@example.com"
|
|
5949
|
+
"$ sf hardis:org:diagnose:instanceupgrade"
|
|
5934
5950
|
],
|
|
5935
5951
|
"flags": {
|
|
5936
5952
|
"json": {
|
|
@@ -5948,13 +5964,6 @@
|
|
|
5948
5964
|
"multiple": false,
|
|
5949
5965
|
"type": "option"
|
|
5950
5966
|
},
|
|
5951
|
-
"outputfile": {
|
|
5952
|
-
"description": "Output package.xml file",
|
|
5953
|
-
"name": "outputfile",
|
|
5954
|
-
"hasDynamicHelp": false,
|
|
5955
|
-
"multiple": false,
|
|
5956
|
-
"type": "option"
|
|
5957
|
-
},
|
|
5958
5967
|
"debug": {
|
|
5959
5968
|
"char": "d",
|
|
5960
5969
|
"description": "Activate debug mode (more logs)",
|
|
@@ -5962,13 +5971,6 @@
|
|
|
5962
5971
|
"allowNo": false,
|
|
5963
5972
|
"type": "boolean"
|
|
5964
5973
|
},
|
|
5965
|
-
"no-prompt": {
|
|
5966
|
-
"char": "n",
|
|
5967
|
-
"description": "Do not prompt for org username, use the default one",
|
|
5968
|
-
"name": "no-prompt",
|
|
5969
|
-
"allowNo": false,
|
|
5970
|
-
"type": "boolean"
|
|
5971
|
-
},
|
|
5972
5974
|
"websocket": {
|
|
5973
5975
|
"description": "Websocket host:port for VsCode SFDX Hardis UI integration",
|
|
5974
5976
|
"name": "websocket",
|
|
@@ -6000,13 +6002,13 @@
|
|
|
6000
6002
|
},
|
|
6001
6003
|
"hasDynamicHelp": true,
|
|
6002
6004
|
"hiddenAliases": [],
|
|
6003
|
-
"id": "hardis:org:
|
|
6005
|
+
"id": "hardis:org:diagnose:instanceupgrade",
|
|
6004
6006
|
"pluginAlias": "sfdx-hardis",
|
|
6005
6007
|
"pluginName": "sfdx-hardis",
|
|
6006
6008
|
"pluginType": "core",
|
|
6007
6009
|
"strict": true,
|
|
6008
6010
|
"enableJsonFlag": true,
|
|
6009
|
-
"title": "
|
|
6011
|
+
"title": "Get Instance Upgrade date",
|
|
6010
6012
|
"requiresProject": false,
|
|
6011
6013
|
"isESM": true,
|
|
6012
6014
|
"relativePath": [
|
|
@@ -6014,247 +6016,8 @@
|
|
|
6014
6016
|
"commands",
|
|
6015
6017
|
"hardis",
|
|
6016
6018
|
"org",
|
|
6017
|
-
"
|
|
6018
|
-
"
|
|
6019
|
-
],
|
|
6020
|
-
"aliasPermutations": [],
|
|
6021
|
-
"permutations": [
|
|
6022
|
-
"hardis:org:generate:packagexmlfull",
|
|
6023
|
-
"org:hardis:generate:packagexmlfull",
|
|
6024
|
-
"org:generate:hardis:packagexmlfull",
|
|
6025
|
-
"org:generate:packagexmlfull:hardis",
|
|
6026
|
-
"hardis:generate:org:packagexmlfull",
|
|
6027
|
-
"generate:hardis:org:packagexmlfull",
|
|
6028
|
-
"generate:org:hardis:packagexmlfull",
|
|
6029
|
-
"generate:org:packagexmlfull:hardis",
|
|
6030
|
-
"hardis:generate:packagexmlfull:org",
|
|
6031
|
-
"generate:hardis:packagexmlfull:org",
|
|
6032
|
-
"generate:packagexmlfull:hardis:org",
|
|
6033
|
-
"generate:packagexmlfull:org:hardis",
|
|
6034
|
-
"hardis:org:packagexmlfull:generate",
|
|
6035
|
-
"org:hardis:packagexmlfull:generate",
|
|
6036
|
-
"org:packagexmlfull:hardis:generate",
|
|
6037
|
-
"org:packagexmlfull:generate:hardis",
|
|
6038
|
-
"hardis:packagexmlfull:org:generate",
|
|
6039
|
-
"packagexmlfull:hardis:org:generate",
|
|
6040
|
-
"packagexmlfull:org:hardis:generate",
|
|
6041
|
-
"packagexmlfull:org:generate:hardis",
|
|
6042
|
-
"hardis:packagexmlfull:generate:org",
|
|
6043
|
-
"packagexmlfull:hardis:generate:org",
|
|
6044
|
-
"packagexmlfull:generate:hardis:org",
|
|
6045
|
-
"packagexmlfull:generate:org:hardis"
|
|
6046
|
-
]
|
|
6047
|
-
},
|
|
6048
|
-
"hardis:org:diagnose:audittrail": {
|
|
6049
|
-
"aliases": [],
|
|
6050
|
-
"args": {},
|
|
6051
|
-
"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",
|
|
6052
|
-
"examples": [
|
|
6053
|
-
"$ sf hardis:org:diagnose:audittrail",
|
|
6054
|
-
"$ sf hardis:org:diagnose:audittrail --excludeusers baptiste@titi.com",
|
|
6055
|
-
"$ sf hardis:org:diagnose:audittrail --excludeusers baptiste@titi.com,bertrand@titi.com",
|
|
6056
|
-
"$ sf hardis:org:diagnose:audittrail --lastndays 5"
|
|
6057
|
-
],
|
|
6058
|
-
"flags": {
|
|
6059
|
-
"json": {
|
|
6060
|
-
"description": "Format output as json.",
|
|
6061
|
-
"helpGroup": "GLOBAL",
|
|
6062
|
-
"name": "json",
|
|
6063
|
-
"allowNo": false,
|
|
6064
|
-
"type": "boolean"
|
|
6065
|
-
},
|
|
6066
|
-
"flags-dir": {
|
|
6067
|
-
"helpGroup": "GLOBAL",
|
|
6068
|
-
"name": "flags-dir",
|
|
6069
|
-
"summary": "Import flag values from a directory.",
|
|
6070
|
-
"hasDynamicHelp": false,
|
|
6071
|
-
"multiple": false,
|
|
6072
|
-
"type": "option"
|
|
6073
|
-
},
|
|
6074
|
-
"excludeusers": {
|
|
6075
|
-
"char": "e",
|
|
6076
|
-
"description": "Comma-separated list of usernames to exclude",
|
|
6077
|
-
"name": "excludeusers",
|
|
6078
|
-
"hasDynamicHelp": false,
|
|
6079
|
-
"multiple": false,
|
|
6080
|
-
"type": "option"
|
|
6081
|
-
},
|
|
6082
|
-
"lastndays": {
|
|
6083
|
-
"char": "t",
|
|
6084
|
-
"description": "Number of days to extract from today (included)",
|
|
6085
|
-
"name": "lastndays",
|
|
6086
|
-
"hasDynamicHelp": false,
|
|
6087
|
-
"multiple": false,
|
|
6088
|
-
"type": "option"
|
|
6089
|
-
},
|
|
6090
|
-
"outputfile": {
|
|
6091
|
-
"char": "f",
|
|
6092
|
-
"description": "Force the path and name of output report file. Must end with .csv",
|
|
6093
|
-
"name": "outputfile",
|
|
6094
|
-
"hasDynamicHelp": false,
|
|
6095
|
-
"multiple": false,
|
|
6096
|
-
"type": "option"
|
|
6097
|
-
},
|
|
6098
|
-
"debug": {
|
|
6099
|
-
"char": "d",
|
|
6100
|
-
"description": "Activate debug mode (more logs)",
|
|
6101
|
-
"name": "debug",
|
|
6102
|
-
"allowNo": false,
|
|
6103
|
-
"type": "boolean"
|
|
6104
|
-
},
|
|
6105
|
-
"websocket": {
|
|
6106
|
-
"description": "Websocket host:port for VsCode SFDX Hardis UI integration",
|
|
6107
|
-
"name": "websocket",
|
|
6108
|
-
"hasDynamicHelp": false,
|
|
6109
|
-
"multiple": false,
|
|
6110
|
-
"type": "option"
|
|
6111
|
-
},
|
|
6112
|
-
"skipauth": {
|
|
6113
|
-
"description": "Skip authentication check when a default username is required",
|
|
6114
|
-
"name": "skipauth",
|
|
6115
|
-
"allowNo": false,
|
|
6116
|
-
"type": "boolean"
|
|
6117
|
-
},
|
|
6118
|
-
"target-org": {
|
|
6119
|
-
"aliases": [
|
|
6120
|
-
"targetusername",
|
|
6121
|
-
"u"
|
|
6122
|
-
],
|
|
6123
|
-
"char": "o",
|
|
6124
|
-
"deprecateAliases": true,
|
|
6125
|
-
"name": "target-org",
|
|
6126
|
-
"noCacheDefault": true,
|
|
6127
|
-
"required": true,
|
|
6128
|
-
"summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
|
|
6129
|
-
"hasDynamicHelp": true,
|
|
6130
|
-
"multiple": false,
|
|
6131
|
-
"type": "option"
|
|
6132
|
-
}
|
|
6133
|
-
},
|
|
6134
|
-
"hasDynamicHelp": true,
|
|
6135
|
-
"hiddenAliases": [],
|
|
6136
|
-
"id": "hardis:org:diagnose:audittrail",
|
|
6137
|
-
"pluginAlias": "sfdx-hardis",
|
|
6138
|
-
"pluginName": "sfdx-hardis",
|
|
6139
|
-
"pluginType": "core",
|
|
6140
|
-
"strict": true,
|
|
6141
|
-
"enableJsonFlag": true,
|
|
6142
|
-
"title": "Diagnose content of Setup Audit Trail",
|
|
6143
|
-
"requiresProject": false,
|
|
6144
|
-
"isESM": true,
|
|
6145
|
-
"relativePath": [
|
|
6146
|
-
"lib",
|
|
6147
|
-
"commands",
|
|
6148
|
-
"hardis",
|
|
6149
|
-
"org",
|
|
6150
|
-
"diagnose",
|
|
6151
|
-
"audittrail.js"
|
|
6152
|
-
],
|
|
6153
|
-
"aliasPermutations": [],
|
|
6154
|
-
"permutations": [
|
|
6155
|
-
"hardis:org:diagnose:audittrail",
|
|
6156
|
-
"org:hardis:diagnose:audittrail",
|
|
6157
|
-
"org:diagnose:hardis:audittrail",
|
|
6158
|
-
"org:diagnose:audittrail:hardis",
|
|
6159
|
-
"hardis:diagnose:org:audittrail",
|
|
6160
|
-
"diagnose:hardis:org:audittrail",
|
|
6161
|
-
"diagnose:org:hardis:audittrail",
|
|
6162
|
-
"diagnose:org:audittrail:hardis",
|
|
6163
|
-
"hardis:diagnose:audittrail:org",
|
|
6164
|
-
"diagnose:hardis:audittrail:org",
|
|
6165
|
-
"diagnose:audittrail:hardis:org",
|
|
6166
|
-
"diagnose:audittrail:org:hardis",
|
|
6167
|
-
"hardis:org:audittrail:diagnose",
|
|
6168
|
-
"org:hardis:audittrail:diagnose",
|
|
6169
|
-
"org:audittrail:hardis:diagnose",
|
|
6170
|
-
"org:audittrail:diagnose:hardis",
|
|
6171
|
-
"hardis:audittrail:org:diagnose",
|
|
6172
|
-
"audittrail:hardis:org:diagnose",
|
|
6173
|
-
"audittrail:org:hardis:diagnose",
|
|
6174
|
-
"audittrail:org:diagnose:hardis",
|
|
6175
|
-
"hardis:audittrail:diagnose:org",
|
|
6176
|
-
"audittrail:hardis:diagnose:org",
|
|
6177
|
-
"audittrail:diagnose:hardis:org",
|
|
6178
|
-
"audittrail:diagnose:org:hardis"
|
|
6179
|
-
]
|
|
6180
|
-
},
|
|
6181
|
-
"hardis:org:diagnose:instanceupgrade": {
|
|
6182
|
-
"aliases": [],
|
|
6183
|
-
"args": {},
|
|
6184
|
-
"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",
|
|
6185
|
-
"examples": [
|
|
6186
|
-
"$ sf hardis:org:diagnose:instanceupgrade"
|
|
6187
|
-
],
|
|
6188
|
-
"flags": {
|
|
6189
|
-
"json": {
|
|
6190
|
-
"description": "Format output as json.",
|
|
6191
|
-
"helpGroup": "GLOBAL",
|
|
6192
|
-
"name": "json",
|
|
6193
|
-
"allowNo": false,
|
|
6194
|
-
"type": "boolean"
|
|
6195
|
-
},
|
|
6196
|
-
"flags-dir": {
|
|
6197
|
-
"helpGroup": "GLOBAL",
|
|
6198
|
-
"name": "flags-dir",
|
|
6199
|
-
"summary": "Import flag values from a directory.",
|
|
6200
|
-
"hasDynamicHelp": false,
|
|
6201
|
-
"multiple": false,
|
|
6202
|
-
"type": "option"
|
|
6203
|
-
},
|
|
6204
|
-
"debug": {
|
|
6205
|
-
"char": "d",
|
|
6206
|
-
"description": "Activate debug mode (more logs)",
|
|
6207
|
-
"name": "debug",
|
|
6208
|
-
"allowNo": false,
|
|
6209
|
-
"type": "boolean"
|
|
6210
|
-
},
|
|
6211
|
-
"websocket": {
|
|
6212
|
-
"description": "Websocket host:port for VsCode SFDX Hardis UI integration",
|
|
6213
|
-
"name": "websocket",
|
|
6214
|
-
"hasDynamicHelp": false,
|
|
6215
|
-
"multiple": false,
|
|
6216
|
-
"type": "option"
|
|
6217
|
-
},
|
|
6218
|
-
"skipauth": {
|
|
6219
|
-
"description": "Skip authentication check when a default username is required",
|
|
6220
|
-
"name": "skipauth",
|
|
6221
|
-
"allowNo": false,
|
|
6222
|
-
"type": "boolean"
|
|
6223
|
-
},
|
|
6224
|
-
"target-org": {
|
|
6225
|
-
"aliases": [
|
|
6226
|
-
"targetusername",
|
|
6227
|
-
"u"
|
|
6228
|
-
],
|
|
6229
|
-
"char": "o",
|
|
6230
|
-
"deprecateAliases": true,
|
|
6231
|
-
"name": "target-org",
|
|
6232
|
-
"noCacheDefault": true,
|
|
6233
|
-
"required": true,
|
|
6234
|
-
"summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
|
|
6235
|
-
"hasDynamicHelp": true,
|
|
6236
|
-
"multiple": false,
|
|
6237
|
-
"type": "option"
|
|
6238
|
-
}
|
|
6239
|
-
},
|
|
6240
|
-
"hasDynamicHelp": true,
|
|
6241
|
-
"hiddenAliases": [],
|
|
6242
|
-
"id": "hardis:org:diagnose:instanceupgrade",
|
|
6243
|
-
"pluginAlias": "sfdx-hardis",
|
|
6244
|
-
"pluginName": "sfdx-hardis",
|
|
6245
|
-
"pluginType": "core",
|
|
6246
|
-
"strict": true,
|
|
6247
|
-
"enableJsonFlag": true,
|
|
6248
|
-
"title": "Get Instance Upgrade date",
|
|
6249
|
-
"requiresProject": false,
|
|
6250
|
-
"isESM": true,
|
|
6251
|
-
"relativePath": [
|
|
6252
|
-
"lib",
|
|
6253
|
-
"commands",
|
|
6254
|
-
"hardis",
|
|
6255
|
-
"org",
|
|
6256
|
-
"diagnose",
|
|
6257
|
-
"instanceupgrade.js"
|
|
6019
|
+
"diagnose",
|
|
6020
|
+
"instanceupgrade.js"
|
|
6258
6021
|
],
|
|
6259
6022
|
"aliasPermutations": [],
|
|
6260
6023
|
"permutations": [
|
|
@@ -7396,30 +7159,267 @@
|
|
|
7396
7159
|
],
|
|
7397
7160
|
"aliasPermutations": [],
|
|
7398
7161
|
"permutations": [
|
|
7399
|
-
"hardis:org:diagnose:unusedusers",
|
|
7400
|
-
"org:hardis:diagnose:unusedusers",
|
|
7401
|
-
"org:diagnose:hardis:unusedusers",
|
|
7402
|
-
"org:diagnose:unusedusers:hardis",
|
|
7403
|
-
"hardis:diagnose:org:unusedusers",
|
|
7404
|
-
"diagnose:hardis:org:unusedusers",
|
|
7405
|
-
"diagnose:org:hardis:unusedusers",
|
|
7406
|
-
"diagnose:org:unusedusers:hardis",
|
|
7407
|
-
"hardis:diagnose:unusedusers:org",
|
|
7408
|
-
"diagnose:hardis:unusedusers:org",
|
|
7409
|
-
"diagnose:unusedusers:hardis:org",
|
|
7410
|
-
"diagnose:unusedusers:org:hardis",
|
|
7411
|
-
"hardis:org:unusedusers:diagnose",
|
|
7412
|
-
"org:hardis:unusedusers:diagnose",
|
|
7413
|
-
"org:unusedusers:hardis:diagnose",
|
|
7414
|
-
"org:unusedusers:diagnose:hardis",
|
|
7415
|
-
"hardis:unusedusers:org:diagnose",
|
|
7416
|
-
"unusedusers:hardis:org:diagnose",
|
|
7417
|
-
"unusedusers:org:hardis:diagnose",
|
|
7418
|
-
"unusedusers:org:diagnose:hardis",
|
|
7419
|
-
"hardis:unusedusers:diagnose:org",
|
|
7420
|
-
"unusedusers:hardis:diagnose:org",
|
|
7421
|
-
"unusedusers:diagnose:hardis:org",
|
|
7422
|
-
"unusedusers:diagnose:org:hardis"
|
|
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"
|
|
7186
|
+
]
|
|
7187
|
+
},
|
|
7188
|
+
"hardis:org:fix:listviewmine": {
|
|
7189
|
+
"aliases": [],
|
|
7190
|
+
"args": {},
|
|
7191
|
+
"description": "Fix listviews whose scope Mine has been replaced by Everything\n\n[](https://nicolas.vuillamy.fr/invalid-scope-mine-not-allowed-deploy-your-listviews-anyway-443aceca8ac7)\n\nList of ListViews can be:\n\n- read from .sfdx-hardis.yml file in property **listViewsToSetToMine**\n- sent in argument listviews\n\nNote: property **listViewsToSetToMine** can be auto-generated by command hardis:work:save if .sfdx-hardis.yml contains the following configuration\n\n```yaml\nautoCleanTypes:\n - listViewsMine\n```\n\n- Example of sfdx-hardis.yml property `listViewsToSetToMine`:\n\n```yaml\nlistViewsToSetToMine:\n - \"force-app/main/default/objects/Operation__c/listViews/MyCurrentOperations.listView-meta.xml\"\n - \"force-app/main/default/objects/Operation__c/listViews/MyFinalizedOperations.listView-meta.xml\"\n - \"force-app/main/default/objects/Opportunity/listViews/Default_Opportunity_Pipeline.listView-meta.xml\"\n - \"force-app/main/default/objects/Opportunity/listViews/MyCurrentSubscriptions.listView-meta.xml\"\n - \"force-app/main/default/objects/Opportunity/listViews/MySubscriptions.listView-meta.xml\"\n - \"force-app/main/default/objects/Account/listViews/MyActivePartners.listView-meta.xml\"\n```\n\n- If manually written, this could also be:\n\n```yaml\nlistViewsToSetToMine:\n - \"Operation__c:MyCurrentOperations\"\n - \"Operation__c:MyFinalizedOperations\"\n - \"Opportunity:Default_Opportunity_Pipeline\"\n - \"Opportunity:MyCurrentSubscriptions\"\n - \"Opportunity:MySubscriptions\"\n - \"Account:MyActivePartners\"\n```\n\nTroubleshooting: if you need to run this command from an alpine-linux based docker image, use this workaround in your dockerfile:\n\n```dockerfile\n# Do not use puppeteer embedded chromium\nRUN apk add --update --no-cache chromium\nENV PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=\"true\"\nENV CHROMIUM_PATH=\"/usr/bin/chromium-browser\"\nENV PUPPETEER_EXECUTABLE_PATH=\"$\\{CHROMIUM_PATH}\" // remove \\ before {\n```\n",
|
|
7192
|
+
"examples": [
|
|
7193
|
+
"$ sf hardis:org:fix:listviewmine",
|
|
7194
|
+
"$ sf hardis:org:fix:listviewmine --listviews Opportunity:MySubscriptions,Account:MyActivePartners"
|
|
7195
|
+
],
|
|
7196
|
+
"flags": {
|
|
7197
|
+
"json": {
|
|
7198
|
+
"description": "Format output as json.",
|
|
7199
|
+
"helpGroup": "GLOBAL",
|
|
7200
|
+
"name": "json",
|
|
7201
|
+
"allowNo": false,
|
|
7202
|
+
"type": "boolean"
|
|
7203
|
+
},
|
|
7204
|
+
"flags-dir": {
|
|
7205
|
+
"helpGroup": "GLOBAL",
|
|
7206
|
+
"name": "flags-dir",
|
|
7207
|
+
"summary": "Import flag values from a directory.",
|
|
7208
|
+
"hasDynamicHelp": false,
|
|
7209
|
+
"multiple": false,
|
|
7210
|
+
"type": "option"
|
|
7211
|
+
},
|
|
7212
|
+
"listviews": {
|
|
7213
|
+
"char": "l",
|
|
7214
|
+
"description": "Comma-separated list of listviews following format Object:ListViewName\nExample: Contact:MyContacts,Contact:MyActiveContacts,Opportunity:MYClosedOpportunities",
|
|
7215
|
+
"name": "listviews",
|
|
7216
|
+
"hasDynamicHelp": false,
|
|
7217
|
+
"multiple": false,
|
|
7218
|
+
"type": "option"
|
|
7219
|
+
},
|
|
7220
|
+
"debug": {
|
|
7221
|
+
"char": "d",
|
|
7222
|
+
"description": "Activate debug mode (more logs)",
|
|
7223
|
+
"name": "debug",
|
|
7224
|
+
"allowNo": false,
|
|
7225
|
+
"type": "boolean"
|
|
7226
|
+
},
|
|
7227
|
+
"websocket": {
|
|
7228
|
+
"description": "Websocket host:port for VsCode SFDX Hardis UI integration",
|
|
7229
|
+
"name": "websocket",
|
|
7230
|
+
"hasDynamicHelp": false,
|
|
7231
|
+
"multiple": false,
|
|
7232
|
+
"type": "option"
|
|
7233
|
+
},
|
|
7234
|
+
"skipauth": {
|
|
7235
|
+
"description": "Skip authentication check when a default username is required",
|
|
7236
|
+
"name": "skipauth",
|
|
7237
|
+
"allowNo": false,
|
|
7238
|
+
"type": "boolean"
|
|
7239
|
+
},
|
|
7240
|
+
"target-org": {
|
|
7241
|
+
"aliases": [
|
|
7242
|
+
"targetusername",
|
|
7243
|
+
"u"
|
|
7244
|
+
],
|
|
7245
|
+
"char": "o",
|
|
7246
|
+
"deprecateAliases": true,
|
|
7247
|
+
"name": "target-org",
|
|
7248
|
+
"noCacheDefault": true,
|
|
7249
|
+
"required": true,
|
|
7250
|
+
"summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
|
|
7251
|
+
"hasDynamicHelp": true,
|
|
7252
|
+
"multiple": false,
|
|
7253
|
+
"type": "option"
|
|
7254
|
+
}
|
|
7255
|
+
},
|
|
7256
|
+
"hasDynamicHelp": true,
|
|
7257
|
+
"hiddenAliases": [],
|
|
7258
|
+
"id": "hardis:org:fix:listviewmine",
|
|
7259
|
+
"pluginAlias": "sfdx-hardis",
|
|
7260
|
+
"pluginName": "sfdx-hardis",
|
|
7261
|
+
"pluginType": "core",
|
|
7262
|
+
"strict": true,
|
|
7263
|
+
"enableJsonFlag": true,
|
|
7264
|
+
"title": "Fix listviews with ",
|
|
7265
|
+
"requiresProject": true,
|
|
7266
|
+
"isESM": true,
|
|
7267
|
+
"relativePath": [
|
|
7268
|
+
"lib",
|
|
7269
|
+
"commands",
|
|
7270
|
+
"hardis",
|
|
7271
|
+
"org",
|
|
7272
|
+
"fix",
|
|
7273
|
+
"listviewmine.js"
|
|
7274
|
+
],
|
|
7275
|
+
"aliasPermutations": [],
|
|
7276
|
+
"permutations": [
|
|
7277
|
+
"hardis:org:fix:listviewmine",
|
|
7278
|
+
"org:hardis:fix:listviewmine",
|
|
7279
|
+
"org:fix:hardis:listviewmine",
|
|
7280
|
+
"org:fix:listviewmine:hardis",
|
|
7281
|
+
"hardis:fix:org:listviewmine",
|
|
7282
|
+
"fix:hardis:org:listviewmine",
|
|
7283
|
+
"fix:org:hardis:listviewmine",
|
|
7284
|
+
"fix:org:listviewmine:hardis",
|
|
7285
|
+
"hardis:fix:listviewmine:org",
|
|
7286
|
+
"fix:hardis:listviewmine:org",
|
|
7287
|
+
"fix:listviewmine:hardis:org",
|
|
7288
|
+
"fix:listviewmine:org:hardis",
|
|
7289
|
+
"hardis:org:listviewmine:fix",
|
|
7290
|
+
"org:hardis:listviewmine:fix",
|
|
7291
|
+
"org:listviewmine:hardis:fix",
|
|
7292
|
+
"org:listviewmine:fix:hardis",
|
|
7293
|
+
"hardis:listviewmine:org:fix",
|
|
7294
|
+
"listviewmine:hardis:org:fix",
|
|
7295
|
+
"listviewmine:org:hardis:fix",
|
|
7296
|
+
"listviewmine:org:fix:hardis",
|
|
7297
|
+
"hardis:listviewmine:fix:org",
|
|
7298
|
+
"listviewmine:hardis:fix:org",
|
|
7299
|
+
"listviewmine:fix:hardis:org",
|
|
7300
|
+
"listviewmine:fix:org:hardis"
|
|
7301
|
+
]
|
|
7302
|
+
},
|
|
7303
|
+
"hardis:org:generate:packagexmlfull": {
|
|
7304
|
+
"aliases": [],
|
|
7305
|
+
"args": {},
|
|
7306
|
+
"description": "\n## Command Behavior\n\n**Generates a comprehensive `package.xml` file for a Salesforce org, including all metadata components, even managed ones.**\n\nThis command is essential for various Salesforce development and administration tasks, especially when you need a complete snapshot of an org's metadata. It goes beyond typical source tracking by including managed package components, which is crucial for understanding the full metadata footprint of an org.\n\nKey functionalities:\n\n- **Full Org Metadata Retrieval:** Connects to a specified Salesforce org (or prompts for one if not provided) and retrieves a complete list of all metadata types and their members.\n- **Managed Package Inclusion:** Unlike standard source retrieval, this command explicitly includes metadata from managed packages, providing a truly comprehensive `package.xml`.\n- **Customizable Output:** Allows you to specify the output file path for the generated `package.xml`.\n- **Interactive Org Selection:** If no target org is specified, it interactively prompts the user to choose an org. (or use --no-prompt to skip this step)\n\n<details markdown=\"1\">\n<summary>Technical explanations</summary>\n\nThe command's technical implementation involves:\n\n- **Salesforce Metadata API Interaction:** It leverages the Salesforce Metadata API to list all available metadata types and then retrieve all components for each type.\n- **`buildOrgManifest` Utility:** The core logic for querying the org's metadata and constructing the `package.xml` is encapsulated within the `buildOrgManifest` utility function.\n- **XML Generation:** It dynamically builds the XML structure of the `package.xml` file, including the `types` and `members` elements for all retrieved metadata.\n- **File System Operations:** It writes the generated `package.xml` file to the specified output path.\n- **Interactive Prompts:** Uses `promptOrgUsernameDefault` to guide the user in selecting the target Salesforce org.\n</details>\n",
|
|
7307
|
+
"examples": [
|
|
7308
|
+
"$ sf hardis:org:generate:packagexmlfull",
|
|
7309
|
+
"$ sf hardis:org:generate:packagexmlfull --outputfile /tmp/packagexmlfull.xml",
|
|
7310
|
+
"$ sf hardis:org:generate:packagexmlfull --target-org nico@example.com"
|
|
7311
|
+
],
|
|
7312
|
+
"flags": {
|
|
7313
|
+
"json": {
|
|
7314
|
+
"description": "Format output as json.",
|
|
7315
|
+
"helpGroup": "GLOBAL",
|
|
7316
|
+
"name": "json",
|
|
7317
|
+
"allowNo": false,
|
|
7318
|
+
"type": "boolean"
|
|
7319
|
+
},
|
|
7320
|
+
"flags-dir": {
|
|
7321
|
+
"helpGroup": "GLOBAL",
|
|
7322
|
+
"name": "flags-dir",
|
|
7323
|
+
"summary": "Import flag values from a directory.",
|
|
7324
|
+
"hasDynamicHelp": false,
|
|
7325
|
+
"multiple": false,
|
|
7326
|
+
"type": "option"
|
|
7327
|
+
},
|
|
7328
|
+
"outputfile": {
|
|
7329
|
+
"description": "Output package.xml file",
|
|
7330
|
+
"name": "outputfile",
|
|
7331
|
+
"hasDynamicHelp": false,
|
|
7332
|
+
"multiple": false,
|
|
7333
|
+
"type": "option"
|
|
7334
|
+
},
|
|
7335
|
+
"debug": {
|
|
7336
|
+
"char": "d",
|
|
7337
|
+
"description": "Activate debug mode (more logs)",
|
|
7338
|
+
"name": "debug",
|
|
7339
|
+
"allowNo": false,
|
|
7340
|
+
"type": "boolean"
|
|
7341
|
+
},
|
|
7342
|
+
"no-prompt": {
|
|
7343
|
+
"char": "n",
|
|
7344
|
+
"description": "Do not prompt for org username, use the default one",
|
|
7345
|
+
"name": "no-prompt",
|
|
7346
|
+
"allowNo": false,
|
|
7347
|
+
"type": "boolean"
|
|
7348
|
+
},
|
|
7349
|
+
"websocket": {
|
|
7350
|
+
"description": "Websocket host:port for VsCode SFDX Hardis UI integration",
|
|
7351
|
+
"name": "websocket",
|
|
7352
|
+
"hasDynamicHelp": false,
|
|
7353
|
+
"multiple": false,
|
|
7354
|
+
"type": "option"
|
|
7355
|
+
},
|
|
7356
|
+
"skipauth": {
|
|
7357
|
+
"description": "Skip authentication check when a default username is required",
|
|
7358
|
+
"name": "skipauth",
|
|
7359
|
+
"allowNo": false,
|
|
7360
|
+
"type": "boolean"
|
|
7361
|
+
},
|
|
7362
|
+
"target-org": {
|
|
7363
|
+
"aliases": [
|
|
7364
|
+
"targetusername",
|
|
7365
|
+
"u"
|
|
7366
|
+
],
|
|
7367
|
+
"char": "o",
|
|
7368
|
+
"deprecateAliases": true,
|
|
7369
|
+
"name": "target-org",
|
|
7370
|
+
"noCacheDefault": true,
|
|
7371
|
+
"required": true,
|
|
7372
|
+
"summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
|
|
7373
|
+
"hasDynamicHelp": true,
|
|
7374
|
+
"multiple": false,
|
|
7375
|
+
"type": "option"
|
|
7376
|
+
}
|
|
7377
|
+
},
|
|
7378
|
+
"hasDynamicHelp": true,
|
|
7379
|
+
"hiddenAliases": [],
|
|
7380
|
+
"id": "hardis:org:generate:packagexmlfull",
|
|
7381
|
+
"pluginAlias": "sfdx-hardis",
|
|
7382
|
+
"pluginName": "sfdx-hardis",
|
|
7383
|
+
"pluginType": "core",
|
|
7384
|
+
"strict": true,
|
|
7385
|
+
"enableJsonFlag": true,
|
|
7386
|
+
"title": "Generate Full Org package.xml",
|
|
7387
|
+
"requiresProject": false,
|
|
7388
|
+
"isESM": true,
|
|
7389
|
+
"relativePath": [
|
|
7390
|
+
"lib",
|
|
7391
|
+
"commands",
|
|
7392
|
+
"hardis",
|
|
7393
|
+
"org",
|
|
7394
|
+
"generate",
|
|
7395
|
+
"packagexmlfull.js"
|
|
7396
|
+
],
|
|
7397
|
+
"aliasPermutations": [],
|
|
7398
|
+
"permutations": [
|
|
7399
|
+
"hardis:org:generate:packagexmlfull",
|
|
7400
|
+
"org:hardis:generate:packagexmlfull",
|
|
7401
|
+
"org:generate:hardis:packagexmlfull",
|
|
7402
|
+
"org:generate:packagexmlfull:hardis",
|
|
7403
|
+
"hardis:generate:org:packagexmlfull",
|
|
7404
|
+
"generate:hardis:org:packagexmlfull",
|
|
7405
|
+
"generate:org:hardis:packagexmlfull",
|
|
7406
|
+
"generate:org:packagexmlfull:hardis",
|
|
7407
|
+
"hardis:generate:packagexmlfull:org",
|
|
7408
|
+
"generate:hardis:packagexmlfull:org",
|
|
7409
|
+
"generate:packagexmlfull:hardis:org",
|
|
7410
|
+
"generate:packagexmlfull:org:hardis",
|
|
7411
|
+
"hardis:org:packagexmlfull:generate",
|
|
7412
|
+
"org:hardis:packagexmlfull:generate",
|
|
7413
|
+
"org:packagexmlfull:hardis:generate",
|
|
7414
|
+
"org:packagexmlfull:generate:hardis",
|
|
7415
|
+
"hardis:packagexmlfull:org:generate",
|
|
7416
|
+
"packagexmlfull:hardis:org:generate",
|
|
7417
|
+
"packagexmlfull:org:hardis:generate",
|
|
7418
|
+
"packagexmlfull:org:generate:hardis",
|
|
7419
|
+
"hardis:packagexmlfull:generate:org",
|
|
7420
|
+
"packagexmlfull:hardis:generate:org",
|
|
7421
|
+
"packagexmlfull:generate:hardis:org",
|
|
7422
|
+
"packagexmlfull:generate:org:hardis"
|
|
7423
7423
|
]
|
|
7424
7424
|
},
|
|
7425
7425
|
"hardis:org:monitor:all": {
|
|
@@ -9933,6 +9933,109 @@
|
|
|
9933
9933
|
"auth:configure:project:hardis"
|
|
9934
9934
|
]
|
|
9935
9935
|
},
|
|
9936
|
+
"hardis:project:convert:profilestopermsets": {
|
|
9937
|
+
"aliases": [],
|
|
9938
|
+
"args": {},
|
|
9939
|
+
"description": "\n## Command Behavior\n\n**Converts existing Salesforce Profiles into Permission Sets, facilitating a more granular and recommended security model.**\n\nThis command helps in migrating permissions from Profiles to Permission Sets, which is a best practice for managing user access in Salesforce. It creates a new Permission Set for each specified Profile, adopting a naming convention of `PS_PROFILENAME`.\n\nKey functionalities:\n\n- **Profile to Permission Set Conversion:** Automatically extracts permissions from a Profile and creates a corresponding Permission Set.\n- **Naming Convention:** New Permission Sets are named with a `PS_` prefix followed by the Profile name (e.g., `PS_Standard_User`).\n- **Exclusion Filter:** Allows you to exclude specific Profiles from the conversion process using the `--except` flag.\n\n<details markdown=\"1\">\n<summary>Technical explanations</summary>\n\nThe command's technical implementation involves:\n\n- **External Plugin Integration:** It relies on the `shane-sfdx-plugins` (specifically the `sf shane:profile:convert` command) to perform the actual conversion.\n- **File System Scan:** It reads the contents of the `force-app/main/default/profiles` directory to identify all available Profile metadata files.\n- **Command Execution:** For each identified Profile (that is not excluded), it constructs and executes the `sf shane:profile:convert` command with the appropriate Profile name and desired Permission Set name.\n- **Error Handling:** Includes basic error handling for the external command execution.\n</details>\n",
|
|
9940
|
+
"examples": [
|
|
9941
|
+
"$ sf hardis:project:convert:profilestopermsets"
|
|
9942
|
+
],
|
|
9943
|
+
"flags": {
|
|
9944
|
+
"json": {
|
|
9945
|
+
"description": "Format output as json.",
|
|
9946
|
+
"helpGroup": "GLOBAL",
|
|
9947
|
+
"name": "json",
|
|
9948
|
+
"allowNo": false,
|
|
9949
|
+
"type": "boolean"
|
|
9950
|
+
},
|
|
9951
|
+
"flags-dir": {
|
|
9952
|
+
"helpGroup": "GLOBAL",
|
|
9953
|
+
"name": "flags-dir",
|
|
9954
|
+
"summary": "Import flag values from a directory.",
|
|
9955
|
+
"hasDynamicHelp": false,
|
|
9956
|
+
"multiple": false,
|
|
9957
|
+
"type": "option"
|
|
9958
|
+
},
|
|
9959
|
+
"except": {
|
|
9960
|
+
"char": "e",
|
|
9961
|
+
"description": "List of filters",
|
|
9962
|
+
"name": "except",
|
|
9963
|
+
"default": [],
|
|
9964
|
+
"hasDynamicHelp": false,
|
|
9965
|
+
"multiple": true,
|
|
9966
|
+
"type": "option"
|
|
9967
|
+
},
|
|
9968
|
+
"debug": {
|
|
9969
|
+
"char": "d",
|
|
9970
|
+
"description": "Activate debug mode (more logs)",
|
|
9971
|
+
"name": "debug",
|
|
9972
|
+
"allowNo": false,
|
|
9973
|
+
"type": "boolean"
|
|
9974
|
+
},
|
|
9975
|
+
"websocket": {
|
|
9976
|
+
"description": "Websocket host:port for VsCode SFDX Hardis UI integration",
|
|
9977
|
+
"name": "websocket",
|
|
9978
|
+
"hasDynamicHelp": false,
|
|
9979
|
+
"multiple": false,
|
|
9980
|
+
"type": "option"
|
|
9981
|
+
},
|
|
9982
|
+
"skipauth": {
|
|
9983
|
+
"description": "Skip authentication check when a default username is required",
|
|
9984
|
+
"name": "skipauth",
|
|
9985
|
+
"allowNo": false,
|
|
9986
|
+
"type": "boolean"
|
|
9987
|
+
}
|
|
9988
|
+
},
|
|
9989
|
+
"hasDynamicHelp": false,
|
|
9990
|
+
"hiddenAliases": [],
|
|
9991
|
+
"id": "hardis:project:convert:profilestopermsets",
|
|
9992
|
+
"pluginAlias": "sfdx-hardis",
|
|
9993
|
+
"pluginName": "sfdx-hardis",
|
|
9994
|
+
"pluginType": "core",
|
|
9995
|
+
"strict": true,
|
|
9996
|
+
"enableJsonFlag": true,
|
|
9997
|
+
"title": "Convert Profiles into Permission Sets",
|
|
9998
|
+
"requiresProject": true,
|
|
9999
|
+
"requiresSfdxPlugins": [
|
|
10000
|
+
"shane-sfdx-plugins"
|
|
10001
|
+
],
|
|
10002
|
+
"isESM": true,
|
|
10003
|
+
"relativePath": [
|
|
10004
|
+
"lib",
|
|
10005
|
+
"commands",
|
|
10006
|
+
"hardis",
|
|
10007
|
+
"project",
|
|
10008
|
+
"convert",
|
|
10009
|
+
"profilestopermsets.js"
|
|
10010
|
+
],
|
|
10011
|
+
"aliasPermutations": [],
|
|
10012
|
+
"permutations": [
|
|
10013
|
+
"hardis:project:convert:profilestopermsets",
|
|
10014
|
+
"project:hardis:convert:profilestopermsets",
|
|
10015
|
+
"project:convert:hardis:profilestopermsets",
|
|
10016
|
+
"project:convert:profilestopermsets:hardis",
|
|
10017
|
+
"hardis:convert:project:profilestopermsets",
|
|
10018
|
+
"convert:hardis:project:profilestopermsets",
|
|
10019
|
+
"convert:project:hardis:profilestopermsets",
|
|
10020
|
+
"convert:project:profilestopermsets:hardis",
|
|
10021
|
+
"hardis:convert:profilestopermsets:project",
|
|
10022
|
+
"convert:hardis:profilestopermsets:project",
|
|
10023
|
+
"convert:profilestopermsets:hardis:project",
|
|
10024
|
+
"convert:profilestopermsets:project:hardis",
|
|
10025
|
+
"hardis:project:profilestopermsets:convert",
|
|
10026
|
+
"project:hardis:profilestopermsets:convert",
|
|
10027
|
+
"project:profilestopermsets:hardis:convert",
|
|
10028
|
+
"project:profilestopermsets:convert:hardis",
|
|
10029
|
+
"hardis:profilestopermsets:project:convert",
|
|
10030
|
+
"profilestopermsets:hardis:project:convert",
|
|
10031
|
+
"profilestopermsets:project:hardis:convert",
|
|
10032
|
+
"profilestopermsets:project:convert:hardis",
|
|
10033
|
+
"hardis:profilestopermsets:convert:project",
|
|
10034
|
+
"profilestopermsets:hardis:convert:project",
|
|
10035
|
+
"profilestopermsets:convert:hardis:project",
|
|
10036
|
+
"profilestopermsets:convert:project:hardis"
|
|
10037
|
+
]
|
|
10038
|
+
},
|
|
9936
10039
|
"hardis:project:clean:emptyitems": {
|
|
9937
10040
|
"aliases": [],
|
|
9938
10041
|
"args": {},
|
|
@@ -11418,109 +11521,6 @@
|
|
|
11418
11521
|
"xml:clean:project:hardis"
|
|
11419
11522
|
]
|
|
11420
11523
|
},
|
|
11421
|
-
"hardis:project:convert:profilestopermsets": {
|
|
11422
|
-
"aliases": [],
|
|
11423
|
-
"args": {},
|
|
11424
|
-
"description": "\n## Command Behavior\n\n**Converts existing Salesforce Profiles into Permission Sets, facilitating a more granular and recommended security model.**\n\nThis command helps in migrating permissions from Profiles to Permission Sets, which is a best practice for managing user access in Salesforce. It creates a new Permission Set for each specified Profile, adopting a naming convention of `PS_PROFILENAME`.\n\nKey functionalities:\n\n- **Profile to Permission Set Conversion:** Automatically extracts permissions from a Profile and creates a corresponding Permission Set.\n- **Naming Convention:** New Permission Sets are named with a `PS_` prefix followed by the Profile name (e.g., `PS_Standard_User`).\n- **Exclusion Filter:** Allows you to exclude specific Profiles from the conversion process using the `--except` flag.\n\n<details markdown=\"1\">\n<summary>Technical explanations</summary>\n\nThe command's technical implementation involves:\n\n- **External Plugin Integration:** It relies on the `shane-sfdx-plugins` (specifically the `sf shane:profile:convert` command) to perform the actual conversion.\n- **File System Scan:** It reads the contents of the `force-app/main/default/profiles` directory to identify all available Profile metadata files.\n- **Command Execution:** For each identified Profile (that is not excluded), it constructs and executes the `sf shane:profile:convert` command with the appropriate Profile name and desired Permission Set name.\n- **Error Handling:** Includes basic error handling for the external command execution.\n</details>\n",
|
|
11425
|
-
"examples": [
|
|
11426
|
-
"$ sf hardis:project:convert:profilestopermsets"
|
|
11427
|
-
],
|
|
11428
|
-
"flags": {
|
|
11429
|
-
"json": {
|
|
11430
|
-
"description": "Format output as json.",
|
|
11431
|
-
"helpGroup": "GLOBAL",
|
|
11432
|
-
"name": "json",
|
|
11433
|
-
"allowNo": false,
|
|
11434
|
-
"type": "boolean"
|
|
11435
|
-
},
|
|
11436
|
-
"flags-dir": {
|
|
11437
|
-
"helpGroup": "GLOBAL",
|
|
11438
|
-
"name": "flags-dir",
|
|
11439
|
-
"summary": "Import flag values from a directory.",
|
|
11440
|
-
"hasDynamicHelp": false,
|
|
11441
|
-
"multiple": false,
|
|
11442
|
-
"type": "option"
|
|
11443
|
-
},
|
|
11444
|
-
"except": {
|
|
11445
|
-
"char": "e",
|
|
11446
|
-
"description": "List of filters",
|
|
11447
|
-
"name": "except",
|
|
11448
|
-
"default": [],
|
|
11449
|
-
"hasDynamicHelp": false,
|
|
11450
|
-
"multiple": true,
|
|
11451
|
-
"type": "option"
|
|
11452
|
-
},
|
|
11453
|
-
"debug": {
|
|
11454
|
-
"char": "d",
|
|
11455
|
-
"description": "Activate debug mode (more logs)",
|
|
11456
|
-
"name": "debug",
|
|
11457
|
-
"allowNo": false,
|
|
11458
|
-
"type": "boolean"
|
|
11459
|
-
},
|
|
11460
|
-
"websocket": {
|
|
11461
|
-
"description": "Websocket host:port for VsCode SFDX Hardis UI integration",
|
|
11462
|
-
"name": "websocket",
|
|
11463
|
-
"hasDynamicHelp": false,
|
|
11464
|
-
"multiple": false,
|
|
11465
|
-
"type": "option"
|
|
11466
|
-
},
|
|
11467
|
-
"skipauth": {
|
|
11468
|
-
"description": "Skip authentication check when a default username is required",
|
|
11469
|
-
"name": "skipauth",
|
|
11470
|
-
"allowNo": false,
|
|
11471
|
-
"type": "boolean"
|
|
11472
|
-
}
|
|
11473
|
-
},
|
|
11474
|
-
"hasDynamicHelp": false,
|
|
11475
|
-
"hiddenAliases": [],
|
|
11476
|
-
"id": "hardis:project:convert:profilestopermsets",
|
|
11477
|
-
"pluginAlias": "sfdx-hardis",
|
|
11478
|
-
"pluginName": "sfdx-hardis",
|
|
11479
|
-
"pluginType": "core",
|
|
11480
|
-
"strict": true,
|
|
11481
|
-
"enableJsonFlag": true,
|
|
11482
|
-
"title": "Convert Profiles into Permission Sets",
|
|
11483
|
-
"requiresProject": true,
|
|
11484
|
-
"requiresSfdxPlugins": [
|
|
11485
|
-
"shane-sfdx-plugins"
|
|
11486
|
-
],
|
|
11487
|
-
"isESM": true,
|
|
11488
|
-
"relativePath": [
|
|
11489
|
-
"lib",
|
|
11490
|
-
"commands",
|
|
11491
|
-
"hardis",
|
|
11492
|
-
"project",
|
|
11493
|
-
"convert",
|
|
11494
|
-
"profilestopermsets.js"
|
|
11495
|
-
],
|
|
11496
|
-
"aliasPermutations": [],
|
|
11497
|
-
"permutations": [
|
|
11498
|
-
"hardis:project:convert:profilestopermsets",
|
|
11499
|
-
"project:hardis:convert:profilestopermsets",
|
|
11500
|
-
"project:convert:hardis:profilestopermsets",
|
|
11501
|
-
"project:convert:profilestopermsets:hardis",
|
|
11502
|
-
"hardis:convert:project:profilestopermsets",
|
|
11503
|
-
"convert:hardis:project:profilestopermsets",
|
|
11504
|
-
"convert:project:hardis:profilestopermsets",
|
|
11505
|
-
"convert:project:profilestopermsets:hardis",
|
|
11506
|
-
"hardis:convert:profilestopermsets:project",
|
|
11507
|
-
"convert:hardis:profilestopermsets:project",
|
|
11508
|
-
"convert:profilestopermsets:hardis:project",
|
|
11509
|
-
"convert:profilestopermsets:project:hardis",
|
|
11510
|
-
"hardis:project:profilestopermsets:convert",
|
|
11511
|
-
"project:hardis:profilestopermsets:convert",
|
|
11512
|
-
"project:profilestopermsets:hardis:convert",
|
|
11513
|
-
"project:profilestopermsets:convert:hardis",
|
|
11514
|
-
"hardis:profilestopermsets:project:convert",
|
|
11515
|
-
"profilestopermsets:hardis:project:convert",
|
|
11516
|
-
"profilestopermsets:project:hardis:convert",
|
|
11517
|
-
"profilestopermsets:project:convert:hardis",
|
|
11518
|
-
"hardis:profilestopermsets:convert:project",
|
|
11519
|
-
"profilestopermsets:hardis:convert:project",
|
|
11520
|
-
"profilestopermsets:convert:hardis:project",
|
|
11521
|
-
"profilestopermsets:convert:project:hardis"
|
|
11522
|
-
]
|
|
11523
|
-
},
|
|
11524
11524
|
"hardis:project:deploy:notify": {
|
|
11525
11525
|
"aliases": [],
|
|
11526
11526
|
"args": {},
|
|
@@ -15484,5 +15484,5 @@
|
|
|
15484
15484
|
]
|
|
15485
15485
|
}
|
|
15486
15486
|
},
|
|
15487
|
-
"version": "6.10.1-
|
|
15487
|
+
"version": "6.10.1-alpha202511022157.0"
|
|
15488
15488
|
}
|
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": "6.10.1-
|
|
6
|
+
"version": "6.10.1-alpha202511022157.0",
|
|
7
7
|
"dependencies": {
|
|
8
8
|
"@actions/github": "^6.0.1",
|
|
9
9
|
"@cparra/apexdocs": "^3.14.1",
|