lyft / cartography

Cartography is a Python tool that consolidates infrastructure assets and the relationships between them in an intuitive graph view powered by a Neo4j database.

Home Page:https://lyft.github.io/cartography/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Issue: AWS Scan failing - KeyError: 'OutpostArn'

shaunwebb-db opened this issue · comments

Title: AWS scan failing on latest version - KeyError: 'OutpostArn'

Description:

Cartography AWS scan crashes and hits the following error KeyError: 'OutpostArn' . This results in only partial EC2 data as the scans are interrupted.
https://github.com/lyft/cartography/blob/master/cartography/intel/aws/ec2/volumes.py#L44

To Reproduce:

Any AWS scan is failing. Unable to provide details of our environment. This may occur for any EC2 scans with or without outposts

Logs:

Unable to send full logs but can provide a snippet seen below

Screenshots:

If applicable, add screenshots to help explain your problem.

image

Please complete the following information::

  • Cartography release version 0.83.0 - scan works as expected on older version (0.79.2)
  • Python version: 3.11.3

Fixed in 0.84.0