@cloud-copilot/iam-expand 0.1.11 → 0.1.12
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 +7 -2
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -6,6 +6,11 @@ Use this to:
|
|
|
6
6
|
2) Get an exhaustive list of actions that are included in a policy to quickly search it for interesting actions.
|
|
7
7
|
3) Investigate where interesting or dubious actions are being used in your policies.
|
|
8
8
|
|
|
9
|
+
<!-- Image of demo.svg -->
|
|
10
|
+

|
|
11
|
+
|
|
12
|
+
Extended demo [on YouTube](https://www.youtube.com/watch?v=357-uGru7300).
|
|
13
|
+
|
|
9
14
|
Published as an [npm package](#typescriptnodejs-usage) in ESM and CommonJS plus available as a [CLI](#cli).
|
|
10
15
|
|
|
11
16
|
All information is sourced from [@cloud-copilot/iam-data](https://github.com/cloud-copilot/iam-data) which is updated daily.
|
|
@@ -156,10 +161,10 @@ When reading from stdin (see [below](#read-from-stdin)) the CLI will wait 10 sec
|
|
|
156
161
|
|
|
157
162
|
```bash
|
|
158
163
|
cat policy.json | iam-expand
|
|
159
|
-
# Will wait
|
|
164
|
+
# Will wait up to 10 seconds for input to start, which is plenty of time for a local file.
|
|
160
165
|
|
|
161
166
|
curl "https://government-secrets.s3.amazonaws.com/secret-policy.json" | iam-expand --read-wait-ms=20_000
|
|
162
|
-
# Will wait
|
|
167
|
+
# Will wait up to 20 seconds to receive first byte from curl before timing out. Adjust as needed
|
|
163
168
|
```
|
|
164
169
|
|
|
165
170
|
### Read from stdin
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cloud-copilot/iam-expand",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.12",
|
|
4
4
|
"description": "Expand AWS IAM Actions with Wildcards",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -41,6 +41,6 @@
|
|
|
41
41
|
"vitest": "^2.0.5"
|
|
42
42
|
},
|
|
43
43
|
"peerDependencies": {
|
|
44
|
-
"@cloud-copilot/iam-data": ">=0.
|
|
44
|
+
"@cloud-copilot/iam-data": ">=0.5.0 <1.0.0"
|
|
45
45
|
}
|
|
46
46
|
}
|