cloudg 0.6.1__tar.gz → 0.7.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- cloudg-0.7.0/PKG-INFO +197 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/README.md +22 -0
- cloudg-0.7.0/cloudg/__init__.py +50 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/api_scanners.py +3 -14
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/cli_inventory.py +3 -2
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/collectors/gcp.py +3 -4
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/collectors/multi.py +8 -2
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/config.py +70 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/credentials.py +18 -19
- cloudg-0.7.0/cloudg/exceptions.py +212 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/ingest.py +2 -1
- cloudg-0.7.0/cloudg/inventory/azure_deep.py +450 -0
- cloudg-0.7.0/cloudg/inventory/azure_entra.py +721 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/inventory/azure_graph/__init__.py +10 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/inventory/azure_graph/builder.py +172 -17
- cloudg-0.7.0/cloudg/inventory/azure_graph/children.py +662 -0
- cloudg-0.7.0/cloudg/inventory/azure_graph/data_ml.py +1125 -0
- cloudg-0.7.0/cloudg/inventory/azure_graph/dataplane.py +131 -0
- cloudg-0.7.0/cloudg/inventory/azure_graph/families.py +338 -0
- cloudg-0.7.0/cloudg/inventory/azure_graph/governance.py +731 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/inventory/azure_graph/helpers.py +16 -0
- cloudg-0.7.0/cloudg/inventory/azure_graph/hybrid.py +866 -0
- cloudg-0.7.0/cloudg/inventory/azure_graph/integration.py +928 -0
- cloudg-0.7.0/cloudg/inventory/azure_graph/ops.py +1007 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/inventory/azure_graph/query.py +150 -1
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/inventory/azure_graph/registry.py +27 -0
- cloudg-0.7.0/cloudg/inventory/azure_graph/rest.py +254 -0
- cloudg-0.7.0/cloudg/inventory/azure_graph/security.py +534 -0
- cloudg-0.7.0/cloudg/inventory/azure_graph/tables.py +196 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/inventory/azure_hierarchy.py +71 -0
- cloudg-0.7.0/cloudg/inventory/azure_kubernetes.py +102 -0
- cloudg-0.7.0/cloudg/inventory/catalogs/azure_arm_types.yaml +303 -0
- cloudg-0.7.0/cloudg/inventory/catalogs/gcp_asset_types.yaml +526 -0
- cloudg-0.7.0/cloudg/inventory/gcp_deep.py +266 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/inventory/gcp_hierarchy.py +50 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/inventory/gcp_relations/__init__.py +18 -0
- cloudg-0.7.0/cloudg/inventory/gcp_relations/_refs.py +156 -0
- cloudg-0.7.0/cloudg/inventory/gcp_relations/apis.py +247 -0
- cloudg-0.7.0/cloudg/inventory/gcp_relations/cicd.py +137 -0
- cloudg-0.7.0/cloudg/inventory/gcp_relations/containers_ext.py +291 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/inventory/gcp_relations/context.py +16 -6
- cloudg-0.7.0/cloudg/inventory/gcp_relations/data_ext.py +779 -0
- cloudg-0.7.0/cloudg/inventory/gcp_relations/edge.py +292 -0
- cloudg-0.7.0/cloudg/inventory/gcp_relations/governance.py +246 -0
- cloudg-0.7.0/cloudg/inventory/gcp_relations/hybrid.py +333 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/inventory/gcp_relations/iam.py +42 -0
- cloudg-0.7.0/cloudg/inventory/gcp_relations/identity_ext.py +359 -0
- cloudg-0.7.0/cloudg/inventory/gcp_relations/integration.py +368 -0
- cloudg-0.7.0/cloudg/inventory/gcp_relations/ml.py +363 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/inventory/gcp_relations/names.py +4 -0
- cloudg-0.7.0/cloudg/inventory/gcp_relations/netsec.py +344 -0
- cloudg-0.7.0/cloudg/inventory/gcp_relations/ops.py +412 -0
- cloudg-0.7.0/cloudg/inventory/gcp_relations/security_ext.py +356 -0
- cloudg-0.7.0/cloudg/inventory/gcp_sources/__init__.py +63 -0
- cloudg-0.7.0/cloudg/inventory/gcp_sources/base.py +434 -0
- cloudg-0.7.0/cloudg/inventory/gcp_sources/derived.py +421 -0
- cloudg-0.7.0/cloudg/inventory/gcp_sources/identity.py +213 -0
- cloudg-0.7.0/cloudg/inventory/gcp_sources/ops.py +219 -0
- cloudg-0.7.0/cloudg/inventory/gcp_sources/platform.py +225 -0
- cloudg-0.7.0/cloudg/inventory/gcp_sources/rest.py +244 -0
- cloudg-0.7.0/cloudg/inventory/gcp_sources/security.py +382 -0
- cloudg-0.7.0/cloudg/inventory/gcp_tasks.py +96 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/inventory/kubernetes.py +51 -12
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/inventory/linker_index.py +1 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/inventory/mapper.py +88 -2
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/inventory/organization.py +1 -7
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/renderers/html_report.py +89 -5
- cloudg-0.7.0/cloudg/renderers/iso_scene.py +808 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/resilience/errors.py +3 -1
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/resilience/guard.py +3 -1
- cloudg-0.7.0/cloudg/scanners/_errors.py +87 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/scanners/checkov.py +33 -17
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/scanners/iam_linter.py +16 -2
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/scanners/prowler.py +22 -12
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/scanners/scoutsuite.py +24 -13
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/scanners/trivy.py +38 -17
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/schema/models.py +11 -0
- cloudg-0.7.0/cloudg/templates/figures/empty-tray.js +138 -0
- cloudg-0.7.0/cloudg/templates/report.html.j2 +1758 -0
- cloudg-0.7.0/cloudg/templates/vendor/LICENSE-anatomy.txt +21 -0
- cloudg-0.7.0/cloudg/templates/vendor/LICENSE-hairline.txt +21 -0
- cloudg-0.7.0/cloudg/templates/vendor/NOTICE +45 -0
- cloudg-0.7.0/cloudg/templates/vendor/hairline-kernel.js +714 -0
- cloudg-0.7.0/cloudg/templates/vendor/iso-kit.js +684 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/docs/DOCUMENTATION.md +2 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/docs/INVENTORY_CATALOG.md +958 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/docs/INVENTORY_INTERNALS.md +502 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/docs/INVENTORY_REFERENCE.md +115 -0
- cloudg-0.7.0/docs/PYPI.md +119 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/pyproject.toml +16 -3
- cloudg-0.7.0/tests/azure_fakes.py +122 -0
- cloudg-0.7.0/tests/gcp_fakes.py +85 -0
- cloudg-0.7.0/tests/test_azure_entra.py +364 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/tests/test_azure_inventory.py +5 -2
- cloudg-0.7.0/tests/test_azure_kubernetes.py +238 -0
- cloudg-0.7.0/tests/test_azure_parity_extractors.py +980 -0
- cloudg-0.7.0/tests/test_azure_parity_graph.py +828 -0
- cloudg-0.7.0/tests/test_azure_parity_rest.py +1821 -0
- cloudg-0.7.0/tests/test_azure_rest.py +107 -0
- cloudg-0.7.0/tests/test_exceptions.py +168 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/tests/test_gcp_inventory.py +2 -1
- cloudg-0.7.0/tests/test_gcp_parity_extractors.py +2750 -0
- cloudg-0.7.0/tests/test_gcp_registry.py +48 -0
- cloudg-0.7.0/tests/test_gcp_sources.py +965 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/tests/test_html_report.py +4 -2
- cloudg-0.7.0/tests/test_iso_scene.py +320 -0
- cloudg-0.6.1/PKG-INFO +0 -1315
- cloudg-0.6.1/cloudg/__init__.py +0 -24
- cloudg-0.6.1/cloudg/inventory/azure_deep.py +0 -229
- cloudg-0.6.1/cloudg/inventory/catalogs/azure_arm_types.yaml +0 -133
- cloudg-0.6.1/cloudg/inventory/catalogs/gcp_asset_types.yaml +0 -157
- cloudg-0.6.1/cloudg/inventory/gcp_deep.py +0 -84
- cloudg-0.6.1/cloudg/templates/report.html.j2 +0 -875
- cloudg-0.6.1/cloudg/templates/vendor/NOTICE +0 -26
- {cloudg-0.6.1 → cloudg-0.7.0}/.gitignore +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/LICENSE +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/api.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/api_results.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/cli.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/cli_commands.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/cli_helpers.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/cli_run_helpers.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/collectors/__init__.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/collectors/aws.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/collectors/aws_services.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/collectors/aws_services_extended.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/collectors/azure.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/collectors/base.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/collectors/gcp_assets.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/config_keys.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/config_ratelimit.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/coverage.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/graph/__init__.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/graph/builder.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/graph/ontology.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/graph/ontology_rules.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/graph/ports.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/graph/rag_export.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/graph/rag_text.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/graph/reachability.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/inventory/__init__.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/inventory/_util.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/inventory/aws_deep.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/inventory/aws_deep_tasks.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/inventory/aws_services/__init__.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/inventory/aws_services/_base.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/inventory/aws_services/_policy_grants.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/inventory/aws_services/application/__init__.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/inventory/aws_services/application/_common.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/inventory/aws_services/application/alarms.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/inventory/aws_services/application/backup.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/inventory/aws_services/application/batch.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/inventory/aws_services/application/build_deploy.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/inventory/aws_services/application/cicd.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/inventory/aws_services/application/compute.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/inventory/aws_services/application/containers_ext.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/inventory/aws_services/application/firehose.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/inventory/aws_services/application/integration.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/inventory/aws_services/application/logs.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/inventory/aws_services/application/operations.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/inventory/aws_services/application/serverless_ext.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/inventory/aws_services/cloudcontrol.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/inventory/aws_services/containers/__init__.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/inventory/aws_services/containers/ecr.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/inventory/aws_services/containers/ecs.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/inventory/aws_services/containers/eks.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/inventory/aws_services/data_ml/__init__.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/inventory/aws_services/data_ml/_common.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/inventory/aws_services/data_ml/analytics.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/inventory/aws_services/data_ml/bedrock.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/inventory/aws_services/data_ml/databases.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/inventory/aws_services/data_ml/glue.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/inventory/aws_services/data_ml/glue_etl.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/inventory/aws_services/data_ml/lakeformation.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/inventory/aws_services/data_ml/messaging.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/inventory/aws_services/data_ml/registry.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/inventory/aws_services/data_ml/sagemaker.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/inventory/aws_services/data_ml/serverless_data.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/inventory/aws_services/data_ml/transfer.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/inventory/aws_services/governance/__init__.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/inventory/aws_services/governance/_common.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/inventory/aws_services/governance/cognito.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/inventory/aws_services/governance/data_protection.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/inventory/aws_services/governance/iam_extras.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/inventory/aws_services/governance/identity_center.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/inventory/aws_services/governance/ram.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/inventory/aws_services/governance/s3_access_points.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/inventory/aws_services/governance/service_catalog.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/inventory/aws_services/governance/sharing.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/inventory/aws_services/governance/stack_sets.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/inventory/aws_services/identity.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/inventory/aws_services/network_ext/__init__.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/inventory/aws_services/network_ext/_common.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/inventory/aws_services/network_ext/apigateway.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/inventory/aws_services/network_ext/cloudfront.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/inventory/aws_services/network_ext/direct_connect.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/inventory/aws_services/network_ext/elb_rules.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/inventory/aws_services/network_ext/global_accelerator.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/inventory/aws_services/network_ext/lattice.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/inventory/aws_services/network_ext/network_manager.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/inventory/aws_services/network_ext/privatelink.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/inventory/aws_services/network_ext/resolver.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/inventory/aws_services/network_ext/tgw.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/inventory/aws_services/network_ext/vpn.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/inventory/aws_services/platform/__init__.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/inventory/aws_services/platform/compute_fabric.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/inventory/aws_services/platform/data.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/inventory/aws_services/platform/dns_iac_ops.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/inventory/aws_services/platform/load_balancing.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/inventory/aws_services/platform/storage.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/inventory/aws_services/security/__init__.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/inventory/aws_services/security/_common.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/inventory/aws_services/security/detection.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/inventory/aws_services/security/network_protection.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/inventory/aws_services/security/posture.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/inventory/aws_services/serverless/__init__.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/inventory/aws_services/serverless/apigateway.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/inventory/aws_services/serverless/functions.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/inventory/aws_services/serverless/messaging.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/inventory/azure_graph/arm_types.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/inventory/azure_graph/compute.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/inventory/azure_graph/data_security.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/inventory/azure_graph/edge.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/inventory/azure_graph/network.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/inventory/azure_graph/web_containers.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/inventory/catalogs/__init__.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/inventory/catalogs/aws_arn_types.yaml +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/inventory/catalogs/aws_cloudcontrol.yaml +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/inventory/dependencies.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/inventory/gcp_relations/compute.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/inventory/gcp_relations/data_logging.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/inventory/gcp_relations/gke.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/inventory/gcp_relations/load_balancing.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/inventory/gcp_relations/messaging.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/inventory/gcp_relations/network.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/inventory/gcp_relations/pipelines.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/inventory/gcp_relations/resource_manager.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/inventory/gcp_relations/serverless.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/inventory/linker.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/inventory/linker_rules.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/inventory/mapper_result.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/inventory/organization_assets.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/mcp/__init__.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/mcp/__main__.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/mcp/adapters/__init__.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/mcp/adapters/_common.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/mcp/adapters/export.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/mcp/adapters/fastmcp.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/mcp/adapters/lowlevel.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/mcp/adapters/mcp_sdk.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/mcp/catalog/__init__.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/mcp/catalog/_common.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/mcp/catalog/_compliance.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/mcp/catalog/_findings.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/mcp/catalog/_graph.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/mcp/catalog/_graph_impact.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/mcp/catalog/_inventory.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/mcp/catalog/_live.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/mcp/catalog/_resources.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/mcp/catalog/_sparql.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/mcp/catalog/compliance.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/mcp/catalog/export.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/mcp/catalog/findings.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/mcp/catalog/graph.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/mcp/catalog/inventory.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/mcp/catalog/live.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/mcp/catalog/meta.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/mcp/catalog/ontology.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/mcp/catalog/privacy.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/mcp/catalog/prompts.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/mcp/catalog/resources.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/mcp/catalog/workspace.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/mcp/cli.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/mcp/cli_common.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/mcp/cli_config.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/mcp/content.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/mcp/context.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/mcp/core.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/mcp/layer.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/mcp/layer_options.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/mcp/layer_output.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/mcp/middleware.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/mcp/native/__init__.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/mcp/native/_http_io.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/mcp/native/_http_sessions.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/mcp/native/_methods.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/mcp/native/_shared.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/mcp/native/auth.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/mcp/native/http.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/mcp/native/jsonrpc.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/mcp/native/protocol.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/mcp/native/stdio.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/mcp/policies/airgapped.yaml +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/mcp/policies/audit.yaml +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/mcp/policies/open.yaml +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/mcp/policies/read_only.yaml +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/mcp/policies/soc-analyst.yaml +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/mcp/policies/standard.yaml +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/mcp/policies/strict.yaml +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/mcp/policy/__init__.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/mcp/policy/access.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/mcp/policy/audit.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/mcp/policy/config.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/mcp/policy/describe.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/mcp/policy/engine.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/mcp/policy/pipelines.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/mcp/policy/ratelimit.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/mcp/policy/vaults.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/mcp/schema.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/mcp/server.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/mcp/state/__init__.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/mcp/state/base.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/mcp/state/dataset.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/mcp/state/diff.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/mcp/state/loading.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/mcp/state/workspace.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/mcp/transforms/__init__.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/mcp/transforms/annotation.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/mcp/transforms/base.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/mcp/transforms/builtin_detectors.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/mcp/transforms/builtin_rules.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/mcp/transforms/detectors.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/mcp/transforms/entities.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/mcp/transforms/projection.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/mcp/transforms/redaction.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/mcp/transforms/redaction_run.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/mcp/transforms/strategies.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/mcp/transforms/substitution.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/mcp/transforms/textscan.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/mcp/transforms/vault.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/mcp/transforms/vault_formats.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/normaliser.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/policies/custodian-aws-security.yml +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/policies/custodian-azure.yml +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/policies/custodian-gcp.yml +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/policies/custodian.yml +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/region_discovery.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/registry.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/renderers/__init__.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/renderers/json_export.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/renderers/svg.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/renderers/svg_layout.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/renderers/terraform_export.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/resilience/__init__.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/resilience/aws.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/resilience/azure.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/resilience/breaker.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/resilience/gcp.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/resilience/governor.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/resilience/limiter.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/resilience/retry.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/resilience/stats.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/retry.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/rules/check_equivalence.yaml +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/rules/cis_aws_v3.yaml +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/rules/cis_azure_v2.yaml +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/rules/cis_gcp_v3.yaml +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/rules/frameworks/aws_foundational_security_best_practices_aws.yaml +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/rules/frameworks/cis_5.0_aws.yaml +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/rules/frameworks/cis_5.0_azure.yaml +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/rules/frameworks/cis_5.0_gcp.yaml +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/rules/frameworks/gdpr_aws.yaml +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/rules/frameworks/hipaa_aws.yaml +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/rules/frameworks/hipaa_azure.yaml +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/rules/frameworks/hipaa_gcp.yaml +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/rules/frameworks/iso27001_2022_aws.yaml +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/rules/frameworks/iso27001_2022_azure.yaml +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/rules/frameworks/iso27001_2022_gcp.yaml +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/rules/frameworks/mitre_attack_aws.yaml +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/rules/frameworks/mitre_attack_azure.yaml +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/rules/frameworks/mitre_attack_gcp.yaml +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/rules/frameworks/nist_800_53_revision_5_aws.yaml +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/rules/frameworks/nist_csf_2.0_aws.yaml +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/rules/frameworks/pci_4.0_aws.yaml +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/rules/frameworks/pci_4.0_azure.yaml +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/rules/frameworks/pci_4.0_gcp.yaml +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/rules/frameworks/soc2_aws.yaml +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/rules/frameworks/soc2_azure.yaml +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/rules/frameworks/soc2_gcp.yaml +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/rules/gdpr.yaml +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/rules/hipaa_security_rule.yaml +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/rules/iso_27001_2022.yaml +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/rules/nist_800_53.yaml +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/rules/pci_dss_v4.yaml +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/rules/soc2_tsc.yaml +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/scanners/__init__.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/scanners/prowler_ocsf.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/schema/__init__.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/templates/vendor/LICENSE-chartjs.md +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/templates/vendor/LICENSE-d3.txt +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/templates/vendor/chart.umd.js +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/templates/vendor/d3.min.js +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/cloudg/ui.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/docs/MCP.md +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/docs/MCP_INTERNALS.md +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/docs/MCP_PRIVACY.md +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/docs/MCP_TOOLS.md +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/docs/RESILIENCE.md +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/tests/__init__.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/tests/conftest.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/tests/mcp/__init__.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/tests/mcp/_adapter_testkit.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/tests/mcp/conftest.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/tests/mcp/fake_secrets.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/tests/mcp/fixtures/__init__.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/tests/mcp/fixtures/sample_estate.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/tests/mcp/test_adapters_args_model.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/tests/mcp/test_adapters_export.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/tests/mcp/test_adapters_fastmcp.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/tests/mcp/test_adapters_sdk.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/tests/mcp/test_adapters_serve.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/tests/mcp/test_catalog_audit_fixes.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/tests/mcp/test_catalog_compliance.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/tests/mcp/test_catalog_export_live_meta.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/tests/mcp/test_catalog_findings.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/tests/mcp/test_catalog_graph.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/tests/mcp/test_catalog_inventory.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/tests/mcp/test_catalog_ontology.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/tests/mcp/test_catalog_prompts.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/tests/mcp/test_catalog_registry.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/tests/mcp/test_catalog_regressions.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/tests/mcp/test_catalog_resources.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/tests/mcp/test_catalog_workspace.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/tests/mcp/test_cli_mcp.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/tests/mcp/test_middleware.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/tests/mcp/test_native_auth.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/tests/mcp/test_native_http.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/tests/mcp/test_native_privacy.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/tests/mcp/test_native_protocol.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/tests/mcp/test_native_stdio.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/tests/mcp/test_policy.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/tests/mcp/test_policy_regressions.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/tests/mcp/test_privacy_tools.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/tests/mcp/test_state.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/tests/mcp/test_transforms.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/tests/test_api.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/tests/test_aws_application.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/tests/test_aws_data_ml.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/tests/test_aws_governance.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/tests/test_aws_network_ext.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/tests/test_catalogs_cloudcontrol.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/tests/test_cli_commands.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/tests/test_collection_failed.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/tests/test_collectors.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/tests/test_config_keys.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/tests/test_graph_builder.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/tests/test_ingest.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/tests/test_inventory.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/tests/test_inventory_deep.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/tests/test_inventory_fixes.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/tests/test_normaliser.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/tests/test_normaliser_compliance.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/tests/test_ontology.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/tests/test_ontology_fixes.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/tests/test_ports.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/tests/test_rag_export.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/tests/test_reachability.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/tests/test_region_discovery.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/tests/test_resilience.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/tests/test_scanner_orchestration.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/tests/test_scanner_wiring.py +0 -0
- {cloudg-0.6.1 → cloudg-0.7.0}/tests/test_terraform_export.py +0 -0
cloudg-0.7.0/PKG-INFO
ADDED
|
@@ -0,0 +1,197 @@
|
|
|
1
|
+
Metadata-Version: 2.5
|
|
2
|
+
Name: cloudg
|
|
3
|
+
Version: 0.7.0
|
|
4
|
+
Summary: cloudg (cloud graphing) - multi-cloud infrastructure mapping, knowledge graphs and security intelligence for AWS, Azure and GCP
|
|
5
|
+
Project-URL: Homepage, https://github.com/morpheuslord/cloudg
|
|
6
|
+
Project-URL: Repository, https://github.com/morpheuslord/cloudg
|
|
7
|
+
Project-URL: Documentation, https://morpheuslord.github.io/cloudg/
|
|
8
|
+
Project-URL: Changelog, https://github.com/morpheuslord/cloudg/blob/main/CHANGELOG.md
|
|
9
|
+
Author-email: morpheuslord <chiranjeevi.naidu@proton.me>
|
|
10
|
+
License: MIT
|
|
11
|
+
License-File: LICENSE
|
|
12
|
+
Keywords: audit,aws,azure,cloud,gcp,graph,mcp,model-context-protocol,ontology,security,terraform
|
|
13
|
+
Classifier: Development Status :: 4 - Beta
|
|
14
|
+
Classifier: Environment :: Console
|
|
15
|
+
Classifier: Intended Audience :: Information Technology
|
|
16
|
+
Classifier: Intended Audience :: System Administrators
|
|
17
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
18
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
19
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
20
|
+
Classifier: Topic :: Security
|
|
21
|
+
Classifier: Topic :: System :: Systems Administration
|
|
22
|
+
Requires-Python: >=3.11
|
|
23
|
+
Requires-Dist: aiofiles>=23.0
|
|
24
|
+
Requires-Dist: click>=8.0
|
|
25
|
+
Requires-Dist: jinja2>=3.1
|
|
26
|
+
Requires-Dist: networkx>=3.1
|
|
27
|
+
Requires-Dist: parliament>=1.6
|
|
28
|
+
Requires-Dist: pydantic<3.0,>=2.0
|
|
29
|
+
Requires-Dist: python-louvain>=0.16
|
|
30
|
+
Requires-Dist: pyyaml>=6.0
|
|
31
|
+
Requires-Dist: rdflib>=7.0
|
|
32
|
+
Requires-Dist: rich>=13.0
|
|
33
|
+
Requires-Dist: svgwrite>=1.4
|
|
34
|
+
Provides-Extra: all
|
|
35
|
+
Requires-Dist: aioboto3>=12.0; extra == 'all'
|
|
36
|
+
Requires-Dist: azure-identity>=1.14; extra == 'all'
|
|
37
|
+
Requires-Dist: azure-mgmt-compute>=30.0; extra == 'all'
|
|
38
|
+
Requires-Dist: azure-mgmt-keyvault>=10.0; extra == 'all'
|
|
39
|
+
Requires-Dist: azure-mgmt-network>=25.0; extra == 'all'
|
|
40
|
+
Requires-Dist: azure-mgmt-resource>=23.0; extra == 'all'
|
|
41
|
+
Requires-Dist: azure-mgmt-resourcegraph>=8.0.0; extra == 'all'
|
|
42
|
+
Requires-Dist: azure-mgmt-sql>=3.0; extra == 'all'
|
|
43
|
+
Requires-Dist: azure-mgmt-storage>=21.0; extra == 'all'
|
|
44
|
+
Requires-Dist: boto3>=1.28; extra == 'all'
|
|
45
|
+
Requires-Dist: google-auth>=2.22; extra == 'all'
|
|
46
|
+
Requires-Dist: google-cloud-asset>=3.0; extra == 'all'
|
|
47
|
+
Requires-Dist: mcp<3,>=1.30; extra == 'all'
|
|
48
|
+
Provides-Extra: aws
|
|
49
|
+
Requires-Dist: aioboto3>=12.0; extra == 'aws'
|
|
50
|
+
Requires-Dist: boto3>=1.28; extra == 'aws'
|
|
51
|
+
Provides-Extra: azure
|
|
52
|
+
Requires-Dist: azure-identity>=1.14; extra == 'azure'
|
|
53
|
+
Requires-Dist: azure-mgmt-compute>=30.0; extra == 'azure'
|
|
54
|
+
Requires-Dist: azure-mgmt-keyvault>=10.0; extra == 'azure'
|
|
55
|
+
Requires-Dist: azure-mgmt-network>=25.0; extra == 'azure'
|
|
56
|
+
Requires-Dist: azure-mgmt-resource>=23.0; extra == 'azure'
|
|
57
|
+
Requires-Dist: azure-mgmt-resourcegraph>=8.0.0; extra == 'azure'
|
|
58
|
+
Requires-Dist: azure-mgmt-sql>=3.0; extra == 'azure'
|
|
59
|
+
Requires-Dist: azure-mgmt-storage>=21.0; extra == 'azure'
|
|
60
|
+
Provides-Extra: dev
|
|
61
|
+
Requires-Dist: aioboto3>=12.0; extra == 'dev'
|
|
62
|
+
Requires-Dist: boto3>=1.28; extra == 'dev'
|
|
63
|
+
Requires-Dist: mcp<3,>=1.30; extra == 'dev'
|
|
64
|
+
Requires-Dist: moto[all]>=5.0; extra == 'dev'
|
|
65
|
+
Requires-Dist: pytest-asyncio>=0.21; extra == 'dev'
|
|
66
|
+
Requires-Dist: pytest>=7.0; extra == 'dev'
|
|
67
|
+
Requires-Dist: ruff>=0.1; extra == 'dev'
|
|
68
|
+
Provides-Extra: full
|
|
69
|
+
Requires-Dist: diagrams>=0.23; extra == 'full'
|
|
70
|
+
Requires-Dist: policy-sentry>=0.12; extra == 'full'
|
|
71
|
+
Requires-Dist: weasyprint>=60.0; extra == 'full'
|
|
72
|
+
Provides-Extra: gcp
|
|
73
|
+
Requires-Dist: google-auth>=2.22; extra == 'gcp'
|
|
74
|
+
Requires-Dist: google-cloud-asset>=3.0; extra == 'gcp'
|
|
75
|
+
Provides-Extra: mcp
|
|
76
|
+
Requires-Dist: mcp<3,>=1.30; extra == 'mcp'
|
|
77
|
+
Description-Content-Type: text/markdown
|
|
78
|
+
|
|
79
|
+
<p align="center">
|
|
80
|
+
<img src="https://raw.githubusercontent.com/morpheuslord/cloudg/main/assets/cloudg_animated_logo.gif" width="480" alt="cloudg logo">
|
|
81
|
+
</p>
|
|
82
|
+
|
|
83
|
+
<h1 align="center">cloudg</h1>
|
|
84
|
+
|
|
85
|
+
<p align="center"><strong>Map the cloud. Scan it. Merge everything.</strong></p>
|
|
86
|
+
|
|
87
|
+
<p align="center">
|
|
88
|
+
<a href="https://pypi.org/project/cloudg/"><img src="https://img.shields.io/pypi/v/cloudg" alt="PyPI version"></a>
|
|
89
|
+
<a href="https://pypi.org/project/cloudg/"><img src="https://img.shields.io/pypi/pyversions/cloudg" alt="Python versions"></a>
|
|
90
|
+
<a href="https://github.com/morpheuslord/cloudg/actions/workflows/cloudg.yml"><img src="https://github.com/morpheuslord/cloudg/actions/workflows/cloudg.yml/badge.svg" alt="CI"></a>
|
|
91
|
+
<a href="https://morpheuslord.github.io/cloudg/"><img src="https://img.shields.io/badge/docs-GitHub%20Pages-06b6d4" alt="Documentation"></a>
|
|
92
|
+
<a href="https://github.com/morpheuslord/cloudg/blob/main/LICENSE"><img src="https://img.shields.io/pypi/l/cloudg" alt="License: MIT"></a>
|
|
93
|
+
</p>
|
|
94
|
+
|
|
95
|
+
<p align="center"><a href="https://morpheuslord.github.io/cloudg/"><strong>Read the documentation</strong></a> · <a href="https://morpheuslord.github.io/cloudg/sample-report.html">Open the sample report</a></p>
|
|
96
|
+
|
|
97
|
+
cloudg (cloud graphing) maps AWS, Azure and GCP infrastructure into a graph, runs security scanners over that inventory, and merges every finding into one deduplicated, compliance-mapped result set. It can also skip the scanning entirely and aggregate outputs you already have.
|
|
98
|
+
|
|
99
|
+
- **Map.** `cloudg map` collects everything deployed (or default) in an account, down to the network fabric, sweeps every service for the rest, and links it all into typed relationships: S3 `INVOKES` Lambda, function `ASSUMES_ROLE` role, WAF `PROTECTS` ALB. No scanner runs and none has to be installed.
|
|
100
|
+
- **Scan.** `cloudg run` fans out to Prowler, ScoutSuite, Checkov and Trivy against the same accounts, then normalises, deduplicates and maps every finding against 28 compliance frameworks.
|
|
101
|
+
- **Merge.** `cloudg ingest` does the same for scanner output produced elsewhere, with no cloud credentials and no scanner binaries.
|
|
102
|
+
- **Use it.** The results leave as an interactive HTML report, JSON, GraphML, an RDF ontology, RAG chunks for LLM pipelines and Terraform files, and `cloudg mcp serve` turns all of it into an MCP server for AI assistants.
|
|
103
|
+
|
|
104
|
+
## Install
|
|
105
|
+
|
|
106
|
+
```bash
|
|
107
|
+
pip install cloudg # core: graph, ontology, normaliser, reports, cloudg ingest
|
|
108
|
+
pip install "cloudg[aws]" # plus the AWS SDK
|
|
109
|
+
pip install "cloudg[all]" # every provider SDK and the MCP SDK
|
|
110
|
+
```
|
|
111
|
+
|
|
112
|
+
| Extra | Adds |
|
|
113
|
+
|---|---|
|
|
114
|
+
| `cloudg[aws]` | boto3 and aioboto3, for collecting from AWS |
|
|
115
|
+
| `cloudg[azure]` | The Azure identity and management SDKs, including Resource Graph |
|
|
116
|
+
| `cloudg[gcp]` | google-cloud-asset and google-auth, for Cloud Asset Inventory |
|
|
117
|
+
| `cloudg[mcp]` | The official MCP SDK (`mcp>=1.30,<3`), for the SDK adapters and HTTP transports |
|
|
118
|
+
| `cloudg[all]` | Everything above |
|
|
119
|
+
|
|
120
|
+
Python 3.11 or newer. The scanners are separate programs, not Python dependencies: install whichever of Prowler, ScoutSuite, Checkov and Trivy you want, and cloudg skips the rest with a warning. The Docker image `ghcr.io/morpheuslord/cloudg` bundles Prowler, Checkov and Trivy. The [installation guide](https://morpheuslord.github.io/cloudg/guides/installation/) has the details.
|
|
121
|
+
|
|
122
|
+
## Quick start
|
|
123
|
+
|
|
124
|
+
From the command line:
|
|
125
|
+
|
|
126
|
+
```bash
|
|
127
|
+
# map one AWS account in every enabled region; no scanners involved
|
|
128
|
+
cloudg map -p aws --regions all
|
|
129
|
+
|
|
130
|
+
# collect, scan and report in one go
|
|
131
|
+
cloudg run -p aws --regions us-east-1
|
|
132
|
+
|
|
133
|
+
# already ran the scanners? merge their output, no credentials needed
|
|
134
|
+
cloudg ingest --prowler ./prowler-output/ --checkov ./results_json.json --trivy ./trivy.json
|
|
135
|
+
```
|
|
136
|
+
|
|
137
|
+
Reports land in `./reports`. Open `report.html` first, or look at the [sample report](https://morpheuslord.github.io/cloudg/sample-report.html) to see what one looks like.
|
|
138
|
+
|
|
139
|
+
From Python, the CLI is a thin layer over `CloudGEngine`:
|
|
140
|
+
|
|
141
|
+
```python
|
|
142
|
+
from cloudg import CloudGConfig, CloudGEngine
|
|
143
|
+
|
|
144
|
+
engine = CloudGEngine(CloudGConfig())
|
|
145
|
+
result = engine.run_from_reports_sync(
|
|
146
|
+
{"prowler": ["./prowler-output/"], "trivy": ["./trivy.json"]},
|
|
147
|
+
output_dir="./reports",
|
|
148
|
+
)
|
|
149
|
+
print(result.total_findings, result.severity_breakdown)
|
|
150
|
+
print(result.report_paths) # findings.json and report.html
|
|
151
|
+
```
|
|
152
|
+
|
|
153
|
+
```python
|
|
154
|
+
from cloudg import CloudGConfig, CloudGEngine
|
|
155
|
+
|
|
156
|
+
config = CloudGConfig(providers=["aws"])
|
|
157
|
+
config.aws.regions = ["ALL"]
|
|
158
|
+
inventory = CloudGEngine(config).map_inventory_sync(output_dir="./reports")
|
|
159
|
+
print(inventory.summary["total_assets"], "assets,", inventory.summary["total_edges"], "edges")
|
|
160
|
+
```
|
|
161
|
+
|
|
162
|
+
## Documentation
|
|
163
|
+
|
|
164
|
+
The documentation site is at [morpheuslord.github.io/cloudg](https://morpheuslord.github.io/cloudg/):
|
|
165
|
+
|
|
166
|
+
- [Quickstart](https://morpheuslord.github.io/cloudg/guides/quickstart/) and the [guides](https://morpheuslord.github.io/cloudg/guides/introduction/): authentication, inventory mapping, AWS Organizations, scanners, compliance, reports, Docker and CI.
|
|
167
|
+
- [CLI reference](https://morpheuslord.github.io/cloudg/cli/): every command and flag, generated from the code.
|
|
168
|
+
- [Python API](https://morpheuslord.github.io/cloudg/api/): `CloudGEngine`, the inventory, graph and findings classes, and the [exceptions](https://morpheuslord.github.io/cloudg/api/exceptions/).
|
|
169
|
+
- [Examples](https://morpheuslord.github.io/cloudg/examples/): complete scripts with their output.
|
|
170
|
+
- [MCP server](https://morpheuslord.github.io/cloudg/mcp/): connecting Claude Desktop, Claude Code, Cursor or VS Code.
|
|
171
|
+
- [config.yaml reference](https://morpheuslord.github.io/cloudg/reference/config/providers/) and the [changelog](https://morpheuslord.github.io/cloudg/changelog/).
|
|
172
|
+
|
|
173
|
+
The same reference material is kept as Markdown in the repository: the [feature reference](https://github.com/morpheuslord/cloudg/blob/main/docs/DOCUMENTATION.md), the [inventory reference](https://github.com/morpheuslord/cloudg/blob/main/docs/INVENTORY_REFERENCE.md), [catalog](https://github.com/morpheuslord/cloudg/blob/main/docs/INVENTORY_CATALOG.md) and [internals](https://github.com/morpheuslord/cloudg/blob/main/docs/INVENTORY_INTERNALS.md), the [MCP guide](https://github.com/morpheuslord/cloudg/blob/main/docs/MCP.md), [tool reference](https://github.com/morpheuslord/cloudg/blob/main/docs/MCP_TOOLS.md) and [privacy reference](https://github.com/morpheuslord/cloudg/blob/main/docs/MCP_PRIVACY.md), and [rate limits and throttling](https://github.com/morpheuslord/cloudg/blob/main/docs/RESILIENCE.md).
|
|
174
|
+
|
|
175
|
+
## Credits
|
|
176
|
+
|
|
177
|
+
cloudg builds on other people's work, and some of it ships inside the package.
|
|
178
|
+
|
|
179
|
+
[Prowler](https://github.com/prowler-cloud/prowler) (Apache-2.0). The 22 framework files in `cloudg/rules/frameworks/` are generated from Prowler's compliance JSON by `scripts/import_prowler_compliance.py`. That covers the control IDs, the control titles and descriptions, and the mapping from each control to Prowler check names. Every generated file says so in its header and in its `source` field. Prowler check names also appear in `cloudg/rules/check_equivalence.yaml`, and cloudg runs Prowler and parses its ASFF and OCSF output.
|
|
180
|
+
|
|
181
|
+
Scanners. [Checkov](https://github.com/bridgecrewio/checkov) (Apache-2.0), [Trivy](https://github.com/aquasecurity/trivy) (Apache-2.0) and [ScoutSuite](https://github.com/nccgroup/ScoutSuite) (GPL-2.0) are run as separate programs, and their reports are parsed. Their check IDs (`CKV_*`, `AVD-*`) are used in the check-equivalence map. None of their code is part of cloudg. The Docker image installs Prowler, Checkov and Trivy, so their own licenses apply to those copies.
|
|
182
|
+
|
|
183
|
+
[Cloud Custodian](https://github.com/cloud-custodian/cloud-custodian) (Apache-2.0). The policy packs in `cloudg/policies/` are written in Cloud Custodian's policy format and run with its `custodian` CLI.
|
|
184
|
+
|
|
185
|
+
[parliament](https://github.com/duo-labs/parliament) (BSD-3-Clause) from Duo Labs does the IAM policy linting.
|
|
186
|
+
|
|
187
|
+
Drawing engines. The estate map in report.html is drawn with the iso-kit from [Anatomy](https://github.com/wheresryan22/anatomy) (MIT, by Ryan), and its empty states use the kernel of [Hairline](https://hairline.lucasmarkes.com) 0.5.1 (MIT, by Lucas Marques). Both are copied into `cloudg/templates/vendor/` and embedded in every report, so the map works offline. The iso-kit is wrapped so it can sit inside a script element, and `cloudg/templates/vendor/NOTICE` lists exactly what changed.
|
|
188
|
+
|
|
189
|
+
[MITRE ATT&CK®](https://attack.mitre.org/). The `mitre_attack_*.yaml` files contain ATT&CK technique IDs and descriptions. © The MITRE Corporation. This work is reproduced and distributed with the permission of The MITRE Corporation. ATT&CK is a registered trademark of The MITRE Corporation.
|
|
190
|
+
|
|
191
|
+
Standards. The hand-written rulesets in `cloudg/rules/` reference public control numbering from the CIS Benchmarks for AWS, Azure and GCP, NIST SP 800-53, NIST CSF, PCI DSS, the AICPA SOC 2 Trust Services Criteria, the HIPAA Security Rule, GDPR, ISO/IEC 27001:2022 and the AWS Foundational Security Best Practices. The standards belong to their publishers. CIS Benchmarks is a trademark of the Center for Internet Security, and cloudg is not affiliated with or endorsed by CIS or any other publisher named here.
|
|
192
|
+
|
|
193
|
+
The Python libraries cloudg depends on (NetworkX, rdflib, pydantic, Click, Rich and the rest) are listed in [`pyproject.toml`](https://github.com/morpheuslord/cloudg/blob/main/pyproject.toml). The full list, with the JavaScript libraries the report embeds, is on the [credits page](https://morpheuslord.github.io/cloudg/credits/).
|
|
194
|
+
|
|
195
|
+
## License
|
|
196
|
+
|
|
197
|
+
MIT. See [LICENSE](https://github.com/morpheuslord/cloudg/blob/main/LICENSE).
|
|
@@ -24,6 +24,8 @@ Want an AI agent to work with all of it? `cloudg mcp serve` turns cloudg into an
|
|
|
24
24
|
|
|
25
25
|
**Full documentation:** the rendered handbook lives at [morpheuslord.github.io/cloudg](https://morpheuslord.github.io/cloudg/), with the same content as markdown in the [feature reference](https://github.com/morpheuslord/cloudg/blob/main/docs/DOCUMENTATION.md) and release notes in the [changelog](https://github.com/morpheuslord/cloudg/blob/main/CHANGELOG.md). The inventory mapper has its own deep-dive documents: the [inventory reference](https://github.com/morpheuslord/cloudg/blob/main/docs/INVENTORY_REFERENCE.md) (every return structure and output file, field by field), the [inventory catalog](https://github.com/morpheuslord/cloudg/blob/main/docs/INVENTORY_CATALOG.md) (all 156 asset types, their metadata and relationships) and the [inventory internals](https://github.com/morpheuslord/cloudg/blob/main/docs/INVENTORY_INTERNALS.md) (how it works and how to extend it). The MCP server is covered by the [MCP guide](https://github.com/morpheuslord/cloudg/blob/main/docs/MCP.md), the [tool reference](https://github.com/morpheuslord/cloudg/blob/main/docs/MCP_TOOLS.md) and the [privacy reference](https://github.com/morpheuslord/cloudg/blob/main/docs/MCP_PRIVACY.md), and throttling by [rate limits and throttling](https://github.com/morpheuslord/cloudg/blob/main/docs/RESILIENCE.md).
|
|
26
26
|
|
|
27
|
+
**Sample report:** to see what cloudg produces before running anything, [open the sample report](https://morpheuslord.github.io/cloudg/sample-report.html). It is the `report.html` of a synthetic AWS, Azure and GCP estate, so every ID in it is made up, and `scripts/build_sample_report.py` rebuilds it from the test fixtures.
|
|
28
|
+
|
|
27
29
|
---
|
|
28
30
|
|
|
29
31
|
## Quick start
|
|
@@ -372,3 +374,23 @@ Python 3.11 or newer. The moto/aiobotocore incompatibility around async response
|
|
|
372
374
|
|
|
373
375
|
---
|
|
374
376
|
|
|
377
|
+
|
|
378
|
+
## Credits
|
|
379
|
+
|
|
380
|
+
cloudg builds on other people's work, and some of it ships inside the package. The documentation site has the same list on its [credits page](https://morpheuslord.github.io/cloudg/credits/).
|
|
381
|
+
|
|
382
|
+
[Prowler](https://github.com/prowler-cloud/prowler) (Apache-2.0). The 22 framework files in `cloudg/rules/frameworks/` are generated from Prowler's compliance JSON by `scripts/import_prowler_compliance.py`. That covers the control IDs, the control titles and descriptions, and the mapping from each control to Prowler check names. Every generated file says so in its header and in its `source` field. Prowler check names also appear in `cloudg/rules/check_equivalence.yaml`, and cloudg runs Prowler and parses its ASFF and OCSF output.
|
|
383
|
+
|
|
384
|
+
Scanners. [Checkov](https://github.com/bridgecrewio/checkov) (Apache-2.0), [Trivy](https://github.com/aquasecurity/trivy) (Apache-2.0) and [ScoutSuite](https://github.com/nccgroup/ScoutSuite) (GPL-2.0) are run as separate programs, and their reports are parsed. Their check IDs (`CKV_*`, `AVD-*`) are used in the check-equivalence map. None of their code is part of cloudg. The Docker image installs Prowler, Checkov and Trivy, so their own licenses apply to those copies.
|
|
385
|
+
|
|
386
|
+
[Cloud Custodian](https://github.com/cloud-custodian/cloud-custodian) (Apache-2.0). The policy packs in `cloudg/policies/` are written in Cloud Custodian's policy format and run with its `custodian` CLI.
|
|
387
|
+
|
|
388
|
+
[parliament](https://github.com/duo-labs/parliament) (BSD-3-Clause) from Duo Labs does the IAM policy linting.
|
|
389
|
+
|
|
390
|
+
Drawing engines. The estate map in report.html is drawn with the iso-kit from [Anatomy](https://github.com/wheresryan22/anatomy) (MIT, by Ryan), and its empty states use the kernel of [Hairline](https://hairline.lucasmarkes.com) 0.5.1 (MIT, by Lucas Marques). Both are copied into `cloudg/templates/vendor/` and embedded in every report, so the map works offline. The iso-kit is wrapped so it can sit inside a script element, and `cloudg/templates/vendor/NOTICE` lists exactly what changed.
|
|
391
|
+
|
|
392
|
+
[MITRE ATT&CK®](https://attack.mitre.org/). The `mitre_attack_*.yaml` files contain ATT&CK technique IDs and descriptions. © The MITRE Corporation. This work is reproduced and distributed with the permission of The MITRE Corporation. ATT&CK is a registered trademark of The MITRE Corporation.
|
|
393
|
+
|
|
394
|
+
Standards. The hand-written rulesets in `cloudg/rules/` reference public control numbering from the CIS Benchmarks for AWS, Azure and GCP, NIST SP 800-53, NIST CSF, PCI DSS, the AICPA SOC 2 Trust Services Criteria, the HIPAA Security Rule, GDPR, ISO/IEC 27001:2022 and the AWS Foundational Security Best Practices. The standards belong to their publishers. CIS Benchmarks is a trademark of the Center for Internet Security, and cloudg is not affiliated with or endorsed by CIS or any other publisher named here.
|
|
395
|
+
|
|
396
|
+
The Python libraries cloudg depends on (NetworkX, rdflib, pydantic, Click, Rich and the rest) are listed in `pyproject.toml`.
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
"""cloudg (cloud graphing): multi-cloud mapping and security intelligence."""
|
|
2
|
+
|
|
3
|
+
__version__ = "0.7.0"
|
|
4
|
+
|
|
5
|
+
from cloudg.api import (
|
|
6
|
+
AnalysisResult,
|
|
7
|
+
CloudGEngine,
|
|
8
|
+
CollectionResult,
|
|
9
|
+
PipelineResult,
|
|
10
|
+
)
|
|
11
|
+
from cloudg.config import CloudGConfig, load_config
|
|
12
|
+
from cloudg.exceptions import (
|
|
13
|
+
CloudGError,
|
|
14
|
+
CollectionError,
|
|
15
|
+
ConfigurationError,
|
|
16
|
+
CredentialError,
|
|
17
|
+
ProviderSDKMissingError,
|
|
18
|
+
ReportParseError,
|
|
19
|
+
ScannerError,
|
|
20
|
+
ScannerExecutionError,
|
|
21
|
+
ScannerFailed,
|
|
22
|
+
ScannerNotInstalledError,
|
|
23
|
+
ScannerOutputError,
|
|
24
|
+
ScannerTimeoutError,
|
|
25
|
+
)
|
|
26
|
+
from cloudg.inventory import InventoryMapper, InventoryResult
|
|
27
|
+
|
|
28
|
+
__all__ = [
|
|
29
|
+
"__version__",
|
|
30
|
+
"AnalysisResult",
|
|
31
|
+
"CloudGEngine",
|
|
32
|
+
"CloudGConfig",
|
|
33
|
+
"CloudGError",
|
|
34
|
+
"CollectionError",
|
|
35
|
+
"ConfigurationError",
|
|
36
|
+
"CredentialError",
|
|
37
|
+
"ProviderSDKMissingError",
|
|
38
|
+
"ReportParseError",
|
|
39
|
+
"ScannerError",
|
|
40
|
+
"ScannerExecutionError",
|
|
41
|
+
"ScannerFailed",
|
|
42
|
+
"ScannerNotInstalledError",
|
|
43
|
+
"ScannerOutputError",
|
|
44
|
+
"ScannerTimeoutError",
|
|
45
|
+
"CollectionResult",
|
|
46
|
+
"InventoryMapper",
|
|
47
|
+
"InventoryResult",
|
|
48
|
+
"PipelineResult",
|
|
49
|
+
"load_config",
|
|
50
|
+
]
|
|
@@ -17,6 +17,7 @@ from dataclasses import dataclass, field
|
|
|
17
17
|
from pathlib import Path
|
|
18
18
|
from typing import Any, Callable
|
|
19
19
|
|
|
20
|
+
from cloudg.exceptions import ScannerFailed
|
|
20
21
|
from cloudg.schema.models import CloudAsset, Finding, NetworkEdge
|
|
21
22
|
|
|
22
23
|
__all__ = [
|
|
@@ -64,24 +65,12 @@ def resolve_iac_dirs(
|
|
|
64
65
|
# ---------------------------------------------------------------------------
|
|
65
66
|
|
|
66
67
|
|
|
67
|
-
class ScannerFailed(RuntimeError):
|
|
68
|
-
"""A scanner started but did not finish (timeout, launch failure).
|
|
69
|
-
|
|
70
|
-
``findings`` holds whatever it produced before that (for example the
|
|
71
|
-
images Trivy did scan), so callers can keep partial results.
|
|
72
|
-
"""
|
|
73
|
-
|
|
74
|
-
def __init__(self, scanner: str, errors: list[str], findings: list[Finding]) -> None:
|
|
75
|
-
super().__init__(f"{scanner} " + "; ".join(errors))
|
|
76
|
-
self.errors = list(errors)
|
|
77
|
-
self.findings = findings
|
|
78
|
-
|
|
79
|
-
|
|
80
68
|
def _finish(label: str, scanner: Any, findings: list[Finding]) -> list[Finding]:
|
|
81
69
|
"""Return ``findings``, or raise ScannerFailed when the wrapper recorded errors."""
|
|
82
70
|
errors = list(getattr(scanner, "errors", None) or [])
|
|
83
71
|
if errors:
|
|
84
|
-
|
|
72
|
+
failures = [f for f in getattr(scanner, "failures", None) or [] if f.detail in errors]
|
|
73
|
+
raise ScannerFailed(label, errors, findings, failures=failures)
|
|
85
74
|
return findings
|
|
86
75
|
|
|
87
76
|
|
|
@@ -292,7 +292,8 @@ def _merge_findings(
|
|
|
292
292
|
@click.option(
|
|
293
293
|
"--services",
|
|
294
294
|
default=None,
|
|
295
|
-
help="Service families
|
|
295
|
+
help="Service families or task names to map, comma-separated, for AWS and Azure "
|
|
296
|
+
"(e.g. containers,serverless,security)",
|
|
296
297
|
)
|
|
297
298
|
@click.option(
|
|
298
299
|
"--exclude-services", default=None, help="Service families/collectors to skip, comma-separated"
|
|
@@ -300,7 +301,7 @@ def _merge_findings(
|
|
|
300
301
|
@click.option(
|
|
301
302
|
"--kubernetes/--no-kubernetes",
|
|
302
303
|
default=None,
|
|
303
|
-
help="Map workloads inside EKS clusters through the Kubernetes API",
|
|
304
|
+
help="Map workloads inside EKS and AKS clusters through the Kubernetes API",
|
|
304
305
|
)
|
|
305
306
|
@click.option(
|
|
306
307
|
"--cloud-control/--no-cloud-control",
|
|
@@ -43,6 +43,7 @@ from cloudg.collectors.gcp_assets import (
|
|
|
43
43
|
)
|
|
44
44
|
from cloudg.config import GCP_DEFAULT_SKIP_ASSET_TYPES
|
|
45
45
|
from cloudg.coverage import CollectionCoverage, ServiceStatus
|
|
46
|
+
from cloudg.exceptions import CollectionError, ProviderSDKMissingError
|
|
46
47
|
from cloudg.resilience.errors import describe_error
|
|
47
48
|
from cloudg.resilience.gcp import RetryCounter, gcp_retry, gcp_scope, paced
|
|
48
49
|
from cloudg.resilience.governor import get_governor
|
|
@@ -186,9 +187,7 @@ class GCPCollector(BaseCollector):
|
|
|
186
187
|
try:
|
|
187
188
|
from google.cloud import asset_v1
|
|
188
189
|
except ImportError as exc:
|
|
189
|
-
raise
|
|
190
|
-
"google-cloud-asset is not installed; install cloudg[gcp] to collect GCP"
|
|
191
|
-
) from exc
|
|
190
|
+
raise ProviderSDKMissingError("gcp", missing="google-cloud-asset") from exc
|
|
192
191
|
self._client = asset_v1.AssetServiceClient(credentials=self._credentials)
|
|
193
192
|
return self._client
|
|
194
193
|
|
|
@@ -301,7 +300,7 @@ class GCPCollector(BaseCollector):
|
|
|
301
300
|
error=describe_error(search_error),
|
|
302
301
|
start=search_start,
|
|
303
302
|
)
|
|
304
|
-
raise
|
|
303
|
+
raise CollectionError(
|
|
305
304
|
f"GCP asset enumeration failed for {self._scope}: "
|
|
306
305
|
f"ListAssets: {describe_error(error)}; "
|
|
307
306
|
f"SearchAllResources: {describe_error(search_error)}"
|
|
@@ -563,7 +563,10 @@ async def _azure_edges_and_coverage(
|
|
|
563
563
|
"""Collect one Azure subscription's edges and record its coverage.
|
|
564
564
|
|
|
565
565
|
An edge failure is recorded as ``azure_edges`` and never discards the
|
|
566
|
-
assets; per-service collector errors become ``azure_<service>`` entries
|
|
566
|
+
assets; per-service collector errors become ``azure_<service>`` entries,
|
|
567
|
+
and the per-task records of collectors that keep a ``coverage``
|
|
568
|
+
(:class:`~cloudg.inventory.azure_deep.AzureDeepInventoryCollector`) are
|
|
569
|
+
copied in. ``azure_full`` is PARTIAL when any of them failed.
|
|
567
570
|
"""
|
|
568
571
|
edges: list[NetworkEdge] = []
|
|
569
572
|
try:
|
|
@@ -573,12 +576,15 @@ async def _azure_edges_and_coverage(
|
|
|
573
576
|
coverage.record("azure_edges", ServiceStatus.FAILED, error=describe_error(exc))
|
|
574
577
|
|
|
575
578
|
duration_ms = int((time.time() - start) * 1000)
|
|
579
|
+
task_records = list(getattr(getattr(collector, "coverage", None), "services", None) or [])
|
|
580
|
+
coverage.services.extend(task_records)
|
|
581
|
+
degraded = any(s.status in (ServiceStatus.FAILED, ServiceStatus.PARTIAL) for s in task_records)
|
|
576
582
|
service_errors = dict(getattr(collector, "service_errors", None) or {})
|
|
577
583
|
for service, error in service_errors.items():
|
|
578
584
|
coverage.record(f"azure_{service}", ServiceStatus.FAILED, error=error)
|
|
579
585
|
coverage.record(
|
|
580
586
|
"azure_full",
|
|
581
|
-
ServiceStatus.PARTIAL if service_errors else ServiceStatus.SUCCESS,
|
|
587
|
+
ServiceStatus.PARTIAL if service_errors or degraded else ServiceStatus.SUCCESS,
|
|
582
588
|
asset_count=asset_count,
|
|
583
589
|
duration_ms=duration_ms,
|
|
584
590
|
)
|
|
@@ -166,6 +166,49 @@ class AzureConfig(BaseModel):
|
|
|
166
166
|
description="Map the management group / subscription / Azure Policy hierarchy (inventory)",
|
|
167
167
|
)
|
|
168
168
|
|
|
169
|
+
# Azure parity
|
|
170
|
+
map_entra: bool = Field(
|
|
171
|
+
default=True,
|
|
172
|
+
description="Inventory: map Entra ID (users, groups, apps, service principals, "
|
|
173
|
+
"directory roles, PIM) through Microsoft Graph; needs Graph read permissions",
|
|
174
|
+
)
|
|
175
|
+
entra_max_objects: int = Field(
|
|
176
|
+
default=10000, ge=0, description="Inventory: most objects read per Microsoft Graph listing"
|
|
177
|
+
)
|
|
178
|
+
entra_max_expansions: int = Field(
|
|
179
|
+
default=1000,
|
|
180
|
+
ge=0,
|
|
181
|
+
description="Inventory: most groups / apps / service principals whose members, owners, "
|
|
182
|
+
"federated credentials or app-role assignments are read one by one",
|
|
183
|
+
)
|
|
184
|
+
child_resources: bool = Field(
|
|
185
|
+
default=True,
|
|
186
|
+
description="Inventory: read child resources Resource Graph does not return (APIM APIs, "
|
|
187
|
+
"Service Bus queues, DNS records, functions, ...) through ARM REST",
|
|
188
|
+
)
|
|
189
|
+
max_child_parents: int = Field(
|
|
190
|
+
default=500,
|
|
191
|
+
ge=0,
|
|
192
|
+
description="Inventory: most parent resources queried per child-resource kind",
|
|
193
|
+
)
|
|
194
|
+
diagnostic_settings: bool = Field(
|
|
195
|
+
default=True, description="Inventory: read diagnostic settings of logged resource types"
|
|
196
|
+
)
|
|
197
|
+
max_diagnostic_settings: int = Field(
|
|
198
|
+
default=1000,
|
|
199
|
+
ge=0,
|
|
200
|
+
description="Inventory: most resources whose diagnostic settings are read",
|
|
201
|
+
)
|
|
202
|
+
data_plane: bool = Field(
|
|
203
|
+
default=True,
|
|
204
|
+
description="Inventory: read AI Search and Synapse data-plane metadata (data sources, "
|
|
205
|
+
"indexers, pipelines, linked services); needs data-plane reader roles",
|
|
206
|
+
)
|
|
207
|
+
rest_concurrency: int = Field(
|
|
208
|
+
default=8, ge=1, le=32, description="Inventory: concurrent ARM / Graph REST calls"
|
|
209
|
+
)
|
|
210
|
+
# end Azure parity
|
|
211
|
+
|
|
169
212
|
|
|
170
213
|
# High-churn Cloud Asset Inventory types the GCP collector skips by default
|
|
171
214
|
# (GCPConfig.skip_asset_types; cloudg.collectors.gcp.DEFAULT_SKIP_ASSET_TYPES)
|
|
@@ -231,6 +274,33 @@ class GCPConfig(BaseModel):
|
|
|
231
274
|
vpc_service_controls: bool = Field(
|
|
232
275
|
default=True, description="Map VPC Service Controls perimeters"
|
|
233
276
|
)
|
|
277
|
+
# GCP parity: API-backed sources of the deep inventory collector
|
|
278
|
+
deep_sources: bool = Field(
|
|
279
|
+
default=True,
|
|
280
|
+
description="Inventory mapping: also read what Cloud Asset Inventory does not return "
|
|
281
|
+
"(Cloud DNS records, Security Command Center, Cloud Identity groups, deny and access "
|
|
282
|
+
"boundary policies, PAM, audit-log configs, Monitoring, OS Config, Artifact Analysis, "
|
|
283
|
+
"Backup and DR, Cloud Scheduler, Apigee, Infrastructure / Deployment Manager)",
|
|
284
|
+
)
|
|
285
|
+
rest_timeout_seconds: float = Field(default=60.0, ge=5.0)
|
|
286
|
+
cloud_identity_customer_id: str | None = Field(
|
|
287
|
+
default=None,
|
|
288
|
+
description="Cloud Identity customer ID (Cxxxxxxx) for group membership; "
|
|
289
|
+
"found from the organization when unset",
|
|
290
|
+
)
|
|
291
|
+
max_dns_records_per_zone: int = Field(default=5000, ge=0)
|
|
292
|
+
max_vulnerability_occurrences: int = Field(
|
|
293
|
+
default=5000, ge=0, description="Artifact Analysis occurrences read per project"
|
|
294
|
+
)
|
|
295
|
+
max_groups: int = Field(default=2000, ge=0)
|
|
296
|
+
max_group_members: int = Field(default=5000, ge=0)
|
|
297
|
+
expand_predefined_roles: bool = Field(
|
|
298
|
+
default=True, description="Read the permissions of bound predefined roles (IAM Roles API)"
|
|
299
|
+
)
|
|
300
|
+
max_role_expansions: int = Field(default=500, ge=0)
|
|
301
|
+
max_scheduler_locations: int = Field(default=25, ge=0)
|
|
302
|
+
source_concurrency: int = Field(default=4, ge=1, le=32)
|
|
303
|
+
# end GCP parity
|
|
234
304
|
|
|
235
305
|
|
|
236
306
|
class ScannerConfig(BaseModel):
|
|
@@ -39,6 +39,8 @@ import os
|
|
|
39
39
|
from dataclasses import dataclass
|
|
40
40
|
from typing import Any
|
|
41
41
|
|
|
42
|
+
from cloudg.exceptions import CredentialError, ProviderSDKMissingError
|
|
43
|
+
|
|
42
44
|
logger = logging.getLogger(__name__)
|
|
43
45
|
|
|
44
46
|
_GCP_SCOPES = ["https://www.googleapis.com/auth/cloud-platform"]
|
|
@@ -94,7 +96,9 @@ def _aws_session_from_web_identity(
|
|
|
94
96
|
WebIdentityToken=token,
|
|
95
97
|
)
|
|
96
98
|
except Exception as exc:
|
|
97
|
-
raise
|
|
99
|
+
raise CredentialError(
|
|
100
|
+
"aws", f"AssumeRoleWithWebIdentity failed for {role_arn}: {exc}"
|
|
101
|
+
) from exc
|
|
98
102
|
creds = resp["Credentials"]
|
|
99
103
|
return boto3.Session(
|
|
100
104
|
aws_access_key_id=creds["AccessKeyId"],
|
|
@@ -162,7 +166,7 @@ def _aws_assume_role(
|
|
|
162
166
|
try:
|
|
163
167
|
assumed = session.client("sts").assume_role(**assume_kwargs)
|
|
164
168
|
except Exception as exc:
|
|
165
|
-
raise
|
|
169
|
+
raise CredentialError("aws", f"AssumeRole failed for {target_role}: {exc}") from exc
|
|
166
170
|
creds = assumed["Credentials"]
|
|
167
171
|
return boto3.Session(
|
|
168
172
|
aws_access_key_id=creds["AccessKeyId"],
|
|
@@ -191,16 +195,14 @@ def build_aws_session(
|
|
|
191
195
|
boto3.Session ready for API calls.
|
|
192
196
|
|
|
193
197
|
Raises:
|
|
194
|
-
|
|
195
|
-
|
|
198
|
+
ProviderSDKMissingError: If boto3 is not installed (an ImportError).
|
|
199
|
+
CredentialError: If a requested role assumption fails, or account_id
|
|
196
200
|
is given without cfg.role_name (there is no role to reach it).
|
|
197
201
|
"""
|
|
198
202
|
try:
|
|
199
203
|
import boto3
|
|
200
204
|
except ImportError as exc:
|
|
201
|
-
raise
|
|
202
|
-
"boto3 is required for AWS. Install with: pip install cloudg[aws]"
|
|
203
|
-
) from exc
|
|
205
|
+
raise ProviderSDKMissingError("aws", missing="boto3") from exc
|
|
204
206
|
|
|
205
207
|
session_name = getattr(cfg, "role_session_name", None) or "cloudg-scan"
|
|
206
208
|
role_arn = getattr(cfg, "role_arn", None)
|
|
@@ -237,9 +239,10 @@ def _aws_target_roles(
|
|
|
237
239
|
if account_id:
|
|
238
240
|
role_name = getattr(cfg, "role_name", None)
|
|
239
241
|
if not role_name:
|
|
240
|
-
raise
|
|
242
|
+
raise CredentialError(
|
|
243
|
+
"aws",
|
|
241
244
|
f"Cannot reach account {account_id}: no role to assume there. "
|
|
242
|
-
"Set aws.role_name (--role-name) to the role that exists in each account."
|
|
245
|
+
"Set aws.role_name (--role-name) to the role that exists in each account.",
|
|
243
246
|
)
|
|
244
247
|
member_role = f"arn:aws:iam::{account_id}:role/{role_name}"
|
|
245
248
|
if member_role not in roles:
|
|
@@ -295,7 +298,7 @@ def aws_scanner_auth(cfg: Any, region: str | None = None) -> tuple[str | None, d
|
|
|
295
298
|
them for (one hour).
|
|
296
299
|
|
|
297
300
|
Raises:
|
|
298
|
-
|
|
301
|
+
CredentialError: assuming role_arn failed (a RuntimeError).
|
|
299
302
|
"""
|
|
300
303
|
if not region or region.upper() == "ALL":
|
|
301
304
|
region = "us-east-1"
|
|
@@ -307,7 +310,7 @@ def aws_scanner_auth(cfg: Any, region: str | None = None) -> tuple[str | None, d
|
|
|
307
310
|
session = build_aws_session(cfg, region)
|
|
308
311
|
credentials = session.get_credentials()
|
|
309
312
|
if credentials is None:
|
|
310
|
-
raise
|
|
313
|
+
raise CredentialError("aws", f"No credentials resolved for role {role_arn}")
|
|
311
314
|
frozen = credentials.get_frozen_credentials()
|
|
312
315
|
return None, _aws_key_env(frozen.access_key, frozen.secret_key, frozen.token)
|
|
313
316
|
if access_key and secret_key:
|
|
@@ -353,14 +356,12 @@ def build_azure_credential(cfg: Any) -> Any:
|
|
|
353
356
|
A TokenCredential usable with all Azure mgmt SDK clients.
|
|
354
357
|
|
|
355
358
|
Raises:
|
|
356
|
-
|
|
359
|
+
ProviderSDKMissingError: If azure-identity is not installed (an ImportError).
|
|
357
360
|
"""
|
|
358
361
|
try:
|
|
359
362
|
from azure import identity
|
|
360
363
|
except ImportError as exc:
|
|
361
|
-
raise
|
|
362
|
-
"azure-identity is required for Azure. Install with: pip install cloudg[azure]"
|
|
363
|
-
) from exc
|
|
364
|
+
raise ProviderSDKMissingError("azure", missing="azure-identity") from exc
|
|
364
365
|
|
|
365
366
|
explicit = _azure_service_principal(identity, cfg)
|
|
366
367
|
if explicit is not None:
|
|
@@ -443,14 +444,12 @@ def build_gcp_credentials(cfg: Any) -> tuple[Any, str | None]:
|
|
|
443
444
|
auth method carries no project (e.g. impersonation).
|
|
444
445
|
|
|
445
446
|
Raises:
|
|
446
|
-
|
|
447
|
+
ProviderSDKMissingError: If google-auth is not installed (an ImportError).
|
|
447
448
|
"""
|
|
448
449
|
try:
|
|
449
450
|
import google.auth
|
|
450
451
|
except ImportError as exc:
|
|
451
|
-
raise
|
|
452
|
-
"google-auth is required for GCP. Install with: pip install cloudg[gcp]"
|
|
453
|
-
) from exc
|
|
452
|
+
raise ProviderSDKMissingError("gcp", missing="google-auth") from exc
|
|
454
453
|
|
|
455
454
|
credentials_file = getattr(cfg, "credentials_file", None) or os.environ.get(
|
|
456
455
|
"GOOGLE_APPLICATION_CREDENTIALS"
|