forked from iacsecurity/tool-compare
-
Notifications
You must be signed in to change notification settings - Fork 0
/
cloudrail_results.txt
126 lines (83 loc) · 4.7 KB
/
cloudrail_results.txt
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
WARNINGs found:
Rule: Ensure all used default security groups of every VPC restrict all traffic
- 1 Resources Exposed:
-----------------------------------------------
- Exposed Resource: [aws_instance.example_with_ami_from_instance] (main.tf:93)
Violating Resource: [default] (Not found in TF)
Evidence:
VPC vpc-00f7a3e5b1a2d87f0
| aws_instance.example_with_ami_from_instance uses ENI eni-pseudo-42e6b08d-a754-4b92-920b-41c7b85f4c1a
| The ENI is secured by default Security group default and allows all traffic
-----------------------------------------------
Rule: Ensure the default VPC is not used
- 4 Resources Exposed:
-----------------------------------------------
- Exposed Resource: [aws_instance.public-ubuntu-from-data] (main.tf:98)
Violating Resource: [aws_instance.public-ubuntu-from-data] (main.tf:98)
Evidence:
Default VPC
| aws_instance.public-ubuntu-from-data is defined within the default VPC.
- Exposed Resource: [aws_instance.example_with_new_ami] (main.tf:45)
Violating Resource: [aws_instance.example_with_new_ami] (main.tf:45)
Evidence:
Default VPC
| aws_instance.example_with_new_ami is defined within the default VPC.
- Exposed Resource: [aws_instance.example_with_copied_ami] (main.tf:80)
Violating Resource: [aws_instance.example_with_copied_ami] (main.tf:80)
Evidence:
Default VPC
| aws_instance.example_with_copied_ami is defined within the default VPC.
- Exposed Resource: [aws_instance.example_with_ami_from_instance] (main.tf:93)
Violating Resource: [aws_instance.example_with_ami_from_instance] (main.tf:93)
Evidence:
Default VPC
| aws_instance.example_with_ami_from_instance is defined within the default VPC.
-----------------------------------------------
Rule: Ensure IMDSv2 is used and IMDSv1 is disabled
- 4 Resources Exposed:
-----------------------------------------------
- Exposed Resource: [aws_instance.public-ubuntu-from-data] (main.tf:98)
Violating Resource: [aws_instance.public-ubuntu-from-data] (main.tf:98)
Evidence:
| The EC2 Instance aws_instance.public-ubuntu-from-data is allowing IMDSv1
- Exposed Resource: [aws_instance.example_with_new_ami] (main.tf:45)
Violating Resource: [aws_instance.example_with_new_ami] (main.tf:45)
Evidence:
| The EC2 Instance aws_instance.example_with_new_ami is allowing IMDSv1
- Exposed Resource: [aws_instance.example_with_copied_ami] (main.tf:80)
Violating Resource: [aws_instance.example_with_copied_ami] (main.tf:80)
Evidence:
| The EC2 Instance aws_instance.example_with_copied_ami is allowing IMDSv1
- Exposed Resource: [aws_instance.example_with_ami_from_instance] (main.tf:93)
Violating Resource: [aws_instance.example_with_ami_from_instance] (main.tf:93)
Evidence:
| The EC2 Instance aws_instance.example_with_ami_from_instance is allowing IMDSv1
-----------------------------------------------
Rule: Ensure all data stored in the Launch configuration EBS is securely encrypted
- 4 Resources Exposed:
-----------------------------------------------
- Exposed Resource: [aws_instance.public-ubuntu-from-data] (main.tf:98)
Violating Resource: [aws_instance.public-ubuntu-from-data] (main.tf:98)
Evidence:
| This rule evaluated aws_instance.public-ubuntu-from-data's configuration
- Exposed Resource: [aws_instance.example_with_ami_from_instance] (main.tf:93)
Violating Resource: [aws_instance.example_with_ami_from_instance] (main.tf:93)
Evidence:
| This rule evaluated aws_instance.example_with_ami_from_instance's configuration
- Exposed Resource: [aws_instance.example_with_copied_ami] (main.tf:80)
Violating Resource: [aws_instance.example_with_copied_ami] (main.tf:80)
Evidence:
| This rule evaluated aws_instance.example_with_copied_ami's configuration
- Exposed Resource: [aws_instance.example_with_new_ami] (main.tf:45)
Violating Resource: [aws_instance.example_with_new_ami] (main.tf:45)
Evidence:
| This rule evaluated aws_instance.example_with_new_ami's configuration
-----------------------------------------------
Rule: Allow only private AMIs to be used
- 1 Resources Exposed:
-----------------------------------------------
- Exposed Resource: [aws_instance.public-ubuntu-from-data] (main.tf:98)
Violating Resource: [ami-09943f9da1f1b7899] (Not found in TF)
Evidence:
| The EC2 Instance aws_instance.public-ubuntu-from-data uses AMI ami-09943f9da1f1b7899, which is public
-----------------------------------------------