File tree Expand file tree Collapse file tree 1 file changed +41
-0
lines changed
Expand file tree Collapse file tree 1 file changed +41
-0
lines changed Original file line number Diff line number Diff line change 1+ {
2+ "PolicyVersion": {
3+ "CreateDate": "2025-11-20T03:34:10Z",
4+ "VersionId": "v1",
5+ "Document": {
6+ "Version": "2012-10-17",
7+ "Statement": [
8+ {
9+ "Action": [
10+ "guardduty:StartMalwareScan",
11+ "guardduty:GetMalwareScan"
12+ ],
13+ "Resource": "*",
14+ "Effect": "Allow",
15+ "Sid": "GuardDutyMalwareScanPermissions"
16+ },
17+ {
18+ "Action": "iam:PassRole",
19+ "Resource": "*",
20+ "Effect": "Allow",
21+ "Condition": {
22+ "StringEquals": {
23+ "iam:PassedToService": "malware-protection.guardduty.amazonaws.com"
24+ }
25+ },
26+ "Sid": "IAMPassPermissions"
27+ },
28+ {
29+ "Action": [
30+ "ec2:DescribeImages",
31+ "ec2:DescribeSnapshots"
32+ ],
33+ "Resource": "*",
34+ "Effect": "Allow",
35+ "Sid": "EC2ReadAPIPermissions"
36+ }
37+ ]
38+ },
39+ "IsDefaultVersion": true
40+ }
41+ }
You can’t perform that action at this time.
0 commit comments