File tree Expand file tree Collapse file tree 5 files changed +8
-3
lines changed Expand file tree Collapse file tree 5 files changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -30,6 +30,7 @@ locals {
30
30
resource "azuread_service_principal" "sysdig_cspm_sp" {
31
31
client_id = data. sysdig_secure_trusted_azure_app . config_posture . application_id
32
32
use_existing = true
33
+ notes = " Service Principal linked to the Sysdig Secure CNAPP - CSPM module"
33
34
}
34
35
35
36
# ---------------------------------------------------------------------------------------------
Original file line number Diff line number Diff line change @@ -40,6 +40,7 @@ resource "random_string" "random" {
40
40
resource "azuread_service_principal" "sysdig_event_hub_sp" {
41
41
client_id = data. sysdig_secure_trusted_azure_app . threat_detection . application_id
42
42
use_existing = true
43
+ notes = " Service Principal linked to the Sysdig Secure CNAPP - CDR module"
43
44
}
44
45
45
46
# ---------------------------------------------------------------------------------------------
Original file line number Diff line number Diff line change @@ -24,6 +24,7 @@ data "sysdig_secure_trusted_azure_app" "onboarding" {
24
24
resource "azuread_service_principal" "sysdig_onboarding_sp" {
25
25
client_id = data. sysdig_secure_trusted_azure_app . onboarding . application_id
26
26
use_existing = true
27
+ notes = " Service Principal linked to the Sysdig Secure CNAPP - Onboarding module"
27
28
}
28
29
29
30
# -------------------------------------------------------------------------------------------------
Original file line number Diff line number Diff line change @@ -10,9 +10,9 @@ locals {
10
10
subscription_hash = substr (md5 (data. azurerm_client_config . current . subscription_id ), 0 , 8 )
11
11
}
12
12
13
- # A random resource is used to generate unique Event Hub names.
14
- # This prevents conflicts when recreating an Event Hub Namespace with the same name.
15
- # Azure caches the Event Hub name after deletion.
13
+ # A random resource is used to generate unique Event Hub names.
14
+ # This prevents conflicts when recreating an Event Hub Namespace with the same name.
15
+ # Azure caches the Event Hub name after deletion.
16
16
# If the namespace is recreated, Azure restores the existing Event Hub, causing a Terraform apply failure.
17
17
resource "random_string" "random" {
18
18
length = 4
@@ -30,6 +30,7 @@ resource "azuread_service_principal" "sysdig_service_principal" {
30
30
lifecycle {
31
31
prevent_destroy = true
32
32
}
33
+ notes = " Service Principal linked to the Sysdig Secure CNAPP"
33
34
}
34
35
35
36
# ---------------------------------------------------------------------------------------------
Original file line number Diff line number Diff line change @@ -31,6 +31,7 @@ resource "azuread_service_principal" "sysdig_sp" {
31
31
lifecycle {
32
32
prevent_destroy = true
33
33
}
34
+ notes = " Service Principal linked to the Sysdig Secure CNAPP"
34
35
}
35
36
36
37
# ---------------------------------------------------------------------------------------------
You can’t perform that action at this time.
0 commit comments