forked from OpenSecureCo/Demos
-
Notifications
You must be signed in to change notification settings - Fork 0
/
aws_guardduty
43 lines (39 loc) · 902 Bytes
/
aws_guardduty
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
##ROLE POLICY
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "VisualEditor0",
"Effect": "Allow",
"Action": [
"s3:GetObject",
"s3:ListBucket",
"s3:DeleteObject"
],
"Resource": [
"arn:aws:s3:::opensecure-guardduty",
"arn:aws:s3:::opensecure-guardduty/*"
]
}
]
}
###RULE
<group name="aws_guardduty,amazon">
<rule id="100020" level="5">
<decoded_as>json</decoded_as>
<field name="source">aws.guardduty</field>
<description>AWS GuardDuty Alert</description>
<options>no_full_log</options>
</rule>
</group>
##WODLE
<wodle name="aws-s3">
<disabled>no</disabled>
<interval>1m</interval>
<run_on_start>yes</run_on_start>
<skip_on_error>no</skip_on_error>
<bucket type="guardduty">
<name>opensecure-guardduty</name>
<aws_profile>default</aws_profile>
</bucket>
</wodle>