cloudg 0.3.0__py3-none-any.whl

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.
Files changed (75) hide show
  1. cloudg/__init__.py +21 -0
  2. cloudg/api.py +613 -0
  3. cloudg/cli.py +934 -0
  4. cloudg/collectors/__init__.py +5 -0
  5. cloudg/collectors/aws.py +830 -0
  6. cloudg/collectors/azure.py +362 -0
  7. cloudg/collectors/base.py +44 -0
  8. cloudg/collectors/gcp.py +170 -0
  9. cloudg/collectors/multi.py +329 -0
  10. cloudg/config.py +261 -0
  11. cloudg/coverage.py +93 -0
  12. cloudg/credentials.py +451 -0
  13. cloudg/graph/__init__.py +6 -0
  14. cloudg/graph/builder.py +336 -0
  15. cloudg/graph/ontology.py +914 -0
  16. cloudg/graph/rag_export.py +533 -0
  17. cloudg/graph/reachability.py +237 -0
  18. cloudg/normaliser.py +390 -0
  19. cloudg/policies/custodian-aws-security.yml +139 -0
  20. cloudg/policies/custodian-azure.yml +95 -0
  21. cloudg/policies/custodian-gcp.yml +87 -0
  22. cloudg/policies/custodian.yml +131 -0
  23. cloudg/region_discovery.py +330 -0
  24. cloudg/registry.py +142 -0
  25. cloudg/renderers/__init__.py +1 -0
  26. cloudg/renderers/html_report.py +430 -0
  27. cloudg/renderers/json_export.py +65 -0
  28. cloudg/renderers/svg.py +689 -0
  29. cloudg/renderers/terraform_export.py +666 -0
  30. cloudg/retry.py +103 -0
  31. cloudg/rules/cis_aws_v3.yaml +148 -0
  32. cloudg/rules/cis_azure_v2.yaml +142 -0
  33. cloudg/rules/cis_gcp_v3.yaml +133 -0
  34. cloudg/rules/frameworks/aws_foundational_security_best_practices_aws.yaml +1286 -0
  35. cloudg/rules/frameworks/cis_5.0_aws.yaml +280 -0
  36. cloudg/rules/frameworks/cis_5.0_azure.yaml +475 -0
  37. cloudg/rules/frameworks/cis_5.0_gcp.yaml +327 -0
  38. cloudg/rules/frameworks/gdpr_aws.yaml +95 -0
  39. cloudg/rules/frameworks/hipaa_aws.yaml +461 -0
  40. cloudg/rules/frameworks/hipaa_azure.yaml +504 -0
  41. cloudg/rules/frameworks/hipaa_gcp.yaml +211 -0
  42. cloudg/rules/frameworks/iso27001_2022_aws.yaml +789 -0
  43. cloudg/rules/frameworks/iso27001_2022_azure.yaml +477 -0
  44. cloudg/rules/frameworks/iso27001_2022_gcp.yaml +240 -0
  45. cloudg/rules/frameworks/mitre_attack_aws.yaml +596 -0
  46. cloudg/rules/frameworks/mitre_attack_azure.yaml +418 -0
  47. cloudg/rules/frameworks/mitre_attack_gcp.yaml +300 -0
  48. cloudg/rules/frameworks/nist_800_53_revision_5_aws.yaml +3234 -0
  49. cloudg/rules/frameworks/nist_csf_2.0_aws.yaml +828 -0
  50. cloudg/rules/frameworks/pci_4.0_aws.yaml +7108 -0
  51. cloudg/rules/frameworks/pci_4.0_azure.yaml +4696 -0
  52. cloudg/rules/frameworks/pci_4.0_gcp.yaml +5405 -0
  53. cloudg/rules/frameworks/soc2_aws.yaml +421 -0
  54. cloudg/rules/frameworks/soc2_azure.yaml +477 -0
  55. cloudg/rules/frameworks/soc2_gcp.yaml +342 -0
  56. cloudg/rules/gdpr.yaml +56 -0
  57. cloudg/rules/hipaa_security_rule.yaml +83 -0
  58. cloudg/rules/iso_27001_2022.yaml +88 -0
  59. cloudg/rules/nist_800_53.yaml +134 -0
  60. cloudg/rules/pci_dss_v4.yaml +108 -0
  61. cloudg/rules/soc2_tsc.yaml +93 -0
  62. cloudg/scanners/__init__.py +1 -0
  63. cloudg/scanners/checkov.py +174 -0
  64. cloudg/scanners/iam_linter.py +200 -0
  65. cloudg/scanners/prowler.py +237 -0
  66. cloudg/scanners/scoutsuite.py +163 -0
  67. cloudg/scanners/trivy.py +339 -0
  68. cloudg/schema/__init__.py +25 -0
  69. cloudg/schema/models.py +260 -0
  70. cloudg/templates/report.html.j2 +828 -0
  71. cloudg-0.3.0.dist-info/METADATA +330 -0
  72. cloudg-0.3.0.dist-info/RECORD +75 -0
  73. cloudg-0.3.0.dist-info/WHEEL +4 -0
  74. cloudg-0.3.0.dist-info/entry_points.txt +14 -0
  75. cloudg-0.3.0.dist-info/licenses/LICENSE +21 -0
