sfdx-hardis 5.13.2-beta202501072104.0 → 5.13.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.
|
@@ -56,12 +56,13 @@ export async function analyzeDeployErrorLogsJson(resultJson, log, includeInLog =
|
|
|
56
56
|
for (const errorTip of error.tips)
|
|
57
57
|
errorsAndTips.push(errorTip);
|
|
58
58
|
}
|
|
59
|
+
const detailedErrorLines = [];
|
|
59
60
|
// Fallback in case we have not been able to identify errors
|
|
60
61
|
if (errorsAndTips.length === 0 && failedTests.length === 0) {
|
|
61
62
|
// Check if there are code coverage warnings
|
|
62
63
|
if (resultJson?.result?.details?.runTestResult?.codeCoverageWarnings?.length > 0) {
|
|
63
64
|
for (const cvrgWarning of resultJson.result.details.runTestResult.codeCoverageWarnings) {
|
|
64
|
-
const coverageErrorMsg = (cvrgWarning.name ? `${cvrgWarning.name}
|
|
65
|
+
const coverageErrorMsg = (cvrgWarning.name ? `${cvrgWarning.name} - ` : "") + cvrgWarning.message;
|
|
65
66
|
errorsAndTips.push(({
|
|
66
67
|
error: { message: coverageErrorMsg },
|
|
67
68
|
tip: {
|
|
@@ -70,6 +71,7 @@ export async function analyzeDeployErrorLogsJson(resultJson, log, includeInLog =
|
|
|
70
71
|
docUrl: "https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_code_coverage_intro.htm",
|
|
71
72
|
},
|
|
72
73
|
}));
|
|
74
|
+
detailedErrorLines.push(...["", "⛔ " + c.red(c.bold("Coverage issue: " + coverageErrorMsg)), ""]);
|
|
73
75
|
}
|
|
74
76
|
}
|
|
75
77
|
else {
|
|
@@ -81,10 +83,10 @@ export async function analyzeDeployErrorLogsJson(resultJson, log, includeInLog =
|
|
|
81
83
|
message: "Declare issue on https://github.com/hardisgroupcom/sfdx-hardis/issues",
|
|
82
84
|
},
|
|
83
85
|
}));
|
|
86
|
+
detailedErrorLines.push(...["", "⛔ " + c.red(c.bold("There has been an issue parsing errors, please notify sfdx-hardis maintainers")), ""]);
|
|
84
87
|
}
|
|
85
88
|
}
|
|
86
89
|
// Create output log for errors
|
|
87
|
-
const detailedErrorLines = [];
|
|
88
90
|
for (const error of errors) {
|
|
89
91
|
detailedErrorLines.push(...["", "⛔ " + c.red(c.bold(error.messageInitialDisplay)), ""]);
|
|
90
92
|
if (error.tips.length > 0 && error.tips.some(err => err.tip || err.tipFromAi)) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"deployTipJson.js","sourceRoot":"","sources":["../../../src/common/utils/deployTipJson.ts"],"names":[],"mappings":"AAAA,uDAAuD;AACvD,OAAO,CAAC,MAAM,OAAO,CAAC;AACtB,OAAO,MAAM,MAAM,iBAAiB,CAAC;AACrC,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACjD,OAAO,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,YAAY,CAAC;AAC9C,OAAO,EAAE,UAAU,EAAc,MAAM,wBAAwB,CAAC;AAChE,OAAO,EAAE,uBAAuB,EAAE,MAAM,iBAAiB,CAAC;AAC1D,OAAO,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AAGnD,MAAM,CAAC,KAAK,UAAU,0BAA0B,CAAC,UAAe,EAAE,GAAW,EAAE,YAAY,GAAG,IAAI,EAAE,OAAY;IAC9G,MAAM,OAAO,GAAG,UAAU,EAAE,CAAC;IAC7B,MAAM,IAAI,GAAQ,EAAE,CAAC;IAErB,6GAA6G;IAC7G,MAAM,MAAM,GAAG,CAAC,UAAU,EAAE,MAAM,EAAE,OAAO,EAAE,iBAAiB,IAAI,EAAE,CAAC;SAClE,MAAM,CAAC,KAAK,CAAC,EAAE,CAAC,KAAK,CAAC,OAAO,KAAK,KAAK,IAAI,KAAK,CAAC,WAAW,KAAK,OAAO,CAAC;SACzE,GAAG,CAAC,KAAK,CAAC,EAAE;QACX,KAAK,CAAC,cAAc,GAAG,SAAS,KAAK,CAAC,QAAQ,IAAI,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,EAAE,CAAC,CAAC,MAAM,CAAC,wCAAwC,GAAI,CAAW,CAAC,OAAO,CAAC,CAAC,CAAC;QACzF,CAAC;IACH,CAAC;IACD,OAAO,IAAI,CAAC;AACd,CAAC;AAED,SAAS,WAAW,CAAC,KAAU;IAC7B,MAAM,MAAM,GACV,8FAA8F;QAC9F,4DAA4D;QAC5D,mEAAmE;QACnE,gDAAgD;QAChD,2GAA2G;QAC3G,mBAAmB,IAAI,CAAC,SAAS,CAAC,KAAK,EAAE,IAAI,EAAE,CAAC,CAAC,EAAE,CAAC;IACtD,OAAO,MAAM,CAAC;AAChB,CAAC"}
|
package/oclif.manifest.json
CHANGED
|
@@ -57,12 +57,12 @@
|
|
|
57
57
|
"world:hello"
|
|
58
58
|
]
|
|
59
59
|
},
|
|
60
|
-
"hardis:
|
|
60
|
+
"hardis:cache:clear": {
|
|
61
61
|
"aliases": [],
|
|
62
62
|
"args": {},
|
|
63
|
-
"description": "
|
|
63
|
+
"description": "Clear cache generated by sfdx-hardis",
|
|
64
64
|
"examples": [
|
|
65
|
-
"$ sf hardis:
|
|
65
|
+
"$ sf hardis:cache:clear"
|
|
66
66
|
],
|
|
67
67
|
"flags": {
|
|
68
68
|
"json": {
|
|
@@ -80,28 +80,6 @@
|
|
|
80
80
|
"multiple": false,
|
|
81
81
|
"type": "option"
|
|
82
82
|
},
|
|
83
|
-
"instanceurl": {
|
|
84
|
-
"char": "r",
|
|
85
|
-
"description": "URL of org instance",
|
|
86
|
-
"name": "instanceurl",
|
|
87
|
-
"hasDynamicHelp": false,
|
|
88
|
-
"multiple": false,
|
|
89
|
-
"type": "option"
|
|
90
|
-
},
|
|
91
|
-
"devhub": {
|
|
92
|
-
"char": "h",
|
|
93
|
-
"description": "Also connect associated DevHub",
|
|
94
|
-
"name": "devhub",
|
|
95
|
-
"allowNo": false,
|
|
96
|
-
"type": "boolean"
|
|
97
|
-
},
|
|
98
|
-
"scratchorg": {
|
|
99
|
-
"char": "s",
|
|
100
|
-
"description": "Scratch org",
|
|
101
|
-
"name": "scratchorg",
|
|
102
|
-
"allowNo": false,
|
|
103
|
-
"type": "boolean"
|
|
104
|
-
},
|
|
105
83
|
"debug": {
|
|
106
84
|
"char": "d",
|
|
107
85
|
"description": "Activate debug mode (more logs)",
|
|
@@ -125,38 +103,38 @@
|
|
|
125
103
|
},
|
|
126
104
|
"hasDynamicHelp": false,
|
|
127
105
|
"hiddenAliases": [],
|
|
128
|
-
"id": "hardis:
|
|
106
|
+
"id": "hardis:cache:clear",
|
|
129
107
|
"pluginAlias": "sfdx-hardis",
|
|
130
108
|
"pluginName": "sfdx-hardis",
|
|
131
109
|
"pluginType": "core",
|
|
132
110
|
"strict": true,
|
|
133
111
|
"enableJsonFlag": true,
|
|
134
|
-
"title": "
|
|
112
|
+
"title": "Clear sfdx-hardis cache",
|
|
135
113
|
"requiresProject": false,
|
|
136
114
|
"isESM": true,
|
|
137
115
|
"relativePath": [
|
|
138
116
|
"lib",
|
|
139
117
|
"commands",
|
|
140
118
|
"hardis",
|
|
141
|
-
"
|
|
142
|
-
"
|
|
119
|
+
"cache",
|
|
120
|
+
"clear.js"
|
|
143
121
|
],
|
|
144
122
|
"aliasPermutations": [],
|
|
145
123
|
"permutations": [
|
|
146
|
-
"hardis:
|
|
147
|
-
"
|
|
148
|
-
"
|
|
149
|
-
"hardis:
|
|
150
|
-
"
|
|
151
|
-
"
|
|
124
|
+
"hardis:cache:clear",
|
|
125
|
+
"cache:hardis:clear",
|
|
126
|
+
"cache:clear:hardis",
|
|
127
|
+
"hardis:clear:cache",
|
|
128
|
+
"clear:hardis:cache",
|
|
129
|
+
"clear:cache:hardis"
|
|
152
130
|
]
|
|
153
131
|
},
|
|
154
|
-
"hardis:
|
|
132
|
+
"hardis:auth:login": {
|
|
155
133
|
"aliases": [],
|
|
156
134
|
"args": {},
|
|
157
|
-
"description": "
|
|
135
|
+
"description": "Login to salesforce org",
|
|
158
136
|
"examples": [
|
|
159
|
-
"$ sf hardis:
|
|
137
|
+
"$ sf hardis:auth:login"
|
|
160
138
|
],
|
|
161
139
|
"flags": {
|
|
162
140
|
"json": {
|
|
@@ -174,6 +152,28 @@
|
|
|
174
152
|
"multiple": false,
|
|
175
153
|
"type": "option"
|
|
176
154
|
},
|
|
155
|
+
"instanceurl": {
|
|
156
|
+
"char": "r",
|
|
157
|
+
"description": "URL of org instance",
|
|
158
|
+
"name": "instanceurl",
|
|
159
|
+
"hasDynamicHelp": false,
|
|
160
|
+
"multiple": false,
|
|
161
|
+
"type": "option"
|
|
162
|
+
},
|
|
163
|
+
"devhub": {
|
|
164
|
+
"char": "h",
|
|
165
|
+
"description": "Also connect associated DevHub",
|
|
166
|
+
"name": "devhub",
|
|
167
|
+
"allowNo": false,
|
|
168
|
+
"type": "boolean"
|
|
169
|
+
},
|
|
170
|
+
"scratchorg": {
|
|
171
|
+
"char": "s",
|
|
172
|
+
"description": "Scratch org",
|
|
173
|
+
"name": "scratchorg",
|
|
174
|
+
"allowNo": false,
|
|
175
|
+
"type": "boolean"
|
|
176
|
+
},
|
|
177
177
|
"debug": {
|
|
178
178
|
"char": "d",
|
|
179
179
|
"description": "Activate debug mode (more logs)",
|
|
@@ -197,30 +197,30 @@
|
|
|
197
197
|
},
|
|
198
198
|
"hasDynamicHelp": false,
|
|
199
199
|
"hiddenAliases": [],
|
|
200
|
-
"id": "hardis:
|
|
200
|
+
"id": "hardis:auth:login",
|
|
201
201
|
"pluginAlias": "sfdx-hardis",
|
|
202
202
|
"pluginName": "sfdx-hardis",
|
|
203
203
|
"pluginType": "core",
|
|
204
204
|
"strict": true,
|
|
205
205
|
"enableJsonFlag": true,
|
|
206
|
-
"title": "
|
|
206
|
+
"title": "Login",
|
|
207
207
|
"requiresProject": false,
|
|
208
208
|
"isESM": true,
|
|
209
209
|
"relativePath": [
|
|
210
210
|
"lib",
|
|
211
211
|
"commands",
|
|
212
212
|
"hardis",
|
|
213
|
-
"
|
|
214
|
-
"
|
|
213
|
+
"auth",
|
|
214
|
+
"login.js"
|
|
215
215
|
],
|
|
216
216
|
"aliasPermutations": [],
|
|
217
217
|
"permutations": [
|
|
218
|
-
"hardis:
|
|
219
|
-
"
|
|
220
|
-
"
|
|
221
|
-
"hardis:
|
|
222
|
-
"
|
|
223
|
-
"
|
|
218
|
+
"hardis:auth:login",
|
|
219
|
+
"auth:hardis:login",
|
|
220
|
+
"auth:login:hardis",
|
|
221
|
+
"hardis:login:auth",
|
|
222
|
+
"login:hardis:auth",
|
|
223
|
+
"login:auth:hardis"
|
|
224
224
|
]
|
|
225
225
|
},
|
|
226
226
|
"hardis:config:get": {
|
|
@@ -5018,12 +5018,15 @@
|
|
|
5018
5018
|
"import:data:org:hardis"
|
|
5019
5019
|
]
|
|
5020
5020
|
},
|
|
5021
|
-
"hardis:org:
|
|
5021
|
+
"hardis:org:diagnose:audittrail": {
|
|
5022
5022
|
"aliases": [],
|
|
5023
5023
|
"args": {},
|
|
5024
|
-
"description": "Export
|
|
5024
|
+
"description": "Export Audit trail into a CSV file with selected criteria, and highlight suspect actions\n\nRegular setup actions performed in major orgs are filtered.\n\n- \"\"\n - createScratchOrg\n - changedsenderemail\n - deleteScratchOrg\n - loginasgrantedtopartnerbt\n- Certificate and Key Management\n - insertCertificate\n- Custom App Licenses\n - addeduserpackagelicense\n - granteduserpackagelicense\n- Customer Portal\n - createdcustomersuccessuser\n- Currency\n - updateddatedexchrate\n- Data Management\n - queueMembership\n- Email Administration\n - dkimRotationPreparationSuccessful\n - dkimRotationSuccessful\n- Groups\n - groupMembership\n- Holidays\n - holiday_insert\n- Inbox mobile and legacy desktop apps\n - enableSIQUserNonEAC\n- Manage Users\n - activateduser\n - createduser\n - changedcommunitynickname\n - changedemail\n - changedfederationid\n - changedpassword\n - changedinteractionuseroffon\n - changedinteractionuseronoff\n - changedmarketinguseroffon\n - changedmarketinguseronoff\n - changedprofileforuser\n - changedprofileforusercusttostd\n - changedprofileforuserstdtocust\n - changedroleforusertonone\n - changedroleforuser\n - changedroleforuserfromnone\n - changedUserEmailVerifiedStatusUnverified\n - changedUserEmailVerifiedStatusVerified\n - changedUserPhoneNumber\n - changedUserPhoneVerifiedStatusUnverified\n - deactivateduser\n - deleteAuthenticatorPairing\n - deleteTwoFactorInfo2\n - deleteTwoFactorTempCode\n - frozeuser\n - insertAuthenticatorPairing\n - insertTwoFactorInfo2\n - insertTwoFactorTempCode\n - lightningloginenroll\n - PermSetAssign\n - PermSetGroupAssign\n - PermSetGroupUnassign\n - PermSetLicenseAssign\n - PermSetUnassign\n - PermSetLicenseUnassign\n - registeredUserPhoneNumber\n - resetpassword\n - suOrgAdminLogin\n - suOrgAdminLogout\n - unfrozeuser\n - useremailchangesent\n- Mobile Administration\n - assigneduserstomobileconfig\n- Reporting Snapshots\n - createdReportJob\n - deletedReportJob\n- Sandboxes\n - DeleteSandbox\n\nBy default, deployment user defined in .sfdx-hardis.yml targetUsername property will be excluded.\n\nYou can define additional users to exclude in .sfdx-hardis.yml **monitoringExcludeUsernames** property.\n\nYou can also add more sections / actions considered as not suspect using property **monitoringAllowedSectionsActions**\n\nExample:\n\n```yaml\nmonitoringExcludeUsernames:\n - deploymentuser@cloudity.com\n - marketingcloud@cloudity.com\n - integration-user@cloudity.com\n\nmonitoringAllowedSectionsActions:\n \"Some section\": [] // Will ignore all actions from such section\n \"Some other section\": [\"actionType1\",\"actionType2\",\"actionType3\"] // Will ignore only those 3 actions from section \"Some other section\". Other actions in the same section will be considered as suspect.\n```\n\nThis command is part of [sfdx-hardis Monitoring](https://sfdx-hardis.cloudity.com/salesforce-monitoring-suspect-audit-trail/) and can output Grafana, Slack and MsTeams Notifications.\n",
|
|
5025
5025
|
"examples": [
|
|
5026
|
-
"$ sf hardis:org:
|
|
5026
|
+
"$ sf hardis:org:diagnose:audittrail",
|
|
5027
|
+
"$ sf hardis:org:diagnose:audittrail --excludeusers baptiste@titi.com",
|
|
5028
|
+
"$ sf hardis:org:diagnose:audittrail --excludeusers baptiste@titi.com,bertrand@titi.com",
|
|
5029
|
+
"$ sf hardis:org:diagnose:audittrail --lastndays 5"
|
|
5027
5030
|
],
|
|
5028
5031
|
"flags": {
|
|
5029
5032
|
"json": {
|
|
@@ -5041,37 +5044,26 @@
|
|
|
5041
5044
|
"multiple": false,
|
|
5042
5045
|
"type": "option"
|
|
5043
5046
|
},
|
|
5044
|
-
"
|
|
5045
|
-
"char": "
|
|
5046
|
-
"description": "
|
|
5047
|
-
"name": "
|
|
5048
|
-
"hasDynamicHelp": false,
|
|
5049
|
-
"multiple": false,
|
|
5050
|
-
"type": "option"
|
|
5051
|
-
},
|
|
5052
|
-
"chunksize": {
|
|
5053
|
-
"char": "c",
|
|
5054
|
-
"description": "Number of records to add in a chunk before it is processed",
|
|
5055
|
-
"name": "chunksize",
|
|
5056
|
-
"default": 1000,
|
|
5047
|
+
"excludeusers": {
|
|
5048
|
+
"char": "e",
|
|
5049
|
+
"description": "Comma-separated list of usernames to exclude",
|
|
5050
|
+
"name": "excludeusers",
|
|
5057
5051
|
"hasDynamicHelp": false,
|
|
5058
5052
|
"multiple": false,
|
|
5059
5053
|
"type": "option"
|
|
5060
5054
|
},
|
|
5061
|
-
"
|
|
5055
|
+
"lastndays": {
|
|
5062
5056
|
"char": "t",
|
|
5063
|
-
"description": "
|
|
5064
|
-
"name": "
|
|
5065
|
-
"default": 300000,
|
|
5057
|
+
"description": "Number of days to extract from today (included)",
|
|
5058
|
+
"name": "lastndays",
|
|
5066
5059
|
"hasDynamicHelp": false,
|
|
5067
5060
|
"multiple": false,
|
|
5068
5061
|
"type": "option"
|
|
5069
5062
|
},
|
|
5070
|
-
"
|
|
5071
|
-
"char": "
|
|
5072
|
-
"description": "
|
|
5073
|
-
"name": "
|
|
5074
|
-
"default": 0,
|
|
5063
|
+
"outputfile": {
|
|
5064
|
+
"char": "f",
|
|
5065
|
+
"description": "Force the path and name of output report file. Must end with .csv",
|
|
5066
|
+
"name": "outputfile",
|
|
5075
5067
|
"hasDynamicHelp": false,
|
|
5076
5068
|
"multiple": false,
|
|
5077
5069
|
"type": "option"
|
|
@@ -5114,13 +5106,13 @@
|
|
|
5114
5106
|
},
|
|
5115
5107
|
"hasDynamicHelp": true,
|
|
5116
5108
|
"hiddenAliases": [],
|
|
5117
|
-
"id": "hardis:org:
|
|
5109
|
+
"id": "hardis:org:diagnose:audittrail",
|
|
5118
5110
|
"pluginAlias": "sfdx-hardis",
|
|
5119
5111
|
"pluginName": "sfdx-hardis",
|
|
5120
5112
|
"pluginType": "core",
|
|
5121
5113
|
"strict": true,
|
|
5122
5114
|
"enableJsonFlag": true,
|
|
5123
|
-
"title": "
|
|
5115
|
+
"title": "Diagnose content of Setup Audit Trail",
|
|
5124
5116
|
"requiresProject": false,
|
|
5125
5117
|
"isESM": true,
|
|
5126
5118
|
"relativePath": [
|
|
@@ -5128,43 +5120,43 @@
|
|
|
5128
5120
|
"commands",
|
|
5129
5121
|
"hardis",
|
|
5130
5122
|
"org",
|
|
5131
|
-
"
|
|
5132
|
-
"
|
|
5123
|
+
"diagnose",
|
|
5124
|
+
"audittrail.js"
|
|
5133
5125
|
],
|
|
5134
5126
|
"aliasPermutations": [],
|
|
5135
5127
|
"permutations": [
|
|
5136
|
-
"hardis:org:
|
|
5137
|
-
"org:hardis:
|
|
5138
|
-
"org:
|
|
5139
|
-
"org:
|
|
5140
|
-
"hardis:
|
|
5141
|
-
"
|
|
5142
|
-
"
|
|
5143
|
-
"
|
|
5144
|
-
"hardis:
|
|
5145
|
-
"
|
|
5146
|
-
"
|
|
5147
|
-
"
|
|
5148
|
-
"hardis:org:
|
|
5149
|
-
"org:hardis:
|
|
5150
|
-
"org:
|
|
5151
|
-
"org:
|
|
5152
|
-
"hardis:
|
|
5153
|
-
"
|
|
5154
|
-
"
|
|
5155
|
-
"
|
|
5156
|
-
"hardis:
|
|
5157
|
-
"
|
|
5158
|
-
"
|
|
5159
|
-
"
|
|
5128
|
+
"hardis:org:diagnose:audittrail",
|
|
5129
|
+
"org:hardis:diagnose:audittrail",
|
|
5130
|
+
"org:diagnose:hardis:audittrail",
|
|
5131
|
+
"org:diagnose:audittrail:hardis",
|
|
5132
|
+
"hardis:diagnose:org:audittrail",
|
|
5133
|
+
"diagnose:hardis:org:audittrail",
|
|
5134
|
+
"diagnose:org:hardis:audittrail",
|
|
5135
|
+
"diagnose:org:audittrail:hardis",
|
|
5136
|
+
"hardis:diagnose:audittrail:org",
|
|
5137
|
+
"diagnose:hardis:audittrail:org",
|
|
5138
|
+
"diagnose:audittrail:hardis:org",
|
|
5139
|
+
"diagnose:audittrail:org:hardis",
|
|
5140
|
+
"hardis:org:audittrail:diagnose",
|
|
5141
|
+
"org:hardis:audittrail:diagnose",
|
|
5142
|
+
"org:audittrail:hardis:diagnose",
|
|
5143
|
+
"org:audittrail:diagnose:hardis",
|
|
5144
|
+
"hardis:audittrail:org:diagnose",
|
|
5145
|
+
"audittrail:hardis:org:diagnose",
|
|
5146
|
+
"audittrail:org:hardis:diagnose",
|
|
5147
|
+
"audittrail:org:diagnose:hardis",
|
|
5148
|
+
"hardis:audittrail:diagnose:org",
|
|
5149
|
+
"audittrail:hardis:diagnose:org",
|
|
5150
|
+
"audittrail:diagnose:hardis:org",
|
|
5151
|
+
"audittrail:diagnose:org:hardis"
|
|
5160
5152
|
]
|
|
5161
5153
|
},
|
|
5162
|
-
"hardis:org:
|
|
5154
|
+
"hardis:org:diagnose:instanceupgrade": {
|
|
5163
5155
|
"aliases": [],
|
|
5164
5156
|
"args": {},
|
|
5165
|
-
"description": "
|
|
5157
|
+
"description": "Get the date when the org instance will be upgraded (to Spring, Summer or Winter)\n ",
|
|
5166
5158
|
"examples": [
|
|
5167
|
-
"$ sf hardis:org:
|
|
5159
|
+
"$ sf hardis:org:diagnose:instanceupgrade"
|
|
5168
5160
|
],
|
|
5169
5161
|
"flags": {
|
|
5170
5162
|
"json": {
|
|
@@ -5182,21 +5174,6 @@
|
|
|
5182
5174
|
"multiple": false,
|
|
5183
5175
|
"type": "option"
|
|
5184
5176
|
},
|
|
5185
|
-
"path": {
|
|
5186
|
-
"char": "p",
|
|
5187
|
-
"description": "Path to the file export project",
|
|
5188
|
-
"name": "path",
|
|
5189
|
-
"hasDynamicHelp": false,
|
|
5190
|
-
"multiple": false,
|
|
5191
|
-
"type": "option"
|
|
5192
|
-
},
|
|
5193
|
-
"overwrite": {
|
|
5194
|
-
"char": "f",
|
|
5195
|
-
"description": "Override existing files (doubles the number of API calls)",
|
|
5196
|
-
"name": "overwrite",
|
|
5197
|
-
"allowNo": false,
|
|
5198
|
-
"type": "boolean"
|
|
5199
|
-
},
|
|
5200
5177
|
"debug": {
|
|
5201
5178
|
"char": "d",
|
|
5202
5179
|
"description": "Activate debug mode (more logs)",
|
|
@@ -5235,13 +5212,13 @@
|
|
|
5235
5212
|
},
|
|
5236
5213
|
"hasDynamicHelp": true,
|
|
5237
5214
|
"hiddenAliases": [],
|
|
5238
|
-
"id": "hardis:org:
|
|
5215
|
+
"id": "hardis:org:diagnose:instanceupgrade",
|
|
5239
5216
|
"pluginAlias": "sfdx-hardis",
|
|
5240
5217
|
"pluginName": "sfdx-hardis",
|
|
5241
5218
|
"pluginType": "core",
|
|
5242
5219
|
"strict": true,
|
|
5243
5220
|
"enableJsonFlag": true,
|
|
5244
|
-
"title": "
|
|
5221
|
+
"title": "Get Instance Upgrade date",
|
|
5245
5222
|
"requiresProject": false,
|
|
5246
5223
|
"isESM": true,
|
|
5247
5224
|
"relativePath": [
|
|
@@ -5249,247 +5226,8 @@
|
|
|
5249
5226
|
"commands",
|
|
5250
5227
|
"hardis",
|
|
5251
5228
|
"org",
|
|
5252
|
-
"
|
|
5253
|
-
"
|
|
5254
|
-
],
|
|
5255
|
-
"aliasPermutations": [],
|
|
5256
|
-
"permutations": [
|
|
5257
|
-
"hardis:org:files:import",
|
|
5258
|
-
"org:hardis:files:import",
|
|
5259
|
-
"org:files:hardis:import",
|
|
5260
|
-
"org:files:import:hardis",
|
|
5261
|
-
"hardis:files:org:import",
|
|
5262
|
-
"files:hardis:org:import",
|
|
5263
|
-
"files:org:hardis:import",
|
|
5264
|
-
"files:org:import:hardis",
|
|
5265
|
-
"hardis:files:import:org",
|
|
5266
|
-
"files:hardis:import:org",
|
|
5267
|
-
"files:import:hardis:org",
|
|
5268
|
-
"files:import:org:hardis",
|
|
5269
|
-
"hardis:org:import:files",
|
|
5270
|
-
"org:hardis:import:files",
|
|
5271
|
-
"org:import:hardis:files",
|
|
5272
|
-
"org:import:files:hardis",
|
|
5273
|
-
"hardis:import:org:files",
|
|
5274
|
-
"import:hardis:org:files",
|
|
5275
|
-
"import:org:hardis:files",
|
|
5276
|
-
"import:org:files:hardis",
|
|
5277
|
-
"hardis:import:files:org",
|
|
5278
|
-
"import:hardis:files:org",
|
|
5279
|
-
"import:files:hardis:org",
|
|
5280
|
-
"import:files:org:hardis"
|
|
5281
|
-
]
|
|
5282
|
-
},
|
|
5283
|
-
"hardis:org:diagnose:audittrail": {
|
|
5284
|
-
"aliases": [],
|
|
5285
|
-
"args": {},
|
|
5286
|
-
"description": "Export Audit trail into a CSV file with selected criteria, and highlight suspect actions\n\nRegular setup actions performed in major orgs are filtered.\n\n- \"\"\n - createScratchOrg\n - changedsenderemail\n - deleteScratchOrg\n - loginasgrantedtopartnerbt\n- Certificate and Key Management\n - insertCertificate\n- Custom App Licenses\n - addeduserpackagelicense\n - granteduserpackagelicense\n- Customer Portal\n - createdcustomersuccessuser\n- Currency\n - updateddatedexchrate\n- Data Management\n - queueMembership\n- Email Administration\n - dkimRotationPreparationSuccessful\n - dkimRotationSuccessful\n- Groups\n - groupMembership\n- Holidays\n - holiday_insert\n- Inbox mobile and legacy desktop apps\n - enableSIQUserNonEAC\n- Manage Users\n - activateduser\n - createduser\n - changedcommunitynickname\n - changedemail\n - changedfederationid\n - changedpassword\n - changedinteractionuseroffon\n - changedinteractionuseronoff\n - changedmarketinguseroffon\n - changedmarketinguseronoff\n - changedprofileforuser\n - changedprofileforusercusttostd\n - changedprofileforuserstdtocust\n - changedroleforusertonone\n - changedroleforuser\n - changedroleforuserfromnone\n - changedUserEmailVerifiedStatusUnverified\n - changedUserEmailVerifiedStatusVerified\n - changedUserPhoneNumber\n - changedUserPhoneVerifiedStatusUnverified\n - deactivateduser\n - deleteAuthenticatorPairing\n - deleteTwoFactorInfo2\n - deleteTwoFactorTempCode\n - frozeuser\n - insertAuthenticatorPairing\n - insertTwoFactorInfo2\n - insertTwoFactorTempCode\n - lightningloginenroll\n - PermSetAssign\n - PermSetGroupAssign\n - PermSetGroupUnassign\n - PermSetLicenseAssign\n - PermSetUnassign\n - PermSetLicenseUnassign\n - registeredUserPhoneNumber\n - resetpassword\n - suOrgAdminLogin\n - suOrgAdminLogout\n - unfrozeuser\n - useremailchangesent\n- Mobile Administration\n - assigneduserstomobileconfig\n- Reporting Snapshots\n - createdReportJob\n - deletedReportJob\n- Sandboxes\n - DeleteSandbox\n\nBy default, deployment user defined in .sfdx-hardis.yml targetUsername property will be excluded.\n\nYou can define additional users to exclude in .sfdx-hardis.yml **monitoringExcludeUsernames** property.\n\nYou can also add more sections / actions considered as not suspect using property **monitoringAllowedSectionsActions**\n\nExample:\n\n```yaml\nmonitoringExcludeUsernames:\n - deploymentuser@cloudity.com\n - marketingcloud@cloudity.com\n - integration-user@cloudity.com\n\nmonitoringAllowedSectionsActions:\n \"Some section\": [] // Will ignore all actions from such section\n \"Some other section\": [\"actionType1\",\"actionType2\",\"actionType3\"] // Will ignore only those 3 actions from section \"Some other section\". Other actions in the same section will be considered as suspect.\n```\n\nThis command is part of [sfdx-hardis Monitoring](https://sfdx-hardis.cloudity.com/salesforce-monitoring-suspect-audit-trail/) and can output Grafana, Slack and MsTeams Notifications.\n",
|
|
5287
|
-
"examples": [
|
|
5288
|
-
"$ sf hardis:org:diagnose:audittrail",
|
|
5289
|
-
"$ sf hardis:org:diagnose:audittrail --excludeusers baptiste@titi.com",
|
|
5290
|
-
"$ sf hardis:org:diagnose:audittrail --excludeusers baptiste@titi.com,bertrand@titi.com",
|
|
5291
|
-
"$ sf hardis:org:diagnose:audittrail --lastndays 5"
|
|
5292
|
-
],
|
|
5293
|
-
"flags": {
|
|
5294
|
-
"json": {
|
|
5295
|
-
"description": "Format output as json.",
|
|
5296
|
-
"helpGroup": "GLOBAL",
|
|
5297
|
-
"name": "json",
|
|
5298
|
-
"allowNo": false,
|
|
5299
|
-
"type": "boolean"
|
|
5300
|
-
},
|
|
5301
|
-
"flags-dir": {
|
|
5302
|
-
"helpGroup": "GLOBAL",
|
|
5303
|
-
"name": "flags-dir",
|
|
5304
|
-
"summary": "Import flag values from a directory.",
|
|
5305
|
-
"hasDynamicHelp": false,
|
|
5306
|
-
"multiple": false,
|
|
5307
|
-
"type": "option"
|
|
5308
|
-
},
|
|
5309
|
-
"excludeusers": {
|
|
5310
|
-
"char": "e",
|
|
5311
|
-
"description": "Comma-separated list of usernames to exclude",
|
|
5312
|
-
"name": "excludeusers",
|
|
5313
|
-
"hasDynamicHelp": false,
|
|
5314
|
-
"multiple": false,
|
|
5315
|
-
"type": "option"
|
|
5316
|
-
},
|
|
5317
|
-
"lastndays": {
|
|
5318
|
-
"char": "t",
|
|
5319
|
-
"description": "Number of days to extract from today (included)",
|
|
5320
|
-
"name": "lastndays",
|
|
5321
|
-
"hasDynamicHelp": false,
|
|
5322
|
-
"multiple": false,
|
|
5323
|
-
"type": "option"
|
|
5324
|
-
},
|
|
5325
|
-
"outputfile": {
|
|
5326
|
-
"char": "f",
|
|
5327
|
-
"description": "Force the path and name of output report file. Must end with .csv",
|
|
5328
|
-
"name": "outputfile",
|
|
5329
|
-
"hasDynamicHelp": false,
|
|
5330
|
-
"multiple": false,
|
|
5331
|
-
"type": "option"
|
|
5332
|
-
},
|
|
5333
|
-
"debug": {
|
|
5334
|
-
"char": "d",
|
|
5335
|
-
"description": "Activate debug mode (more logs)",
|
|
5336
|
-
"name": "debug",
|
|
5337
|
-
"allowNo": false,
|
|
5338
|
-
"type": "boolean"
|
|
5339
|
-
},
|
|
5340
|
-
"websocket": {
|
|
5341
|
-
"description": "Websocket host:port for VsCode SFDX Hardis UI integration",
|
|
5342
|
-
"name": "websocket",
|
|
5343
|
-
"hasDynamicHelp": false,
|
|
5344
|
-
"multiple": false,
|
|
5345
|
-
"type": "option"
|
|
5346
|
-
},
|
|
5347
|
-
"skipauth": {
|
|
5348
|
-
"description": "Skip authentication check when a default username is required",
|
|
5349
|
-
"name": "skipauth",
|
|
5350
|
-
"allowNo": false,
|
|
5351
|
-
"type": "boolean"
|
|
5352
|
-
},
|
|
5353
|
-
"target-org": {
|
|
5354
|
-
"aliases": [
|
|
5355
|
-
"targetusername",
|
|
5356
|
-
"u"
|
|
5357
|
-
],
|
|
5358
|
-
"char": "o",
|
|
5359
|
-
"deprecateAliases": true,
|
|
5360
|
-
"name": "target-org",
|
|
5361
|
-
"noCacheDefault": true,
|
|
5362
|
-
"required": true,
|
|
5363
|
-
"summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
|
|
5364
|
-
"hasDynamicHelp": true,
|
|
5365
|
-
"multiple": false,
|
|
5366
|
-
"type": "option"
|
|
5367
|
-
}
|
|
5368
|
-
},
|
|
5369
|
-
"hasDynamicHelp": true,
|
|
5370
|
-
"hiddenAliases": [],
|
|
5371
|
-
"id": "hardis:org:diagnose:audittrail",
|
|
5372
|
-
"pluginAlias": "sfdx-hardis",
|
|
5373
|
-
"pluginName": "sfdx-hardis",
|
|
5374
|
-
"pluginType": "core",
|
|
5375
|
-
"strict": true,
|
|
5376
|
-
"enableJsonFlag": true,
|
|
5377
|
-
"title": "Diagnose content of Setup Audit Trail",
|
|
5378
|
-
"requiresProject": false,
|
|
5379
|
-
"isESM": true,
|
|
5380
|
-
"relativePath": [
|
|
5381
|
-
"lib",
|
|
5382
|
-
"commands",
|
|
5383
|
-
"hardis",
|
|
5384
|
-
"org",
|
|
5385
|
-
"diagnose",
|
|
5386
|
-
"audittrail.js"
|
|
5387
|
-
],
|
|
5388
|
-
"aliasPermutations": [],
|
|
5389
|
-
"permutations": [
|
|
5390
|
-
"hardis:org:diagnose:audittrail",
|
|
5391
|
-
"org:hardis:diagnose:audittrail",
|
|
5392
|
-
"org:diagnose:hardis:audittrail",
|
|
5393
|
-
"org:diagnose:audittrail:hardis",
|
|
5394
|
-
"hardis:diagnose:org:audittrail",
|
|
5395
|
-
"diagnose:hardis:org:audittrail",
|
|
5396
|
-
"diagnose:org:hardis:audittrail",
|
|
5397
|
-
"diagnose:org:audittrail:hardis",
|
|
5398
|
-
"hardis:diagnose:audittrail:org",
|
|
5399
|
-
"diagnose:hardis:audittrail:org",
|
|
5400
|
-
"diagnose:audittrail:hardis:org",
|
|
5401
|
-
"diagnose:audittrail:org:hardis",
|
|
5402
|
-
"hardis:org:audittrail:diagnose",
|
|
5403
|
-
"org:hardis:audittrail:diagnose",
|
|
5404
|
-
"org:audittrail:hardis:diagnose",
|
|
5405
|
-
"org:audittrail:diagnose:hardis",
|
|
5406
|
-
"hardis:audittrail:org:diagnose",
|
|
5407
|
-
"audittrail:hardis:org:diagnose",
|
|
5408
|
-
"audittrail:org:hardis:diagnose",
|
|
5409
|
-
"audittrail:org:diagnose:hardis",
|
|
5410
|
-
"hardis:audittrail:diagnose:org",
|
|
5411
|
-
"audittrail:hardis:diagnose:org",
|
|
5412
|
-
"audittrail:diagnose:hardis:org",
|
|
5413
|
-
"audittrail:diagnose:org:hardis"
|
|
5414
|
-
]
|
|
5415
|
-
},
|
|
5416
|
-
"hardis:org:diagnose:instanceupgrade": {
|
|
5417
|
-
"aliases": [],
|
|
5418
|
-
"args": {},
|
|
5419
|
-
"description": "Get the date when the org instance will be upgraded (to Spring, Summer or Winter)\n ",
|
|
5420
|
-
"examples": [
|
|
5421
|
-
"$ sf hardis:org:diagnose:instanceupgrade"
|
|
5422
|
-
],
|
|
5423
|
-
"flags": {
|
|
5424
|
-
"json": {
|
|
5425
|
-
"description": "Format output as json.",
|
|
5426
|
-
"helpGroup": "GLOBAL",
|
|
5427
|
-
"name": "json",
|
|
5428
|
-
"allowNo": false,
|
|
5429
|
-
"type": "boolean"
|
|
5430
|
-
},
|
|
5431
|
-
"flags-dir": {
|
|
5432
|
-
"helpGroup": "GLOBAL",
|
|
5433
|
-
"name": "flags-dir",
|
|
5434
|
-
"summary": "Import flag values from a directory.",
|
|
5435
|
-
"hasDynamicHelp": false,
|
|
5436
|
-
"multiple": false,
|
|
5437
|
-
"type": "option"
|
|
5438
|
-
},
|
|
5439
|
-
"debug": {
|
|
5440
|
-
"char": "d",
|
|
5441
|
-
"description": "Activate debug mode (more logs)",
|
|
5442
|
-
"name": "debug",
|
|
5443
|
-
"allowNo": false,
|
|
5444
|
-
"type": "boolean"
|
|
5445
|
-
},
|
|
5446
|
-
"websocket": {
|
|
5447
|
-
"description": "Websocket host:port for VsCode SFDX Hardis UI integration",
|
|
5448
|
-
"name": "websocket",
|
|
5449
|
-
"hasDynamicHelp": false,
|
|
5450
|
-
"multiple": false,
|
|
5451
|
-
"type": "option"
|
|
5452
|
-
},
|
|
5453
|
-
"skipauth": {
|
|
5454
|
-
"description": "Skip authentication check when a default username is required",
|
|
5455
|
-
"name": "skipauth",
|
|
5456
|
-
"allowNo": false,
|
|
5457
|
-
"type": "boolean"
|
|
5458
|
-
},
|
|
5459
|
-
"target-org": {
|
|
5460
|
-
"aliases": [
|
|
5461
|
-
"targetusername",
|
|
5462
|
-
"u"
|
|
5463
|
-
],
|
|
5464
|
-
"char": "o",
|
|
5465
|
-
"deprecateAliases": true,
|
|
5466
|
-
"name": "target-org",
|
|
5467
|
-
"noCacheDefault": true,
|
|
5468
|
-
"required": true,
|
|
5469
|
-
"summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
|
|
5470
|
-
"hasDynamicHelp": true,
|
|
5471
|
-
"multiple": false,
|
|
5472
|
-
"type": "option"
|
|
5473
|
-
}
|
|
5474
|
-
},
|
|
5475
|
-
"hasDynamicHelp": true,
|
|
5476
|
-
"hiddenAliases": [],
|
|
5477
|
-
"id": "hardis:org:diagnose:instanceupgrade",
|
|
5478
|
-
"pluginAlias": "sfdx-hardis",
|
|
5479
|
-
"pluginName": "sfdx-hardis",
|
|
5480
|
-
"pluginType": "core",
|
|
5481
|
-
"strict": true,
|
|
5482
|
-
"enableJsonFlag": true,
|
|
5483
|
-
"title": "Get Instance Upgrade date",
|
|
5484
|
-
"requiresProject": false,
|
|
5485
|
-
"isESM": true,
|
|
5486
|
-
"relativePath": [
|
|
5487
|
-
"lib",
|
|
5488
|
-
"commands",
|
|
5489
|
-
"hardis",
|
|
5490
|
-
"org",
|
|
5491
|
-
"diagnose",
|
|
5492
|
-
"instanceupgrade.js"
|
|
5229
|
+
"diagnose",
|
|
5230
|
+
"instanceupgrade.js"
|
|
5493
5231
|
],
|
|
5494
5232
|
"aliasPermutations": [],
|
|
5495
5233
|
"permutations": [
|
|
@@ -6429,6 +6167,268 @@
|
|
|
6429
6167
|
"unusedusers:diagnose:org:hardis"
|
|
6430
6168
|
]
|
|
6431
6169
|
},
|
|
6170
|
+
"hardis:org:files:export": {
|
|
6171
|
+
"aliases": [],
|
|
6172
|
+
"args": {},
|
|
6173
|
+
"description": "Export file attachments from a Salesforce org\n\nSee article below\n\n[](https://nicolas.vuillamy.fr/how-to-mass-download-notes-and-attachments-files-from-a-salesforce-org-83a028824afd)\n",
|
|
6174
|
+
"examples": [
|
|
6175
|
+
"$ sf hardis:org:files:export"
|
|
6176
|
+
],
|
|
6177
|
+
"flags": {
|
|
6178
|
+
"json": {
|
|
6179
|
+
"description": "Format output as json.",
|
|
6180
|
+
"helpGroup": "GLOBAL",
|
|
6181
|
+
"name": "json",
|
|
6182
|
+
"allowNo": false,
|
|
6183
|
+
"type": "boolean"
|
|
6184
|
+
},
|
|
6185
|
+
"flags-dir": {
|
|
6186
|
+
"helpGroup": "GLOBAL",
|
|
6187
|
+
"name": "flags-dir",
|
|
6188
|
+
"summary": "Import flag values from a directory.",
|
|
6189
|
+
"hasDynamicHelp": false,
|
|
6190
|
+
"multiple": false,
|
|
6191
|
+
"type": "option"
|
|
6192
|
+
},
|
|
6193
|
+
"path": {
|
|
6194
|
+
"char": "p",
|
|
6195
|
+
"description": "Path to the file export project",
|
|
6196
|
+
"name": "path",
|
|
6197
|
+
"hasDynamicHelp": false,
|
|
6198
|
+
"multiple": false,
|
|
6199
|
+
"type": "option"
|
|
6200
|
+
},
|
|
6201
|
+
"chunksize": {
|
|
6202
|
+
"char": "c",
|
|
6203
|
+
"description": "Number of records to add in a chunk before it is processed",
|
|
6204
|
+
"name": "chunksize",
|
|
6205
|
+
"default": 1000,
|
|
6206
|
+
"hasDynamicHelp": false,
|
|
6207
|
+
"multiple": false,
|
|
6208
|
+
"type": "option"
|
|
6209
|
+
},
|
|
6210
|
+
"polltimeout": {
|
|
6211
|
+
"char": "t",
|
|
6212
|
+
"description": "Timeout in MS for Bulk API calls",
|
|
6213
|
+
"name": "polltimeout",
|
|
6214
|
+
"default": 300000,
|
|
6215
|
+
"hasDynamicHelp": false,
|
|
6216
|
+
"multiple": false,
|
|
6217
|
+
"type": "option"
|
|
6218
|
+
},
|
|
6219
|
+
"startchunknumber": {
|
|
6220
|
+
"char": "s",
|
|
6221
|
+
"description": "Chunk number to start from",
|
|
6222
|
+
"name": "startchunknumber",
|
|
6223
|
+
"default": 0,
|
|
6224
|
+
"hasDynamicHelp": false,
|
|
6225
|
+
"multiple": false,
|
|
6226
|
+
"type": "option"
|
|
6227
|
+
},
|
|
6228
|
+
"debug": {
|
|
6229
|
+
"char": "d",
|
|
6230
|
+
"description": "Activate debug mode (more logs)",
|
|
6231
|
+
"name": "debug",
|
|
6232
|
+
"allowNo": false,
|
|
6233
|
+
"type": "boolean"
|
|
6234
|
+
},
|
|
6235
|
+
"websocket": {
|
|
6236
|
+
"description": "Websocket host:port for VsCode SFDX Hardis UI integration",
|
|
6237
|
+
"name": "websocket",
|
|
6238
|
+
"hasDynamicHelp": false,
|
|
6239
|
+
"multiple": false,
|
|
6240
|
+
"type": "option"
|
|
6241
|
+
},
|
|
6242
|
+
"skipauth": {
|
|
6243
|
+
"description": "Skip authentication check when a default username is required",
|
|
6244
|
+
"name": "skipauth",
|
|
6245
|
+
"allowNo": false,
|
|
6246
|
+
"type": "boolean"
|
|
6247
|
+
},
|
|
6248
|
+
"target-org": {
|
|
6249
|
+
"aliases": [
|
|
6250
|
+
"targetusername",
|
|
6251
|
+
"u"
|
|
6252
|
+
],
|
|
6253
|
+
"char": "o",
|
|
6254
|
+
"deprecateAliases": true,
|
|
6255
|
+
"name": "target-org",
|
|
6256
|
+
"noCacheDefault": true,
|
|
6257
|
+
"required": true,
|
|
6258
|
+
"summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
|
|
6259
|
+
"hasDynamicHelp": true,
|
|
6260
|
+
"multiple": false,
|
|
6261
|
+
"type": "option"
|
|
6262
|
+
}
|
|
6263
|
+
},
|
|
6264
|
+
"hasDynamicHelp": true,
|
|
6265
|
+
"hiddenAliases": [],
|
|
6266
|
+
"id": "hardis:org:files:export",
|
|
6267
|
+
"pluginAlias": "sfdx-hardis",
|
|
6268
|
+
"pluginName": "sfdx-hardis",
|
|
6269
|
+
"pluginType": "core",
|
|
6270
|
+
"strict": true,
|
|
6271
|
+
"enableJsonFlag": true,
|
|
6272
|
+
"title": "Export files",
|
|
6273
|
+
"requiresProject": false,
|
|
6274
|
+
"isESM": true,
|
|
6275
|
+
"relativePath": [
|
|
6276
|
+
"lib",
|
|
6277
|
+
"commands",
|
|
6278
|
+
"hardis",
|
|
6279
|
+
"org",
|
|
6280
|
+
"files",
|
|
6281
|
+
"export.js"
|
|
6282
|
+
],
|
|
6283
|
+
"aliasPermutations": [],
|
|
6284
|
+
"permutations": [
|
|
6285
|
+
"hardis:org:files:export",
|
|
6286
|
+
"org:hardis:files:export",
|
|
6287
|
+
"org:files:hardis:export",
|
|
6288
|
+
"org:files:export:hardis",
|
|
6289
|
+
"hardis:files:org:export",
|
|
6290
|
+
"files:hardis:org:export",
|
|
6291
|
+
"files:org:hardis:export",
|
|
6292
|
+
"files:org:export:hardis",
|
|
6293
|
+
"hardis:files:export:org",
|
|
6294
|
+
"files:hardis:export:org",
|
|
6295
|
+
"files:export:hardis:org",
|
|
6296
|
+
"files:export:org:hardis",
|
|
6297
|
+
"hardis:org:export:files",
|
|
6298
|
+
"org:hardis:export:files",
|
|
6299
|
+
"org:export:hardis:files",
|
|
6300
|
+
"org:export:files:hardis",
|
|
6301
|
+
"hardis:export:org:files",
|
|
6302
|
+
"export:hardis:org:files",
|
|
6303
|
+
"export:org:hardis:files",
|
|
6304
|
+
"export:org:files:hardis",
|
|
6305
|
+
"hardis:export:files:org",
|
|
6306
|
+
"export:hardis:files:org",
|
|
6307
|
+
"export:files:hardis:org",
|
|
6308
|
+
"export:files:org:hardis"
|
|
6309
|
+
]
|
|
6310
|
+
},
|
|
6311
|
+
"hardis:org:files:import": {
|
|
6312
|
+
"aliases": [],
|
|
6313
|
+
"args": {},
|
|
6314
|
+
"description": "Import file attachments into a Salesforce org\n\nSee article below to see how to Export them.\n\n[](https://nicolas.vuillamy.fr/how-to-mass-download-notes-and-attachments-files-from-a-salesforce-org-83a028824afd)\n",
|
|
6315
|
+
"examples": [
|
|
6316
|
+
"$ sf hardis:org:files:import"
|
|
6317
|
+
],
|
|
6318
|
+
"flags": {
|
|
6319
|
+
"json": {
|
|
6320
|
+
"description": "Format output as json.",
|
|
6321
|
+
"helpGroup": "GLOBAL",
|
|
6322
|
+
"name": "json",
|
|
6323
|
+
"allowNo": false,
|
|
6324
|
+
"type": "boolean"
|
|
6325
|
+
},
|
|
6326
|
+
"flags-dir": {
|
|
6327
|
+
"helpGroup": "GLOBAL",
|
|
6328
|
+
"name": "flags-dir",
|
|
6329
|
+
"summary": "Import flag values from a directory.",
|
|
6330
|
+
"hasDynamicHelp": false,
|
|
6331
|
+
"multiple": false,
|
|
6332
|
+
"type": "option"
|
|
6333
|
+
},
|
|
6334
|
+
"path": {
|
|
6335
|
+
"char": "p",
|
|
6336
|
+
"description": "Path to the file export project",
|
|
6337
|
+
"name": "path",
|
|
6338
|
+
"hasDynamicHelp": false,
|
|
6339
|
+
"multiple": false,
|
|
6340
|
+
"type": "option"
|
|
6341
|
+
},
|
|
6342
|
+
"overwrite": {
|
|
6343
|
+
"char": "f",
|
|
6344
|
+
"description": "Override existing files (doubles the number of API calls)",
|
|
6345
|
+
"name": "overwrite",
|
|
6346
|
+
"allowNo": false,
|
|
6347
|
+
"type": "boolean"
|
|
6348
|
+
},
|
|
6349
|
+
"debug": {
|
|
6350
|
+
"char": "d",
|
|
6351
|
+
"description": "Activate debug mode (more logs)",
|
|
6352
|
+
"name": "debug",
|
|
6353
|
+
"allowNo": false,
|
|
6354
|
+
"type": "boolean"
|
|
6355
|
+
},
|
|
6356
|
+
"websocket": {
|
|
6357
|
+
"description": "Websocket host:port for VsCode SFDX Hardis UI integration",
|
|
6358
|
+
"name": "websocket",
|
|
6359
|
+
"hasDynamicHelp": false,
|
|
6360
|
+
"multiple": false,
|
|
6361
|
+
"type": "option"
|
|
6362
|
+
},
|
|
6363
|
+
"skipauth": {
|
|
6364
|
+
"description": "Skip authentication check when a default username is required",
|
|
6365
|
+
"name": "skipauth",
|
|
6366
|
+
"allowNo": false,
|
|
6367
|
+
"type": "boolean"
|
|
6368
|
+
},
|
|
6369
|
+
"target-org": {
|
|
6370
|
+
"aliases": [
|
|
6371
|
+
"targetusername",
|
|
6372
|
+
"u"
|
|
6373
|
+
],
|
|
6374
|
+
"char": "o",
|
|
6375
|
+
"deprecateAliases": true,
|
|
6376
|
+
"name": "target-org",
|
|
6377
|
+
"noCacheDefault": true,
|
|
6378
|
+
"required": true,
|
|
6379
|
+
"summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
|
|
6380
|
+
"hasDynamicHelp": true,
|
|
6381
|
+
"multiple": false,
|
|
6382
|
+
"type": "option"
|
|
6383
|
+
}
|
|
6384
|
+
},
|
|
6385
|
+
"hasDynamicHelp": true,
|
|
6386
|
+
"hiddenAliases": [],
|
|
6387
|
+
"id": "hardis:org:files:import",
|
|
6388
|
+
"pluginAlias": "sfdx-hardis",
|
|
6389
|
+
"pluginName": "sfdx-hardis",
|
|
6390
|
+
"pluginType": "core",
|
|
6391
|
+
"strict": true,
|
|
6392
|
+
"enableJsonFlag": true,
|
|
6393
|
+
"title": "Import files",
|
|
6394
|
+
"requiresProject": false,
|
|
6395
|
+
"isESM": true,
|
|
6396
|
+
"relativePath": [
|
|
6397
|
+
"lib",
|
|
6398
|
+
"commands",
|
|
6399
|
+
"hardis",
|
|
6400
|
+
"org",
|
|
6401
|
+
"files",
|
|
6402
|
+
"import.js"
|
|
6403
|
+
],
|
|
6404
|
+
"aliasPermutations": [],
|
|
6405
|
+
"permutations": [
|
|
6406
|
+
"hardis:org:files:import",
|
|
6407
|
+
"org:hardis:files:import",
|
|
6408
|
+
"org:files:hardis:import",
|
|
6409
|
+
"org:files:import:hardis",
|
|
6410
|
+
"hardis:files:org:import",
|
|
6411
|
+
"files:hardis:org:import",
|
|
6412
|
+
"files:org:hardis:import",
|
|
6413
|
+
"files:org:import:hardis",
|
|
6414
|
+
"hardis:files:import:org",
|
|
6415
|
+
"files:hardis:import:org",
|
|
6416
|
+
"files:import:hardis:org",
|
|
6417
|
+
"files:import:org:hardis",
|
|
6418
|
+
"hardis:org:import:files",
|
|
6419
|
+
"org:hardis:import:files",
|
|
6420
|
+
"org:import:hardis:files",
|
|
6421
|
+
"org:import:files:hardis",
|
|
6422
|
+
"hardis:import:org:files",
|
|
6423
|
+
"import:hardis:org:files",
|
|
6424
|
+
"import:org:hardis:files",
|
|
6425
|
+
"import:org:files:hardis",
|
|
6426
|
+
"hardis:import:files:org",
|
|
6427
|
+
"import:hardis:files:org",
|
|
6428
|
+
"import:files:hardis:org",
|
|
6429
|
+
"import:files:org:hardis"
|
|
6430
|
+
]
|
|
6431
|
+
},
|
|
6432
6432
|
"hardis:org:fix:listviewmine": {
|
|
6433
6433
|
"aliases": [],
|
|
6434
6434
|
"args": {},
|
|
@@ -14168,5 +14168,5 @@
|
|
|
14168
14168
|
]
|
|
14169
14169
|
}
|
|
14170
14170
|
},
|
|
14171
|
-
"version": "5.13.2
|
|
14171
|
+
"version": "5.13.2"
|
|
14172
14172
|
}
|
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.13.2
|
|
6
|
+
"version": "5.13.2",
|
|
7
7
|
"dependencies": {
|
|
8
8
|
"@actions/github": "^6.0.0",
|
|
9
9
|
"@gitbeaker/node": "^35.8.1",
|