You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| clean\_up\_org\_level\_cai\_feeds | Clean up organization level Cloud Asset Inventory Feeds. |`bool`|`false`| no |
26
28
| clean\_up\_org\_level\_scc\_notifications | Clean up organization level Security Command Center notifications. |`bool`|`false`| no |
27
29
| clean\_up\_org\_level\_tag\_keys | Clean up organization level Tag Keys. |`bool`|`false`| no |
28
30
| function\_timeout\_s | The amount of time in seconds allotted for the execution of the function. |`number`|`500`| no |
@@ -35,6 +37,7 @@ The following services must be enabled on the project housing the cleanup functi
35
37
| target\_excluded\_labels | Map of project lablels that won't be deleted. |`map(string)`|`{}`| no |
36
38
| target\_excluded\_tagkeys | List of organization Tag Key short names that won't be deleted. |`list(string)`|`[]`| no |
37
39
| target\_folder\_id | Folder ID to delete all projects under. |`string`|`""`| no |
40
+
| target\_included\_feeds | List of organization level Cloud Asset Inventory feeds that should be deleted. Regex example: `.*/feeds/fd-cai-monitoring-.*`|`list(string)`|`[]`| no |
38
41
| target\_included\_labels | Map of project lablels that will be deleted. |`map(string)`|`{}`| no |
39
42
| target\_included\_scc\_notifications | List of organization Security Command Center notifications names regex that will be deleted. Regex example: `.*/notificationConfigs/scc-notify-.*`|`list(string)`|`[]`| no |
40
43
| target\_tag\_name | The name of a tag to filter GCP projects on for consideration by the cleanup utility (legacy, use `target_included_labels` map instead). |`string`|`""`| no |
logger.Fatalf("Clean up CAI Feeds environment variable [%s] not set, set the environment variable and try again.", CleanUpCaiFeeds)
339
+
}
340
+
result, err:=strconv.ParseBool(cleanUpCaiFeeds)
341
+
iferr!=nil {
342
+
logger.Fatalf("Invalid Clean up CAI Feeds value [%s], specify correct value for environment variable [%s] and try again.", cleanUpCaiFeeds, CleanUpCaiFeeds)
0 commit comments