@@ -0,0 +1,330 @@
1
+ Metadata-Version: 2.5
2
+ Name: cloudg
3
+ Version: 0.3.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
+ Author-email: morpheuslord <chiranjeevi.naidu@proton.me>
8
+ License: MIT
9
+ License-File: LICENSE
10
+ Keywords: audit,aws,azure,cloud,gcp,graph,ontology,security,terraform
11
+ Classifier: Development Status :: 4 - Beta
12
+ Classifier: Environment :: Console
13
+ Classifier: Intended Audience :: Information Technology
14
+ Classifier: Intended Audience :: System Administrators
15
+ Classifier: License :: OSI Approved :: MIT License
16
+ Classifier: Programming Language :: Python :: 3.11
17
+ Classifier: Programming Language :: Python :: 3.12
18
+ Classifier: Topic :: Security
19
+ Classifier: Topic :: System :: Systems Administration
20
+ Requires-Python: >=3.11
21
+ Requires-Dist: aiofiles>=23.0
22
+ Requires-Dist: click>=8.0
23
+ Requires-Dist: jinja2>=3.1
24
+ Requires-Dist: networkx>=3.1
25
+ Requires-Dist: parliament>=1.6
26
+ Requires-Dist: pydantic<3.0,>=2.0
27
+ Requires-Dist: python-louvain>=0.16
28
+ Requires-Dist: pyyaml>=6.0
29
+ Requires-Dist: rdflib>=7.0
30
+ Requires-Dist: rich>=13.0
31
+ Requires-Dist: svgwrite>=1.4
32
+ Provides-Extra: all
33
+ Requires-Dist: aioboto3>=12.0; extra == 'all'
34
+ Requires-Dist: azure-identity>=1.14; extra == 'all'
35
+ Requires-Dist: azure-mgmt-compute>=30.0; extra == 'all'
36
+ Requires-Dist: azure-mgmt-keyvault>=10.0; extra == 'all'
37
+ Requires-Dist: azure-mgmt-network>=25.0; extra == 'all'
38
+ Requires-Dist: azure-mgmt-resource>=23.0; extra == 'all'
39
+ Requires-Dist: azure-mgmt-sql>=3.0; extra == 'all'
40
+ Requires-Dist: azure-mgmt-storage>=21.0; extra == 'all'
41
+ Requires-Dist: boto3>=1.28; extra == 'all'
42
+ Requires-Dist: google-auth>=2.22; extra == 'all'
43
+ Requires-Dist: google-cloud-asset>=3.0; extra == 'all'
44
+ Provides-Extra: aws
45
+ Requires-Dist: aioboto3>=12.0; extra == 'aws'
46
+ Requires-Dist: boto3>=1.28; extra == 'aws'
47
+ Provides-Extra: azure
48
+ Requires-Dist: azure-identity>=1.14; extra == 'azure'
49
+ Requires-Dist: azure-mgmt-compute>=30.0; extra == 'azure'
50
+ Requires-Dist: azure-mgmt-keyvault>=10.0; extra == 'azure'
51
+ Requires-Dist: azure-mgmt-network>=25.0; extra == 'azure'
52
+ Requires-Dist: azure-mgmt-resource>=23.0; extra == 'azure'
53
+ Requires-Dist: azure-mgmt-sql>=3.0; extra == 'azure'
54
+ Requires-Dist: azure-mgmt-storage>=21.0; extra == 'azure'
55
+ Provides-Extra: dev
56
+ Requires-Dist: aioboto3>=12.0; extra == 'dev'
57
+ Requires-Dist: boto3>=1.28; extra == 'dev'
58
+ Requires-Dist: moto[all]>=5.0; extra == 'dev'
59
+ Requires-Dist: pytest-asyncio>=0.21; extra == 'dev'
60
+ Requires-Dist: pytest>=7.0; extra == 'dev'
61
+ Requires-Dist: ruff>=0.1; extra == 'dev'
62
+ Provides-Extra: full
63
+ Requires-Dist: diagrams>=0.23; extra == 'full'
64
+ Requires-Dist: policy-sentry>=0.12; extra == 'full'
65
+ Requires-Dist: weasyprint>=60.0; extra == 'full'
66
+ Provides-Extra: gcp
67
+ Requires-Dist: google-auth>=2.22; extra == 'gcp'
68
+ Requires-Dist: google-cloud-asset>=3.0; extra == 'gcp'
69
+ Description-Content-Type: text/markdown
70
+
71
+ <p align="center">
72
+ <img src="https://raw.githubusercontent.com/morpheuslord/cloudg/main/assets/cloudg_animated_logo.gif" width="600" alt="cloudg animated logo">
73
+ </p>
74
+
75
+ <p align="center">
76
+ <a href="LICENSE"><img src="https://img.shields.io/badge/license-MIT-green.svg" alt="License: MIT"></a>
77
+ <img src="https://img.shields.io/badge/python-3.11%2B-blue.svg" alt="Python 3.11+">
78
+ <img src="https://img.shields.io/badge/version-0.3.0-4c1.svg" alt="Version 0.3.0">
79
+ <a href="https://github.com/astral-sh/uv"><img src="https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/uv/main/assets/badge/v0.json" alt="uv"></a>
80
+ </p>
81
+
82
+ <p align="center">
83
+ <b>cloudg</b> (cloud graphing) maps AWS, Azure and GCP infrastructure into a graph,<br>
84
+ runs security scanners over the same inventory, and turns the results into reports you can actually use.
85
+ </p>
86
+
87
+ ---
88
+
89
+ One command collects assets from every configured provider in parallel, feeds them through a NetworkX graph for reachability and attack path analysis, fans out to Prowler, ScoutSuite, Checkov and Trivy, then merges and deduplicates all findings against 28 compliance frameworks. Out the other end come an interactive HTML report, GraphML, an RDF ontology, RAG chunks for LLM pipelines, and Terraform files that recreate the live infrastructure.
90
+
91
+ ---
92
+
93
+ ## Quick start
94
+
95
+ ```bash
96
+ git clone https://github.com/morpheuslord/cloudg.git
97
+ cd cloudg
98
+
99
+ uv venv && source .venv/bin/activate
100
+ uv pip install -e ".[all,dev]"
101
+ ```
102
+
103
+ ```bash
104
+ # one provider, one region
105
+ cloudg run -p aws --regions us-east-1
106
+
107
+ # everything, everywhere
108
+ cloudg run -p all --regions all
109
+
110
+ # with Terraform recreation files
111
+ cloudg run -p aws --regions us-east-1 --terraform
112
+ ```
113
+
114
+ Reports land in `./reports`. Open `report.html` first.
115
+
116
+ <details>
117
+ <summary><b>Other install options (pip, Docker, installer scripts)</b></summary>
118
+
119
+ <br>
120
+
121
+ Plain pip works too: `pip install -e ".[all]"`. The cloud SDKs are extras, so `pip install cloudg[aws]` pulls only boto3/aioboto3, `[azure]` and `[gcp]` do the same for their SDKs, and `[all]` installs the lot. The core package with no extras still gives you the graph engine, the ontology, the normaliser and the report renderers.
122
+
123
+ 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.
124
+
125
+ Docker is the lazy path, since the image bundles all four scanners:
126
+
127
+ ```bash
128
+ docker build -t cloudg:latest .
129
+ docker compose run --rm cloudg run -p aws --regions us-east-1
130
+ ```
131
+
132
+ </details>
133
+
134
+ ---
135
+
136
+ ## Authentication
137
+
138
+ Every provider supports several auth methods, resolved in a fixed priority order. The same config works on a laptop, in CI, and on cloud compute. The full set of fields lives in `config.yaml` with comments for each method.
139
+
140
+ <details>
141
+ <summary><b>AWS</b></summary>
142
+
143
+ <br>
144
+
145
+ 1. Direct keys: `--aws-key` / `--aws-secret` (plus `--aws-session-token` for temporary credentials), or the standard env vars.
146
+ 2. OIDC web identity federation: `--aws-role-arn` together with `--aws-web-identity-token-file`. This is the GitHub Actions / GitLab CI / EKS service account pattern, no long-lived keys anywhere.
147
+ 3. A named CLI profile via `--profile`, including SSO profiles.
148
+ 4. Nothing at all: the default chain picks up env vars, cached SSO credentials, or the EC2/ECS instance role, so a scan running on cloud compute inherits its host's role.
149
+
150
+ On top of any of these you can layer STS role assumption with `--aws-role-arn` and, for the third-party auditor pattern, `--aws-external-id`. Multi-account fan-out uses `accounts` plus `role_name` in the config file, and cloudg assumes that role in each account before collecting.
151
+
152
+ </details>
153
+
154
+ <details>
155
+ <summary><b>Azure</b></summary>
156
+
157
+ <br>
158
+
159
+ 1. Workload identity federation: `--azure-tenant-id`, `--azure-client-id` and `--azure-federated-token-file` (AKS workload identity, GitHub OIDC).
160
+ 2. Service principal with a client secret: `--azure-client-secret`.
161
+ 3. Service principal with a certificate: `--azure-cert-path`.
162
+ 4. Managed identity: `--azure-managed-identity`, with `managed_identity_client_id` in the config for user-assigned identities.
163
+ 5. The DefaultAzureCredential chain, which also covers `az login` sessions.
164
+
165
+ </details>
166
+
167
+ <details>
168
+ <summary><b>GCP</b></summary>
169
+
170
+ <br>
171
+
172
+ 1. A credentials file via `--gcp-credentials-file`: either a service account key JSON or a workload identity federation (`external_account`) config.
173
+ 2. Application default credentials: `GOOGLE_APPLICATION_CREDENTIALS`, gcloud user credentials, or the GCE/GKE metadata server.
174
+
175
+ `--gcp-impersonate-sa` layers service account impersonation on top of either, which is handy when your user account may impersonate a read-only scanner service account.
176
+
177
+ </details>
178
+
179
+ ---
180
+
181
+ ## What the pipeline does
182
+
183
+ ```mermaid
184
+ graph LR
185
+ A[Collect<br/>AWS + Azure + GCP] --> B[Graph<br/>reachability, attack paths]
186
+ A --> C[Scanners<br/>Prowler, Checkov, Trivy, ScoutSuite]
187
+ B --> D[Ontology + RAG + Terraform]
188
+ C --> E[Normalise<br/>dedupe, score, map to frameworks]
189
+ D --> F[Reports]
190
+ E --> F
191
+ ```
192
+
193
+ 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 finds exposed resources and blast radius scoring estimates what an attacker could reach from each node.
194
+
195
+ The same inventory feeds three other exports. The ontology module infers about 62 typed relations (`exposed_to_internet`, `assumes_role`, `encrypted_by`, `hosted_in_vpc` 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.sh` to adopt them into state.
196
+
197
+ Scanner findings are deduplicated by resource and title, rescored against CVSS, and mapped to compliance controls.
198
+
199
+ ---
200
+
201
+ ## Compliance rules
202
+
203
+ Findings are tagged with framework controls in four tiers, most precise first:
204
+
205
+ 1. Whatever the scanner itself reports (Prowler ASFF, Checkov check IDs).
206
+ 2. Exact check-ID lookup against the shipped rulesets. These are generated from Prowler's public compliance data (Apache-2.0) and cover 28 frameworks 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.
207
+ 3. Regex pattern rules for scanners that emit no compliance metadata.
208
+ 4. A small built-in fallback table.
209
+
210
+ <details>
211
+ <summary><b>Refreshing and extending the rulesets</b></summary>
212
+
213
+ <br>
214
+
215
+ The rulesets ship inside the package (`cloudg/rules/`). To refresh them against a newer Prowler release:
216
+
217
+ ```bash
218
+ git clone --depth 1 https://github.com/prowler-cloud/prowler /tmp/prowler
219
+ python scripts/import_prowler_compliance.py /tmp/prowler
220
+ ```
221
+
222
+ Adding your own framework is a YAML file in the rules directory:
223
+
224
+ ```yaml
225
+ framework: MY-FRAMEWORK
226
+ controls:
227
+ - id: "MF-1.1"
228
+ title: "Storage is encrypted"
229
+ patterns: ["encrypt.*rest"] # regex tier
230
+ checks: ["s3_default_encryption"] # exact tier, optional
231
+ ```
232
+
233
+ `cloudg/policies/` additionally holds Cloud Custodian policy packs (AWS governance, AWS security, Azure, GCP) you can run with `custodian run` independently of cloudg.
234
+
235
+ </details>
236
+
237
+ ---
238
+
239
+ ## Reference
240
+
241
+ <details>
242
+ <summary><b>CLI flags</b></summary>
243
+
244
+ <br>
245
+
246
+ | Flag | Meaning |
247
+ |---|---|
248
+ | `-p, --provider` | `aws`, `azure`, `gcp` or `all`; repeatable |
249
+ | `--regions` | `all` for auto-discovery, or a comma-separated list |
250
+ | `--aws-key`, `--aws-secret`, `--aws-session-token` | direct AWS credentials |
251
+ | `--aws-role-arn`, `--aws-external-id` | STS role assumption |
252
+ | `--aws-web-identity-token-file` | OIDC token file for web identity federation |
253
+ | `--profile` | AWS CLI profile |
254
+ | `--subscription-id`, `--azure-tenant-id`, `--azure-client-id` | Azure identity |
255
+ | `--azure-client-secret`, `--azure-cert-path` | service principal credentials |
256
+ | `--azure-federated-token-file`, `--azure-managed-identity` | federation / managed identity |
257
+ | `--project-id`, `--gcp-credentials-file`, `--gcp-impersonate-sa` | GCP identity |
258
+ | `--scanners` | comma-separated subset of `prowler,scoutsuite,checkov,trivy,iam` |
259
+ | `--iac-dir` | directory for Checkov to scan |
260
+ | `--images` | container images for Trivy |
261
+ | `--ontology/--no-ontology` | RDF ontology export (on by default) |
262
+ | `--rag-export/--no-rag-export` | RAG chunk export (on by default) |
263
+ | `--terraform/--no-terraform` | Terraform recreation (off by default) |
264
+ | `-o, --output` | output directory, `./reports` by default |
265
+
266
+ `cloudg collect` and `cloudg scan` run the individual phases; `cloudg report -i findings.json` re-renders reports from a previous run.
267
+
268
+ </details>
269
+
270
+ <details>
271
+ <summary><b>Output files</b></summary>
272
+
273
+ <br>
274
+
275
+ | File | What it is |
276
+ |---|---|
277
+ | `report.html` | interactive report, D3 topology plus findings table, works offline |
278
+ | `findings.json` | all findings, assets, edges and compliance results |
279
+ | `topology.svg`, `topology.graphml`, `topology-cytoscape.json` | the graph in three formats |
280
+ | `ontology.ttl`, `ontology.jsonld` | the RDF ontology |
281
+ | `rag_chunks.jsonl`, `rag_metadata_index.json` | retrieval-ready chunks |
282
+ | `terraform/*.tf.json`, `terraform/import.sh` | recreation files |
283
+
284
+ </details>
285
+
286
+ ---
287
+
288
+ ## Using it as a library
289
+
290
+ ```python
291
+ from cloudg import CloudGConfig, CloudGEngine
292
+
293
+ config = CloudGConfig(providers=["aws"])
294
+ config.aws.role_arn = "arn:aws:iam::123456789012:role/scanner"
295
+ config.aws.external_id = "my-external-id"
296
+
297
+ engine = CloudGEngine(config)
298
+ engine.on_finding = lambda f: forward_to_siem(f)
299
+
300
+ result = engine.run_pipeline_sync()
301
+ print(result.to_summary())
302
+ ```
303
+
304
+ The engine exposes `collect()`, `scan()` and `analyze()` separately if you only need part of the pipeline, and event hooks (`on_finding`, `on_phase_start`, `on_error`, `on_scan_complete`) for streaming integration.
305
+
306
+ Custom collectors and scanners register through entry points, no core changes needed:
307
+
308
+ ```toml
309
+ [project.entry-points."cloudg.collectors"]
310
+ mycloud = "my_package.collector:MyCollector"
311
+ ```
312
+
313
+ ---
314
+
315
+ ## Development
316
+
317
+ ```bash
318
+ uv pip install -e ".[all,dev]"
319
+ pytest # 152 tests, moto-mocked AWS included
320
+ ruff check cloudg/ tests/
321
+ uv build # wheel + sdist for PyPI
322
+ ```
323
+
324
+ Python 3.11 or newer. The moto/aiobotocore incompatibility around async response bodies is handled in `tests/conftest.py`, so the suite runs against current versions of both.
325
+
326
+ ---
327
+
328
+ ## License
329
+
330
+ MIT
@@ -0,0 +1,75 @@
1
+ cloudg/__init__.py,sha256=XhZa-Rlimh1hc95yFm9ZbCzfenuM-tAQTQj9IxoUW0o,424
2
+ cloudg/api.py,sha256=0HTIJlIS1Otu2Ma-_fDCjYDkpvIeogZ0TER1ng-LX_0,22520
3
+ cloudg/cli.py,sha256=E2AzAyyhxnnyzWIH3H5CPqr4g-cJ23Ljktw4k1evqYQ,36948
4
+ cloudg/config.py,sha256=PvTteBvrwnPunx3wwk32B4fo-gUFBi49O6Z5GowloWg,9623
5
+ cloudg/coverage.py,sha256=mspyO1AwWSJArp_NJTUAPKlG_Eg7VQYnGqXUjfHgz5k,2657
6
+ cloudg/credentials.py,sha256=X9cEKCRb3tFwHL635mq1rkZ_uE_vS8uwSZGiBd5mryk,17623
7
+ cloudg/normaliser.py,sha256=frvaouNv9cVsb0dWhTAgcBU-L0bUiRTohao74xDtWss,15873
8
+ cloudg/region_discovery.py,sha256=nbHCWmzhVdJ2ddvWiJuSpsqoRXz0Zlz-jGH1pidjip4,9960
9
+ cloudg/registry.py,sha256=vDJevfwe-HMk_6a5_4oiVeZz55OGNjl3TOJj83qhTnw,4954
10
+ cloudg/retry.py,sha256=9DDYrqLz8bsu76BEV5sn9-sb01-y3wqjYrD8CBg_Lws,3453
11
+ cloudg/collectors/__init__.py,sha256=ROq1CH6_zCbS-jXo_zccuGMArtQ8JaaEInHXOTHuXtA,141
12
+ cloudg/collectors/aws.py,sha256=dRuDZ4owPoBOXUMwRuGcSXDYVDnb6RAzixkJN46aM0k,38786
13
+ cloudg/collectors/azure.py,sha256=_tjIYDH8shysmkFShlNzPefVPCTzYpDbbVst_Mzxmww,15373
14
+ cloudg/collectors/base.py,sha256=OoLWPtcLxgwfYbRfW6lK3ktWZ8Y6jnz0G0PakFLYcXo,1254
15
+ cloudg/collectors/gcp.py,sha256=LNS5C4EHynpLlKJGpFSe3_R55WY5ujRNTMvms7R_SXI,6858
16
+ cloudg/collectors/multi.py,sha256=3_ZxvEy9f4V8pxHFoU7aTJK_j3ugnwxZXX_qPk_9AOw,13496
17
+ cloudg/graph/__init__.py,sha256=7We3rXNQNm4O99klwrgqAuPm2xi2MwqEbTrVjDt06HI,186
18
+ cloudg/graph/builder.py,sha256=ox3qg1YykVcWlAQJE9q2pwSBRdqp4e9e4pW-r0VKx5M,11416
19
+ cloudg/graph/ontology.py,sha256=E2ze_ORoyDMilZOKJ2AV9GrfnxqGXH4oMRocdjigXec,33983
20
+ cloudg/graph/rag_export.py,sha256=Qq-rRkEAdRqX-68v_UCsX_T74O6c6c-f-9CtEh55Hek,20220
21
+ cloudg/graph/reachability.py,sha256=_MFy3AO0D-Zo0MAbdU6BMhL-JE2wAjyq1k7jWzzVVw4,9168
22
+ cloudg/policies/custodian-aws-security.yml,sha256=E3yh0yqB5g8bloD_0EAcKuK67cs-21zFE7DW7m-tL4E,5340
23
+ cloudg/policies/custodian-azure.yml,sha256=hgzaAPUi3bqiXCSxQCN812xwPW4wQMeNirVfSA-PQMw,3788
24
+ cloudg/policies/custodian-gcp.yml,sha256=aEwN6MATLfRa5Mwjsz97kq-otz_tAJrrOMpwiuOchE4,3561
25
+ cloudg/policies/custodian.yml,sha256=dxUWqpPDtu4Wl8SUKdtJBCYQqlqMksKNmA2Gw6dcK4w,4537
26
+ cloudg/renderers/__init__.py,sha256=UcJkYEmDaVv8-xvgjpCNnjsuHkUgKbceeC8is4n5ZiE,25
27
+ cloudg/renderers/html_report.py,sha256=PXv7o2cEr_7dLSV1hpLrLlpPtZOjQQiF4u1AxcsMMs0,17475
28
+ cloudg/renderers/json_export.py,sha256=eTLZnlhLJYWq_LcTWVYOUnLZz7vHwDHb3g5ea9GiD6I,2118
29
+ cloudg/renderers/svg.py,sha256=zHzQV7JyoaKsjdGVxliJyMpkMBxc3OlTG2yd8E1WzGU,23830
30
+ cloudg/renderers/terraform_export.py,sha256=OaH5AXzEeAifNH5SCtq_-X6Did2JFcsJI-SC6pSzp_4,21935
31
+ cloudg/rules/cis_aws_v3.yaml,sha256=exmfWI_-s0DoF-0bt0DoBPY2oO_W3vUIfGfMJBadDZs,4169
32
+ cloudg/rules/cis_azure_v2.yaml,sha256=hpjcjmaSphptt1MZC5DQZ55bv3ZD3re1RPtAI93UQT4,4304
33
+ cloudg/rules/cis_gcp_v3.yaml,sha256=Y0Rk67r5uzCAarzLjQYwXN0v4XD5NivPESisDjsItFM,4089
34
+ cloudg/rules/gdpr.yaml,sha256=OjdWPBwEuS5s3A7riqp5k4QlJvBEc5lJtvFazs0L0D8,1751
35
+ cloudg/rules/hipaa_security_rule.yaml,sha256=dCJWHsXh9SYBmystxLbi4oZ18uRkDyvouNJWee_oQic,2451
36
+ cloudg/rules/iso_27001_2022.yaml,sha256=7lQk7NwmdszBEgwFKVuQgAPdB1hGZSsPnpsYj91nivc,2205
37
+ cloudg/rules/nist_800_53.yaml,sha256=z-a8h14Wop0-1OTnU1Sopo2hqhABdAwCKVwXcmpSszw,3201
38
+ cloudg/rules/pci_dss_v4.yaml,sha256=mqgwdWB5LScOnM7lfTqPMfTKyhk1jnDBWRcyVJ5Oros,3137
39
+ cloudg/rules/soc2_tsc.yaml,sha256=m64Q2RoJtCCZFAaBV5ebGRFKwYWJApIflZ7ae9CHjQ8,2859
40
+ cloudg/rules/frameworks/aws_foundational_security_best_practices_aws.yaml,sha256=tLVdVNcZYF1x6wi8AGrgd8McvBXV3UnoAEp34VEQ3oQ,62934
41
+ cloudg/rules/frameworks/cis_5.0_aws.yaml,sha256=szDVhNGGcSJ4WGbhOhtQ4LEnfsprQwa3iH4NhYL3MvM,9516
42
+ cloudg/rules/frameworks/cis_5.0_azure.yaml,sha256=t8Z3OsSd6Ix76KdKucgshvOo7ezmWVZUFqR6Xw2PcZs,16939
43
+ cloudg/rules/frameworks/cis_5.0_gcp.yaml,sha256=V7fjGAWC7B0293z24D6SU6rzJ7jv-yEm2zETCaNhRIM,11899
44
+ cloudg/rules/frameworks/gdpr_aws.yaml,sha256=CxmxgC-mXKOlGLGpIMc5-KRP_7Le49nV7TWsy-wEoW8,4352
45
+ cloudg/rules/frameworks/hipaa_aws.yaml,sha256=OGQ152aFY4Nd2PsIAGyWtdMZ-nfA63OEVpJbvb0pG6M,19329
46
+ cloudg/rules/frameworks/hipaa_azure.yaml,sha256=rTA5UPimWLTJ1XjYWsWZoVSWioOMXAYNiiaYfp646ok,22410
47
+ cloudg/rules/frameworks/hipaa_gcp.yaml,sha256=OHzqz-Gl6hMuU9GPp-XH0chzpDiHACzl1CuTtgy5aR8,10018
48
+ cloudg/rules/frameworks/iso27001_2022_aws.yaml,sha256=-K-6FNWenwoyvEtVktavckCPS8I4YUMk3ZavJdzYc5E,35803
49
+ cloudg/rules/frameworks/iso27001_2022_azure.yaml,sha256=0-fn712a6Q1g_Gn5VER3XEuc94g11aEkvUNHtT4YnA4,21811
50
+ cloudg/rules/frameworks/iso27001_2022_gcp.yaml,sha256=d_sxgMaV2Axr6IKYmTibx72yYKVfrya4bfVDhYXG-48,10763
51
+ cloudg/rules/frameworks/mitre_attack_aws.yaml,sha256=FR5VoVHJV6_p3iJQY0sH7qijuZQNOiAQPysHd4nlYNU,30256
52
+ cloudg/rules/frameworks/mitre_attack_azure.yaml,sha256=b939BSfeRhLCY7NA35WgORvktcyUWZ6UgNK9jPsg4wQ,21222
53
+ cloudg/rules/frameworks/mitre_attack_gcp.yaml,sha256=r2cVwa8QPFqU5AnEBdGqgQwVhlziDTeTqF_r3Mputck,15512
54
+ cloudg/rules/frameworks/nist_800_53_revision_5_aws.yaml,sha256=gaMpBuIQOMjIk2Z93pv00p2yfTpybqteO7dWr6jgbck,135825
55
+ cloudg/rules/frameworks/nist_csf_2.0_aws.yaml,sha256=22I1uPSF1vkJ1el_nkzsLjdVOM4N65Su7rg41k73R_0,35748
56
+ cloudg/rules/frameworks/pci_4.0_aws.yaml,sha256=i2F8-APvhqAoC4_S_q42YeE2kwrImOfPaxfW-UqPzRw,265967
57
+ cloudg/rules/frameworks/pci_4.0_azure.yaml,sha256=LRYvl2pfZtSfkZwqU8cZBcy7reJ7FBB9K8J6-gHMhoY,234572
58
+ cloudg/rules/frameworks/pci_4.0_gcp.yaml,sha256=VbjzQpQbmTd4aZTMEEo2MGIoAG2CyR-W24w-li4ou1E,263382
59
+ cloudg/rules/frameworks/soc2_aws.yaml,sha256=iNWgG3Ha4U2PYFhRn6FElgNXC_HWwerjtZeEtovyCgo,21052
60
+ cloudg/rules/frameworks/soc2_azure.yaml,sha256=-6aIC32G-KWt4DauTTk0jEYgXPxi966M23qYgT4-B-g,24009
61
+ cloudg/rules/frameworks/soc2_gcp.yaml,sha256=xfhGVd_i8RnbkaVOi34enLWp0PCy8NWIDyIIoRRpHjw,19125
62
+ cloudg/scanners/__init__.py,sha256=EslIC36UDlhnHZJuefqyTqDnzh-Ri5fVZ91Zyn7OWg4,33
63
+ cloudg/scanners/checkov.py,sha256=9gdwVK0pyh-7-Xw385C0yNoEyZM1LNW7lKAJUL0B3Vo,5763
64
+ cloudg/scanners/iam_linter.py,sha256=RpekVkbayF1MI10eVr4MNKa8DWTTIcsd0pPrIeXfZuA,7871
65
+ cloudg/scanners/prowler.py,sha256=_ht-KF_vMvoeM_Mt-aJQKhE9O7hAMEqXkeYAa1WKYOo,8313
66
+ cloudg/scanners/scoutsuite.py,sha256=IQfAeWusXDcu5h4ahmgr4Nd71eUkIprrjEs2YyKAG20,5720
67
+ cloudg/scanners/trivy.py,sha256=P9YvqTIe_ISLQ2KDoOhUvaG60lWx61XPk7PA2Q0PNZg,11562
68
+ cloudg/schema/__init__.py,sha256=x9z7HxWHnoJPARlNNM3pfE2TVeqm5sO9eQQSKEJFLlg,430
69
+ cloudg/schema/models.py,sha256=AdRqMyH1PezuX4NnH8tY9kY--0GSLsStX5wwkPeHcEs,7992
70
+ cloudg/templates/report.html.j2,sha256=0z8ZxCE_QiJJNrP5soZM5sXJd7uzaew_ed4pKpBI7BQ,38543
71
+ cloudg-0.3.0.dist-info/METADATA,sha256=wTUuJBnHfBPYLquzd4IWlZX-_NsYNMcO-eFQezBt3tI,13726
72
+ cloudg-0.3.0.dist-info/WHEEL,sha256=W3fkpkm7-wf9vBI5Z-7s0eWkeM-spu78I8Neb98DeEg,87
73
+ cloudg-0.3.0.dist-info/entry_points.txt,sha256=RM-Zr5zjxvdasReR488sZUOh2jXeg_FrG-Jjn82yG-k,458
74
+ cloudg-0.3.0.dist-info/licenses/LICENSE,sha256=bjTmGV14nGT35SymT9AKMCugVx0ZekIfccH7c3R82vU,1069
75
+ cloudg-0.3.0.dist-info/RECORD,,
@@ -0,0 +1,4 @@
1
+ Wheel-Version: 1.0
2
+ Generator: hatchling 1.32.4
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
@@ -0,0 +1,14 @@
1
+ [console_scripts]
2
+ cloudg = cloudg.cli:cli
3
+
4
+ [cloudg.collectors]
5
+ aws = cloudg.collectors.aws:AsyncAWSCollector
6
+ azure = cloudg.collectors.azure:AzureCollector
7
+ gcp = cloudg.collectors.gcp:GCPCollector
8
+
9
+ [cloudg.scanners]
10
+ checkov = cloudg.scanners.checkov:CheckovScanner
11
+ iam = cloudg.scanners.iam_linter:IAMLinter
12
+ prowler = cloudg.scanners.prowler:ProwlerScanner
13
+ scoutsuite = cloudg.scanners.scoutsuite:ScoutSuiteScanner
14
+ trivy = cloudg.scanners.trivy:TrivyScanner
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 morpheuslord
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.