forked from SumoLogic/sumologic-kubernetes-collection
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
adding collectors and s3 sources for corelight and umbrella (SumoLogi…
…c#188) * addomg collectors and s3 sources for corelight and umbrella * fix formatting * reference the module * reference the module * add output to module * fix formatting
- Loading branch information
Showing
4 changed files
with
60 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
resource "sumologic_s3_source" "infosec-corelight" { | ||
name = "Corelight Logs" | ||
description = "Log files from Corelight appliances" | ||
category = "aws/s3" | ||
content_type = "AwsS3Bucket" | ||
scan_interval = 300000 | ||
paused = false | ||
collector_id = module.nytimes-infosec-corelight.sumologic_collector_id | ||
|
||
authentication { | ||
type = "AWSRoleBasedAuthentication" | ||
role_arn = "arn:aws:iam::550861604386:role/nyt-sumo-corelight-role" | ||
} | ||
|
||
path { | ||
type = "S3BucketPathExpression" | ||
bucket_name = "infosec-corelight-51347c84" | ||
path_expression = "*" | ||
} | ||
} |
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,20 @@ | ||
resource "sumologic_s3_source" "infosec-umbrella" { | ||
name = "umbrella Logs" | ||
description = "Log files from umbrella appliances" | ||
category = "aws/s3" | ||
content_type = "AwsS3Bucket" | ||
scan_interval = 300000 | ||
paused = false | ||
collector_id = module.nytimes-infosec-umbrella.sumologic_collector_id | ||
|
||
authentication { | ||
type = "AWSRoleBasedAuthentication" | ||
role_arn = "arn:aws:iam::147536899606:role/umbrella-sumo-ingest-role" | ||
} | ||
|
||
path { | ||
type = "S3BucketPathExpression" | ||
bucket_name = "infosec-dev-umbrella-logs" | ||
path_expression = "*" | ||
} | ||
} |