Public API and compatibility¶
Kept stable across 0.6.x (breaking them needs a minor version bump and a changelog entry):
cloudg.inventoryexports and their constructor signatures:AWSDeepInventoryCollector(session, region="us-east-1", account_id=None, tagging_sweep=True, **options),AzureDeepInventoryCollector(credential, subscription_id, graph_client_factory=None, use_resource_graph=True),GCPDeepInventoryCollector(project_id, credentials=None, **options),InventoryMapper(config, tagging_sweep=None),RelationshipLinker(assets, materialize_external=True),DependencyGraph(assets, edges, include_hierarchy=False),discover_organization(session, control_tower=True, home_region=None).InventoryResultfields, methods and the exported file formats (reference).- Module paths that were split keep re-exporting the old names (for example
cloudg.inventory.mapperre-exportsInventoryResult,cloudg.inventory.linkerre-exportsIdentifierIndex,cloudg.inventory.aws_deepre-exports the task catalog), declared in each module's__all__. - Options are validated: unknown keyword options raise
TypeErrorrather than being ignored.
Internal (may change without notice): anything prefixed with _, the per-package module
layout under aws_services/, azure_graph/ and gcp_relations/, and the exact metadata keys of
each asset type.