Skip to content

Bug: Security group to VPC relationship missing #131

@varunjain99

Description

@varunjain99

security group intel module runs before vpc

so https://github.com/Zeus-Labs/cartography/blob/master/cartography/intel/aws/ec2/security_groups.py#L119

this line here does not end up creating the relationship.

Impact is the asset inventory on UI won't show the VPC the security group is associated with.

Fix is to not just match the vpc node but to create it if it's not already in the neo4j database

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions