@j-schreiber/sf-cli-security-audit 0.8.2 → 0.8.4
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/README.md +3 -3
- package/lib/commands/org/audit/init.d.ts +19 -0
- package/lib/commands/org/audit/init.js +72 -0
- package/lib/commands/org/audit/init.js.map +1 -0
- package/lib/commands/org/audit/run.d.ts +23 -0
- package/lib/commands/org/audit/run.js +124 -0
- package/lib/commands/org/audit/run.js.map +1 -0
- package/lib/commands/org/scan/user-perms.d.ts +20 -0
- package/lib/commands/org/scan/user-perms.js +87 -0
- package/lib/commands/org/scan/user-perms.js.map +1 -0
- package/lib/libs/conf-init/auditConfig.d.ts +35 -0
- package/lib/libs/conf-init/auditConfig.js +41 -0
- package/lib/libs/conf-init/auditConfig.js.map +1 -0
- package/lib/libs/conf-init/permissionsClassification.d.ts +17 -0
- package/lib/libs/conf-init/permissionsClassification.js +80 -0
- package/lib/libs/conf-init/permissionsClassification.js.map +1 -0
- package/lib/libs/conf-init/policyConfigs.d.ts +31 -0
- package/lib/libs/conf-init/policyConfigs.js +91 -0
- package/lib/libs/conf-init/policyConfigs.js.map +1 -0
- package/lib/libs/conf-init/presets/loose.d.ts +6 -0
- package/lib/libs/conf-init/presets/loose.js +85 -0
- package/lib/libs/conf-init/presets/loose.js.map +1 -0
- package/lib/libs/conf-init/presets/none.d.ts +30 -0
- package/lib/libs/conf-init/presets/none.js +54 -0
- package/lib/libs/conf-init/presets/none.js.map +1 -0
- package/lib/libs/conf-init/presets/strict.d.ts +4 -0
- package/lib/libs/conf-init/presets/strict.js +79 -0
- package/lib/libs/conf-init/presets/strict.js.map +1 -0
- package/lib/libs/conf-init/presets.d.ts +7 -0
- package/lib/libs/conf-init/presets.js +20 -0
- package/lib/libs/conf-init/presets.js.map +1 -0
- package/lib/libs/core/auditRun.d.ts +36 -0
- package/lib/libs/core/auditRun.js +86 -0
- package/lib/libs/core/auditRun.js.map +1 -0
- package/lib/libs/core/classification-types.d.ts +20 -0
- package/lib/libs/core/classification-types.js +23 -0
- package/lib/libs/core/classification-types.js.map +1 -0
- package/lib/libs/core/constants.d.ts +10 -0
- package/lib/libs/core/constants.js +20 -0
- package/lib/libs/core/constants.js.map +1 -0
- package/lib/libs/core/file-mgmt/auditConfigFileManager.d.ts +48 -0
- package/lib/libs/core/file-mgmt/auditConfigFileManager.js +145 -0
- package/lib/libs/core/file-mgmt/auditConfigFileManager.js.map +1 -0
- package/lib/libs/core/file-mgmt/schema.d.ts +123 -0
- package/lib/libs/core/file-mgmt/schema.js +69 -0
- package/lib/libs/core/file-mgmt/schema.js.map +1 -0
- package/lib/libs/core/mdapi/mdapiRetriever.d.ts +54 -0
- package/lib/libs/core/mdapi/mdapiRetriever.js +123 -0
- package/lib/libs/core/mdapi/mdapiRetriever.js.map +1 -0
- package/lib/libs/core/mdapi/metadataRegistryEntry.d.ts +40 -0
- package/lib/libs/core/mdapi/metadataRegistryEntry.js +46 -0
- package/lib/libs/core/mdapi/metadataRegistryEntry.js.map +1 -0
- package/lib/libs/core/mdapi/namedMetadataToolingQueryable.d.ts +33 -0
- package/lib/libs/core/mdapi/namedMetadataToolingQueryable.js +41 -0
- package/lib/libs/core/mdapi/namedMetadataToolingQueryable.js.map +1 -0
- package/lib/libs/core/mdapi/namedMetadataType.d.ts +20 -0
- package/lib/libs/core/mdapi/namedMetadataType.js +41 -0
- package/lib/libs/core/mdapi/namedMetadataType.js.map +1 -0
- package/lib/libs/core/mdapi/singletonMetadataType.d.ts +21 -0
- package/lib/libs/core/mdapi/singletonMetadataType.js +37 -0
- package/lib/libs/core/mdapi/singletonMetadataType.js.map +1 -0
- package/lib/libs/core/mdapi/usersRepository.d.ts +85 -0
- package/lib/libs/core/mdapi/usersRepository.js +126 -0
- package/lib/libs/core/mdapi/usersRepository.js.map +1 -0
- package/lib/libs/core/policies/connectedAppPolicy.d.ts +10 -0
- package/lib/libs/core/policies/connectedAppPolicy.js +78 -0
- package/lib/libs/core/policies/connectedAppPolicy.js.map +1 -0
- package/lib/libs/core/policies/permissionSetPolicy.d.ts +11 -0
- package/lib/libs/core/policies/permissionSetPolicy.js +62 -0
- package/lib/libs/core/policies/permissionSetPolicy.js.map +1 -0
- package/lib/libs/core/policies/policy.d.ts +31 -0
- package/lib/libs/core/policies/policy.js +100 -0
- package/lib/libs/core/policies/policy.js.map +1 -0
- package/lib/libs/core/policies/profilePolicy.d.ts +11 -0
- package/lib/libs/core/policies/profilePolicy.js +64 -0
- package/lib/libs/core/policies/profilePolicy.js.map +1 -0
- package/lib/libs/core/policies/salesforceStandardTypes.d.ts +58 -0
- package/lib/libs/core/policies/salesforceStandardTypes.js +2 -0
- package/lib/libs/core/policies/salesforceStandardTypes.js.map +1 -0
- package/lib/libs/core/policies/userPolicy.d.ts +11 -0
- package/lib/libs/core/policies/userPolicy.js +60 -0
- package/lib/libs/core/policies/userPolicy.js.map +1 -0
- package/lib/libs/core/policy-types.d.ts +18 -0
- package/lib/libs/core/policy-types.js +28 -0
- package/lib/libs/core/policy-types.js.map +1 -0
- package/lib/libs/core/policyRegistry.d.ts +23 -0
- package/lib/libs/core/policyRegistry.js +38 -0
- package/lib/libs/core/policyRegistry.js.map +1 -0
- package/lib/libs/core/registries/connectedApps.d.ts +13 -0
- package/lib/libs/core/registries/connectedApps.js +13 -0
- package/lib/libs/core/registries/connectedApps.js.map +1 -0
- package/lib/libs/core/registries/helpers/permissionsScanning.d.ts +29 -0
- package/lib/libs/core/registries/helpers/permissionsScanning.js +69 -0
- package/lib/libs/core/registries/helpers/permissionsScanning.js.map +1 -0
- package/lib/libs/core/registries/permissionSets.d.ts +11 -0
- package/lib/libs/core/registries/permissionSets.js +11 -0
- package/lib/libs/core/registries/permissionSets.js.map +1 -0
- package/lib/libs/core/registries/profiles.d.ts +11 -0
- package/lib/libs/core/registries/profiles.js +11 -0
- package/lib/libs/core/registries/profiles.js.map +1 -0
- package/lib/libs/core/registries/ruleRegistry.d.ts +37 -0
- package/lib/libs/core/registries/ruleRegistry.js +48 -0
- package/lib/libs/core/registries/ruleRegistry.js.map +1 -0
- package/lib/libs/core/registries/rules/allUsedAppsUnderManagement.d.ts +7 -0
- package/lib/libs/core/registries/rules/allUsedAppsUnderManagement.js +23 -0
- package/lib/libs/core/registries/rules/allUsedAppsUnderManagement.js.map +1 -0
- package/lib/libs/core/registries/rules/enforcePermissionPresets.d.ts +7 -0
- package/lib/libs/core/registries/rules/enforcePermissionPresets.js +58 -0
- package/lib/libs/core/registries/rules/enforcePermissionPresets.js.map +1 -0
- package/lib/libs/core/registries/rules/enforcePermissionsOnProfileLike.d.ts +7 -0
- package/lib/libs/core/registries/rules/enforcePermissionsOnProfileLike.js +26 -0
- package/lib/libs/core/registries/rules/enforcePermissionsOnProfileLike.js.map +1 -0
- package/lib/libs/core/registries/rules/enforcePermissionsOnUser.d.ts +8 -0
- package/lib/libs/core/registries/rules/enforcePermissionsOnUser.js +42 -0
- package/lib/libs/core/registries/rules/enforcePermissionsOnUser.js.map +1 -0
- package/lib/libs/core/registries/rules/noInactiveUsers.d.ts +9 -0
- package/lib/libs/core/registries/rules/noInactiveUsers.js +44 -0
- package/lib/libs/core/registries/rules/noInactiveUsers.js.map +1 -0
- package/lib/libs/core/registries/rules/noOtherApexApiLogins.d.ts +7 -0
- package/lib/libs/core/registries/rules/noOtherApexApiLogins.js +27 -0
- package/lib/libs/core/registries/rules/noOtherApexApiLogins.js.map +1 -0
- package/lib/libs/core/registries/rules/noUserCanSelfAuthorize.d.ts +7 -0
- package/lib/libs/core/registries/rules/noUserCanSelfAuthorize.js +31 -0
- package/lib/libs/core/registries/rules/noUserCanSelfAuthorize.js.map +1 -0
- package/lib/libs/core/registries/rules/policyRule.d.ts +19 -0
- package/lib/libs/core/registries/rules/policyRule.js +32 -0
- package/lib/libs/core/registries/rules/policyRule.js.map +1 -0
- package/lib/libs/core/registries/types.d.ts +37 -0
- package/lib/libs/core/registries/types.js +11 -0
- package/lib/libs/core/registries/types.js.map +1 -0
- package/lib/libs/core/registries/users.d.ts +10 -0
- package/lib/libs/core/registries/users.js +17 -0
- package/lib/libs/core/registries/users.js.map +1 -0
- package/lib/libs/core/result-types.d.ts +172 -0
- package/lib/libs/core/result-types.js +2 -0
- package/lib/libs/core/result-types.js.map +1 -0
- package/lib/libs/core/utils.d.ts +12 -0
- package/lib/libs/core/utils.js +31 -0
- package/lib/libs/core/utils.js.map +1 -0
- package/lib/libs/quick-scan/types.d.ts +17 -0
- package/lib/libs/quick-scan/types.js +2 -0
- package/lib/libs/quick-scan/types.js.map +1 -0
- package/lib/libs/quick-scan/userPermissionScanner.d.ts +22 -0
- package/lib/libs/quick-scan/userPermissionScanner.js +75 -0
- package/lib/libs/quick-scan/userPermissionScanner.js.map +1 -0
- package/lib/ux/auditRunMultiStage.d.ts +65 -0
- package/lib/ux/auditRunMultiStage.js +120 -0
- package/lib/ux/auditRunMultiStage.js.map +1 -0
- package/oclif.lock +13606 -10113
- package/oclif.manifest.json +253 -2
- package/package.json +13 -41
package/oclif.manifest.json
CHANGED
|
@@ -1,4 +1,255 @@
|
|
|
1
1
|
{
|
|
2
|
-
"commands": {
|
|
3
|
-
|
|
2
|
+
"commands": {
|
|
3
|
+
"org:audit:init": {
|
|
4
|
+
"aliases": [],
|
|
5
|
+
"args": {},
|
|
6
|
+
"description": "Uses your org's configuration to set up a new audit config at the target destination. This creates the basic classification and policy files that make up an audit config. You can select from presets to initialise risk levels with default values. After initialisation, you can customize the files to suit your needs.",
|
|
7
|
+
"examples": [
|
|
8
|
+
"Initialise audit policies at the root directory\n<%= config.bin %> <%= command.id %> -o MyTargetOrg",
|
|
9
|
+
"Initialise audit config at custom directory with preset\n<%= config.bin %> <%= command.id %> -o MyTargetOrg -d my_dir -p loose"
|
|
10
|
+
],
|
|
11
|
+
"flags": {
|
|
12
|
+
"json": {
|
|
13
|
+
"description": "Format output as json.",
|
|
14
|
+
"helpGroup": "GLOBAL",
|
|
15
|
+
"name": "json",
|
|
16
|
+
"allowNo": false,
|
|
17
|
+
"type": "boolean"
|
|
18
|
+
},
|
|
19
|
+
"flags-dir": {
|
|
20
|
+
"helpGroup": "GLOBAL",
|
|
21
|
+
"name": "flags-dir",
|
|
22
|
+
"summary": "Import flag values from a directory.",
|
|
23
|
+
"hasDynamicHelp": false,
|
|
24
|
+
"multiple": false,
|
|
25
|
+
"type": "option"
|
|
26
|
+
},
|
|
27
|
+
"target-org": {
|
|
28
|
+
"char": "o",
|
|
29
|
+
"name": "target-org",
|
|
30
|
+
"noCacheDefault": true,
|
|
31
|
+
"required": true,
|
|
32
|
+
"summary": "Target org to export permissions, profiles, users, etc.",
|
|
33
|
+
"hasDynamicHelp": true,
|
|
34
|
+
"multiple": false,
|
|
35
|
+
"type": "option"
|
|
36
|
+
},
|
|
37
|
+
"output-dir": {
|
|
38
|
+
"char": "d",
|
|
39
|
+
"name": "output-dir",
|
|
40
|
+
"required": false,
|
|
41
|
+
"summary": "Directory where the audit config is initialised. If not set, the root directory will be used.",
|
|
42
|
+
"default": "",
|
|
43
|
+
"hasDynamicHelp": false,
|
|
44
|
+
"multiple": false,
|
|
45
|
+
"type": "option"
|
|
46
|
+
},
|
|
47
|
+
"preset": {
|
|
48
|
+
"char": "p",
|
|
49
|
+
"description": "The selected preset is applied before any other default mechanisms (such as template configs). This means, values from a selected template override the preset. Consult the documentation to learn more about the rationale behind the default risk levels. The risk levels interact with the configured preset on profiles and permission sets and essentially control, if a permission is allowed in a certain profile / permission set.",
|
|
50
|
+
"name": "preset",
|
|
51
|
+
"summary": "Preset to initialise defaults for permission risk levels.",
|
|
52
|
+
"default": "strict",
|
|
53
|
+
"hasDynamicHelp": false,
|
|
54
|
+
"multiple": false,
|
|
55
|
+
"options": [
|
|
56
|
+
"strict",
|
|
57
|
+
"loose",
|
|
58
|
+
"none"
|
|
59
|
+
],
|
|
60
|
+
"type": "option"
|
|
61
|
+
},
|
|
62
|
+
"api-version": {
|
|
63
|
+
"description": "Override the api version used for api requests made by this command",
|
|
64
|
+
"name": "api-version",
|
|
65
|
+
"hasDynamicHelp": false,
|
|
66
|
+
"multiple": false,
|
|
67
|
+
"type": "option"
|
|
68
|
+
}
|
|
69
|
+
},
|
|
70
|
+
"hasDynamicHelp": true,
|
|
71
|
+
"hiddenAliases": [],
|
|
72
|
+
"id": "org:audit:init",
|
|
73
|
+
"pluginAlias": "@j-schreiber/sf-cli-security-audit",
|
|
74
|
+
"pluginName": "@j-schreiber/sf-cli-security-audit",
|
|
75
|
+
"pluginType": "core",
|
|
76
|
+
"strict": true,
|
|
77
|
+
"summary": "Initialise a new audit config.",
|
|
78
|
+
"enableJsonFlag": true,
|
|
79
|
+
"isESM": true,
|
|
80
|
+
"relativePath": [
|
|
81
|
+
"lib",
|
|
82
|
+
"commands",
|
|
83
|
+
"org",
|
|
84
|
+
"audit",
|
|
85
|
+
"init.js"
|
|
86
|
+
],
|
|
87
|
+
"aliasPermutations": [],
|
|
88
|
+
"permutations": [
|
|
89
|
+
"org:audit:init",
|
|
90
|
+
"audit:org:init",
|
|
91
|
+
"audit:init:org",
|
|
92
|
+
"org:init:audit",
|
|
93
|
+
"init:org:audit",
|
|
94
|
+
"init:audit:org"
|
|
95
|
+
]
|
|
96
|
+
},
|
|
97
|
+
"org:audit:run": {
|
|
98
|
+
"aliases": [],
|
|
99
|
+
"args": {},
|
|
100
|
+
"description": "Loads an existing audit config from the source directory and audits the target org. The audit run always creates a comprehensive report in JSON format.",
|
|
101
|
+
"examples": [
|
|
102
|
+
"Audit the org MyTargetOrg with the config in configs/prod\n<%= config.bin %> <%= command.id %> -o MyTargetOrg -d configs/prod"
|
|
103
|
+
],
|
|
104
|
+
"flags": {
|
|
105
|
+
"json": {
|
|
106
|
+
"description": "Format output as json.",
|
|
107
|
+
"helpGroup": "GLOBAL",
|
|
108
|
+
"name": "json",
|
|
109
|
+
"allowNo": false,
|
|
110
|
+
"type": "boolean"
|
|
111
|
+
},
|
|
112
|
+
"flags-dir": {
|
|
113
|
+
"helpGroup": "GLOBAL",
|
|
114
|
+
"name": "flags-dir",
|
|
115
|
+
"summary": "Import flag values from a directory.",
|
|
116
|
+
"hasDynamicHelp": false,
|
|
117
|
+
"multiple": false,
|
|
118
|
+
"type": "option"
|
|
119
|
+
},
|
|
120
|
+
"target-org": {
|
|
121
|
+
"char": "o",
|
|
122
|
+
"name": "target-org",
|
|
123
|
+
"noCacheDefault": true,
|
|
124
|
+
"required": true,
|
|
125
|
+
"summary": "The org that is audited.",
|
|
126
|
+
"hasDynamicHelp": true,
|
|
127
|
+
"multiple": false,
|
|
128
|
+
"type": "option"
|
|
129
|
+
},
|
|
130
|
+
"source-dir": {
|
|
131
|
+
"char": "d",
|
|
132
|
+
"name": "source-dir",
|
|
133
|
+
"required": false,
|
|
134
|
+
"summary": "Source directory of the audit config to run.",
|
|
135
|
+
"default": "",
|
|
136
|
+
"hasDynamicHelp": false,
|
|
137
|
+
"multiple": false,
|
|
138
|
+
"type": "option"
|
|
139
|
+
},
|
|
140
|
+
"api-version": {
|
|
141
|
+
"description": "Override the api version used for api requests made by this command",
|
|
142
|
+
"name": "api-version",
|
|
143
|
+
"hasDynamicHelp": false,
|
|
144
|
+
"multiple": false,
|
|
145
|
+
"type": "option"
|
|
146
|
+
}
|
|
147
|
+
},
|
|
148
|
+
"hasDynamicHelp": true,
|
|
149
|
+
"hiddenAliases": [],
|
|
150
|
+
"id": "org:audit:run",
|
|
151
|
+
"pluginAlias": "@j-schreiber/sf-cli-security-audit",
|
|
152
|
+
"pluginName": "@j-schreiber/sf-cli-security-audit",
|
|
153
|
+
"pluginType": "core",
|
|
154
|
+
"strict": true,
|
|
155
|
+
"summary": "Audit your org with an existing config.",
|
|
156
|
+
"enableJsonFlag": true,
|
|
157
|
+
"isESM": true,
|
|
158
|
+
"relativePath": [
|
|
159
|
+
"lib",
|
|
160
|
+
"commands",
|
|
161
|
+
"org",
|
|
162
|
+
"audit",
|
|
163
|
+
"run.js"
|
|
164
|
+
],
|
|
165
|
+
"aliasPermutations": [],
|
|
166
|
+
"permutations": [
|
|
167
|
+
"org:audit:run",
|
|
168
|
+
"audit:org:run",
|
|
169
|
+
"audit:run:org",
|
|
170
|
+
"org:run:audit",
|
|
171
|
+
"run:org:audit",
|
|
172
|
+
"run:audit:org"
|
|
173
|
+
]
|
|
174
|
+
},
|
|
175
|
+
"org:scan:user-perms": {
|
|
176
|
+
"aliases": [],
|
|
177
|
+
"args": {},
|
|
178
|
+
"description": "The target org is scanned \"in memory\" and searches Profiles and Permission Sets for the named user permissions. This command does not need an audit config and does not create a report file.",
|
|
179
|
+
"examples": [
|
|
180
|
+
"Search for multiple permissions on MyTargetOrg\n<%= config.bin %> <%= command.id %> -o MyTargetOrg -n AuthorApex -n ModifyMetadata"
|
|
181
|
+
],
|
|
182
|
+
"flags": {
|
|
183
|
+
"json": {
|
|
184
|
+
"description": "Format output as json.",
|
|
185
|
+
"helpGroup": "GLOBAL",
|
|
186
|
+
"name": "json",
|
|
187
|
+
"allowNo": false,
|
|
188
|
+
"type": "boolean"
|
|
189
|
+
},
|
|
190
|
+
"flags-dir": {
|
|
191
|
+
"helpGroup": "GLOBAL",
|
|
192
|
+
"name": "flags-dir",
|
|
193
|
+
"summary": "Import flag values from a directory.",
|
|
194
|
+
"hasDynamicHelp": false,
|
|
195
|
+
"multiple": false,
|
|
196
|
+
"type": "option"
|
|
197
|
+
},
|
|
198
|
+
"name": {
|
|
199
|
+
"char": "n",
|
|
200
|
+
"description": "You can specify any valid user permission on your org, such as \"AuthorApex\", \"CustomizeApplication\" or \"ViewSetup\". If you are unsure what permissions are available on your org, initialise a new audit config and check the created userPermissions.yml. Currently, the names are not validated: If you have a typo (such as \"AutorApex\", the scan will retun 0 results).",
|
|
201
|
+
"name": "name",
|
|
202
|
+
"required": true,
|
|
203
|
+
"summary": "One or more permissions to be searched for.",
|
|
204
|
+
"hasDynamicHelp": false,
|
|
205
|
+
"multiple": true,
|
|
206
|
+
"type": "option"
|
|
207
|
+
},
|
|
208
|
+
"target-org": {
|
|
209
|
+
"char": "o",
|
|
210
|
+
"name": "target-org",
|
|
211
|
+
"noCacheDefault": true,
|
|
212
|
+
"required": true,
|
|
213
|
+
"summary": "The target org to scan.",
|
|
214
|
+
"hasDynamicHelp": true,
|
|
215
|
+
"multiple": false,
|
|
216
|
+
"type": "option"
|
|
217
|
+
},
|
|
218
|
+
"api-version": {
|
|
219
|
+
"description": "Override the api version used for api requests made by this command",
|
|
220
|
+
"name": "api-version",
|
|
221
|
+
"hasDynamicHelp": false,
|
|
222
|
+
"multiple": false,
|
|
223
|
+
"type": "option"
|
|
224
|
+
}
|
|
225
|
+
},
|
|
226
|
+
"hasDynamicHelp": true,
|
|
227
|
+
"hiddenAliases": [],
|
|
228
|
+
"id": "org:scan:user-perms",
|
|
229
|
+
"pluginAlias": "@j-schreiber/sf-cli-security-audit",
|
|
230
|
+
"pluginName": "@j-schreiber/sf-cli-security-audit",
|
|
231
|
+
"pluginType": "core",
|
|
232
|
+
"strict": true,
|
|
233
|
+
"summary": "Performs a quick scan for specific user permissions.",
|
|
234
|
+
"enableJsonFlag": true,
|
|
235
|
+
"isESM": true,
|
|
236
|
+
"relativePath": [
|
|
237
|
+
"lib",
|
|
238
|
+
"commands",
|
|
239
|
+
"org",
|
|
240
|
+
"scan",
|
|
241
|
+
"user-perms.js"
|
|
242
|
+
],
|
|
243
|
+
"aliasPermutations": [],
|
|
244
|
+
"permutations": [
|
|
245
|
+
"org:scan:user-perms",
|
|
246
|
+
"scan:org:user-perms",
|
|
247
|
+
"scan:user-perms:org",
|
|
248
|
+
"org:user-perms:scan",
|
|
249
|
+
"user-perms:org:scan",
|
|
250
|
+
"user-perms:scan:org"
|
|
251
|
+
]
|
|
252
|
+
}
|
|
253
|
+
},
|
|
254
|
+
"version": "0.8.4"
|
|
4
255
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@j-schreiber/sf-cli-security-audit",
|
|
3
3
|
"description": "Salesforce CLI plugin to automate highly configurable security audits",
|
|
4
|
-
"version": "0.8.
|
|
4
|
+
"version": "0.8.4",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "https",
|
|
7
7
|
"url": "https://github.com/j-schreiber/js-sf-cli-security-audit"
|
|
@@ -23,21 +23,19 @@
|
|
|
23
23
|
"zod": "4"
|
|
24
24
|
},
|
|
25
25
|
"devDependencies": {
|
|
26
|
-
"@oclif/plugin-command-snapshot": "^5.1.9",
|
|
27
|
-
"@oclif/test": "^4.1.13",
|
|
28
26
|
"@release-it/conventional-changelog": "^10.0.1",
|
|
29
27
|
"@salesforce/cli-plugins-testkit": "^5.3.10",
|
|
30
|
-
"@salesforce/dev-scripts": "11",
|
|
28
|
+
"@salesforce/dev-scripts": "^11.0.4",
|
|
29
|
+
"@salesforce/plugin-command-reference": "^3.1.79",
|
|
31
30
|
"@types/js-yaml": "^4.0.9",
|
|
32
|
-
"@types/node": "
|
|
33
|
-
"eslint": "8",
|
|
31
|
+
"@types/node": "25",
|
|
34
32
|
"eslint-plugin-sf-plugin": "^1.18.6",
|
|
35
33
|
"husky": "^9.1.7",
|
|
36
34
|
"oclif": "^4.14.0",
|
|
37
35
|
"release-it": "^19.0.3",
|
|
38
|
-
"
|
|
39
|
-
"
|
|
40
|
-
"
|
|
36
|
+
"tsx": "^4.21.0",
|
|
37
|
+
"typescript": "^5.8.3",
|
|
38
|
+
"wireit": "^0.14.12"
|
|
41
39
|
},
|
|
42
40
|
"engines": {
|
|
43
41
|
"node": ">=18.0.0"
|
|
@@ -63,7 +61,8 @@
|
|
|
63
61
|
"bin": "sf",
|
|
64
62
|
"topicSeparator": " ",
|
|
65
63
|
"devPlugins": [
|
|
66
|
-
"@oclif/plugin-help"
|
|
64
|
+
"@oclif/plugin-help",
|
|
65
|
+
"@salesforce/plugin-command-reference"
|
|
67
66
|
],
|
|
68
67
|
"topics": {
|
|
69
68
|
"org": {
|
|
@@ -85,9 +84,7 @@
|
|
|
85
84
|
"docs": "sf-docs",
|
|
86
85
|
"format": "wireit",
|
|
87
86
|
"pretty-quick-staged": "pretty-quick --staged",
|
|
88
|
-
"link-check": "wireit",
|
|
89
87
|
"lint": "wireit",
|
|
90
|
-
"postpack": "sf-clean --ignore-signing-artifacts",
|
|
91
88
|
"prepack": "sf-prepack",
|
|
92
89
|
"test": "wireit",
|
|
93
90
|
"test:nuts": "nyc mocha \"**/*.nut.ts\" --slow 4500 --timeout 600000 --parallel",
|
|
@@ -158,6 +155,7 @@
|
|
|
158
155
|
"dependencies": [
|
|
159
156
|
"test:compile",
|
|
160
157
|
"test:only",
|
|
158
|
+
"test:command-reference",
|
|
161
159
|
"lint"
|
|
162
160
|
]
|
|
163
161
|
},
|
|
@@ -177,7 +175,7 @@
|
|
|
177
175
|
"output": []
|
|
178
176
|
},
|
|
179
177
|
"test:command-reference": {
|
|
180
|
-
"command": "node --
|
|
178
|
+
"command": "node --import tsx \"./bin/dev.js\" commandreference:generate --error-on-warnings",
|
|
181
179
|
"files": [
|
|
182
180
|
"src/**/*.ts",
|
|
183
181
|
"messages/**",
|
|
@@ -187,33 +185,6 @@
|
|
|
187
185
|
"tmp/root"
|
|
188
186
|
]
|
|
189
187
|
},
|
|
190
|
-
"test:deprecation-policy": {
|
|
191
|
-
"command": "node --loader ts-node/esm --no-warnings=ExperimentalWarning \"./bin/dev.js\" snapshot:compare",
|
|
192
|
-
"files": [
|
|
193
|
-
"src/**/*.ts"
|
|
194
|
-
],
|
|
195
|
-
"output": [],
|
|
196
|
-
"dependencies": [
|
|
197
|
-
"compile"
|
|
198
|
-
]
|
|
199
|
-
},
|
|
200
|
-
"test:json-schema": {
|
|
201
|
-
"command": "node --loader ts-node/esm --no-warnings=ExperimentalWarning \"./bin/dev.js\" schema:compare",
|
|
202
|
-
"files": [
|
|
203
|
-
"src/**/*.ts",
|
|
204
|
-
"schemas"
|
|
205
|
-
],
|
|
206
|
-
"output": []
|
|
207
|
-
},
|
|
208
|
-
"link-check": {
|
|
209
|
-
"command": "node -e \"process.exit(process.env.CI ? 0 : 1)\" || linkinator \"**/*.md\" --skip \"CHANGELOG.md|node_modules|test/|confluence.internal.salesforce.com|my.salesforce.com|%s\" --markdown --retry --directory-listing --verbosity error",
|
|
210
|
-
"files": [
|
|
211
|
-
"./*.md",
|
|
212
|
-
"./!(CHANGELOG).md",
|
|
213
|
-
"messages/**/*.md"
|
|
214
|
-
],
|
|
215
|
-
"output": []
|
|
216
|
-
},
|
|
217
188
|
"readme": {
|
|
218
189
|
"dependencies": [
|
|
219
190
|
"build"
|
|
@@ -231,5 +202,6 @@
|
|
|
231
202
|
"directories": {
|
|
232
203
|
"lib": "lib",
|
|
233
204
|
"test": "test"
|
|
234
|
-
}
|
|
205
|
+
},
|
|
206
|
+
"packageManager": "yarn@4.12.0"
|
|
235
207
|
}
|