Commit d752f3e
authored
⭐ Add additional fields to the GCP pub/sub resources (#6655)
* Add additional fields to the GCP pub/sub resources
New security checks enabled:
- Ensure Pub/Sub topics are not publicly accessible (via iamPolicy)
- Ensure Pub/Sub subscriptions are not publicly accessible (via iamPolicy)
New fields on topic:
- iamPolicy: IAM policy bindings for the topic
- config.state: topic state (ACTIVE, INGESTION_RESOURCE_ERROR)
New fields on subscription:
- iamPolicy: IAM policy bindings for the subscription
- config.enableMessageOrdering: whether ordered key delivery is enabled
- config.enableExactlyOnceDelivery: whether exactly-once delivery is enabled
- config.filter: message filter expression
- config.detached: whether the subscription is detached from its topic
- config.state: subscription state (ACTIVE, RESOURCE_ERROR)
Signed-off-by: Tim Smith <tsmith84@gmail.com>
* Review fixes
Signed-off-by: Tim Smith <tsmith84@gmail.com>
* Update the generated code
Signed-off-by: Tim Smith <tsmith84@gmail.com>
* Address review concerns
Signed-off-by: Tim Smith <tsmith84@gmail.com>
---------
Signed-off-by: Tim Smith <tsmith84@gmail.com>1 parent 9e7ba90 commit d752f3e
File tree
4 files changed
+301
-18
lines changed- providers/gcp/resources
4 files changed
+301
-18
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2216 | 2216 | | |
2217 | 2217 | | |
2218 | 2218 | | |
| 2219 | + | |
| 2220 | + | |
2219 | 2221 | | |
2220 | 2222 | | |
2221 | 2223 | | |
| |||
2230 | 2232 | | |
2231 | 2233 | | |
2232 | 2234 | | |
| 2235 | + | |
| 2236 | + | |
2233 | 2237 | | |
2234 | 2238 | | |
2235 | 2239 | | |
| |||
2248 | 2252 | | |
2249 | 2253 | | |
2250 | 2254 | | |
| 2255 | + | |
| 2256 | + | |
2251 | 2257 | | |
2252 | 2258 | | |
2253 | 2259 | | |
| |||
2270 | 2276 | | |
2271 | 2277 | | |
2272 | 2278 | | |
| 2279 | + | |
| 2280 | + | |
| 2281 | + | |
| 2282 | + | |
| 2283 | + | |
| 2284 | + | |
| 2285 | + | |
| 2286 | + | |
| 2287 | + | |
| 2288 | + | |
2273 | 2289 | | |
2274 | 2290 | | |
2275 | 2291 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1088 | 1088 | | |
1089 | 1089 | | |
1090 | 1090 | | |
| 1091 | + | |
| 1092 | + | |
| 1093 | + | |
1091 | 1094 | | |
| 1095 | + | |
1092 | 1096 | | |
1093 | 1097 | | |
1094 | 1098 | | |
| |||
1098 | 1102 | | |
1099 | 1103 | | |
1100 | 1104 | | |
| 1105 | + | |
1101 | 1106 | | |
1102 | 1107 | | |
| 1108 | + | |
1103 | 1109 | | |
1104 | 1110 | | |
1105 | 1111 | | |
| |||
1112 | 1118 | | |
1113 | 1119 | | |
1114 | 1120 | | |
| 1121 | + | |
1115 | 1122 | | |
| 1123 | + | |
1116 | 1124 | | |
1117 | 1125 | | |
1118 | 1126 | | |
| |||
0 commit comments