Skip to content

Commit f22a46c

Browse files
authored
tgc-revival: add scc v2 resources (#17328)
1 parent 8404924 commit f22a46c

5 files changed

Lines changed: 7 additions & 0 deletions

File tree

mmv1/products/securitycenterv2/FolderNotificationConfig.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@ timeouts:
3636
delete_minutes: 20
3737
custom_code:
3838
post_import: 'templates/terraform/post_import/scc_v2_folder_notification_config.go.tmpl'
39+
include_in_tgc_next: true
40+
cai_asset_name_format: 'folders/{{folder}}/locations/{{location}}/notificationConfigs/{{config_id}}'
3941
examples:
4042
- name: 'scc_v2_folder_notification_config_basic'
4143
primary_resource_id: 'custom_notification_config'

mmv1/products/securitycenterv2/FolderSccBigQueryExport.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ update_verb: 'PATCH'
3535
update_mask: true
3636
import_format:
3737
- 'folders/{{folder}}/locations/{{location}}/bigQueryExports/{{big_query_export_id}}'
38+
include_in_tgc_next: true
3839
timeouts:
3940
insert_minutes: 20
4041
update_minutes: 20

mmv1/products/securitycenterv2/OrganizationSccBigQueryExport.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ update_verb: 'PATCH'
3535
update_mask: true
3636
import_format:
3737
- 'organizations/{{organization}}/locations/{{location}}/bigQueryExports/{{big_query_export_id}}'
38+
include_in_tgc_next: true
3839
timeouts:
3940
insert_minutes: 20
4041
update_minutes: 20

mmv1/products/securitycenterv2/OrganizationSccBigQueryExports.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ update_verb: 'PATCH'
3535
update_mask: true
3636
import_format:
3737
- 'organizations/{{organization}}/locations/{{location}}/bigQueryExports/{{big_query_export_id}}'
38+
include_in_tgc_next: true
3839
timeouts:
3940
insert_minutes: 20
4041
update_minutes: 20

mmv1/products/securitycenterv2/ProjectNotificationConfig.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,8 @@ custom_code:
3838
custom_import: 'templates/terraform/custom_import/self_link_as_name_set_project_location_and_config_id.go.tmpl'
3939
# exluding resource_identity due to custom_import
4040
exclude_identity_generation: true
41+
include_in_tgc_next: true
42+
cai_asset_name_format: 'projects/{{project}}/locations/{{location}}/notificationConfigs/{{config_id}}'
4143
sweeper:
4244
url_substitutions:
4345
- region: "global"

0 commit comments

Comments
 (0)