Skip to content

Commit e834d16

Browse files
feat(modular): address feedback for modular support for cdr/ciem, rebase and cleanup
1 parent dfd45da commit e834d16

File tree

11 files changed

+7
-7
lines changed

11 files changed

+7
-7
lines changed

modules/integrations/webhook-datasource/README.md renamed to modules/integrations/pub-sub/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# GCP Webhook Datasource Module
1+
# GCP PubSub Module
22

33
This Module creates the resources required to send AuditLogs logs to Sysdig via GCP Pub Subscription. These resources enable Threat Detection in the given GCP project or organization.
44
Before applying the changes defined in this module, the following operations need to be performed on the target GCP environment:

modules/integrations/webhook-datasource/main.tf renamed to modules/integrations/pub-sub/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ resource "google_project_iam_member" "identity_mgmt" {
240240
}
241241

242242
#-----------------------------------------------------------------------------------------------------------------------------------------
243-
# Call Sysdig Backend to add the webhook-datasource integration to the Sysdig Cloud Account
243+
# Call Sysdig Backend to add the pub-sub integration to the Sysdig Cloud Account
244244
#
245245
# Note (optional): To ensure this gets called after all cloud resources are created, add
246246
# explicit dependency using depends_on

modules/services/webhook-datasource/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
########################################################################################
2-
# The webhook-datasource module takes care of provisioning the necessary resources to make Sysdig's
2+
# The pub-sub module takes care of provisioning the necessary resources to make Sysdig's
33
# backend able to ingest data from a single GCP project.
44
#
55
# Before applying the changes defined in this module, the following operations need to

test/examples/modular_organization/webhook_datasource.tf renamed to test/examples/modular_organization/pub-sub.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
#---------------------------------------------------------------------------------------------
55

66
module "webhook-datasource" {
7-
source = "../../../modules/integrations/webhook-datasource"
7+
source = "../../../modules/integrations/pub-sub"
88
project_id = module.onboarding.project_id
99
is_organizational = module.onboarding.is_organizational
1010
organization_domain = module.onboarding.organization_domain

test/examples/modular_single_project/webhook_datasource.tf renamed to test/examples/modular_single_project/pub-sub.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
#---------------------------------------------------------------------------------------------
55

66
module "webhook-datasource" {
7-
source = "../../../modules/integrations/webhook-datasource"
7+
source = "../../../modules/integrations/pub-sub"
88
project_id = module.onboarding.project_id
99
sysdig_secure_account_id = module.onboarding.sysdig_secure_account_id
1010
}

test/examples/organization_cdr_test/webhook_datasource.tf renamed to test/examples/organization_cdr_test/pub-sub.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
#---------------------------------------------------------------------------------------------
55

66
module "webhook-datasource" {
7-
source = "../../../modules/integrations/webhook-datasource"
7+
source = "../../../modules/integrations/pub-sub"
88
project_id = module.onboarding.project_id
99
is_organizational = module.onboarding.is_organizational
1010
organization_domain = module.onboarding.organization_domain

0 commit comments

Comments
 (0)