Open achantavy opened 4 years ago
Can confirm we are experiencing the same issue
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
Is this issue still active?
Possible root-cause in cartography/data/jobs/analysis/aws_ec2_asset_exposure.json
$ git grep "exposed_internet_type" | grep "elbv2"
cartography/data/jobs/analysis/aws_ec2_asset_exposure.json: "query": "MATCH (elbv2:LoadBalancerV2{exposed_internet: true})-[:EXPOSE]->(e:EC2Instance)\nWITH e\nWHERE (e.exposed_internet_type IS NULL) OR (NOT 'elbv2' IN e.exposed_internet_type)\nSET e.exposed_internet = true, e.exposed_internet_type = coalesce(e.exposed_internet_type, []) + 'elbv2'",
Description:
The internet exposure analysis job should not be adding items to the
exposed_internet_type
list indefinitely. This should behave like a set, or if anything should be a single string value as it doesn't make sense to have multiple values here.To Reproduce:
Have an EC2 instance that is internet-exposed via an elastic load balancer for at least 2 syncs. The
exposed_internet_type
field on it will get longer.Please complete the following information::
f77f18706cdcebafda7c082a1734b29ca808e9a3