File tree 12 files changed +131
-31
lines changed
12 files changed +131
-31
lines changed Original file line number Diff line number Diff line change @@ -17,10 +17,15 @@ resource "sysdig_secure_cloud_auth_account_feature" "threat_detection" {
17
17
depends_on = [module . cloud-logs ]
18
18
}
19
19
20
- resource "sysdig_secure_cloud_auth_account_feature" "identity_entitlement " {
20
+ resource "sysdig_secure_cloud_auth_account_feature" "identity_entitlement_advanced " {
21
21
account_id = module. onboarding . sysdig_secure_account_id
22
22
type = " FEATURE_SECURE_IDENTITY_ENTITLEMENT"
23
23
enabled = true
24
- components = [module . cloud-logs . cloud_logs_component_id ]
25
- depends_on = [module . cloud-logs , sysdig_secure_cloud_auth_account_feature . config_posture ]
26
- }
24
+ components = concat (sysdig_secure_cloud_auth_account_feature. identity_entitlement_basic . components , [module . cloud-logs . cloud_logs_component_id ])
25
+ depends_on = [module . cloud-logs , sysdig_secure_cloud_auth_account_feature . identity_entitlement_basic ]
26
+ flags = {" CIEM_FEATURE_MODE" : " advanced" }
27
+
28
+ lifecycle {
29
+ ignore_changes = [flags , components ]
30
+ }
31
+ }
Original file line number Diff line number Diff line change @@ -18,10 +18,15 @@ resource "sysdig_secure_cloud_auth_account_feature" "threat_detection" {
18
18
depends_on = [module . cloud-logs ]
19
19
}
20
20
21
- resource "sysdig_secure_cloud_auth_account_feature" "identity_entitlement " {
21
+ resource "sysdig_secure_cloud_auth_account_feature" "identity_entitlement_advanced " {
22
22
account_id = module. onboarding . sysdig_secure_account_id
23
23
type = " FEATURE_SECURE_IDENTITY_ENTITLEMENT"
24
24
enabled = true
25
- components = [module . cloud-logs . cloud_logs_component_id ]
26
- depends_on = [module . cloud-logs , sysdig_secure_cloud_auth_account_feature . config_posture ]
27
- }
25
+ components = concat (sysdig_secure_cloud_auth_account_feature. identity_entitlement_basic . components , [module . cloud-logs . cloud_logs_component_id ])
26
+ depends_on = [module . cloud-logs , 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 @@ -26,10 +26,15 @@ resource "sysdig_secure_cloud_auth_account_feature" "threat_detection" {
26
26
depends_on = [module . event-bridge ]
27
27
}
28
28
29
- resource "sysdig_secure_cloud_auth_account_feature" "identity_entitlement " {
29
+ resource "sysdig_secure_cloud_auth_account_feature" "identity_entitlement_advanced " {
30
30
account_id = module. onboarding . sysdig_secure_account_id
31
31
type = " FEATURE_SECURE_IDENTITY_ENTITLEMENT"
32
32
enabled = true
33
- components = [module . event-bridge . event_bridge_component_id ]
34
- depends_on = [module . event-bridge , sysdig_secure_cloud_auth_account_feature . config_posture ]
35
- }
33
+ components = concat (sysdig_secure_cloud_auth_account_feature. identity_entitlement_basic . components , [module . event-bridge . event_bridge_component_id ])
34
+ depends_on = [module . event-bridge , sysdig_secure_cloud_auth_account_feature . identity_entitlement_basic ]
35
+ flags = {" CIEM_FEATURE_MODE" : " advanced" }
36
+
37
+ lifecycle {
38
+ ignore_changes = [flags , components ]
39
+ }
40
+ }
Original file line number Diff line number Diff line change @@ -20,10 +20,15 @@ resource "sysdig_secure_cloud_auth_account_feature" "threat_detection" {
20
20
depends_on = [module . event-bridge ]
21
21
}
22
22
23
- resource "sysdig_secure_cloud_auth_account_feature" "identity_entitlement " {
23
+ resource "sysdig_secure_cloud_auth_account_feature" "identity_entitlement_advanced " {
24
24
account_id = module. onboarding . sysdig_secure_account_id
25
25
type = " FEATURE_SECURE_IDENTITY_ENTITLEMENT"
26
26
enabled = true
27
- components = [module . event-bridge . event_bridge_component_id ]
28
- depends_on = [module . event-bridge , sysdig_secure_cloud_auth_account_feature . config_posture ]
27
+ components = concat (sysdig_secure_cloud_auth_account_feature. identity_entitlement_basic . components , [module . event-bridge . event_bridge_component_id ])
28
+ depends_on = [module . event-bridge , sysdig_secure_cloud_auth_account_feature . identity_entitlement_basic ]
29
+ flags = {" CIEM_FEATURE_MODE" : " advanced" }
30
+
31
+ lifecycle {
32
+ ignore_changes = [flags , components ]
33
+ }
29
34
}
Original file line number Diff line number Diff line change @@ -50,3 +50,18 @@ resource "sysdig_secure_cloud_auth_account_feature" "config_posture" {
50
50
components = [module . config-posture . config_posture_component_id ]
51
51
depends_on = [module . config-posture ]
52
52
}
53
+
54
+ resource "sysdig_secure_cloud_auth_account_feature" "identity_entitlement_basic" {
55
+ account_id = module. onboarding . sysdig_secure_account_id
56
+ type = " FEATURE_SECURE_IDENTITY_ENTITLEMENT"
57
+ enabled = true
58
+ components = [module . config-posture . config_posture_component_id ]
59
+ depends_on = [module . config-posture , sysdig_secure_cloud_auth_account_feature . config_posture ]
60
+ flags = {
61
+ " CIEM_FEATURE_MODE" : " basic"
62
+ }
63
+
64
+ lifecycle {
65
+ ignore_changes = [flags , components ]
66
+ }
67
+ }
Original file line number Diff line number Diff line change @@ -39,3 +39,18 @@ resource "sysdig_secure_cloud_auth_account_feature" "config_posture" {
39
39
components = [module . config-posture . config_posture_component_id ]
40
40
depends_on = [module . config-posture ]
41
41
}
42
+
43
+ resource "sysdig_secure_cloud_auth_account_feature" "identity_entitlement_basic" {
44
+ account_id = module. onboarding . sysdig_secure_account_id
45
+ type = " FEATURE_SECURE_IDENTITY_ENTITLEMENT"
46
+ enabled = true
47
+ components = [module . config-posture . config_posture_component_id ]
48
+ depends_on = [module . config-posture , sysdig_secure_cloud_auth_account_feature . config_posture ]
49
+ flags = {
50
+ " CIEM_FEATURE_MODE" : " basic"
51
+ }
52
+
53
+ lifecycle {
54
+ ignore_changes = [flags , components ]
55
+ }
56
+ }
Original file line number Diff line number Diff line change @@ -17,10 +17,15 @@ resource "sysdig_secure_cloud_auth_account_feature" "threat_detection" {
17
17
depends_on = [module . cloud-logs ]
18
18
}
19
19
20
- resource "sysdig_secure_cloud_auth_account_feature" "identity_entitlement " {
20
+ resource "sysdig_secure_cloud_auth_account_feature" "identity_entitlement_advanced " {
21
21
account_id = module. onboarding . sysdig_secure_account_id
22
22
type = " FEATURE_SECURE_IDENTITY_ENTITLEMENT"
23
23
enabled = true
24
- components = [module . cloud-logs . cloud_logs_component_id ]
25
- depends_on = [module . cloud-logs , sysdig_secure_cloud_auth_account_feature . config_posture ]
26
- }
24
+ components = concat (sysdig_secure_cloud_auth_account_feature. identity_entitlement_basic . components , [module . cloud-logs . cloud_logs_component_id ])
25
+ depends_on = [module . cloud-logs , sysdig_secure_cloud_auth_account_feature . identity_entitlement_basic ]
26
+ flags = {" CIEM_FEATURE_MODE" : " advanced" }
27
+
28
+ lifecycle {
29
+ ignore_changes = [flags , components ]
30
+ }
31
+ }
Original file line number Diff line number Diff line change @@ -18,10 +18,15 @@ resource "sysdig_secure_cloud_auth_account_feature" "threat_detection" {
18
18
depends_on = [module . cloud-logs ]
19
19
}
20
20
21
- resource "sysdig_secure_cloud_auth_account_feature" "identity_entitlement " {
21
+ resource "sysdig_secure_cloud_auth_account_feature" "identity_entitlement_advanced " {
22
22
account_id = module. onboarding . sysdig_secure_account_id
23
23
type = " FEATURE_SECURE_IDENTITY_ENTITLEMENT"
24
24
enabled = true
25
- components = [module . cloud-logs . cloud_logs_component_id ]
26
- depends_on = [module . cloud-logs , sysdig_secure_cloud_auth_account_feature . config_posture ]
27
- }
25
+ components = concat (sysdig_secure_cloud_auth_account_feature. identity_entitlement_basic . components , [module . cloud-logs . cloud_logs_component_id ])
26
+ depends_on = [module . cloud-logs , 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 @@ -17,10 +17,15 @@ resource "sysdig_secure_cloud_auth_account_feature" "threat_detection" {
17
17
depends_on = [module . event-bridge ]
18
18
}
19
19
20
- resource "sysdig_secure_cloud_auth_account_feature" "identity_entitlement " {
20
+ resource "sysdig_secure_cloud_auth_account_feature" "identity_entitlement_advanced " {
21
21
account_id = module. onboarding . sysdig_secure_account_id
22
22
type = " FEATURE_SECURE_IDENTITY_ENTITLEMENT"
23
23
enabled = true
24
- components = [module . event-bridge . event_bridge_component_id ]
25
- depends_on = [module . event-bridge , sysdig_secure_cloud_auth_account_feature . config_posture ]
26
- }
24
+ components = concat (sysdig_secure_cloud_auth_account_feature. identity_entitlement_basic . components , [module . event-bridge . event_bridge_component_id ])
25
+ depends_on = [module . event-bridge , sysdig_secure_cloud_auth_account_feature . identity_entitlement_basic ]
26
+ flags = {" CIEM_FEATURE_MODE" : " advanced" }
27
+
28
+ lifecycle {
29
+ ignore_changes = [flags , components ]
30
+ }
31
+ }
Original file line number Diff line number Diff line change @@ -18,10 +18,15 @@ resource "sysdig_secure_cloud_auth_account_feature" "threat_detection" {
18
18
depends_on = [module . event-bridge ]
19
19
}
20
20
21
- resource "sysdig_secure_cloud_auth_account_feature" "identity_entitlement " {
21
+ resource "sysdig_secure_cloud_auth_account_feature" "identity_entitlement_advanced " {
22
22
account_id = module. onboarding . sysdig_secure_account_id
23
23
type = " FEATURE_SECURE_IDENTITY_ENTITLEMENT"
24
24
enabled = true
25
- components = [module . event-bridge . event_bridge_component_id ]
26
- depends_on = [module . event-bridge , sysdig_secure_cloud_auth_account_feature . config_posture ]
25
+ components = concat (sysdig_secure_cloud_auth_account_feature. identity_entitlement_basic . components , [module . event-bridge . event_bridge_component_id ])
26
+ depends_on = [module . event-bridge , sysdig_secure_cloud_auth_account_feature . identity_entitlement_basic ]
27
+ flags = {" CIEM_FEATURE_MODE" : " advanced" }
28
+
29
+ lifecycle {
30
+ ignore_changes = [flags , components ]
31
+ }
27
32
}
Original file line number Diff line number Diff line change @@ -32,4 +32,19 @@ resource "sysdig_secure_cloud_auth_account_feature" "config_posture" {
32
32
enabled = true
33
33
components = [module . config-posture . config_posture_component_id ]
34
34
depends_on = [module . config-posture ]
35
- }
35
+ }
36
+
37
+ resource "sysdig_secure_cloud_auth_account_feature" "identity_entitlement_basic" {
38
+ account_id = module. onboarding . sysdig_secure_account_id
39
+ type = " FEATURE_SECURE_IDENTITY_ENTITLEMENT"
40
+ enabled = true
41
+ components = [module . config-posture . config_posture_component_id ]
42
+ depends_on = [module . config-posture , sysdig_secure_cloud_auth_account_feature . config_posture ]
43
+ flags = {
44
+ " CIEM_FEATURE_MODE" : " basic"
45
+ }
46
+
47
+ lifecycle {
48
+ ignore_changes = [flags , components ]
49
+ }
50
+ }
Original file line number Diff line number Diff line change @@ -35,3 +35,18 @@ resource "sysdig_secure_cloud_auth_account_feature" "config_posture" {
35
35
components = [module . config-posture . config_posture_component_id ]
36
36
depends_on = [module . config-posture ]
37
37
}
38
+
39
+ resource "sysdig_secure_cloud_auth_account_feature" "identity_entitlement_basic" {
40
+ account_id = module. onboarding . sysdig_secure_account_id
41
+ type = " FEATURE_SECURE_IDENTITY_ENTITLEMENT"
42
+ enabled = true
43
+ components = [module . config-posture . config_posture_component_id ]
44
+ depends_on = [module . config-posture , sysdig_secure_cloud_auth_account_feature . config_posture ]
45
+ flags = {
46
+ " CIEM_FEATURE_MODE" : " basic"
47
+ }
48
+
49
+ lifecycle {
50
+ ignore_changes = [flags , components ]
51
+ }
52
+ }
You can’t perform that action at this time.
0 commit comments