forked from iknowjason/AutomatedEmulation
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsysmon.tf
More file actions
26 lines (22 loc) · 792 Bytes
/
sysmon.tf
File metadata and controls
26 lines (22 loc) · 792 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
locals {
sysmon_config = "sysmonconfig-export.xml"
sysmon_zip = "Sysmon.zip"
}
# Upload SwiftOnSecurity Sysmon configuration xml file
resource "aws_s3_object" "sysmon_config" {
bucket = aws_s3_bucket.staging.id
key = "${local.sysmon_config}"
source = "${path.module}/files/sysmon/${local.sysmon_config}"
}
# Upload Sysmon zip
resource "aws_s3_object" "sysmon_zip" {
bucket = aws_s3_bucket.staging.id
key = "${local.sysmon_zip}"
source = "${path.module}/files/sysmon/${local.sysmon_zip}"
}
output "object_s3_uri_sysmon_config" {
value = "s3://${aws_s3_object.sysmon_config.bucket}/${aws_s3_object.sysmon_config.key}"
}
output "object_s3_uri_sysmon_zip" {
value = "s3://${aws_s3_object.sysmon_zip.bucket}/${aws_s3_object.sysmon_zip.key}"
}