You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(event-bridge): api destinations (SSPROD-53939) (#49)
* feat(event-bridge): event bridge api dest (SSPROD-53939) (#42)
* first draft of api dest tf
* update tfs after testing
* update readme
* use provider version
* use event-bridge folder
* rename
* add cloudwatch permissions and newlines
* one locals block
* add cloudwatch policies
* fix org
* add back some comments
Copy file name to clipboardExpand all lines: modules/integrations/event-bridge/README.md
+17-16
Original file line number
Diff line number
Diff line change
@@ -1,17 +1,17 @@
1
1
# AWS Event Bridge Module
2
2
3
-
This Module creates the resources required to send CloudTrail logs to Sysdig via AWS EventBridge for Log Ingestion. These resources enable Threat Detection in the given single account, or AWS Organization.
3
+
This Module creates the resources required to send CloudTrail logs to Sysdig via AWS EventBridge API Destinations for Log Ingestion. These resources enable Threat Detection in the given single account, or AWS Organization.
4
4
5
5
The following resources will be created in each instrumented account through CloudFormation StackSet in provided regions:
6
-
- An `EventBridge Rule` that captures all CloudTrail events from the defaul EventBridge Bus
7
-
- An `EventBridge Target` that sends these events to an EventBridge Bus is Sysdig's AWS Account
8
-
- An `IAM Role` and associated policies that gives the EventBridge Bus in the source account permission to call PutEvent on the EventBridge Bus in Sysdig's Account.
9
-
6
+
- An `EventBridge Rule` that captures all CloudTrail events from the default EventBridge Bus
7
+
- An `EventBridge API Destination` that forwards these events to Sysdig's secure endpoint
8
+
- An `EventBridge Connection`that handles authentication for the API Destination
9
+
- An `IAM Role` and associated policies that gives the EventBridge Rule permission to invoke the API Destination
10
10
When run in Organizational mode, this module will be deployed via CloudFormation StackSets that should be created in the management account. They will create the above resources in each account in the organization, and automatically in any member accounts that are later added to the organization.
11
11
12
-
This module will also deploy an Event Bridge Component in Sysdig Backend for onboarded Sysdig Cloud Account.
12
+
This module will also deploy a Webhook Datasource Component in Sysdig Backend for the onboarded Sysdig Cloud Account, which tracks and validates the API Destination configuration.
13
13
14
-
If instrumenting an AWS Gov account/organization, IAM policies and event bridge resources will be created in `aws-us-gov`region.
14
+
If instrumenting an AWS Gov account/organization, IAM policies and EventBridge resources will be created in `aws-us-gov`region.
15
15
16
16
<!-- BEGINNING OF PRE-COMMIT-TERRAFORM DOCS HOOK -->
17
17
## Requirements
@@ -21,15 +21,15 @@ If instrumenting an AWS Gov account/organization, IAM policies and event bridge
| <aname="input_api_dest_rate_limit"></a> [api\_dest\_rate\_limit](#input\_api\_dest\_rate\_limit)| Rate limit for API Destinations |`number`|`300`| no |
67
68
| <aname="input_auto_create_stackset_roles"></a> [auto\_create\_stackset\_roles](#input\_auto\_create\_stackset\_roles)| Whether to auto create the custom stackset roles to run SELF\_MANAGED stackset. Default is true |`bool`|`true`| no |
68
69
| <aname="input_event_pattern"></a> [event\_pattern](#input\_event\_pattern)| Event pattern for CloudWatch Event Rule |`string`|`"{\n \"detail-type\": [\n \"AWS API Call via CloudTrail\",\n \"AWS Console Sign In via CloudTrail\",\n \"AWS Service Event via CloudTrail\",\n \"Object Access Tier Changed\",\n \"Object ACL Updated\",\n \"Object Created\",\n \"Object Deleted\",\n \"Object Restore Completed\",\n \"Object Restore Expired\",\n \"Object Restore Initiated\",\n \"Object Storage Class Changed\",\n \"Object Tags Added\",\n \"Object Tags Deleted\",\n \"GuardDuty Finding\"\n ]\n}\n"`| no |
69
70
| <aname="input_exclude_accounts"></a> [exclude\_accounts](#input\_exclude\_accounts)| (Optional) accounts to exclude for organization |`set(string)`|`[]`| no |
0 commit comments