@flowcore/cli-plugin-iam 1.7.0 → 1.8.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/README.md +396 -7
- package/bin/dev.js +2 -2
- package/bin/run.js +2 -2
- package/dist/commands/assign/policy.d.ts +16 -0
- package/dist/commands/assign/policy.js +124 -0
- package/dist/commands/assign/role.d.ts +15 -0
- package/dist/commands/assign/role.js +98 -0
- package/dist/commands/create/policy.d.ts +16 -0
- package/dist/commands/create/policy.js +110 -0
- package/dist/commands/create/role.d.ts +14 -0
- package/dist/commands/create/role.js +78 -0
- package/dist/commands/edit/policy.js +3 -3
- package/dist/commands/edit/role.js +3 -3
- package/dist/commands/get/key-policies.d.ts +13 -0
- package/dist/commands/get/key-policies.js +79 -0
- package/dist/commands/get/key-roles.d.ts +13 -0
- package/dist/commands/get/key-roles.js +75 -0
- package/dist/commands/get/user-policies.d.ts +14 -0
- package/dist/commands/get/user-policies.js +94 -0
- package/dist/commands/get/user-roles.d.ts +14 -0
- package/dist/commands/get/user-roles.js +90 -0
- package/dist/commands/unassign/policy.d.ts +17 -0
- package/dist/commands/unassign/policy.js +143 -0
- package/dist/commands/unassign/role.d.ts +16 -0
- package/dist/commands/unassign/role.js +117 -0
- package/dist/commands/validate/key.d.ts +15 -0
- package/dist/commands/validate/key.js +106 -0
- package/dist/commands/validate/user.d.ts +15 -0
- package/dist/commands/validate/user.js +106 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/resource-types/iam-api-version.js +2 -2
- package/dist/resource-types/policy.resource.js +3 -3
- package/dist/resource-types/role-binding.resource.d.ts +4 -4
- package/dist/resource-types/role.resource.d.ts +3 -3
- package/dist/resource-types/role.resource.js +2 -2
- package/dist/utils/combine-merge.util.d.ts +1 -1
- package/dist/utils/combine-merge.util.js +1 -1
- package/dist/utils/error-message.util.d.ts +1 -0
- package/dist/utils/error-message.util.js +4 -0
- package/dist/utils/fetch-manifest.util.js +2 -2
- package/dist/utils/read-pipe.util.js +5 -5
- package/oclif.manifest.json +964 -69
- package/package.json +18 -11
- package/.npmrc +0 -1
- package/CHANGELOG.md +0 -132
package/package.json
CHANGED
|
@@ -26,6 +26,7 @@
|
|
|
26
26
|
},
|
|
27
27
|
"description": "Flowcore CLI plugin for managing the IAM of the Flowcore Platform",
|
|
28
28
|
"devDependencies": {
|
|
29
|
+
"@biomejs/biome": "1.9.4",
|
|
29
30
|
"@oclif/prettier-config": "^0.2.1",
|
|
30
31
|
"@oclif/test": "^4.0.9",
|
|
31
32
|
"@types/chai": "^4",
|
|
@@ -50,12 +51,7 @@
|
|
|
50
51
|
"engines": {
|
|
51
52
|
"node": ">=18.0.0"
|
|
52
53
|
},
|
|
53
|
-
"files": [
|
|
54
|
-
"/bin",
|
|
55
|
-
"/dist",
|
|
56
|
-
"/oclif.manifest.json",
|
|
57
|
-
".npmrc"
|
|
58
|
-
],
|
|
54
|
+
"files": ["/bin", "/dist", "/oclif.manifest.json", ".npmrc"],
|
|
59
55
|
"homepage": "https://github.com/flowcore-io/cli-plugin-iam",
|
|
60
56
|
"license": "MIT",
|
|
61
57
|
"main": "",
|
|
@@ -76,13 +72,26 @@
|
|
|
76
72
|
"topics": {
|
|
77
73
|
"iam": {
|
|
78
74
|
"description": "Flowcore CLI plugin for managing the IAM of the Flowcore Platform"
|
|
75
|
+
},
|
|
76
|
+
"assign": {
|
|
77
|
+
"description": "Assign policies or roles to users, keys, or roles"
|
|
78
|
+
},
|
|
79
|
+
"create": {
|
|
80
|
+
"description": "Create IAM resources (policies, roles)"
|
|
81
|
+
},
|
|
82
|
+
"unassign": {
|
|
83
|
+
"description": "Remove policy or role assignments from users, keys, or roles"
|
|
84
|
+
},
|
|
85
|
+
"validate": {
|
|
86
|
+
"description": "Validate whether a user or key has access to perform actions on resources"
|
|
79
87
|
}
|
|
80
88
|
}
|
|
81
89
|
},
|
|
82
90
|
"repository": "flowcore-io/cli-plugin-iam",
|
|
83
91
|
"scripts": {
|
|
84
92
|
"build": "shx rm -rf dist && tsc -b",
|
|
85
|
-
"lint": "
|
|
93
|
+
"lint": "biome lint",
|
|
94
|
+
"format": "biome format",
|
|
86
95
|
"postpack": "shx rm -f oclif.manifest.json",
|
|
87
96
|
"posttest": "yarn run lint",
|
|
88
97
|
"prepack": "yarn run build && oclif manifest && oclif readme",
|
|
@@ -91,11 +100,9 @@
|
|
|
91
100
|
"version": "oclif readme && git add README.md",
|
|
92
101
|
"update-schema": "rover graph introspect https://graph.api.flowcore.io/graphql -o schema.gql"
|
|
93
102
|
},
|
|
94
|
-
"version": "1.
|
|
103
|
+
"version": "1.8.0",
|
|
95
104
|
"bugs": "https://github.com/flowcore-io/cli-plugin-iam/issues",
|
|
96
|
-
"keywords": [
|
|
97
|
-
"oclif"
|
|
98
|
-
],
|
|
105
|
+
"keywords": ["oclif"],
|
|
99
106
|
"types": "dist/index.d.ts",
|
|
100
107
|
"exports": "./dist/index.js",
|
|
101
108
|
"type": "module"
|
package/.npmrc
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
@jsr:registry=https://npm.jsr.io
|
package/CHANGELOG.md
DELETED
|
@@ -1,132 +0,0 @@
|
|
|
1
|
-
# Changelog
|
|
2
|
-
|
|
3
|
-
## [1.7.0](https://github.com/flowcore-io/cli-plugin-iam/compare/v1.6.1...v1.7.0) (2025-05-01)
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
### Features
|
|
7
|
-
|
|
8
|
-
* **policy:** :art: update policy action validation to support string union ([e16d95b](https://github.com/flowcore-io/cli-plugin-iam/commit/e16d95bfeaeaf74e32b41116a92790c85ca6be36))
|
|
9
|
-
* **policy:** :sparkles: add SENSITIVE_DATA_FETCH action to policy document ([6026408](https://github.com/flowcore-io/cli-plugin-iam/commit/60264082133c149e4d1fc78606ee2b0cb0cced4a))
|
|
10
|
-
|
|
11
|
-
## [1.6.1](https://github.com/flowcore-io/cli-plugin-iam/compare/v1.6.0...v1.6.1) (2025-03-20)
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
### Bug Fixes
|
|
15
|
-
|
|
16
|
-
* **role:** :art: improve formatting in GetRole command output, removed console logs ([ee41739](https://github.com/flowcore-io/cli-plugin-iam/commit/ee417394174d567abf48133d767ba70bedb2bdc2))
|
|
17
|
-
|
|
18
|
-
## [1.6.0](https://github.com/flowcore-io/cli-plugin-iam/compare/v1.5.0...v1.6.0) (2025-02-16)
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
### Features
|
|
22
|
-
|
|
23
|
-
* add edit role command to modify role details interactively ([d67eb3a](https://github.com/flowcore-io/cli-plugin-iam/commit/d67eb3a28d25ca7cac0683fb9aeb6f478386f8e8))
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
### Bug Fixes
|
|
27
|
-
|
|
28
|
-
* :rotating_light: fixed linting errors ([7f481bd](https://github.com/flowcore-io/cli-plugin-iam/commit/7f481bd90bf67edfbd483dbd351b52ebba0d0bd2))
|
|
29
|
-
|
|
30
|
-
## [1.5.0](https://github.com/flowcore-io/cli-plugin-iam/compare/v1.4.0...v1.5.0) (2025-02-16)
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
### Features
|
|
34
|
-
|
|
35
|
-
* add edit policy command to modify policy details interactively ([061e036](https://github.com/flowcore-io/cli-plugin-iam/commit/061e036e07fb076017543b8ed232f9077d615a72))
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
### Bug Fixes
|
|
39
|
-
|
|
40
|
-
* :rotating_light: fixed linting errors ([ff60a54](https://github.com/flowcore-io/cli-plugin-iam/commit/ff60a54131d35bfbc7f8b0ca3985e6a6528be8ae))
|
|
41
|
-
* update GitHub Actions runners to use blacksmith infrastructure ([826d577](https://github.com/flowcore-io/cli-plugin-iam/commit/826d577d8145442b1e35b7268a6f7a5482047509))
|
|
42
|
-
|
|
43
|
-
## [1.4.0](https://github.com/flowcore-io/cli-plugin-iam/compare/v1.3.1...v1.4.0) (2024-11-08)
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
### Features
|
|
47
|
-
|
|
48
|
-
* :sparkles: added frn to role and policy display ([9cb9140](https://github.com/flowcore-io/cli-plugin-iam/commit/9cb9140242aaecdedc669cde48c1611ed53610ac))
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
### Bug Fixes
|
|
52
|
-
|
|
53
|
-
* :rotating_light: fixed linting errors ([7e5249e](https://github.com/flowcore-io/cli-plugin-iam/commit/7e5249e90c075b60a71c996184bb7a7fc9465bf6))
|
|
54
|
-
|
|
55
|
-
## [1.3.1](https://github.com/flowcore-io/cli-plugin-iam/compare/v1.3.0...v1.3.1) (2024-10-23)
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
### Bug Fixes
|
|
59
|
-
|
|
60
|
-
* **configuration:** :fire: removed jit hook ([dbe7b12](https://github.com/flowcore-io/cli-plugin-iam/commit/dbe7b1285d5877e3baf3255e84f8f64a2adeb1d9))
|
|
61
|
-
|
|
62
|
-
## [1.3.0](https://github.com/flowcore-io/cli-plugin-iam/compare/v1.2.3...v1.3.0) (2024-10-23)
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
### Features
|
|
66
|
-
|
|
67
|
-
* **configuration:** :rocket: added JIT plugin install hook ([14c918b](https://github.com/flowcore-io/cli-plugin-iam/commit/14c918b4de2c0daeaae224937de19f571ba92aae))
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
### Bug Fixes
|
|
71
|
-
|
|
72
|
-
* **configuration:** :rotating_light: fixed linting errors ([08fe8f1](https://github.com/flowcore-io/cli-plugin-iam/commit/08fe8f182661997a7e05b1a35aa272b98e7e6df7))
|
|
73
|
-
|
|
74
|
-
## [1.2.3](https://github.com/flowcore-io/cli-plugin-iam/compare/v1.2.2...v1.2.3) (2024-10-23)
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
### Bug Fixes
|
|
78
|
-
|
|
79
|
-
* **configuration:** :rocket: moved back to using jsr ([e3c107c](https://github.com/flowcore-io/cli-plugin-iam/commit/e3c107cedec7962e72eb13333015af9f3525bfd1))
|
|
80
|
-
* include npmrc file in package ([1332d3e](https://github.com/flowcore-io/cli-plugin-iam/commit/1332d3e5b17024ed0a1e6e3cad2d5b8b8d2ee7dc))
|
|
81
|
-
|
|
82
|
-
## [1.2.2](https://github.com/flowcore-io/cli-plugin-iam/compare/v1.2.1...v1.2.2) (2024-10-22)
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
### Bug Fixes
|
|
86
|
-
|
|
87
|
-
* **configuration:** :bug: changed capitalization of policy document action dto ([6db5015](https://github.com/flowcore-io/cli-plugin-iam/commit/6db5015a1574f4ca146808d19f4fab60df2ed909))
|
|
88
|
-
|
|
89
|
-
## [1.2.1](https://github.com/flowcore-io/cli-plugin-iam/compare/v1.2.0...v1.2.1) (2024-10-22)
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
### Bug Fixes
|
|
93
|
-
|
|
94
|
-
* **configuration:** :bug: changed from prompt to enquirer import ([172ae77](https://github.com/flowcore-io/cli-plugin-iam/commit/172ae77e0a96f61786f334da1de8d2f388c10463))
|
|
95
|
-
|
|
96
|
-
## [1.2.0](https://github.com/flowcore-io/cli-plugin-iam/compare/v1.1.0...v1.2.0) (2024-10-22)
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
### Features
|
|
100
|
-
|
|
101
|
-
* :sparkles: added delete and updated get for policies and roles ([22fe717](https://github.com/flowcore-io/cli-plugin-iam/commit/22fe71767c39f4a234583ae637d5204c7732900c))
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
### Bug Fixes
|
|
105
|
-
|
|
106
|
-
* **configuration:** :bug: switched from jsr to npm for obj-diff ([141d75e](https://github.com/flowcore-io/cli-plugin-iam/commit/141d75e1b9efb1c5c851dfbfc466e03c58c8fcfa))
|
|
107
|
-
|
|
108
|
-
## [1.1.0](https://github.com/flowcore-io/cli-plugin-iam/compare/v1.0.0...v1.1.0) (2024-10-21)
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
### Features
|
|
112
|
-
|
|
113
|
-
* :sparkles: added functionality to create and delete iam policies ([0916612](https://github.com/flowcore-io/cli-plugin-iam/commit/09166128f3d1180d019b301eab5ead0af3055dbd))
|
|
114
|
-
* :sparkles: added policy and role bindings to the iam api ([a1815a0](https://github.com/flowcore-io/cli-plugin-iam/commit/a1815a093ad6743b26dd3cf7a4cfd0c32a8b4326))
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
### Bug Fixes
|
|
118
|
-
|
|
119
|
-
* :fire: removed console log on create policy ([6289f72](https://github.com/flowcore-io/cli-plugin-iam/commit/6289f72ec7eff9b00fc6a15e928e448ca6403294))
|
|
120
|
-
* :rotating_light: fixed linting errors ([b388ac6](https://github.com/flowcore-io/cli-plugin-iam/commit/b388ac6532d7d5c5c6c7fc1d401218bfbaa75b33))
|
|
121
|
-
|
|
122
|
-
## 1.0.0 (2024-09-29)
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
### Features
|
|
126
|
-
|
|
127
|
-
* :tada: initial commit ([72c9ba6](https://github.com/flowcore-io/cli-plugin-iam/commit/72c9ba65bd10c43d7e6711fbc39eb877ee257bb2))
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
### Bug Fixes
|
|
131
|
-
|
|
132
|
-
* **configuration:** :wrench: updated eslint configuration ([f9d2bac](https://github.com/flowcore-io/cli-plugin-iam/commit/f9d2bac01baa39963273922dbad697da6496a41b))
|