Skip to content

Commit

Permalink
Fixed ec2 processing bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Aboisier committed Mar 4, 2019
1 parent 872b907 commit 1dda2d1
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions ScoutSuite/providers/aws/provider.py
Expand Up @@ -67,13 +67,15 @@ def preprocessing(self, ip_ranges=None, ip_ranges_name_key=None):
# self.parse_elb_policies()

# Various data processing calls
self._check_ec2_zone_distribution()
self._add_security_group_name_to_ec2_grants()
self._add_last_snapshot_date_to_ec2_volumes()
if 'ec2' in self.service_list:
self._check_ec2_zone_distribution()
self._add_security_group_name_to_ec2_grants()
self._add_last_snapshot_date_to_ec2_volumes()
self._match_instances_and_roles()

self._process_cloudtrail_trails(self.services['cloudtrail'])
self._add_cidr_display_name(ip_ranges, ip_ranges_name_key)
self._merge_route53_and_route53domains()
self._match_instances_and_roles()
self._match_iam_policies_and_buckets()

super(AWSProvider, self).preprocessing()
Expand Down

0 comments on commit 1dda2d1

Please sign in to comment.