Skip to content

Where each structure comes from

Section 2 · From docs/INVENTORY_REFERENCE.md on GitHub

You call / run You get Section
InventoryMapper(config).map_inventory() / map_inventory_sync() InventoryResult 8
CloudGEngine.map_inventory(output_dir=None, findings=None, tagging_sweep=None) InventoryResult (and files when output_dir is set) 8
InventoryResult.summary dict 9
InventoryResult.analysis(top=25) dict 13
InventoryResult.dependency_graph(include_hierarchy=False) DependencyGraph 12
InventoryResult.export(output_dir) dict[str, Path] and the files below 8.3
InventoryResult.load(path) InventoryResult 8.4
InventoryMapper.build_asset_map(result, findings) dict (= asset-map.json) 19
InventoryMapper.build_compliance_map(result, findings) dict (= compliance-map.json) 19
InventoryMapper.export_merged(result, findings, dir) dict[str, Path] 19
discover_organization(session, control_tower=True, home_region=None) OrganizationTopology 17
RelationshipLinker(assets).link(include_generic=True) list[NetworkEdge] (+ external_assets, unresolved) 21.1
AWSDeepInventoryCollector(...).run() tuple[list[CloudAsset], list[NetworkEdge]] 21.2
cloudg map the files in sections 14 to 19
cloudg deps <asset> --json / cloudg deps --json a tree / an overview 20