sfdx-hardis 5.10.2-beta202412311026.0 → 5.10.2-beta202501011516.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/commands/hardis/doc/flow2markdown.js +1 -1
- package/lib/commands/hardis/doc/flow2markdown.js.map +1 -1
- package/lib/commands/hardis/doc/project2markdown.js +1 -1
- package/lib/commands/hardis/doc/project2markdown.js.map +1 -1
- package/lib/commands/hardis/org/monitor/backup.js +3 -1
- package/lib/commands/hardis/org/monitor/backup.js.map +1 -1
- package/lib/commands/hardis/project/deploy/smart.js +2 -1
- package/lib/commands/hardis/project/deploy/smart.js.map +1 -1
- package/lib/commands/hardis/project/generate/flow-git-diff.js +1 -1
- package/lib/commands/hardis/project/generate/flow-git-diff.js.map +1 -1
- package/lib/common/aiProvider/index.js +1 -1
- package/lib/common/aiProvider/index.js.map +1 -1
- package/lib/common/aiProvider/utils.d.ts +1 -1
- package/lib/common/aiProvider/utils.js +1 -1
- package/lib/common/aiProvider/utils.js.map +1 -1
- package/lib/common/gitProvider/azureDevops.js +1 -1
- package/lib/common/gitProvider/azureDevops.js.map +1 -1
- package/lib/common/gitProvider/bitbucket.js +1 -1
- package/lib/common/gitProvider/bitbucket.js.map +1 -1
- package/lib/common/gitProvider/gitProviderRoot.d.ts +1 -0
- package/lib/common/gitProvider/gitProviderRoot.js +4 -0
- package/lib/common/gitProvider/gitProviderRoot.js.map +1 -1
- package/lib/common/gitProvider/index.d.ts +1 -0
- package/lib/common/gitProvider/index.js +7 -0
- package/lib/common/gitProvider/index.js.map +1 -1
- package/lib/common/gitProvider/utilsMarkdown.js +19 -7
- package/lib/common/gitProvider/utilsMarkdown.js.map +1 -1
- package/lib/common/utils/deployTipJson.js +28 -11
- package/lib/common/utils/deployTipJson.js.map +1 -1
- package/lib/common/utils/mermaidUtils.d.ts +4 -3
- package/lib/common/utils/mermaidUtils.js +32 -21
- package/lib/common/utils/mermaidUtils.js.map +1 -1
- package/oclif.manifest.json +368 -365
- package/package.json +1 -1
package/oclif.manifest.json
CHANGED
|
@@ -57,12 +57,12 @@
|
|
|
57
57
|
"world:hello"
|
|
58
58
|
]
|
|
59
59
|
},
|
|
60
|
-
"hardis:
|
|
60
|
+
"hardis:auth:login": {
|
|
61
61
|
"aliases": [],
|
|
62
62
|
"args": {},
|
|
63
|
-
"description": "
|
|
63
|
+
"description": "Login to salesforce org",
|
|
64
64
|
"examples": [
|
|
65
|
-
"$ sf hardis:
|
|
65
|
+
"$ sf hardis:auth:login"
|
|
66
66
|
],
|
|
67
67
|
"flags": {
|
|
68
68
|
"json": {
|
|
@@ -80,6 +80,28 @@
|
|
|
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
|
+
},
|
|
83
105
|
"debug": {
|
|
84
106
|
"char": "d",
|
|
85
107
|
"description": "Activate debug mode (more logs)",
|
|
@@ -103,38 +125,38 @@
|
|
|
103
125
|
},
|
|
104
126
|
"hasDynamicHelp": false,
|
|
105
127
|
"hiddenAliases": [],
|
|
106
|
-
"id": "hardis:
|
|
128
|
+
"id": "hardis:auth:login",
|
|
107
129
|
"pluginAlias": "sfdx-hardis",
|
|
108
130
|
"pluginName": "sfdx-hardis",
|
|
109
131
|
"pluginType": "core",
|
|
110
132
|
"strict": true,
|
|
111
133
|
"enableJsonFlag": true,
|
|
112
|
-
"title": "
|
|
134
|
+
"title": "Login",
|
|
113
135
|
"requiresProject": false,
|
|
114
136
|
"isESM": true,
|
|
115
137
|
"relativePath": [
|
|
116
138
|
"lib",
|
|
117
139
|
"commands",
|
|
118
140
|
"hardis",
|
|
119
|
-
"
|
|
120
|
-
"
|
|
141
|
+
"auth",
|
|
142
|
+
"login.js"
|
|
121
143
|
],
|
|
122
144
|
"aliasPermutations": [],
|
|
123
145
|
"permutations": [
|
|
124
|
-
"hardis:
|
|
125
|
-
"
|
|
126
|
-
"
|
|
127
|
-
"hardis:
|
|
128
|
-
"
|
|
129
|
-
"
|
|
146
|
+
"hardis:auth:login",
|
|
147
|
+
"auth:hardis:login",
|
|
148
|
+
"auth:login:hardis",
|
|
149
|
+
"hardis:login:auth",
|
|
150
|
+
"login:hardis:auth",
|
|
151
|
+
"login:auth:hardis"
|
|
130
152
|
]
|
|
131
153
|
},
|
|
132
|
-
"hardis:
|
|
154
|
+
"hardis:cache:clear": {
|
|
133
155
|
"aliases": [],
|
|
134
156
|
"args": {},
|
|
135
|
-
"description": "
|
|
157
|
+
"description": "Clear cache generated by sfdx-hardis",
|
|
136
158
|
"examples": [
|
|
137
|
-
"$ sf hardis:
|
|
159
|
+
"$ sf hardis:cache:clear"
|
|
138
160
|
],
|
|
139
161
|
"flags": {
|
|
140
162
|
"json": {
|
|
@@ -152,28 +174,6 @@
|
|
|
152
174
|
"multiple": false,
|
|
153
175
|
"type": "option"
|
|
154
176
|
},
|
|
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:cache:clear",
|
|
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": "Clear sfdx-hardis cache",
|
|
207
207
|
"requiresProject": false,
|
|
208
208
|
"isESM": true,
|
|
209
209
|
"relativePath": [
|
|
210
210
|
"lib",
|
|
211
211
|
"commands",
|
|
212
212
|
"hardis",
|
|
213
|
-
"
|
|
214
|
-
"
|
|
213
|
+
"cache",
|
|
214
|
+
"clear.js"
|
|
215
215
|
],
|
|
216
216
|
"aliasPermutations": [],
|
|
217
217
|
"permutations": [
|
|
218
|
-
"hardis:
|
|
219
|
-
"
|
|
220
|
-
"
|
|
221
|
-
"hardis:
|
|
222
|
-
"
|
|
223
|
-
"
|
|
218
|
+
"hardis:cache:clear",
|
|
219
|
+
"cache:hardis:clear",
|
|
220
|
+
"cache:clear:hardis",
|
|
221
|
+
"hardis:clear:cache",
|
|
222
|
+
"clear:hardis:cache",
|
|
223
|
+
"clear:cache:hardis"
|
|
224
224
|
]
|
|
225
225
|
},
|
|
226
226
|
"hardis:config:get": {
|
|
@@ -4890,12 +4890,15 @@
|
|
|
4890
4890
|
"import:data:org:hardis"
|
|
4891
4891
|
]
|
|
4892
4892
|
},
|
|
4893
|
-
"hardis:org:
|
|
4893
|
+
"hardis:org:diagnose:audittrail": {
|
|
4894
4894
|
"aliases": [],
|
|
4895
4895
|
"args": {},
|
|
4896
|
-
"description": "Export
|
|
4896
|
+
"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",
|
|
4897
4897
|
"examples": [
|
|
4898
|
-
"$ sf hardis:org:
|
|
4898
|
+
"$ sf hardis:org:diagnose:audittrail",
|
|
4899
|
+
"$ sf hardis:org:diagnose:audittrail --excludeusers baptiste@titi.com",
|
|
4900
|
+
"$ sf hardis:org:diagnose:audittrail --excludeusers baptiste@titi.com,bertrand@titi.com",
|
|
4901
|
+
"$ sf hardis:org:diagnose:audittrail --lastndays 5"
|
|
4899
4902
|
],
|
|
4900
4903
|
"flags": {
|
|
4901
4904
|
"json": {
|
|
@@ -4913,37 +4916,26 @@
|
|
|
4913
4916
|
"multiple": false,
|
|
4914
4917
|
"type": "option"
|
|
4915
4918
|
},
|
|
4916
|
-
"
|
|
4917
|
-
"char": "
|
|
4918
|
-
"description": "
|
|
4919
|
-
"name": "
|
|
4920
|
-
"hasDynamicHelp": false,
|
|
4921
|
-
"multiple": false,
|
|
4922
|
-
"type": "option"
|
|
4923
|
-
},
|
|
4924
|
-
"chunksize": {
|
|
4925
|
-
"char": "c",
|
|
4926
|
-
"description": "Number of records to add in a chunk before it is processed",
|
|
4927
|
-
"name": "chunksize",
|
|
4928
|
-
"default": 1000,
|
|
4919
|
+
"excludeusers": {
|
|
4920
|
+
"char": "e",
|
|
4921
|
+
"description": "Comma-separated list of usernames to exclude",
|
|
4922
|
+
"name": "excludeusers",
|
|
4929
4923
|
"hasDynamicHelp": false,
|
|
4930
4924
|
"multiple": false,
|
|
4931
4925
|
"type": "option"
|
|
4932
4926
|
},
|
|
4933
|
-
"
|
|
4927
|
+
"lastndays": {
|
|
4934
4928
|
"char": "t",
|
|
4935
|
-
"description": "
|
|
4936
|
-
"name": "
|
|
4937
|
-
"default": 300000,
|
|
4929
|
+
"description": "Number of days to extract from today (included)",
|
|
4930
|
+
"name": "lastndays",
|
|
4938
4931
|
"hasDynamicHelp": false,
|
|
4939
4932
|
"multiple": false,
|
|
4940
4933
|
"type": "option"
|
|
4941
4934
|
},
|
|
4942
|
-
"
|
|
4943
|
-
"char": "
|
|
4944
|
-
"description": "
|
|
4945
|
-
"name": "
|
|
4946
|
-
"default": 0,
|
|
4935
|
+
"outputfile": {
|
|
4936
|
+
"char": "f",
|
|
4937
|
+
"description": "Force the path and name of output report file. Must end with .csv",
|
|
4938
|
+
"name": "outputfile",
|
|
4947
4939
|
"hasDynamicHelp": false,
|
|
4948
4940
|
"multiple": false,
|
|
4949
4941
|
"type": "option"
|
|
@@ -4986,13 +4978,13 @@
|
|
|
4986
4978
|
},
|
|
4987
4979
|
"hasDynamicHelp": true,
|
|
4988
4980
|
"hiddenAliases": [],
|
|
4989
|
-
"id": "hardis:org:
|
|
4981
|
+
"id": "hardis:org:diagnose:audittrail",
|
|
4990
4982
|
"pluginAlias": "sfdx-hardis",
|
|
4991
4983
|
"pluginName": "sfdx-hardis",
|
|
4992
4984
|
"pluginType": "core",
|
|
4993
4985
|
"strict": true,
|
|
4994
4986
|
"enableJsonFlag": true,
|
|
4995
|
-
"title": "
|
|
4987
|
+
"title": "Diagnose content of Setup Audit Trail",
|
|
4996
4988
|
"requiresProject": false,
|
|
4997
4989
|
"isESM": true,
|
|
4998
4990
|
"relativePath": [
|
|
@@ -5000,43 +4992,43 @@
|
|
|
5000
4992
|
"commands",
|
|
5001
4993
|
"hardis",
|
|
5002
4994
|
"org",
|
|
5003
|
-
"
|
|
5004
|
-
"
|
|
4995
|
+
"diagnose",
|
|
4996
|
+
"audittrail.js"
|
|
5005
4997
|
],
|
|
5006
4998
|
"aliasPermutations": [],
|
|
5007
4999
|
"permutations": [
|
|
5008
|
-
"hardis:org:
|
|
5009
|
-
"org:hardis:
|
|
5010
|
-
"org:
|
|
5011
|
-
"org:
|
|
5012
|
-
"hardis:
|
|
5013
|
-
"
|
|
5014
|
-
"
|
|
5015
|
-
"
|
|
5016
|
-
"hardis:
|
|
5017
|
-
"
|
|
5018
|
-
"
|
|
5019
|
-
"
|
|
5020
|
-
"hardis:org:
|
|
5021
|
-
"org:hardis:
|
|
5022
|
-
"org:
|
|
5023
|
-
"org:
|
|
5024
|
-
"hardis:
|
|
5025
|
-
"
|
|
5026
|
-
"
|
|
5027
|
-
"
|
|
5028
|
-
"hardis:
|
|
5029
|
-
"
|
|
5030
|
-
"
|
|
5031
|
-
"
|
|
5000
|
+
"hardis:org:diagnose:audittrail",
|
|
5001
|
+
"org:hardis:diagnose:audittrail",
|
|
5002
|
+
"org:diagnose:hardis:audittrail",
|
|
5003
|
+
"org:diagnose:audittrail:hardis",
|
|
5004
|
+
"hardis:diagnose:org:audittrail",
|
|
5005
|
+
"diagnose:hardis:org:audittrail",
|
|
5006
|
+
"diagnose:org:hardis:audittrail",
|
|
5007
|
+
"diagnose:org:audittrail:hardis",
|
|
5008
|
+
"hardis:diagnose:audittrail:org",
|
|
5009
|
+
"diagnose:hardis:audittrail:org",
|
|
5010
|
+
"diagnose:audittrail:hardis:org",
|
|
5011
|
+
"diagnose:audittrail:org:hardis",
|
|
5012
|
+
"hardis:org:audittrail:diagnose",
|
|
5013
|
+
"org:hardis:audittrail:diagnose",
|
|
5014
|
+
"org:audittrail:hardis:diagnose",
|
|
5015
|
+
"org:audittrail:diagnose:hardis",
|
|
5016
|
+
"hardis:audittrail:org:diagnose",
|
|
5017
|
+
"audittrail:hardis:org:diagnose",
|
|
5018
|
+
"audittrail:org:hardis:diagnose",
|
|
5019
|
+
"audittrail:org:diagnose:hardis",
|
|
5020
|
+
"hardis:audittrail:diagnose:org",
|
|
5021
|
+
"audittrail:hardis:diagnose:org",
|
|
5022
|
+
"audittrail:diagnose:hardis:org",
|
|
5023
|
+
"audittrail:diagnose:org:hardis"
|
|
5032
5024
|
]
|
|
5033
5025
|
},
|
|
5034
|
-
"hardis:org:
|
|
5026
|
+
"hardis:org:diagnose:instanceupgrade": {
|
|
5035
5027
|
"aliases": [],
|
|
5036
5028
|
"args": {},
|
|
5037
|
-
"description": "
|
|
5029
|
+
"description": "Get the date when the org instance will be upgraded (to Spring, Summer or Winter)\n ",
|
|
5038
5030
|
"examples": [
|
|
5039
|
-
"$ sf hardis:org:
|
|
5031
|
+
"$ sf hardis:org:diagnose:instanceupgrade"
|
|
5040
5032
|
],
|
|
5041
5033
|
"flags": {
|
|
5042
5034
|
"json": {
|
|
@@ -5054,21 +5046,6 @@
|
|
|
5054
5046
|
"multiple": false,
|
|
5055
5047
|
"type": "option"
|
|
5056
5048
|
},
|
|
5057
|
-
"path": {
|
|
5058
|
-
"char": "p",
|
|
5059
|
-
"description": "Path to the file export project",
|
|
5060
|
-
"name": "path",
|
|
5061
|
-
"hasDynamicHelp": false,
|
|
5062
|
-
"multiple": false,
|
|
5063
|
-
"type": "option"
|
|
5064
|
-
},
|
|
5065
|
-
"overwrite": {
|
|
5066
|
-
"char": "f",
|
|
5067
|
-
"description": "Override existing files (doubles the number of API calls)",
|
|
5068
|
-
"name": "overwrite",
|
|
5069
|
-
"allowNo": false,
|
|
5070
|
-
"type": "boolean"
|
|
5071
|
-
},
|
|
5072
5049
|
"debug": {
|
|
5073
5050
|
"char": "d",
|
|
5074
5051
|
"description": "Activate debug mode (more logs)",
|
|
@@ -5107,13 +5084,13 @@
|
|
|
5107
5084
|
},
|
|
5108
5085
|
"hasDynamicHelp": true,
|
|
5109
5086
|
"hiddenAliases": [],
|
|
5110
|
-
"id": "hardis:org:
|
|
5087
|
+
"id": "hardis:org:diagnose:instanceupgrade",
|
|
5111
5088
|
"pluginAlias": "sfdx-hardis",
|
|
5112
5089
|
"pluginName": "sfdx-hardis",
|
|
5113
5090
|
"pluginType": "core",
|
|
5114
5091
|
"strict": true,
|
|
5115
5092
|
"enableJsonFlag": true,
|
|
5116
|
-
"title": "
|
|
5093
|
+
"title": "Get Instance Upgrade date",
|
|
5117
5094
|
"requiresProject": false,
|
|
5118
5095
|
"isESM": true,
|
|
5119
5096
|
"relativePath": [
|
|
@@ -5121,247 +5098,8 @@
|
|
|
5121
5098
|
"commands",
|
|
5122
5099
|
"hardis",
|
|
5123
5100
|
"org",
|
|
5124
|
-
"
|
|
5125
|
-
"
|
|
5126
|
-
],
|
|
5127
|
-
"aliasPermutations": [],
|
|
5128
|
-
"permutations": [
|
|
5129
|
-
"hardis:org:files:import",
|
|
5130
|
-
"org:hardis:files:import",
|
|
5131
|
-
"org:files:hardis:import",
|
|
5132
|
-
"org:files:import:hardis",
|
|
5133
|
-
"hardis:files:org:import",
|
|
5134
|
-
"files:hardis:org:import",
|
|
5135
|
-
"files:org:hardis:import",
|
|
5136
|
-
"files:org:import:hardis",
|
|
5137
|
-
"hardis:files:import:org",
|
|
5138
|
-
"files:hardis:import:org",
|
|
5139
|
-
"files:import:hardis:org",
|
|
5140
|
-
"files:import:org:hardis",
|
|
5141
|
-
"hardis:org:import:files",
|
|
5142
|
-
"org:hardis:import:files",
|
|
5143
|
-
"org:import:hardis:files",
|
|
5144
|
-
"org:import:files:hardis",
|
|
5145
|
-
"hardis:import:org:files",
|
|
5146
|
-
"import:hardis:org:files",
|
|
5147
|
-
"import:org:hardis:files",
|
|
5148
|
-
"import:org:files:hardis",
|
|
5149
|
-
"hardis:import:files:org",
|
|
5150
|
-
"import:hardis:files:org",
|
|
5151
|
-
"import:files:hardis:org",
|
|
5152
|
-
"import:files:org:hardis"
|
|
5153
|
-
]
|
|
5154
|
-
},
|
|
5155
|
-
"hardis:org:diagnose:audittrail": {
|
|
5156
|
-
"aliases": [],
|
|
5157
|
-
"args": {},
|
|
5158
|
-
"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",
|
|
5159
|
-
"examples": [
|
|
5160
|
-
"$ sf hardis:org:diagnose:audittrail",
|
|
5161
|
-
"$ sf hardis:org:diagnose:audittrail --excludeusers baptiste@titi.com",
|
|
5162
|
-
"$ sf hardis:org:diagnose:audittrail --excludeusers baptiste@titi.com,bertrand@titi.com",
|
|
5163
|
-
"$ sf hardis:org:diagnose:audittrail --lastndays 5"
|
|
5164
|
-
],
|
|
5165
|
-
"flags": {
|
|
5166
|
-
"json": {
|
|
5167
|
-
"description": "Format output as json.",
|
|
5168
|
-
"helpGroup": "GLOBAL",
|
|
5169
|
-
"name": "json",
|
|
5170
|
-
"allowNo": false,
|
|
5171
|
-
"type": "boolean"
|
|
5172
|
-
},
|
|
5173
|
-
"flags-dir": {
|
|
5174
|
-
"helpGroup": "GLOBAL",
|
|
5175
|
-
"name": "flags-dir",
|
|
5176
|
-
"summary": "Import flag values from a directory.",
|
|
5177
|
-
"hasDynamicHelp": false,
|
|
5178
|
-
"multiple": false,
|
|
5179
|
-
"type": "option"
|
|
5180
|
-
},
|
|
5181
|
-
"excludeusers": {
|
|
5182
|
-
"char": "e",
|
|
5183
|
-
"description": "Comma-separated list of usernames to exclude",
|
|
5184
|
-
"name": "excludeusers",
|
|
5185
|
-
"hasDynamicHelp": false,
|
|
5186
|
-
"multiple": false,
|
|
5187
|
-
"type": "option"
|
|
5188
|
-
},
|
|
5189
|
-
"lastndays": {
|
|
5190
|
-
"char": "t",
|
|
5191
|
-
"description": "Number of days to extract from today (included)",
|
|
5192
|
-
"name": "lastndays",
|
|
5193
|
-
"hasDynamicHelp": false,
|
|
5194
|
-
"multiple": false,
|
|
5195
|
-
"type": "option"
|
|
5196
|
-
},
|
|
5197
|
-
"outputfile": {
|
|
5198
|
-
"char": "f",
|
|
5199
|
-
"description": "Force the path and name of output report file. Must end with .csv",
|
|
5200
|
-
"name": "outputfile",
|
|
5201
|
-
"hasDynamicHelp": false,
|
|
5202
|
-
"multiple": false,
|
|
5203
|
-
"type": "option"
|
|
5204
|
-
},
|
|
5205
|
-
"debug": {
|
|
5206
|
-
"char": "d",
|
|
5207
|
-
"description": "Activate debug mode (more logs)",
|
|
5208
|
-
"name": "debug",
|
|
5209
|
-
"allowNo": false,
|
|
5210
|
-
"type": "boolean"
|
|
5211
|
-
},
|
|
5212
|
-
"websocket": {
|
|
5213
|
-
"description": "Websocket host:port for VsCode SFDX Hardis UI integration",
|
|
5214
|
-
"name": "websocket",
|
|
5215
|
-
"hasDynamicHelp": false,
|
|
5216
|
-
"multiple": false,
|
|
5217
|
-
"type": "option"
|
|
5218
|
-
},
|
|
5219
|
-
"skipauth": {
|
|
5220
|
-
"description": "Skip authentication check when a default username is required",
|
|
5221
|
-
"name": "skipauth",
|
|
5222
|
-
"allowNo": false,
|
|
5223
|
-
"type": "boolean"
|
|
5224
|
-
},
|
|
5225
|
-
"target-org": {
|
|
5226
|
-
"aliases": [
|
|
5227
|
-
"targetusername",
|
|
5228
|
-
"u"
|
|
5229
|
-
],
|
|
5230
|
-
"char": "o",
|
|
5231
|
-
"deprecateAliases": true,
|
|
5232
|
-
"name": "target-org",
|
|
5233
|
-
"noCacheDefault": true,
|
|
5234
|
-
"required": true,
|
|
5235
|
-
"summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
|
|
5236
|
-
"hasDynamicHelp": true,
|
|
5237
|
-
"multiple": false,
|
|
5238
|
-
"type": "option"
|
|
5239
|
-
}
|
|
5240
|
-
},
|
|
5241
|
-
"hasDynamicHelp": true,
|
|
5242
|
-
"hiddenAliases": [],
|
|
5243
|
-
"id": "hardis:org:diagnose:audittrail",
|
|
5244
|
-
"pluginAlias": "sfdx-hardis",
|
|
5245
|
-
"pluginName": "sfdx-hardis",
|
|
5246
|
-
"pluginType": "core",
|
|
5247
|
-
"strict": true,
|
|
5248
|
-
"enableJsonFlag": true,
|
|
5249
|
-
"title": "Diagnose content of Setup Audit Trail",
|
|
5250
|
-
"requiresProject": false,
|
|
5251
|
-
"isESM": true,
|
|
5252
|
-
"relativePath": [
|
|
5253
|
-
"lib",
|
|
5254
|
-
"commands",
|
|
5255
|
-
"hardis",
|
|
5256
|
-
"org",
|
|
5257
|
-
"diagnose",
|
|
5258
|
-
"audittrail.js"
|
|
5259
|
-
],
|
|
5260
|
-
"aliasPermutations": [],
|
|
5261
|
-
"permutations": [
|
|
5262
|
-
"hardis:org:diagnose:audittrail",
|
|
5263
|
-
"org:hardis:diagnose:audittrail",
|
|
5264
|
-
"org:diagnose:hardis:audittrail",
|
|
5265
|
-
"org:diagnose:audittrail:hardis",
|
|
5266
|
-
"hardis:diagnose:org:audittrail",
|
|
5267
|
-
"diagnose:hardis:org:audittrail",
|
|
5268
|
-
"diagnose:org:hardis:audittrail",
|
|
5269
|
-
"diagnose:org:audittrail:hardis",
|
|
5270
|
-
"hardis:diagnose:audittrail:org",
|
|
5271
|
-
"diagnose:hardis:audittrail:org",
|
|
5272
|
-
"diagnose:audittrail:hardis:org",
|
|
5273
|
-
"diagnose:audittrail:org:hardis",
|
|
5274
|
-
"hardis:org:audittrail:diagnose",
|
|
5275
|
-
"org:hardis:audittrail:diagnose",
|
|
5276
|
-
"org:audittrail:hardis:diagnose",
|
|
5277
|
-
"org:audittrail:diagnose:hardis",
|
|
5278
|
-
"hardis:audittrail:org:diagnose",
|
|
5279
|
-
"audittrail:hardis:org:diagnose",
|
|
5280
|
-
"audittrail:org:hardis:diagnose",
|
|
5281
|
-
"audittrail:org:diagnose:hardis",
|
|
5282
|
-
"hardis:audittrail:diagnose:org",
|
|
5283
|
-
"audittrail:hardis:diagnose:org",
|
|
5284
|
-
"audittrail:diagnose:hardis:org",
|
|
5285
|
-
"audittrail:diagnose:org:hardis"
|
|
5286
|
-
]
|
|
5287
|
-
},
|
|
5288
|
-
"hardis:org:diagnose:instanceupgrade": {
|
|
5289
|
-
"aliases": [],
|
|
5290
|
-
"args": {},
|
|
5291
|
-
"description": "Get the date when the org instance will be upgraded (to Spring, Summer or Winter)\n ",
|
|
5292
|
-
"examples": [
|
|
5293
|
-
"$ sf hardis:org:diagnose:instanceupgrade"
|
|
5294
|
-
],
|
|
5295
|
-
"flags": {
|
|
5296
|
-
"json": {
|
|
5297
|
-
"description": "Format output as json.",
|
|
5298
|
-
"helpGroup": "GLOBAL",
|
|
5299
|
-
"name": "json",
|
|
5300
|
-
"allowNo": false,
|
|
5301
|
-
"type": "boolean"
|
|
5302
|
-
},
|
|
5303
|
-
"flags-dir": {
|
|
5304
|
-
"helpGroup": "GLOBAL",
|
|
5305
|
-
"name": "flags-dir",
|
|
5306
|
-
"summary": "Import flag values from a directory.",
|
|
5307
|
-
"hasDynamicHelp": false,
|
|
5308
|
-
"multiple": false,
|
|
5309
|
-
"type": "option"
|
|
5310
|
-
},
|
|
5311
|
-
"debug": {
|
|
5312
|
-
"char": "d",
|
|
5313
|
-
"description": "Activate debug mode (more logs)",
|
|
5314
|
-
"name": "debug",
|
|
5315
|
-
"allowNo": false,
|
|
5316
|
-
"type": "boolean"
|
|
5317
|
-
},
|
|
5318
|
-
"websocket": {
|
|
5319
|
-
"description": "Websocket host:port for VsCode SFDX Hardis UI integration",
|
|
5320
|
-
"name": "websocket",
|
|
5321
|
-
"hasDynamicHelp": false,
|
|
5322
|
-
"multiple": false,
|
|
5323
|
-
"type": "option"
|
|
5324
|
-
},
|
|
5325
|
-
"skipauth": {
|
|
5326
|
-
"description": "Skip authentication check when a default username is required",
|
|
5327
|
-
"name": "skipauth",
|
|
5328
|
-
"allowNo": false,
|
|
5329
|
-
"type": "boolean"
|
|
5330
|
-
},
|
|
5331
|
-
"target-org": {
|
|
5332
|
-
"aliases": [
|
|
5333
|
-
"targetusername",
|
|
5334
|
-
"u"
|
|
5335
|
-
],
|
|
5336
|
-
"char": "o",
|
|
5337
|
-
"deprecateAliases": true,
|
|
5338
|
-
"name": "target-org",
|
|
5339
|
-
"noCacheDefault": true,
|
|
5340
|
-
"required": true,
|
|
5341
|
-
"summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
|
|
5342
|
-
"hasDynamicHelp": true,
|
|
5343
|
-
"multiple": false,
|
|
5344
|
-
"type": "option"
|
|
5345
|
-
}
|
|
5346
|
-
},
|
|
5347
|
-
"hasDynamicHelp": true,
|
|
5348
|
-
"hiddenAliases": [],
|
|
5349
|
-
"id": "hardis:org:diagnose:instanceupgrade",
|
|
5350
|
-
"pluginAlias": "sfdx-hardis",
|
|
5351
|
-
"pluginName": "sfdx-hardis",
|
|
5352
|
-
"pluginType": "core",
|
|
5353
|
-
"strict": true,
|
|
5354
|
-
"enableJsonFlag": true,
|
|
5355
|
-
"title": "Get Instance Upgrade date",
|
|
5356
|
-
"requiresProject": false,
|
|
5357
|
-
"isESM": true,
|
|
5358
|
-
"relativePath": [
|
|
5359
|
-
"lib",
|
|
5360
|
-
"commands",
|
|
5361
|
-
"hardis",
|
|
5362
|
-
"org",
|
|
5363
|
-
"diagnose",
|
|
5364
|
-
"instanceupgrade.js"
|
|
5101
|
+
"diagnose",
|
|
5102
|
+
"instanceupgrade.js"
|
|
5365
5103
|
],
|
|
5366
5104
|
"aliasPermutations": [],
|
|
5367
5105
|
"permutations": [
|
|
@@ -6301,6 +6039,268 @@
|
|
|
6301
6039
|
"unusedusers:diagnose:org:hardis"
|
|
6302
6040
|
]
|
|
6303
6041
|
},
|
|
6042
|
+
"hardis:org:files:export": {
|
|
6043
|
+
"aliases": [],
|
|
6044
|
+
"args": {},
|
|
6045
|
+
"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",
|
|
6046
|
+
"examples": [
|
|
6047
|
+
"$ sf hardis:org:files:export"
|
|
6048
|
+
],
|
|
6049
|
+
"flags": {
|
|
6050
|
+
"json": {
|
|
6051
|
+
"description": "Format output as json.",
|
|
6052
|
+
"helpGroup": "GLOBAL",
|
|
6053
|
+
"name": "json",
|
|
6054
|
+
"allowNo": false,
|
|
6055
|
+
"type": "boolean"
|
|
6056
|
+
},
|
|
6057
|
+
"flags-dir": {
|
|
6058
|
+
"helpGroup": "GLOBAL",
|
|
6059
|
+
"name": "flags-dir",
|
|
6060
|
+
"summary": "Import flag values from a directory.",
|
|
6061
|
+
"hasDynamicHelp": false,
|
|
6062
|
+
"multiple": false,
|
|
6063
|
+
"type": "option"
|
|
6064
|
+
},
|
|
6065
|
+
"path": {
|
|
6066
|
+
"char": "p",
|
|
6067
|
+
"description": "Path to the file export project",
|
|
6068
|
+
"name": "path",
|
|
6069
|
+
"hasDynamicHelp": false,
|
|
6070
|
+
"multiple": false,
|
|
6071
|
+
"type": "option"
|
|
6072
|
+
},
|
|
6073
|
+
"chunksize": {
|
|
6074
|
+
"char": "c",
|
|
6075
|
+
"description": "Number of records to add in a chunk before it is processed",
|
|
6076
|
+
"name": "chunksize",
|
|
6077
|
+
"default": 1000,
|
|
6078
|
+
"hasDynamicHelp": false,
|
|
6079
|
+
"multiple": false,
|
|
6080
|
+
"type": "option"
|
|
6081
|
+
},
|
|
6082
|
+
"polltimeout": {
|
|
6083
|
+
"char": "t",
|
|
6084
|
+
"description": "Timeout in MS for Bulk API calls",
|
|
6085
|
+
"name": "polltimeout",
|
|
6086
|
+
"default": 300000,
|
|
6087
|
+
"hasDynamicHelp": false,
|
|
6088
|
+
"multiple": false,
|
|
6089
|
+
"type": "option"
|
|
6090
|
+
},
|
|
6091
|
+
"startchunknumber": {
|
|
6092
|
+
"char": "s",
|
|
6093
|
+
"description": "Chunk number to start from",
|
|
6094
|
+
"name": "startchunknumber",
|
|
6095
|
+
"default": 0,
|
|
6096
|
+
"hasDynamicHelp": false,
|
|
6097
|
+
"multiple": false,
|
|
6098
|
+
"type": "option"
|
|
6099
|
+
},
|
|
6100
|
+
"debug": {
|
|
6101
|
+
"char": "d",
|
|
6102
|
+
"description": "Activate debug mode (more logs)",
|
|
6103
|
+
"name": "debug",
|
|
6104
|
+
"allowNo": false,
|
|
6105
|
+
"type": "boolean"
|
|
6106
|
+
},
|
|
6107
|
+
"websocket": {
|
|
6108
|
+
"description": "Websocket host:port for VsCode SFDX Hardis UI integration",
|
|
6109
|
+
"name": "websocket",
|
|
6110
|
+
"hasDynamicHelp": false,
|
|
6111
|
+
"multiple": false,
|
|
6112
|
+
"type": "option"
|
|
6113
|
+
},
|
|
6114
|
+
"skipauth": {
|
|
6115
|
+
"description": "Skip authentication check when a default username is required",
|
|
6116
|
+
"name": "skipauth",
|
|
6117
|
+
"allowNo": false,
|
|
6118
|
+
"type": "boolean"
|
|
6119
|
+
},
|
|
6120
|
+
"target-org": {
|
|
6121
|
+
"aliases": [
|
|
6122
|
+
"targetusername",
|
|
6123
|
+
"u"
|
|
6124
|
+
],
|
|
6125
|
+
"char": "o",
|
|
6126
|
+
"deprecateAliases": true,
|
|
6127
|
+
"name": "target-org",
|
|
6128
|
+
"noCacheDefault": true,
|
|
6129
|
+
"required": true,
|
|
6130
|
+
"summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
|
|
6131
|
+
"hasDynamicHelp": true,
|
|
6132
|
+
"multiple": false,
|
|
6133
|
+
"type": "option"
|
|
6134
|
+
}
|
|
6135
|
+
},
|
|
6136
|
+
"hasDynamicHelp": true,
|
|
6137
|
+
"hiddenAliases": [],
|
|
6138
|
+
"id": "hardis:org:files:export",
|
|
6139
|
+
"pluginAlias": "sfdx-hardis",
|
|
6140
|
+
"pluginName": "sfdx-hardis",
|
|
6141
|
+
"pluginType": "core",
|
|
6142
|
+
"strict": true,
|
|
6143
|
+
"enableJsonFlag": true,
|
|
6144
|
+
"title": "Export files",
|
|
6145
|
+
"requiresProject": false,
|
|
6146
|
+
"isESM": true,
|
|
6147
|
+
"relativePath": [
|
|
6148
|
+
"lib",
|
|
6149
|
+
"commands",
|
|
6150
|
+
"hardis",
|
|
6151
|
+
"org",
|
|
6152
|
+
"files",
|
|
6153
|
+
"export.js"
|
|
6154
|
+
],
|
|
6155
|
+
"aliasPermutations": [],
|
|
6156
|
+
"permutations": [
|
|
6157
|
+
"hardis:org:files:export",
|
|
6158
|
+
"org:hardis:files:export",
|
|
6159
|
+
"org:files:hardis:export",
|
|
6160
|
+
"org:files:export:hardis",
|
|
6161
|
+
"hardis:files:org:export",
|
|
6162
|
+
"files:hardis:org:export",
|
|
6163
|
+
"files:org:hardis:export",
|
|
6164
|
+
"files:org:export:hardis",
|
|
6165
|
+
"hardis:files:export:org",
|
|
6166
|
+
"files:hardis:export:org",
|
|
6167
|
+
"files:export:hardis:org",
|
|
6168
|
+
"files:export:org:hardis",
|
|
6169
|
+
"hardis:org:export:files",
|
|
6170
|
+
"org:hardis:export:files",
|
|
6171
|
+
"org:export:hardis:files",
|
|
6172
|
+
"org:export:files:hardis",
|
|
6173
|
+
"hardis:export:org:files",
|
|
6174
|
+
"export:hardis:org:files",
|
|
6175
|
+
"export:org:hardis:files",
|
|
6176
|
+
"export:org:files:hardis",
|
|
6177
|
+
"hardis:export:files:org",
|
|
6178
|
+
"export:hardis:files:org",
|
|
6179
|
+
"export:files:hardis:org",
|
|
6180
|
+
"export:files:org:hardis"
|
|
6181
|
+
]
|
|
6182
|
+
},
|
|
6183
|
+
"hardis:org:files:import": {
|
|
6184
|
+
"aliases": [],
|
|
6185
|
+
"args": {},
|
|
6186
|
+
"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",
|
|
6187
|
+
"examples": [
|
|
6188
|
+
"$ sf hardis:org:files:import"
|
|
6189
|
+
],
|
|
6190
|
+
"flags": {
|
|
6191
|
+
"json": {
|
|
6192
|
+
"description": "Format output as json.",
|
|
6193
|
+
"helpGroup": "GLOBAL",
|
|
6194
|
+
"name": "json",
|
|
6195
|
+
"allowNo": false,
|
|
6196
|
+
"type": "boolean"
|
|
6197
|
+
},
|
|
6198
|
+
"flags-dir": {
|
|
6199
|
+
"helpGroup": "GLOBAL",
|
|
6200
|
+
"name": "flags-dir",
|
|
6201
|
+
"summary": "Import flag values from a directory.",
|
|
6202
|
+
"hasDynamicHelp": false,
|
|
6203
|
+
"multiple": false,
|
|
6204
|
+
"type": "option"
|
|
6205
|
+
},
|
|
6206
|
+
"path": {
|
|
6207
|
+
"char": "p",
|
|
6208
|
+
"description": "Path to the file export project",
|
|
6209
|
+
"name": "path",
|
|
6210
|
+
"hasDynamicHelp": false,
|
|
6211
|
+
"multiple": false,
|
|
6212
|
+
"type": "option"
|
|
6213
|
+
},
|
|
6214
|
+
"overwrite": {
|
|
6215
|
+
"char": "f",
|
|
6216
|
+
"description": "Override existing files (doubles the number of API calls)",
|
|
6217
|
+
"name": "overwrite",
|
|
6218
|
+
"allowNo": false,
|
|
6219
|
+
"type": "boolean"
|
|
6220
|
+
},
|
|
6221
|
+
"debug": {
|
|
6222
|
+
"char": "d",
|
|
6223
|
+
"description": "Activate debug mode (more logs)",
|
|
6224
|
+
"name": "debug",
|
|
6225
|
+
"allowNo": false,
|
|
6226
|
+
"type": "boolean"
|
|
6227
|
+
},
|
|
6228
|
+
"websocket": {
|
|
6229
|
+
"description": "Websocket host:port for VsCode SFDX Hardis UI integration",
|
|
6230
|
+
"name": "websocket",
|
|
6231
|
+
"hasDynamicHelp": false,
|
|
6232
|
+
"multiple": false,
|
|
6233
|
+
"type": "option"
|
|
6234
|
+
},
|
|
6235
|
+
"skipauth": {
|
|
6236
|
+
"description": "Skip authentication check when a default username is required",
|
|
6237
|
+
"name": "skipauth",
|
|
6238
|
+
"allowNo": false,
|
|
6239
|
+
"type": "boolean"
|
|
6240
|
+
},
|
|
6241
|
+
"target-org": {
|
|
6242
|
+
"aliases": [
|
|
6243
|
+
"targetusername",
|
|
6244
|
+
"u"
|
|
6245
|
+
],
|
|
6246
|
+
"char": "o",
|
|
6247
|
+
"deprecateAliases": true,
|
|
6248
|
+
"name": "target-org",
|
|
6249
|
+
"noCacheDefault": true,
|
|
6250
|
+
"required": true,
|
|
6251
|
+
"summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
|
|
6252
|
+
"hasDynamicHelp": true,
|
|
6253
|
+
"multiple": false,
|
|
6254
|
+
"type": "option"
|
|
6255
|
+
}
|
|
6256
|
+
},
|
|
6257
|
+
"hasDynamicHelp": true,
|
|
6258
|
+
"hiddenAliases": [],
|
|
6259
|
+
"id": "hardis:org:files:import",
|
|
6260
|
+
"pluginAlias": "sfdx-hardis",
|
|
6261
|
+
"pluginName": "sfdx-hardis",
|
|
6262
|
+
"pluginType": "core",
|
|
6263
|
+
"strict": true,
|
|
6264
|
+
"enableJsonFlag": true,
|
|
6265
|
+
"title": "Import files",
|
|
6266
|
+
"requiresProject": false,
|
|
6267
|
+
"isESM": true,
|
|
6268
|
+
"relativePath": [
|
|
6269
|
+
"lib",
|
|
6270
|
+
"commands",
|
|
6271
|
+
"hardis",
|
|
6272
|
+
"org",
|
|
6273
|
+
"files",
|
|
6274
|
+
"import.js"
|
|
6275
|
+
],
|
|
6276
|
+
"aliasPermutations": [],
|
|
6277
|
+
"permutations": [
|
|
6278
|
+
"hardis:org:files:import",
|
|
6279
|
+
"org:hardis:files:import",
|
|
6280
|
+
"org:files:hardis:import",
|
|
6281
|
+
"org:files:import:hardis",
|
|
6282
|
+
"hardis:files:org:import",
|
|
6283
|
+
"files:hardis:org:import",
|
|
6284
|
+
"files:org:hardis:import",
|
|
6285
|
+
"files:org:import:hardis",
|
|
6286
|
+
"hardis:files:import:org",
|
|
6287
|
+
"files:hardis:import:org",
|
|
6288
|
+
"files:import:hardis:org",
|
|
6289
|
+
"files:import:org:hardis",
|
|
6290
|
+
"hardis:org:import:files",
|
|
6291
|
+
"org:hardis:import:files",
|
|
6292
|
+
"org:import:hardis:files",
|
|
6293
|
+
"org:import:files:hardis",
|
|
6294
|
+
"hardis:import:org:files",
|
|
6295
|
+
"import:hardis:org:files",
|
|
6296
|
+
"import:org:hardis:files",
|
|
6297
|
+
"import:org:files:hardis",
|
|
6298
|
+
"hardis:import:files:org",
|
|
6299
|
+
"import:hardis:files:org",
|
|
6300
|
+
"import:files:hardis:org",
|
|
6301
|
+
"import:files:org:hardis"
|
|
6302
|
+
]
|
|
6303
|
+
},
|
|
6304
6304
|
"hardis:org:fix:listviewmine": {
|
|
6305
6305
|
"aliases": [],
|
|
6306
6306
|
"args": {},
|
|
@@ -6736,7 +6736,9 @@
|
|
|
6736
6736
|
"description": "Retrieve sfdx sources in the context of a monitoring backup\n\nThe command exists in 2 modes: filtered(default & recommended) and full.\n\n## Filtered mode (default, better performances)\n\nAutomatically skips metadatas from installed packages with namespace. \n\nYou can remove more metadata types from backup, especially in case you have too many metadatas and that provokes a crash, using:\n\n- Manual update of `manifest/package-skip-items.xml` config file (then commit & push in the same branch)\n\n- Environment variable MONITORING_BACKUP_SKIP_METADATA_TYPES (example: `MONITORING_BACKUP_SKIP_METADATA_TYPES=CustomLabel,StaticResource,Translation`): that will be applied to all monitoring branches.\n\n## Full mode\n\nActivate it with **--full** parameter, or variable MONITORING_BACKUP_MODE_FULL=true\n\nIgnores filters (namespaces items & manifest/package-skip-items.xml) to retrieve ALL metadatas, including those you might not care about (reports, translations...)\n\nAs we can retrieve only 10000 files by call, the list of all metadatas will be chunked to make multiple calls (and take more time than filtered mode)\n\n- if you use `--full-apply-filters` , manifest/package-skip-items.xml and MONITORING_BACKUP_SKIP_METADATA_TYPES filters will be applied anyway\n- if you use `--exclude-namespaces` , namespaced items will be ignored\n\n_With those both options, it's like if you are not using --full, but with chunked metadata download_\n\n## In CI/CD\n\nThis command is part of [sfdx-hardis Monitoring](https://sfdx-hardis.cloudity.com/salesforce-monitoring-metadata-backup/) and can output Grafana, Slack and MsTeams Notifications.\n\n## Documentation\n\n[Doc generation (including visual flows)](https://sfdx-hardis.cloudity.com/hardis/doc/project2markdown/) is triggered at the end of the command.\n\nIf Flow history doc always display a single state, you probably need to update your workflow configuration:\n\n- on Gitlab: Env variable [`GIT_FETCH_EXTRA_FLAGS: --depth 10000`](https://github.com/hardisgroupcom/sfdx-hardis/blob/main/defaults/monitoring/.gitlab-ci.yml#L11)\n- on GitHub: [`fetch-depth: 0`](https://github.com/hardisgroupcom/sfdx-hardis/blob/main/defaults/monitoring/.github/workflows/org-monitoring.yml#L58)\n- on Azure: [`fetchDepth: \"0\"`](https://github.com/hardisgroupcom/sfdx-hardis/blob/main/defaults/monitoring/azure-pipelines.yml#L39)\n- on Bitbucket: [`step: clone: depth: full`](https://github.com/hardisgroupcom/sfdx-hardis/blob/main/defaults/monitoring/bitbucket-pipelines.yml#L18)\n",
|
|
6737
6737
|
"examples": [
|
|
6738
6738
|
"$ sf hardis:org:monitor:backup",
|
|
6739
|
-
"$ sf hardis:org:monitor:backup --full"
|
|
6739
|
+
"$ sf hardis:org:monitor:backup --full",
|
|
6740
|
+
"$ sf hardis:org:monitor:backup --full --exclude-namespaces",
|
|
6741
|
+
"$ sf hardis:org:monitor:backup --full --exclude-namespaces --full-apply-filters"
|
|
6740
6742
|
],
|
|
6741
6743
|
"flags": {
|
|
6742
6744
|
"json": {
|
|
@@ -10616,7 +10618,8 @@
|
|
|
10616
10618
|
"$ sf hardis:project:deploy:smart --check --testlevel RunRepositoryTests --runtests '^(?!FLI|MyPrefix).*'",
|
|
10617
10619
|
"$ sf hardis:project:deploy:smart --check --testlevel RunRepositoryTestsExceptSeeAllData",
|
|
10618
10620
|
"$ sf hardis:project:deploy:smart",
|
|
10619
|
-
"$ FORCE_TARGET_BRANCH=preprod NODE_OPTIONS=--inspect-brk sf hardis:project:deploy:smart --check --websocket localhost:2702 --skipauth --target-org nicolas.vuillamy@myclient.com.preprod"
|
|
10621
|
+
"$ FORCE_TARGET_BRANCH=preprod NODE_OPTIONS=--inspect-brk sf hardis:project:deploy:smart --check --websocket localhost:2702 --skipauth --target-org nicolas.vuillamy@myclient.com.preprod",
|
|
10622
|
+
"$ SYSTEM_ACCESSTOKEN=toto SYSTEM_COLLECTIONURI=titi BUILD_REPOSITORY_ID=tata SYSTEM_PULLREQUEST_PULLREQUESTID=tutu FORCE_TARGET_BRANCH=uat NODE_OPTIONS=--inspect-brk sf hardis:project:deploy:smart --check --websocket localhost:2702 --skipauth --target-org mytest@org.com"
|
|
10620
10623
|
],
|
|
10621
10624
|
"flags": {
|
|
10622
10625
|
"json": {
|
|
@@ -13891,5 +13894,5 @@
|
|
|
13891
13894
|
]
|
|
13892
13895
|
}
|
|
13893
13896
|
},
|
|
13894
|
-
"version": "5.10.2-
|
|
13897
|
+
"version": "5.10.2-beta202501011516.0"
|
|
13895
13898
|
}
|