aws-iam-data 0.0.28 → 0.0.30
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/{src → dist}/awsIamData.d.ts +15 -6
- package/dist/data/json/changelog.json +3105 -0
- package/dist/data/json/iam.json +309642 -0
- package/dist/data/json/metadata.json +23083 -0
- package/dist/data/json/reports.json +420 -0
- package/dist/index.js +14 -0
- package/package.json +5 -4
- package/data/json/changelog.json +0 -3086
- package/data/json/iam.json +0 -309413
- package/data/json/metadata.json +0 -23070
- package/data/json/reports.json +0 -420
- package/src/index.js +0 -11
|
@@ -0,0 +1,420 @@
|
|
|
1
|
+
{
|
|
2
|
+
"Actions by type": [
|
|
3
|
+
{
|
|
4
|
+
"key": "Write Actions",
|
|
5
|
+
"value": 8259
|
|
6
|
+
},
|
|
7
|
+
{
|
|
8
|
+
"key": "Read Actions",
|
|
9
|
+
"value": 4012
|
|
10
|
+
},
|
|
11
|
+
{
|
|
12
|
+
"key": "List Actions",
|
|
13
|
+
"value": 2340
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
"key": "Permissions Actions",
|
|
17
|
+
"value": 235
|
|
18
|
+
}
|
|
19
|
+
],
|
|
20
|
+
"Longest action names": [
|
|
21
|
+
{
|
|
22
|
+
"key": "servicecatalog:BatchDisassociateServiceActionFromProvisioningArtifact",
|
|
23
|
+
"value": 69
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"key": "aws-marketplace-management:GetAdditionalSellerNotificationRecipients",
|
|
27
|
+
"value": 68
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"key": "aws-marketplace-management:PutAdditionalSellerNotificationRecipients",
|
|
31
|
+
"value": 68
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"key": "servicecatalog:NotifyTerminateProvisionedProductEngineWorkflowResult",
|
|
35
|
+
"value": 68
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"key": "ec2:DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociations",
|
|
39
|
+
"value": 67
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
"key": "license-manager-linux-subscriptions:ListLinuxSubscriptionInstances",
|
|
43
|
+
"value": 66
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
"key": "servicecatalog:BatchAssociateServiceActionWithProvisioningArtifact",
|
|
47
|
+
"value": 66
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
"key": "vendor-insights:UpdateSecurityProfileSnapshotCreationConfiguration",
|
|
51
|
+
"value": 66
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
"key": "iotwireless:StartBulkDisassociateWirelessDeviceFromMulticastGroup",
|
|
55
|
+
"value": 65
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
"key": "license-manager-user-subscriptions:UpdateIdentityProviderSettings",
|
|
59
|
+
"value": 65
|
|
60
|
+
}
|
|
61
|
+
],
|
|
62
|
+
"Longest condition key names": [
|
|
63
|
+
{
|
|
64
|
+
"key": "payment-cryptography:CertificateAuthorityPublicKeyIdentifier",
|
|
65
|
+
"value": 60
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
"key": "route53:ChangeResourceRecordSetsNormalizedRecordNames",
|
|
69
|
+
"value": 53
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
"key": "vpc-lattice-svcs:RequestQueryString/${QueryStringKey}",
|
|
73
|
+
"value": 53
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
"key": "sagemaker:CustomerMetadataProperties/${MetadataKey}",
|
|
77
|
+
"value": 51
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
"key": "route53-recovery-cluster:AllowSafetyRulesOverrides",
|
|
81
|
+
"value": 50
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
"key": "s3:x-amz-server-side-encryption-customer-algorithm",
|
|
85
|
+
"value": 50
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
"key": "amplifyuibuilder:ComponentResourceEnvironmentName",
|
|
89
|
+
"value": 49
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
"key": "codestar-connections:ProviderPermissionsRequired",
|
|
93
|
+
"value": 48
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
"key": "codestar-notifications:NotificationsForResource",
|
|
97
|
+
"value": 47
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
"key": "fsx:NfsDataRepositoryEncryptionInTransitEnabled",
|
|
101
|
+
"value": 47
|
|
102
|
+
}
|
|
103
|
+
],
|
|
104
|
+
"Longest service prefixes": [
|
|
105
|
+
{
|
|
106
|
+
"key": "license-manager-linux-subscriptions",
|
|
107
|
+
"value": 35
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
"key": "license-manager-user-subscriptions",
|
|
111
|
+
"value": 34
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
"key": "route53-recovery-control-config",
|
|
115
|
+
"value": 31
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
"key": "sagemaker-groundtruth-synthetic",
|
|
119
|
+
"value": 31
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
"key": "elemental-appliances-software",
|
|
123
|
+
"value": 29
|
|
124
|
+
},
|
|
125
|
+
{
|
|
126
|
+
"key": "marketplacecommerceanalytics",
|
|
127
|
+
"value": 28
|
|
128
|
+
},
|
|
129
|
+
{
|
|
130
|
+
"key": "aws-marketplace-management",
|
|
131
|
+
"value": 26
|
|
132
|
+
},
|
|
133
|
+
{
|
|
134
|
+
"key": "codedeploy-commands-secure",
|
|
135
|
+
"value": 26
|
|
136
|
+
},
|
|
137
|
+
{
|
|
138
|
+
"key": "route53-recovery-readiness",
|
|
139
|
+
"value": 26
|
|
140
|
+
},
|
|
141
|
+
{
|
|
142
|
+
"key": "application-cost-profiler",
|
|
143
|
+
"value": 25
|
|
144
|
+
}
|
|
145
|
+
],
|
|
146
|
+
"Most referenced resource ARNs": [
|
|
147
|
+
{
|
|
148
|
+
"key": "organization - arn:${Partition}:workmail:${Region}:${Account}:organization/${ResourceId}",
|
|
149
|
+
"value": 126
|
|
150
|
+
},
|
|
151
|
+
{
|
|
152
|
+
"key": "repository - arn:${Partition}:codecommit:${Region}:${Account}:${RepositoryName}",
|
|
153
|
+
"value": 79
|
|
154
|
+
},
|
|
155
|
+
{
|
|
156
|
+
"key": "userpool - arn:${Partition}:cognito-idp:${Region}:${Account}:userpool/${UserPoolId}",
|
|
157
|
+
"value": 79
|
|
158
|
+
},
|
|
159
|
+
{
|
|
160
|
+
"key": "instance - arn:${Partition}:connect:${Region}:${Account}:instance/${InstanceId}",
|
|
161
|
+
"value": 74
|
|
162
|
+
},
|
|
163
|
+
{
|
|
164
|
+
"key": "bot - arn:${Partition}:lex:${Region}:${Account}:bot/${BotId}",
|
|
165
|
+
"value": 66
|
|
166
|
+
},
|
|
167
|
+
{
|
|
168
|
+
"key": "stack - arn:${Partition}:opsworks:${Region}:${Account}:stack/${StackId}/",
|
|
169
|
+
"value": 66
|
|
170
|
+
},
|
|
171
|
+
{
|
|
172
|
+
"key": "directory - arn:${Partition}:ds:${Region}:${Account}:directory/${DirectoryId}",
|
|
173
|
+
"value": 63
|
|
174
|
+
},
|
|
175
|
+
{
|
|
176
|
+
"key": "index - arn:${Partition}:kendra:${Region}:${Account}:index/${IndexId}",
|
|
177
|
+
"value": 63
|
|
178
|
+
},
|
|
179
|
+
{
|
|
180
|
+
"key": "hub - arn:${Partition}:securityhub:${Region}:${Account}:hub/default",
|
|
181
|
+
"value": 61
|
|
182
|
+
},
|
|
183
|
+
{
|
|
184
|
+
"key": "gateway - arn:${Partition}:storagegateway:${Region}:${Account}:gateway/${GatewayId}",
|
|
185
|
+
"value": 57
|
|
186
|
+
}
|
|
187
|
+
],
|
|
188
|
+
"Services with least actions": [
|
|
189
|
+
{
|
|
190
|
+
"key": "AWS CloudTrail Data",
|
|
191
|
+
"value": 1
|
|
192
|
+
},
|
|
193
|
+
{
|
|
194
|
+
"key": "AWS Elemental Support Content",
|
|
195
|
+
"value": 1
|
|
196
|
+
},
|
|
197
|
+
{
|
|
198
|
+
"key": "AWS Marketplace Discovery",
|
|
199
|
+
"value": 1
|
|
200
|
+
},
|
|
201
|
+
{
|
|
202
|
+
"key": "AWS Marketplace Entitlement Service",
|
|
203
|
+
"value": 1
|
|
204
|
+
},
|
|
205
|
+
{
|
|
206
|
+
"key": "AWS Marketplace Seller Reporting",
|
|
207
|
+
"value": 1
|
|
208
|
+
},
|
|
209
|
+
{
|
|
210
|
+
"key": "AWS Microservice Extractor for .NET",
|
|
211
|
+
"value": 1
|
|
212
|
+
},
|
|
213
|
+
{
|
|
214
|
+
"key": "AWS Sustainability",
|
|
215
|
+
"value": 1
|
|
216
|
+
},
|
|
217
|
+
{
|
|
218
|
+
"key": "AWS Verified Access",
|
|
219
|
+
"value": 1
|
|
220
|
+
},
|
|
221
|
+
{
|
|
222
|
+
"key": "Amazon CodeGuru",
|
|
223
|
+
"value": 1
|
|
224
|
+
},
|
|
225
|
+
{
|
|
226
|
+
"key": "Amazon FinSpace API",
|
|
227
|
+
"value": 1
|
|
228
|
+
}
|
|
229
|
+
],
|
|
230
|
+
"Services with most actions": [
|
|
231
|
+
{
|
|
232
|
+
"key": "Amazon EC2",
|
|
233
|
+
"value": 606
|
|
234
|
+
},
|
|
235
|
+
{
|
|
236
|
+
"key": "Amazon SageMaker",
|
|
237
|
+
"value": 328
|
|
238
|
+
},
|
|
239
|
+
{
|
|
240
|
+
"key": "Amazon Chime",
|
|
241
|
+
"value": 303
|
|
242
|
+
},
|
|
243
|
+
{
|
|
244
|
+
"key": "AWS IoT",
|
|
245
|
+
"value": 266
|
|
246
|
+
},
|
|
247
|
+
{
|
|
248
|
+
"key": "AWS Glue",
|
|
249
|
+
"value": 211
|
|
250
|
+
},
|
|
251
|
+
{
|
|
252
|
+
"key": "Amazon Connect",
|
|
253
|
+
"value": 202
|
|
254
|
+
},
|
|
255
|
+
{
|
|
256
|
+
"key": "Amazon QuickSight",
|
|
257
|
+
"value": 183
|
|
258
|
+
},
|
|
259
|
+
{
|
|
260
|
+
"key": "AWS Identity and Access Management",
|
|
261
|
+
"value": 170
|
|
262
|
+
},
|
|
263
|
+
{
|
|
264
|
+
"key": "Amazon Lightsail",
|
|
265
|
+
"value": 159
|
|
266
|
+
},
|
|
267
|
+
{
|
|
268
|
+
"key": "AWS Systems Manager",
|
|
269
|
+
"value": 148
|
|
270
|
+
}
|
|
271
|
+
],
|
|
272
|
+
"Shortest action names": [
|
|
273
|
+
{
|
|
274
|
+
"key": "dax:Scan",
|
|
275
|
+
"value": 8
|
|
276
|
+
},
|
|
277
|
+
{
|
|
278
|
+
"key": "ecs:Poll",
|
|
279
|
+
"value": 8
|
|
280
|
+
},
|
|
281
|
+
{
|
|
282
|
+
"key": "kms:Sign",
|
|
283
|
+
"value": 8
|
|
284
|
+
},
|
|
285
|
+
{
|
|
286
|
+
"key": "dax:Query",
|
|
287
|
+
"value": 9
|
|
288
|
+
},
|
|
289
|
+
{
|
|
290
|
+
"key": "logs:Link",
|
|
291
|
+
"value": 9
|
|
292
|
+
},
|
|
293
|
+
{
|
|
294
|
+
"key": "xray:Link",
|
|
295
|
+
"value": 9
|
|
296
|
+
},
|
|
297
|
+
{
|
|
298
|
+
"key": "ce:GetTags",
|
|
299
|
+
"value": 10
|
|
300
|
+
},
|
|
301
|
+
{
|
|
302
|
+
"key": "es:AddTags",
|
|
303
|
+
"value": 10
|
|
304
|
+
},
|
|
305
|
+
{
|
|
306
|
+
"key": "iq:EndCall",
|
|
307
|
+
"value": 10
|
|
308
|
+
},
|
|
309
|
+
{
|
|
310
|
+
"key": "iq:GetCall",
|
|
311
|
+
"value": 10
|
|
312
|
+
}
|
|
313
|
+
],
|
|
314
|
+
"Shortest condition key names": [
|
|
315
|
+
{
|
|
316
|
+
"key": "ec2:Vpc",
|
|
317
|
+
"value": 7
|
|
318
|
+
},
|
|
319
|
+
{
|
|
320
|
+
"key": "rds:Vpc",
|
|
321
|
+
"value": 7
|
|
322
|
+
},
|
|
323
|
+
{
|
|
324
|
+
"key": "saml:cn",
|
|
325
|
+
"value": 7
|
|
326
|
+
},
|
|
327
|
+
{
|
|
328
|
+
"key": "ecs:task",
|
|
329
|
+
"value": 8
|
|
330
|
+
},
|
|
331
|
+
{
|
|
332
|
+
"key": "saml:aud",
|
|
333
|
+
"value": 8
|
|
334
|
+
},
|
|
335
|
+
{
|
|
336
|
+
"key": "saml:doc",
|
|
337
|
+
"value": 8
|
|
338
|
+
},
|
|
339
|
+
{
|
|
340
|
+
"key": "saml:iss",
|
|
341
|
+
"value": 8
|
|
342
|
+
},
|
|
343
|
+
{
|
|
344
|
+
"key": "saml:sub",
|
|
345
|
+
"value": 8
|
|
346
|
+
},
|
|
347
|
+
{
|
|
348
|
+
"key": "saml:uid",
|
|
349
|
+
"value": 8
|
|
350
|
+
},
|
|
351
|
+
{
|
|
352
|
+
"key": "swf:name",
|
|
353
|
+
"value": 8
|
|
354
|
+
}
|
|
355
|
+
],
|
|
356
|
+
"Shortest service prefixes": [
|
|
357
|
+
{
|
|
358
|
+
"key": "ce",
|
|
359
|
+
"value": 2
|
|
360
|
+
},
|
|
361
|
+
{
|
|
362
|
+
"key": "ds",
|
|
363
|
+
"value": 2
|
|
364
|
+
},
|
|
365
|
+
{
|
|
366
|
+
"key": "es",
|
|
367
|
+
"value": 2
|
|
368
|
+
},
|
|
369
|
+
{
|
|
370
|
+
"key": "iq",
|
|
371
|
+
"value": 2
|
|
372
|
+
},
|
|
373
|
+
{
|
|
374
|
+
"key": "m2",
|
|
375
|
+
"value": 2
|
|
376
|
+
},
|
|
377
|
+
{
|
|
378
|
+
"key": "mq",
|
|
379
|
+
"value": 2
|
|
380
|
+
},
|
|
381
|
+
{
|
|
382
|
+
"key": "pi",
|
|
383
|
+
"value": 2
|
|
384
|
+
},
|
|
385
|
+
{
|
|
386
|
+
"key": "s3",
|
|
387
|
+
"value": 2
|
|
388
|
+
},
|
|
389
|
+
{
|
|
390
|
+
"key": "a2c",
|
|
391
|
+
"value": 3
|
|
392
|
+
},
|
|
393
|
+
{
|
|
394
|
+
"key": "a4b",
|
|
395
|
+
"value": 3
|
|
396
|
+
}
|
|
397
|
+
],
|
|
398
|
+
"Summary": [
|
|
399
|
+
{
|
|
400
|
+
"key": "Total number of services",
|
|
401
|
+
"value": 379
|
|
402
|
+
},
|
|
403
|
+
{
|
|
404
|
+
"key": "Average number of actions per service",
|
|
405
|
+
"value": 39
|
|
406
|
+
},
|
|
407
|
+
{
|
|
408
|
+
"key": "Median number of actions per service",
|
|
409
|
+
"value": 28
|
|
410
|
+
},
|
|
411
|
+
{
|
|
412
|
+
"key": "Total number of distinct resource ARNS",
|
|
413
|
+
"value": 1523
|
|
414
|
+
},
|
|
415
|
+
{
|
|
416
|
+
"key": "Total number of distinct condition keys",
|
|
417
|
+
"value": 787
|
|
418
|
+
}
|
|
419
|
+
]
|
|
420
|
+
}
|
package/dist/index.js
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.reports = exports.changelog = exports.metadata = exports.iamData = void 0;
|
|
7
|
+
var iam_json_1 = __importDefault(require("./data/json/iam.json"));
|
|
8
|
+
var metadata_json_1 = __importDefault(require("./data/json/metadata.json"));
|
|
9
|
+
var changelog_json_1 = __importDefault(require("./data/json/changelog.json"));
|
|
10
|
+
var reports_json_1 = __importDefault(require("./data/json/reports.json"));
|
|
11
|
+
exports.iamData = iam_json_1.default;
|
|
12
|
+
exports.metadata = metadata_json_1.default;
|
|
13
|
+
exports.changelog = changelog_json_1.default;
|
|
14
|
+
exports.reports = reports_json_1.default;
|
package/package.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "aws-iam-data",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.30",
|
|
4
4
|
"description": "Provides AWS IAM data gathered from the official AWS IAM docs as a convenient npm package that can be used in other OSS projects.",
|
|
5
|
-
"main": "./
|
|
6
|
-
"types": "./
|
|
5
|
+
"main": "./dist/index.js",
|
|
6
|
+
"types": "./dist/awsIamData.d.ts",
|
|
7
7
|
"scripts": {
|
|
8
8
|
"install-duckdb": "scripts/install_duckdb.sh",
|
|
9
9
|
"gather-data": "ts-node --transpile-only --log-error process/gatherData.ts",
|
|
@@ -11,7 +11,8 @@
|
|
|
11
11
|
"create-erd": "node_modules/.bin/mmdc -i erd.mmd -o docs/erd.png -w 1600",
|
|
12
12
|
"create-tables": "scripts/create_tables.sh",
|
|
13
13
|
"create-reports": "scripts/create_reports.sh",
|
|
14
|
-
"export-data": "scripts/export_data.sh"
|
|
14
|
+
"export-data": "scripts/export_data.sh",
|
|
15
|
+
"build": "rm -rf dist/ && mkdir -p src/data/json && cp data/json/*.json src/data/json && tsc --build src/ && cp src/awsIamData.d.ts dist/awsIamData.d.ts && rm -rf src/data"
|
|
15
16
|
},
|
|
16
17
|
"repository": {
|
|
17
18
|
"type": "git",
|