sfdx-hardis 6.3.1 → 6.3.2
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
CHANGED
|
@@ -4,6 +4,11 @@
|
|
|
4
4
|
|
|
5
5
|
Note: Can be used with `sfdx plugins:install sfdx-hardis@beta` and docker image `hardisgroupcom/sfdx-hardis@beta`
|
|
6
6
|
|
|
7
|
+
## [6.3.2] 2025-09-07
|
|
8
|
+
|
|
9
|
+
- Set initPermissionSets config prop to array of strings
|
|
10
|
+
- [hardis:org:diagnose:unsecure-connected-apps](https://sfdx-hardis.cloudity.com/hardis/org/diagnose/unsecure-connected-apps/): Handle case where OAuth Token App menu item is not found
|
|
11
|
+
|
|
7
12
|
## [6.3.1] 2025-09-07
|
|
8
13
|
|
|
9
14
|
- Update Grafana Home Dashboard to add Unsecure Connected Apps
|
|
@@ -93,9 +93,9 @@ The command's technical implementation involves:
|
|
|
93
93
|
const toAdd = {
|
|
94
94
|
AppName: app.AppName,
|
|
95
95
|
User: app.User ? app.User.Name : 'N/A',
|
|
96
|
-
IsUsingAdminAuthorization: app.AppMenuItem ? app.AppMenuItem.IsUsingAdminAuthorization :
|
|
96
|
+
IsUsingAdminAuthorization: app.AppMenuItem ? app.AppMenuItem.IsUsingAdminAuthorization : false
|
|
97
97
|
};
|
|
98
|
-
if (
|
|
98
|
+
if (toAdd.IsUsingAdminAuthorization === false) {
|
|
99
99
|
toAdd.statusIcon = '❌';
|
|
100
100
|
toAdd.status = 'Unsecured';
|
|
101
101
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"unsecure-connected-apps.js","sourceRoot":"","sources":["../../../../../src/commands/hardis/org/diagnose/unsecure-connected-apps.ts"],"names":[],"mappings":"AAAA,wBAAwB;AACxB,OAAO,EAAE,SAAS,EAAE,KAAK,EAAE,+BAA+B,EAAE,MAAM,6BAA6B,CAAC;AAChG,OAAO,EAAE,QAAQ,EAAE,MA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AAI,CAAC,uBAAuB,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,uBAAuB,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,EAAE;YACnG,WAAW,EAAE,qCAAqC;YAClD,IAAI,EAAE,EAAE,MAAM,EAAE,cAAc,EAAE;YAChC,OAAO,EAAE;gBACP,sBAAsB,EAAE,cAAc;aACvC;SACF,CAAC,CAAC;QAEH,+CAA+C;QAC/C,IAAI,cAAc,GAAG,CAAC,EAAE,CAAC;YACvB,MAAM,kBAAkB,GAAG,GAAG,IAAI,CAAC,WAAW,0CAA0C,CAAC;YACzF,eAAe,CAAC,qBAAqB,CAAC,kBAAkB,EAAE,6BAA6B,EAAE,WAAW,CAAC,CAAC;QACxG,CAAC;QAED,IAAI,CAAC,IAAI,CAAC,IAAI,IAAI,EAAE,CAAC,CAAC,QAAQ,CAAC,yBAAyB,CAAC,EAAE,CAAC;YAC1D,OAAO,CAAC,QAAQ,GAAG,cAAc,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAChD,CAAC;QAED,OAAO;YACL,MAAM,EAAE,cAAc,KAAK,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS;YACpD,wBAAwB,EAAE,wBAAwB;YAClD,oBAAoB,EAAE,oBAAoB;YAC1C,sBAAsB,EAAE,uBAAoC;SAC7D,CAAA;IACH,CAAC"}
|
package/oclif.manifest.json
CHANGED
|
@@ -8049,6 +8049,113 @@
|
|
|
8049
8049
|
"flow:purge:org:hardis"
|
|
8050
8050
|
]
|
|
8051
8051
|
},
|
|
8052
|
+
"hardis:org:retrieve:packageconfig": {
|
|
8053
|
+
"aliases": [],
|
|
8054
|
+
"args": {},
|
|
8055
|
+
"description": "\n**Retrieves the installed package configuration from a Salesforce org and optionally updates the local project configuration.**\n\nThis command is useful for maintaining an accurate record of installed packages within your Salesforce project, which is crucial for managing dependencies and ensuring consistent deployments across environments.\n\nKey functionalities:\n\n- **Package Listing:** Connects to a specified Salesforce org (or prompts for one if not provided) and retrieves a list of all installed packages.\n- **Configuration Update:** Offers the option to update your local project's configuration with the retrieved list of installed packages. This can be beneficial for automating package installations during environment setup or CI/CD processes.\n\n<details markdown=\"1\">\n<summary>Technical explanations</summary>\n\nThe command's technical implementation involves:\n\n- **Org Connection:** It establishes a connection to the target Salesforce org using the provided or prompted username.\n- **Metadata Retrieval:** It utilizes `MetadataUtils.listInstalledPackages` to query the Salesforce org and obtain details about the installed packages.\n- **Interactive Prompt:** It uses the `prompts` library to ask the user whether they want to update their local project configuration with the retrieved package list.\n- **Configuration Management:** If the user confirms, it calls `managePackageConfig` to update the project's configuration file (likely `.sfdx-hardis.yml`) with the new package information.\n- **User Feedback:** Provides clear messages to the user about the success of the package retrieval and configuration update.\n</details>\n",
|
|
8056
|
+
"examples": [
|
|
8057
|
+
"$ sf hardis:org:retrieve:packageconfig",
|
|
8058
|
+
"sf hardis:org:retrieve:packageconfig -u myOrg"
|
|
8059
|
+
],
|
|
8060
|
+
"flags": {
|
|
8061
|
+
"json": {
|
|
8062
|
+
"description": "Format output as json.",
|
|
8063
|
+
"helpGroup": "GLOBAL",
|
|
8064
|
+
"name": "json",
|
|
8065
|
+
"allowNo": false,
|
|
8066
|
+
"type": "boolean"
|
|
8067
|
+
},
|
|
8068
|
+
"flags-dir": {
|
|
8069
|
+
"helpGroup": "GLOBAL",
|
|
8070
|
+
"name": "flags-dir",
|
|
8071
|
+
"summary": "Import flag values from a directory.",
|
|
8072
|
+
"hasDynamicHelp": false,
|
|
8073
|
+
"multiple": false,
|
|
8074
|
+
"type": "option"
|
|
8075
|
+
},
|
|
8076
|
+
"debug": {
|
|
8077
|
+
"char": "d",
|
|
8078
|
+
"description": "Activate debug mode (more logs)",
|
|
8079
|
+
"name": "debug",
|
|
8080
|
+
"allowNo": false,
|
|
8081
|
+
"type": "boolean"
|
|
8082
|
+
},
|
|
8083
|
+
"websocket": {
|
|
8084
|
+
"description": "Websocket host:port for VsCode SFDX Hardis UI integration",
|
|
8085
|
+
"name": "websocket",
|
|
8086
|
+
"hasDynamicHelp": false,
|
|
8087
|
+
"multiple": false,
|
|
8088
|
+
"type": "option"
|
|
8089
|
+
},
|
|
8090
|
+
"skipauth": {
|
|
8091
|
+
"description": "Skip authentication check when a default username is required",
|
|
8092
|
+
"name": "skipauth",
|
|
8093
|
+
"allowNo": false,
|
|
8094
|
+
"type": "boolean"
|
|
8095
|
+
},
|
|
8096
|
+
"target-org": {
|
|
8097
|
+
"aliases": [
|
|
8098
|
+
"targetusername",
|
|
8099
|
+
"u"
|
|
8100
|
+
],
|
|
8101
|
+
"char": "o",
|
|
8102
|
+
"deprecateAliases": true,
|
|
8103
|
+
"name": "target-org",
|
|
8104
|
+
"noCacheDefault": true,
|
|
8105
|
+
"required": true,
|
|
8106
|
+
"summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
|
|
8107
|
+
"hasDynamicHelp": true,
|
|
8108
|
+
"multiple": false,
|
|
8109
|
+
"type": "option"
|
|
8110
|
+
}
|
|
8111
|
+
},
|
|
8112
|
+
"hasDynamicHelp": true,
|
|
8113
|
+
"hiddenAliases": [],
|
|
8114
|
+
"id": "hardis:org:retrieve:packageconfig",
|
|
8115
|
+
"pluginAlias": "sfdx-hardis",
|
|
8116
|
+
"pluginName": "sfdx-hardis",
|
|
8117
|
+
"pluginType": "core",
|
|
8118
|
+
"strict": true,
|
|
8119
|
+
"enableJsonFlag": true,
|
|
8120
|
+
"title": "Retrieve package configuration from an org",
|
|
8121
|
+
"requiresProject": false,
|
|
8122
|
+
"isESM": true,
|
|
8123
|
+
"relativePath": [
|
|
8124
|
+
"lib",
|
|
8125
|
+
"commands",
|
|
8126
|
+
"hardis",
|
|
8127
|
+
"org",
|
|
8128
|
+
"retrieve",
|
|
8129
|
+
"packageconfig.js"
|
|
8130
|
+
],
|
|
8131
|
+
"aliasPermutations": [],
|
|
8132
|
+
"permutations": [
|
|
8133
|
+
"hardis:org:retrieve:packageconfig",
|
|
8134
|
+
"org:hardis:retrieve:packageconfig",
|
|
8135
|
+
"org:retrieve:hardis:packageconfig",
|
|
8136
|
+
"org:retrieve:packageconfig:hardis",
|
|
8137
|
+
"hardis:retrieve:org:packageconfig",
|
|
8138
|
+
"retrieve:hardis:org:packageconfig",
|
|
8139
|
+
"retrieve:org:hardis:packageconfig",
|
|
8140
|
+
"retrieve:org:packageconfig:hardis",
|
|
8141
|
+
"hardis:retrieve:packageconfig:org",
|
|
8142
|
+
"retrieve:hardis:packageconfig:org",
|
|
8143
|
+
"retrieve:packageconfig:hardis:org",
|
|
8144
|
+
"retrieve:packageconfig:org:hardis",
|
|
8145
|
+
"hardis:org:packageconfig:retrieve",
|
|
8146
|
+
"org:hardis:packageconfig:retrieve",
|
|
8147
|
+
"org:packageconfig:hardis:retrieve",
|
|
8148
|
+
"org:packageconfig:retrieve:hardis",
|
|
8149
|
+
"hardis:packageconfig:org:retrieve",
|
|
8150
|
+
"packageconfig:hardis:org:retrieve",
|
|
8151
|
+
"packageconfig:org:hardis:retrieve",
|
|
8152
|
+
"packageconfig:org:retrieve:hardis",
|
|
8153
|
+
"hardis:packageconfig:retrieve:org",
|
|
8154
|
+
"packageconfig:hardis:retrieve:org",
|
|
8155
|
+
"packageconfig:retrieve:hardis:org",
|
|
8156
|
+
"packageconfig:retrieve:org:hardis"
|
|
8157
|
+
]
|
|
8158
|
+
},
|
|
8052
8159
|
"hardis:org:refresh:after-refresh": {
|
|
8053
8160
|
"aliases": [],
|
|
8054
8161
|
"args": {},
|
|
@@ -8288,113 +8395,6 @@
|
|
|
8288
8395
|
"before-refresh:refresh:org:hardis"
|
|
8289
8396
|
]
|
|
8290
8397
|
},
|
|
8291
|
-
"hardis:org:retrieve:packageconfig": {
|
|
8292
|
-
"aliases": [],
|
|
8293
|
-
"args": {},
|
|
8294
|
-
"description": "\n**Retrieves the installed package configuration from a Salesforce org and optionally updates the local project configuration.**\n\nThis command is useful for maintaining an accurate record of installed packages within your Salesforce project, which is crucial for managing dependencies and ensuring consistent deployments across environments.\n\nKey functionalities:\n\n- **Package Listing:** Connects to a specified Salesforce org (or prompts for one if not provided) and retrieves a list of all installed packages.\n- **Configuration Update:** Offers the option to update your local project's configuration with the retrieved list of installed packages. This can be beneficial for automating package installations during environment setup or CI/CD processes.\n\n<details markdown=\"1\">\n<summary>Technical explanations</summary>\n\nThe command's technical implementation involves:\n\n- **Org Connection:** It establishes a connection to the target Salesforce org using the provided or prompted username.\n- **Metadata Retrieval:** It utilizes `MetadataUtils.listInstalledPackages` to query the Salesforce org and obtain details about the installed packages.\n- **Interactive Prompt:** It uses the `prompts` library to ask the user whether they want to update their local project configuration with the retrieved package list.\n- **Configuration Management:** If the user confirms, it calls `managePackageConfig` to update the project's configuration file (likely `.sfdx-hardis.yml`) with the new package information.\n- **User Feedback:** Provides clear messages to the user about the success of the package retrieval and configuration update.\n</details>\n",
|
|
8295
|
-
"examples": [
|
|
8296
|
-
"$ sf hardis:org:retrieve:packageconfig",
|
|
8297
|
-
"sf hardis:org:retrieve:packageconfig -u myOrg"
|
|
8298
|
-
],
|
|
8299
|
-
"flags": {
|
|
8300
|
-
"json": {
|
|
8301
|
-
"description": "Format output as json.",
|
|
8302
|
-
"helpGroup": "GLOBAL",
|
|
8303
|
-
"name": "json",
|
|
8304
|
-
"allowNo": false,
|
|
8305
|
-
"type": "boolean"
|
|
8306
|
-
},
|
|
8307
|
-
"flags-dir": {
|
|
8308
|
-
"helpGroup": "GLOBAL",
|
|
8309
|
-
"name": "flags-dir",
|
|
8310
|
-
"summary": "Import flag values from a directory.",
|
|
8311
|
-
"hasDynamicHelp": false,
|
|
8312
|
-
"multiple": false,
|
|
8313
|
-
"type": "option"
|
|
8314
|
-
},
|
|
8315
|
-
"debug": {
|
|
8316
|
-
"char": "d",
|
|
8317
|
-
"description": "Activate debug mode (more logs)",
|
|
8318
|
-
"name": "debug",
|
|
8319
|
-
"allowNo": false,
|
|
8320
|
-
"type": "boolean"
|
|
8321
|
-
},
|
|
8322
|
-
"websocket": {
|
|
8323
|
-
"description": "Websocket host:port for VsCode SFDX Hardis UI integration",
|
|
8324
|
-
"name": "websocket",
|
|
8325
|
-
"hasDynamicHelp": false,
|
|
8326
|
-
"multiple": false,
|
|
8327
|
-
"type": "option"
|
|
8328
|
-
},
|
|
8329
|
-
"skipauth": {
|
|
8330
|
-
"description": "Skip authentication check when a default username is required",
|
|
8331
|
-
"name": "skipauth",
|
|
8332
|
-
"allowNo": false,
|
|
8333
|
-
"type": "boolean"
|
|
8334
|
-
},
|
|
8335
|
-
"target-org": {
|
|
8336
|
-
"aliases": [
|
|
8337
|
-
"targetusername",
|
|
8338
|
-
"u"
|
|
8339
|
-
],
|
|
8340
|
-
"char": "o",
|
|
8341
|
-
"deprecateAliases": true,
|
|
8342
|
-
"name": "target-org",
|
|
8343
|
-
"noCacheDefault": true,
|
|
8344
|
-
"required": true,
|
|
8345
|
-
"summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
|
|
8346
|
-
"hasDynamicHelp": true,
|
|
8347
|
-
"multiple": false,
|
|
8348
|
-
"type": "option"
|
|
8349
|
-
}
|
|
8350
|
-
},
|
|
8351
|
-
"hasDynamicHelp": true,
|
|
8352
|
-
"hiddenAliases": [],
|
|
8353
|
-
"id": "hardis:org:retrieve:packageconfig",
|
|
8354
|
-
"pluginAlias": "sfdx-hardis",
|
|
8355
|
-
"pluginName": "sfdx-hardis",
|
|
8356
|
-
"pluginType": "core",
|
|
8357
|
-
"strict": true,
|
|
8358
|
-
"enableJsonFlag": true,
|
|
8359
|
-
"title": "Retrieve package configuration from an org",
|
|
8360
|
-
"requiresProject": false,
|
|
8361
|
-
"isESM": true,
|
|
8362
|
-
"relativePath": [
|
|
8363
|
-
"lib",
|
|
8364
|
-
"commands",
|
|
8365
|
-
"hardis",
|
|
8366
|
-
"org",
|
|
8367
|
-
"retrieve",
|
|
8368
|
-
"packageconfig.js"
|
|
8369
|
-
],
|
|
8370
|
-
"aliasPermutations": [],
|
|
8371
|
-
"permutations": [
|
|
8372
|
-
"hardis:org:retrieve:packageconfig",
|
|
8373
|
-
"org:hardis:retrieve:packageconfig",
|
|
8374
|
-
"org:retrieve:hardis:packageconfig",
|
|
8375
|
-
"org:retrieve:packageconfig:hardis",
|
|
8376
|
-
"hardis:retrieve:org:packageconfig",
|
|
8377
|
-
"retrieve:hardis:org:packageconfig",
|
|
8378
|
-
"retrieve:org:hardis:packageconfig",
|
|
8379
|
-
"retrieve:org:packageconfig:hardis",
|
|
8380
|
-
"hardis:retrieve:packageconfig:org",
|
|
8381
|
-
"retrieve:hardis:packageconfig:org",
|
|
8382
|
-
"retrieve:packageconfig:hardis:org",
|
|
8383
|
-
"retrieve:packageconfig:org:hardis",
|
|
8384
|
-
"hardis:org:packageconfig:retrieve",
|
|
8385
|
-
"org:hardis:packageconfig:retrieve",
|
|
8386
|
-
"org:packageconfig:hardis:retrieve",
|
|
8387
|
-
"org:packageconfig:retrieve:hardis",
|
|
8388
|
-
"hardis:packageconfig:org:retrieve",
|
|
8389
|
-
"packageconfig:hardis:org:retrieve",
|
|
8390
|
-
"packageconfig:org:hardis:retrieve",
|
|
8391
|
-
"packageconfig:org:retrieve:hardis",
|
|
8392
|
-
"hardis:packageconfig:retrieve:org",
|
|
8393
|
-
"packageconfig:hardis:retrieve:org",
|
|
8394
|
-
"packageconfig:retrieve:hardis:org",
|
|
8395
|
-
"packageconfig:retrieve:org:hardis"
|
|
8396
|
-
]
|
|
8397
|
-
},
|
|
8398
8398
|
"hardis:org:test:apex": {
|
|
8399
8399
|
"aliases": [],
|
|
8400
8400
|
"args": {},
|
|
@@ -15271,5 +15271,5 @@
|
|
|
15271
15271
|
]
|
|
15272
15272
|
}
|
|
15273
15273
|
},
|
|
15274
|
-
"version": "6.3.
|
|
15274
|
+
"version": "6.3.2"
|
|
15275
15275
|
}
|
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.3.
|
|
6
|
+
"version": "6.3.2",
|
|
7
7
|
"dependencies": {
|
|
8
8
|
"@actions/github": "^6.0.1",
|
|
9
9
|
"@cparra/apexdocs": "^3.14.1",
|