Skip to content

Commit

Permalink
Enable access edges collection (#2238)
Browse files Browse the repository at this point in the history
  • Loading branch information
meln1k authored Oct 14, 2024
1 parent 42c7c44 commit d3c8833
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion plugins/aws/fix_plugin_aws/collector.py
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ def get_last_run() -> Optional[datetime]:
log.warning(f"Unexpected node type {node} in graph")
raise Exception("Only AWS resources expected")

access_edge_collection_enabled = False
access_edge_collection_enabled = True
if access_edge_collection_enabled and global_builder.config.collect_access_edges:
# add access edges
log.info(f"[Aws:{self.account.id}] Create access edges.")
Expand Down
2 changes: 1 addition & 1 deletion plugins/aws/test/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

@fixture
def aws_config() -> AwsConfig:
config = AwsConfig(discard_account_on_resource_error=True)
config = AwsConfig(discard_account_on_resource_error=True, collect_access_edges=False)
config.sessions().session_class_factory = BotoFileBasedSession
return config

Expand Down

0 comments on commit d3c8833

Please sign in to comment.