File tree Expand file tree Collapse file tree 4 files changed +56
-0
lines changed
modular_single_subscription Expand file tree Collapse file tree 4 files changed +56
-0
lines changed Original file line number Diff line number Diff line change @@ -19,3 +19,16 @@ resource "sysdig_secure_cloud_auth_account_feature" "threat_detection" {
19
19
components = [module . event-hub . event_hub_component_id ]
20
20
depends_on = [ module . event-hub ]
21
21
}
22
+
23
+ resource "sysdig_secure_cloud_auth_account_feature" "identity_entitlement_advanced" {
24
+ account_id = module. onboarding . sysdig_secure_account_id
25
+ type = " FEATURE_SECURE_IDENTITY_ENTITLEMENT"
26
+ enabled = true
27
+ components = concat (sysdig_secure_cloud_auth_account_feature. identity_entitlement_basic . components , [module . event-hub . event_hub_component_id ])
28
+ depends_on = [module . event-hub , sysdig_secure_cloud_auth_account_feature . identity_entitlement_basic ]
29
+ flags = {" CIEM_FEATURE_MODE" : " advanced" }
30
+
31
+ lifecycle {
32
+ ignore_changes = [flags , components ]
33
+ }
34
+ }
Original file line number Diff line number Diff line change @@ -45,3 +45,18 @@ resource "sysdig_secure_cloud_auth_account_feature" "config_posture" {
45
45
components = [module . config-posture . service_principal_component_id ]
46
46
depends_on = [ module . config-posture ]
47
47
}
48
+
49
+ resource "sysdig_secure_cloud_auth_account_feature" "identity_entitlement_basic" {
50
+ account_id = module. onboarding . sysdig_secure_account_id
51
+ type = " FEATURE_SECURE_IDENTITY_ENTITLEMENT"
52
+ enabled = true
53
+ components = [module . config-posture . service_principal_component_id ]
54
+ depends_on = [module . config-posture , sysdig_secure_cloud_auth_account_feature . config_posture ]
55
+ flags = {
56
+ " CIEM_FEATURE_MODE" : " basic"
57
+ }
58
+
59
+ lifecycle {
60
+ ignore_changes = [flags , components ]
61
+ }
62
+ }
Original file line number Diff line number Diff line change @@ -17,3 +17,16 @@ resource "sysdig_secure_cloud_auth_account_feature" "threat_detection" {
17
17
components = [module . event-hub . event_hub_component_id ]
18
18
depends_on = [ module . event-hub ]
19
19
}
20
+
21
+ resource "sysdig_secure_cloud_auth_account_feature" "identity_entitlement_advanced" {
22
+ account_id = module. onboarding . sysdig_secure_account_id
23
+ type = " FEATURE_SECURE_IDENTITY_ENTITLEMENT"
24
+ enabled = true
25
+ components = concat (sysdig_secure_cloud_auth_account_feature. identity_entitlement_basic . components , [module . event-hub . event_hub_component_id ])
26
+ depends_on = [module . event-hub , sysdig_secure_cloud_auth_account_feature . identity_entitlement_basic ]
27
+ flags = {" CIEM_FEATURE_MODE" : " advanced" }
28
+
29
+ lifecycle {
30
+ ignore_changes = [flags , components ]
31
+ }
32
+ }
Original file line number Diff line number Diff line change @@ -41,3 +41,18 @@ resource "sysdig_secure_cloud_auth_account_feature" "config_posture" {
41
41
components = [module . config-posture . service_principal_component_id ]
42
42
depends_on = [ module . config-posture ]
43
43
}
44
+
45
+ resource "sysdig_secure_cloud_auth_account_feature" "identity_entitlement_basic" {
46
+ account_id = module. onboarding . sysdig_secure_account_id
47
+ type = " FEATURE_SECURE_IDENTITY_ENTITLEMENT"
48
+ enabled = true
49
+ components = [module . config-posture . service_principal_component_id ]
50
+ depends_on = [module . config-posture , sysdig_secure_cloud_auth_account_feature . config_posture ]
51
+ flags = {
52
+ " CIEM_FEATURE_MODE" : " basic"
53
+ }
54
+
55
+ lifecycle {
56
+ ignore_changes = [flags , components ]
57
+ }
58
+ }
You can’t perform that action at this time.
0 commit comments