Skip to content
This repository has been archived by the owner on Dec 4, 2018. It is now read-only.

Commit

Permalink
Reset the attack surface before each analysis
Browse files Browse the repository at this point in the history
  • Loading branch information
l01cd3v committed Oct 3, 2017
1 parent 99e8f0b commit 3c8c8e9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions AWSScout2/rules/preprocessing.py
Expand Up @@ -121,6 +121,7 @@ def process_network_acls_check_for_aws_default(network_acl, direction):


def list_ec2_network_attack_surface(ec2_config):
ec2_config['attack_surface'] = {}
go_to_and_do(ec2_config, None, ['regions', 'vpcs', 'instances', 'network_interfaces', 'PrivateIpAddresses'], [], list_ec2_network_attack_surface_callback, {})


Expand Down

0 comments on commit 3c8c8e9

Please sign in to comment.