-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
enhance(s3): add support for Govcloud account/org for fedramp (#24)
* enhance(s3): add support for Govcloud account/org for fedramp * enhance(s3): add support for Govcloud account/org for s3 * fix version * fix version
- Loading branch information
1 parent
6869379
commit 81addc2
Showing
8 changed files
with
150 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
#--------------------------------------------------------------------------------------------- | ||
# Ensure installation flow for foundational onboarding has been completed before | ||
# installing additional Sysdig features. | ||
#--------------------------------------------------------------------------------------------- | ||
|
||
module "cloud-logs" { | ||
source = "../../../modules/integrations/cloud-logs" | ||
folder_arn = "<FOLDER_ARN" | ||
sysdig_secure_account_id = module.onboarding.sysdig_secure_account_id | ||
} | ||
|
||
resource "sysdig_secure_cloud_auth_account_feature" "threat_detection" { | ||
account_id = module.onboarding.sysdig_secure_account_id | ||
type = "FEATURE_SECURE_THREAT_DETECTION" | ||
enabled = true | ||
components = [module.cloud-logs.cloud_logs_component_id] | ||
depends_on = [module.cloud-logs] | ||
} | ||
|
||
resource "sysdig_secure_cloud_auth_account_feature" "identity_entitlement" { | ||
account_id = module.onboarding.sysdig_secure_account_id | ||
type = "FEATURE_SECURE_IDENTITY_ENTITLEMENT" | ||
enabled = true | ||
components = [module.cloud-logs.cloud_logs_component_id] | ||
depends_on = [module.cloud-logs, sysdig_secure_cloud_auth_account_feature.config_posture] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
#--------------------------------------------------------------------------------------------- | ||
# Ensure installation flow for foundational onboarding has been completed before | ||
# installing additional Sysdig features. | ||
#--------------------------------------------------------------------------------------------- | ||
|
||
module "cloud-logs" { | ||
source = "../../../modules/integrations/cloud-logs" | ||
folder_arn = "<FOLDER_ARN" | ||
sysdig_secure_account_id = module.onboarding.sysdig_secure_account_id | ||
is_gov_cloud_onboarding = module.onboarding.is_gov_cloud_onboarding | ||
} | ||
|
||
resource "sysdig_secure_cloud_auth_account_feature" "threat_detection" { | ||
account_id = module.onboarding.sysdig_secure_account_id | ||
type = "FEATURE_SECURE_THREAT_DETECTION" | ||
enabled = true | ||
components = [module.cloud-logs.cloud_logs_component_id] | ||
depends_on = [module.cloud-logs] | ||
} | ||
|
||
resource "sysdig_secure_cloud_auth_account_feature" "identity_entitlement" { | ||
account_id = module.onboarding.sysdig_secure_account_id | ||
type = "FEATURE_SECURE_IDENTITY_ENTITLEMENT" | ||
enabled = true | ||
components = [module.cloud-logs.cloud_logs_component_id] | ||
depends_on = [module.cloud-logs, sysdig_secure_cloud_auth_account_feature.config_posture] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
#--------------------------------------------------------------------------------------------- | ||
# Ensure installation flow for foundational onboarding has been completed before | ||
# installing additional Sysdig features. | ||
#--------------------------------------------------------------------------------------------- | ||
|
||
module "cloud-logs" { | ||
source = "../../../modules/integrations/cloud-logs" | ||
folder_arn = "<FOLDER_ARN" | ||
sysdig_secure_account_id = module.onboarding.sysdig_secure_account_id | ||
} | ||
|
||
resource "sysdig_secure_cloud_auth_account_feature" "threat_detection" { | ||
account_id = module.onboarding.sysdig_secure_account_id | ||
type = "FEATURE_SECURE_THREAT_DETECTION" | ||
enabled = true | ||
components = [module.cloud-logs.cloud_logs_component_id] | ||
depends_on = [module.cloud-logs] | ||
} | ||
|
||
resource "sysdig_secure_cloud_auth_account_feature" "identity_entitlement" { | ||
account_id = module.onboarding.sysdig_secure_account_id | ||
type = "FEATURE_SECURE_IDENTITY_ENTITLEMENT" | ||
enabled = true | ||
components = [module.cloud-logs.cloud_logs_component_id] | ||
depends_on = [module.cloud-logs, sysdig_secure_cloud_auth_account_feature.config_posture] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
#--------------------------------------------------------------------------------------------- | ||
# Ensure installation flow for foundational onboarding has been completed before | ||
# installing additional Sysdig features. | ||
#--------------------------------------------------------------------------------------------- | ||
|
||
module "cloud-logs" { | ||
source = "../../../modules/integrations/cloud-logs" | ||
folder_arn = "<FOLDER_ARN" | ||
sysdig_secure_account_id = module.onboarding.sysdig_secure_account_id | ||
is_gov_cloud_onboarding = module.onboarding.is_gov_cloud_onboarding | ||
} | ||
|
||
resource "sysdig_secure_cloud_auth_account_feature" "threat_detection" { | ||
account_id = module.onboarding.sysdig_secure_account_id | ||
type = "FEATURE_SECURE_THREAT_DETECTION" | ||
enabled = true | ||
components = [module.cloud-logs.cloud_logs_component_id] | ||
depends_on = [module.cloud-logs] | ||
} | ||
|
||
resource "sysdig_secure_cloud_auth_account_feature" "identity_entitlement" { | ||
account_id = module.onboarding.sysdig_secure_account_id | ||
type = "FEATURE_SECURE_IDENTITY_ENTITLEMENT" | ||
enabled = true | ||
components = [module.cloud-logs.cloud_logs_component_id] | ||
depends_on = [module.cloud-logs, sysdig_secure_cloud_auth_account_feature.config_posture] | ||
} |