cloudg 0.6.0__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.0 → cloudg-0.7.0}/README.md +33 -9
- cloudg-0.7.0/cloudg/__init__.py +50 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/api.py +227 -188
- cloudg-0.7.0/cloudg/api_results.py +199 -0
- cloudg-0.7.0/cloudg/api_scanners.py +620 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/cli.py +260 -68
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/cli_commands.py +13 -0
- cloudg-0.7.0/cloudg/cli_helpers.py +414 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/cli_inventory.py +24 -12
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/cli_run_helpers.py +88 -258
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/collectors/gcp.py +3 -4
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/collectors/multi.py +40 -7
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/config.py +193 -201
- cloudg-0.7.0/cloudg/config_keys.py +40 -0
- cloudg-0.7.0/cloudg/config_ratelimit.py +194 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/credentials.py +129 -30
- cloudg-0.7.0/cloudg/exceptions.py +212 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/graph/builder.py +48 -6
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/graph/ontology.py +149 -40
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/graph/ontology_rules.py +11 -1
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/graph/rag_export.py +109 -300
- cloudg-0.7.0/cloudg/graph/rag_text.py +353 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/graph/reachability.py +24 -10
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/ingest.py +14 -5
- 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.0 → cloudg-0.7.0}/cloudg/inventory/azure_graph/__init__.py +10 -0
- {cloudg-0.6.0 → 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.0 → 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.0 → cloudg-0.7.0}/cloudg/inventory/azure_graph/query.py +150 -1
- {cloudg-0.6.0 → 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.0 → 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.0 → cloudg-0.7.0}/cloudg/inventory/gcp_hierarchy.py +50 -0
- {cloudg-0.6.0 → 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.0 → 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.0 → 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.0 → 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.0 → cloudg-0.7.0}/cloudg/inventory/kubernetes.py +51 -12
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/inventory/linker.py +17 -2
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/inventory/linker_index.py +1 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/inventory/mapper.py +122 -15
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/inventory/mapper_result.py +16 -2
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/inventory/organization.py +60 -22
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/mcp/catalog/_findings.py +15 -7
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/mcp/catalog/export.py +3 -1
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/mcp/catalog/inventory.py +5 -3
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/mcp/catalog/meta.py +2 -1
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/mcp/state/__init__.py +0 -2
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/mcp/state/loading.py +11 -56
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/normaliser.py +189 -67
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/region_discovery.py +42 -6
- cloudg-0.7.0/cloudg/registry.py +319 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/renderers/html_report.py +204 -31
- cloudg-0.7.0/cloudg/renderers/iso_scene.py +808 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/renderers/json_export.py +13 -3
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/renderers/terraform_export.py +24 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/resilience/errors.py +3 -1
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/resilience/guard.py +3 -1
- cloudg-0.7.0/cloudg/scanners/_errors.py +87 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/scanners/checkov.py +37 -13
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/scanners/iam_linter.py +16 -2
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/scanners/prowler.py +170 -26
- cloudg-0.7.0/cloudg/scanners/prowler_ocsf.py +138 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/scanners/scoutsuite.py +96 -18
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/scanners/trivy.py +51 -15
- {cloudg-0.6.0 → 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-chartjs.md +9 -0
- cloudg-0.7.0/cloudg/templates/vendor/LICENSE-d3.txt +13 -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/chart.umd.js +14 -0
- cloudg-0.7.0/cloudg/templates/vendor/d3.min.js +2 -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.0/PKG-INFO → cloudg-0.7.0/docs/DOCUMENTATION.md +41 -109
- {cloudg-0.6.0 → cloudg-0.7.0}/docs/INVENTORY_CATALOG.md +958 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/docs/INVENTORY_INTERNALS.md +502 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/docs/INVENTORY_REFERENCE.md +128 -4
- {cloudg-0.6.0 → cloudg-0.7.0}/docs/MCP.md +24 -11
- {cloudg-0.6.0 → cloudg-0.7.0}/docs/MCP_PRIVACY.md +17 -11
- {cloudg-0.6.0 → cloudg-0.7.0}/docs/MCP_TOOLS.md +92 -29
- cloudg-0.7.0/docs/PYPI.md +119 -0
- {cloudg-0.6.0 → 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.6.0 → cloudg-0.7.0}/tests/mcp/test_catalog_audit_fixes.py +1 -1
- {cloudg-0.6.0 → cloudg-0.7.0}/tests/mcp/test_catalog_inventory.py +6 -3
- {cloudg-0.6.0 → cloudg-0.7.0}/tests/mcp/test_catalog_regressions.py +32 -18
- cloudg-0.7.0/tests/test_azure_entra.py +364 -0
- {cloudg-0.6.0 → 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_cli_commands.py +521 -0
- cloudg-0.7.0/tests/test_collection_failed.py +64 -0
- cloudg-0.7.0/tests/test_config_keys.py +254 -0
- cloudg-0.7.0/tests/test_exceptions.py +168 -0
- {cloudg-0.6.0 → 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.7.0/tests/test_html_report.py +249 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/tests/test_ingest.py +183 -0
- cloudg-0.7.0/tests/test_inventory_fixes.py +251 -0
- cloudg-0.7.0/tests/test_iso_scene.py +320 -0
- cloudg-0.7.0/tests/test_normaliser_compliance.py +207 -0
- cloudg-0.7.0/tests/test_ontology_fixes.py +354 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/tests/test_rag_export.py +135 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/tests/test_region_discovery.py +24 -4
- cloudg-0.7.0/tests/test_scanner_wiring.py +681 -0
- cloudg-0.6.0/cloudg/__init__.py +0 -24
- cloudg-0.6.0/cloudg/api_scanners.py +0 -255
- cloudg-0.6.0/cloudg/cli_helpers.py +0 -274
- cloudg-0.6.0/cloudg/inventory/azure_deep.py +0 -229
- cloudg-0.6.0/cloudg/inventory/catalogs/azure_arm_types.yaml +0 -133
- cloudg-0.6.0/cloudg/inventory/catalogs/gcp_asset_types.yaml +0 -157
- cloudg-0.6.0/cloudg/inventory/gcp_deep.py +0 -84
- cloudg-0.6.0/cloudg/registry.py +0 -163
- cloudg-0.6.0/cloudg/templates/report.html.j2 +0 -828
- cloudg-0.6.0/docs/DOCUMENTATION.md +0 -1229
- {cloudg-0.6.0 → cloudg-0.7.0}/.gitignore +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/LICENSE +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/collectors/__init__.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/collectors/aws.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/collectors/aws_services.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/collectors/aws_services_extended.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/collectors/azure.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/collectors/base.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/collectors/gcp_assets.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/coverage.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/graph/__init__.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/graph/ports.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/inventory/__init__.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/inventory/_util.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/inventory/aws_deep.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/inventory/aws_deep_tasks.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/inventory/aws_services/__init__.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/inventory/aws_services/_base.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/inventory/aws_services/_policy_grants.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/inventory/aws_services/application/__init__.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/inventory/aws_services/application/_common.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/inventory/aws_services/application/alarms.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/inventory/aws_services/application/backup.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/inventory/aws_services/application/batch.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/inventory/aws_services/application/build_deploy.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/inventory/aws_services/application/cicd.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/inventory/aws_services/application/compute.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/inventory/aws_services/application/containers_ext.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/inventory/aws_services/application/firehose.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/inventory/aws_services/application/integration.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/inventory/aws_services/application/logs.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/inventory/aws_services/application/operations.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/inventory/aws_services/application/serverless_ext.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/inventory/aws_services/cloudcontrol.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/inventory/aws_services/containers/__init__.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/inventory/aws_services/containers/ecr.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/inventory/aws_services/containers/ecs.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/inventory/aws_services/containers/eks.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/inventory/aws_services/data_ml/__init__.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/inventory/aws_services/data_ml/_common.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/inventory/aws_services/data_ml/analytics.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/inventory/aws_services/data_ml/bedrock.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/inventory/aws_services/data_ml/databases.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/inventory/aws_services/data_ml/glue.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/inventory/aws_services/data_ml/glue_etl.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/inventory/aws_services/data_ml/lakeformation.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/inventory/aws_services/data_ml/messaging.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/inventory/aws_services/data_ml/registry.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/inventory/aws_services/data_ml/sagemaker.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/inventory/aws_services/data_ml/serverless_data.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/inventory/aws_services/data_ml/transfer.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/inventory/aws_services/governance/__init__.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/inventory/aws_services/governance/_common.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/inventory/aws_services/governance/cognito.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/inventory/aws_services/governance/data_protection.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/inventory/aws_services/governance/iam_extras.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/inventory/aws_services/governance/identity_center.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/inventory/aws_services/governance/ram.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/inventory/aws_services/governance/s3_access_points.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/inventory/aws_services/governance/service_catalog.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/inventory/aws_services/governance/sharing.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/inventory/aws_services/governance/stack_sets.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/inventory/aws_services/identity.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/inventory/aws_services/network_ext/__init__.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/inventory/aws_services/network_ext/_common.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/inventory/aws_services/network_ext/apigateway.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/inventory/aws_services/network_ext/cloudfront.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/inventory/aws_services/network_ext/direct_connect.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/inventory/aws_services/network_ext/elb_rules.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/inventory/aws_services/network_ext/global_accelerator.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/inventory/aws_services/network_ext/lattice.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/inventory/aws_services/network_ext/network_manager.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/inventory/aws_services/network_ext/privatelink.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/inventory/aws_services/network_ext/resolver.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/inventory/aws_services/network_ext/tgw.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/inventory/aws_services/network_ext/vpn.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/inventory/aws_services/platform/__init__.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/inventory/aws_services/platform/compute_fabric.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/inventory/aws_services/platform/data.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/inventory/aws_services/platform/dns_iac_ops.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/inventory/aws_services/platform/load_balancing.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/inventory/aws_services/platform/storage.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/inventory/aws_services/security/__init__.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/inventory/aws_services/security/_common.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/inventory/aws_services/security/detection.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/inventory/aws_services/security/network_protection.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/inventory/aws_services/security/posture.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/inventory/aws_services/serverless/__init__.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/inventory/aws_services/serverless/apigateway.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/inventory/aws_services/serverless/functions.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/inventory/aws_services/serverless/messaging.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/inventory/azure_graph/arm_types.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/inventory/azure_graph/compute.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/inventory/azure_graph/data_security.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/inventory/azure_graph/edge.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/inventory/azure_graph/network.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/inventory/azure_graph/web_containers.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/inventory/catalogs/__init__.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/inventory/catalogs/aws_arn_types.yaml +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/inventory/catalogs/aws_cloudcontrol.yaml +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/inventory/dependencies.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/inventory/gcp_relations/compute.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/inventory/gcp_relations/data_logging.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/inventory/gcp_relations/gke.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/inventory/gcp_relations/load_balancing.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/inventory/gcp_relations/messaging.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/inventory/gcp_relations/network.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/inventory/gcp_relations/pipelines.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/inventory/gcp_relations/resource_manager.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/inventory/gcp_relations/serverless.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/inventory/linker_rules.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/inventory/organization_assets.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/mcp/__init__.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/mcp/__main__.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/mcp/adapters/__init__.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/mcp/adapters/_common.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/mcp/adapters/export.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/mcp/adapters/fastmcp.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/mcp/adapters/lowlevel.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/mcp/adapters/mcp_sdk.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/mcp/catalog/__init__.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/mcp/catalog/_common.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/mcp/catalog/_compliance.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/mcp/catalog/_graph.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/mcp/catalog/_graph_impact.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/mcp/catalog/_inventory.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/mcp/catalog/_live.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/mcp/catalog/_resources.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/mcp/catalog/_sparql.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/mcp/catalog/compliance.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/mcp/catalog/findings.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/mcp/catalog/graph.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/mcp/catalog/live.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/mcp/catalog/ontology.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/mcp/catalog/privacy.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/mcp/catalog/prompts.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/mcp/catalog/resources.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/mcp/catalog/workspace.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/mcp/cli.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/mcp/cli_common.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/mcp/cli_config.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/mcp/content.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/mcp/context.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/mcp/core.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/mcp/layer.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/mcp/layer_options.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/mcp/layer_output.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/mcp/middleware.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/mcp/native/__init__.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/mcp/native/_http_io.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/mcp/native/_http_sessions.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/mcp/native/_methods.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/mcp/native/_shared.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/mcp/native/auth.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/mcp/native/http.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/mcp/native/jsonrpc.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/mcp/native/protocol.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/mcp/native/stdio.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/mcp/policies/airgapped.yaml +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/mcp/policies/audit.yaml +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/mcp/policies/open.yaml +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/mcp/policies/read_only.yaml +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/mcp/policies/soc-analyst.yaml +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/mcp/policies/standard.yaml +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/mcp/policies/strict.yaml +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/mcp/policy/__init__.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/mcp/policy/access.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/mcp/policy/audit.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/mcp/policy/config.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/mcp/policy/describe.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/mcp/policy/engine.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/mcp/policy/pipelines.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/mcp/policy/ratelimit.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/mcp/policy/vaults.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/mcp/schema.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/mcp/server.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/mcp/state/base.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/mcp/state/dataset.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/mcp/state/diff.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/mcp/state/workspace.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/mcp/transforms/__init__.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/mcp/transforms/annotation.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/mcp/transforms/base.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/mcp/transforms/builtin_detectors.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/mcp/transforms/builtin_rules.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/mcp/transforms/detectors.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/mcp/transforms/entities.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/mcp/transforms/projection.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/mcp/transforms/redaction.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/mcp/transforms/redaction_run.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/mcp/transforms/strategies.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/mcp/transforms/substitution.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/mcp/transforms/textscan.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/mcp/transforms/vault.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/mcp/transforms/vault_formats.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/policies/custodian-aws-security.yml +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/policies/custodian-azure.yml +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/policies/custodian-gcp.yml +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/policies/custodian.yml +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/renderers/__init__.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/renderers/svg.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/renderers/svg_layout.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/resilience/__init__.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/resilience/aws.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/resilience/azure.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/resilience/breaker.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/resilience/gcp.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/resilience/governor.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/resilience/limiter.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/resilience/retry.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/resilience/stats.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/retry.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/rules/check_equivalence.yaml +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/rules/cis_aws_v3.yaml +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/rules/cis_azure_v2.yaml +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/rules/cis_gcp_v3.yaml +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/rules/frameworks/aws_foundational_security_best_practices_aws.yaml +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/rules/frameworks/cis_5.0_aws.yaml +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/rules/frameworks/cis_5.0_azure.yaml +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/rules/frameworks/cis_5.0_gcp.yaml +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/rules/frameworks/gdpr_aws.yaml +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/rules/frameworks/hipaa_aws.yaml +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/rules/frameworks/hipaa_azure.yaml +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/rules/frameworks/hipaa_gcp.yaml +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/rules/frameworks/iso27001_2022_aws.yaml +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/rules/frameworks/iso27001_2022_azure.yaml +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/rules/frameworks/iso27001_2022_gcp.yaml +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/rules/frameworks/mitre_attack_aws.yaml +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/rules/frameworks/mitre_attack_azure.yaml +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/rules/frameworks/mitre_attack_gcp.yaml +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/rules/frameworks/nist_800_53_revision_5_aws.yaml +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/rules/frameworks/nist_csf_2.0_aws.yaml +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/rules/frameworks/pci_4.0_aws.yaml +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/rules/frameworks/pci_4.0_azure.yaml +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/rules/frameworks/pci_4.0_gcp.yaml +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/rules/frameworks/soc2_aws.yaml +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/rules/frameworks/soc2_azure.yaml +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/rules/frameworks/soc2_gcp.yaml +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/rules/gdpr.yaml +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/rules/hipaa_security_rule.yaml +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/rules/iso_27001_2022.yaml +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/rules/nist_800_53.yaml +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/rules/pci_dss_v4.yaml +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/rules/soc2_tsc.yaml +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/scanners/__init__.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/schema/__init__.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/cloudg/ui.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/docs/MCP_INTERNALS.md +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/docs/RESILIENCE.md +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/tests/__init__.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/tests/conftest.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/tests/mcp/__init__.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/tests/mcp/_adapter_testkit.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/tests/mcp/conftest.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/tests/mcp/fake_secrets.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/tests/mcp/fixtures/__init__.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/tests/mcp/fixtures/sample_estate.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/tests/mcp/test_adapters_args_model.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/tests/mcp/test_adapters_export.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/tests/mcp/test_adapters_fastmcp.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/tests/mcp/test_adapters_sdk.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/tests/mcp/test_adapters_serve.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/tests/mcp/test_catalog_compliance.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/tests/mcp/test_catalog_export_live_meta.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/tests/mcp/test_catalog_findings.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/tests/mcp/test_catalog_graph.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/tests/mcp/test_catalog_ontology.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/tests/mcp/test_catalog_prompts.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/tests/mcp/test_catalog_registry.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/tests/mcp/test_catalog_resources.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/tests/mcp/test_catalog_workspace.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/tests/mcp/test_cli_mcp.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/tests/mcp/test_middleware.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/tests/mcp/test_native_auth.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/tests/mcp/test_native_http.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/tests/mcp/test_native_privacy.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/tests/mcp/test_native_protocol.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/tests/mcp/test_native_stdio.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/tests/mcp/test_policy.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/tests/mcp/test_policy_regressions.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/tests/mcp/test_privacy_tools.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/tests/mcp/test_state.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/tests/mcp/test_transforms.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/tests/test_api.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/tests/test_aws_application.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/tests/test_aws_data_ml.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/tests/test_aws_governance.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/tests/test_aws_network_ext.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/tests/test_catalogs_cloudcontrol.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/tests/test_collectors.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/tests/test_graph_builder.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/tests/test_inventory.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/tests/test_inventory_deep.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/tests/test_normaliser.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/tests/test_ontology.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/tests/test_ports.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/tests/test_reachability.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/tests/test_resilience.py +0 -0
- {cloudg-0.6.0 → cloudg-0.7.0}/tests/test_scanner_orchestration.py +0 -0
- {cloudg-0.6.0 → 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
|
|
@@ -66,7 +68,7 @@ Plain pip works too: `pip install -e ".[all]"`. The cloud SDKs are extras, so `p
|
|
|
66
68
|
|
|
67
69
|
The external scanners (Prowler, Checkov, Trivy, ScoutSuite) are separate executables, not Python dependencies. `install.sh` (Linux/macOS) and `install.bat` (Windows) set up everything including the scanners and the cloud CLIs.
|
|
68
70
|
|
|
69
|
-
Docker is the lazy path
|
|
71
|
+
Docker is the lazy path: the image bundles Prowler, Checkov and Trivy (ScoutSuite is not included, so run it separately and feed its report to `cloudg ingest`):
|
|
70
72
|
|
|
71
73
|
```bash
|
|
72
74
|
docker build -t cloudg:latest .
|
|
@@ -103,7 +105,7 @@ cloudg deps arn:aws:iam::123456789012:role/app-role
|
|
|
103
105
|
cloudg map -p aws --regions all --findings ./reports/raw-findings.json
|
|
104
106
|
```
|
|
105
107
|
|
|
106
|
-
Outputs: `inventory-map.json` (assets, interconnections, summary), `inventory-map.graphml`, `inventory-graph.json` for viewers, `inventory-dependencies.json` (shared dependencies, blast radius, cross-account edges, security coverage gaps) and, with `--org`, `inventory-organization.json`. With `--findings`, additionally `asset-map.json` (each asset with its findings and severity breakdown) and `compliance-map.json` (framework → affected assets). The map never depends on the scanners; you can map today and merge in findings from a scan you run next week. Every file is specified field by field, with annotated examples, in the [inventory reference](https://github.com/morpheuslord/cloudg/blob/main/docs/INVENTORY_REFERENCE.md).
|
|
108
|
+
Outputs: `inventory-map.json` (assets, interconnections, collection coverage, summary), `inventory-map.graphml`, `inventory-graph.json` for viewers, `inventory-dependencies.json` (shared dependencies, blast radius, cross-account edges, security coverage gaps) and, with `--org`, `inventory-organization.json`. With `--findings`, additionally `asset-map.json` (each asset with its findings and severity breakdown) and `compliance-map.json` (framework → affected assets). The map never depends on the scanners; you can map today and merge in findings from a scan you run next week. Every file is specified field by field, with annotated examples, in the [inventory reference](https://github.com/morpheuslord/cloudg/blob/main/docs/INVENTORY_REFERENCE.md).
|
|
107
109
|
|
|
108
110
|
All of this is also a library API, see [Using it as a library](#using-it-as-a-library):
|
|
109
111
|
|
|
@@ -201,7 +203,7 @@ graph LR
|
|
|
201
203
|
|
|
202
204
|
Collection runs all providers concurrently with asyncio, iterating accounts and regions per provider (regions are auto-discovered when you pass `--regions all`). Assets and network edges go into a directed graph, where BFS from the internet node over network-flow edges finds exposed resources and blast radius scoring estimates what an attacker could reach from each node.
|
|
203
205
|
|
|
204
|
-
The same inventory feeds three other exports. The ontology module infers 64 typed relations (`INTERNET_REACHABLE`, `ROLE_ASSUMES_ROLE`, `ENCRYPTED_BY_KMS`, `VPC_CONTAINS_SUBNET` and so on) and writes RDF you can query with SPARQL. The RAG exporter chunks the graph three ways (per asset, per Louvain community, per relation domain) into JSONL for retrieval pipelines. The Terraform exporter maps 25+ asset types to `.tf.json` resources with an `
|
|
206
|
+
The same inventory feeds three other exports. The ontology module infers 64 typed relations (`INTERNET_REACHABLE`, `ROLE_ASSUMES_ROLE`, `ENCRYPTED_BY_KMS`, `VPC_CONTAINS_SUBNET` and so on) and writes RDF you can query with SPARQL. The RAG exporter chunks the graph three ways (per asset, per Louvain community, per relation domain) into JSONL for retrieval pipelines. The Terraform exporter maps 25+ asset types to `.tf.json` resources with an `import_commands.sh` to adopt them into state.
|
|
205
207
|
|
|
206
208
|
Scanner findings are deduplicated in two passes (within a scanner by scanner, check ID and resource; across scanners only when both the normalised title and the underlying check semantics in `cloudg/rules/check_equivalence.yaml` match), then rescored against CVSS and mapped to compliance controls.
|
|
207
209
|
|
|
@@ -211,11 +213,13 @@ Scanner findings are deduplicated in two passes (within a scanner by scanner, ch
|
|
|
211
213
|
|
|
212
214
|
Findings are tagged with framework controls in four tiers, most precise first:
|
|
213
215
|
|
|
214
|
-
1. Whatever the scanner itself reports (Prowler ASFF, Checkov check IDs).
|
|
215
|
-
2. Exact check-ID lookup against the shipped rulesets
|
|
216
|
-
3. Regex pattern rules for scanners that emit no compliance metadata.
|
|
216
|
+
1. Whatever the scanner itself reports (Prowler ASFF or OCSF, Checkov check IDs).
|
|
217
|
+
2. Exact check-ID lookup against the shipped rulesets: 22 framework files generated from Prowler's public compliance data (Apache-2.0), with 4,166 controls and 10,236 check mappings across AWS, Azure and GCP: CIS 5.0 for each cloud, NIST 800-53 rev 5, NIST CSF 2.0, PCI DSS 4.0, SOC 2, HIPAA, GDPR, ISO 27001:2022, MITRE ATT&CK, and the AWS Foundational Security Best Practices.
|
|
218
|
+
3. Regex pattern rules for scanners that emit no compliance metadata: 9 hand-written files in `cloudg/rules/` with 105 controls. Three of them add to the generated CIS frameworks, so the two sets together cover 28 frameworks and 4,271 controls.
|
|
217
219
|
4. A small built-in fallback table.
|
|
218
220
|
|
|
221
|
+
A control that a finding maps to is reported as `FAIL`. A control that only Prowler's passing checks map to is reported as `PASS`; every other control was not assessed and is left out.
|
|
222
|
+
|
|
219
223
|
<details>
|
|
220
224
|
<summary><b>Refreshing and extending the rulesets</b></summary>
|
|
221
225
|
|
|
@@ -285,10 +289,10 @@ controls:
|
|
|
285
289
|
|---|---|
|
|
286
290
|
| `report.html` | interactive report, D3 topology plus findings table, works offline |
|
|
287
291
|
| `findings.json` | all findings, assets, edges and compliance results |
|
|
288
|
-
| `topology.svg`, `topology.graphml
|
|
292
|
+
| `topology.svg`, `topology.graphml` | the graph as a picture and as GraphML; `topology-cytoscape.json` too with `graph.export_cytoscape: true` |
|
|
289
293
|
| `ontology.ttl`, `ontology.jsonld` | the RDF ontology |
|
|
290
294
|
| `rag_chunks.jsonl`, `rag_metadata_index.json` | retrieval-ready chunks |
|
|
291
|
-
| `terraform/*.tf.json`, `terraform/
|
|
295
|
+
| `terraform/*.tf.json`, `terraform/import_commands.sh` | recreation files |
|
|
292
296
|
| `inventory-map.json`, `inventory-map.graphml`, `inventory-graph.json` | scanner-independent inventory map (`cloudg map`) |
|
|
293
297
|
| `asset-map.json`, `compliance-map.json` | inventory merged with scanner findings (`cloudg map --findings`) |
|
|
294
298
|
|
|
@@ -342,7 +346,7 @@ Much more of cloudg is public, importable API than the CLI suggests. The [Python
|
|
|
342
346
|
| `cloudg.graph.builder.GraphBuilder` | NetworkX graph, attack paths, centrality/blast-radius metrics, D3/Cytoscape/GraphML export |
|
|
343
347
|
| `cloudg.graph.ontology.CloudOntology` | RDF ontology (64 typed relations), SPARQL-queryable, Turtle/JSON-LD |
|
|
344
348
|
| `cloudg.graph.rag_export.RAGExporter` | retrieval-ready JSONL chunks of the infrastructure for LLM pipelines |
|
|
345
|
-
| `cloudg.renderers.terraform_export.TerraformExporter` | `.tf.json` recreation of live infrastructure plus `
|
|
349
|
+
| `cloudg.renderers.terraform_export.TerraformExporter` | `.tf.json` recreation of live infrastructure plus `import_commands.sh` |
|
|
346
350
|
| `cloudg.ingest.parse_report` and the scanner classes | every scanner's parser, usable standalone |
|
|
347
351
|
| `cloudg.normaliser.FindingsNormaliser` | cross-scanner dedupe, CVSS rescoring, compliance mapping |
|
|
348
352
|
| `cloudg.mcp.CloudGMCPLayer` | the MCP layer, in-process or mounted into your own MCP server |
|
|
@@ -370,3 +374,23 @@ Python 3.11 or newer. The moto/aiobotocore incompatibility around async response
|
|
|
370
374
|
|
|
371
375
|
---
|
|
372
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
|
+
]
|