cartography icon indicating copy to clipboard operation
cartography copied to clipboard

feat(gcp): Add initial ingestion for GCP Cloud SQL

Open janithashri opened this issue 1 month ago • 0 comments

Summary

This pull request introduces a new intel module to ingest resources from GCP Cloud SQL. This change adds three new node types and maps their hierarchical, configuration, and security relationships.

  • New Nodes:

    • :GCPSqlInstance
    • :GCPSqlDatabase
    • :GCPSqlUser
  • New Relationships:

    • (GCPProject)-[:RESOURCE]->(GCPSqlInstance)
    • (GCPSqlInstance)-[:ASSOCIATED_WITH]->(GCPVpc)
    • (GCPSqlInstance)-[:USES_SERVICE_ACCOUNT]->(GCPServiceAccount)
    • (GCPProject)-[:RESOURCE]->(GCPSqlDatabase)
    • (GCPSqlInstance)-[:CONTAINS]->(GCPSqlDatabase)
    • (GCPProject)-[:RESOURCE]->(GCPSqlUser)
    • (GCPSqlInstance)-[:HAS_USER]->(GCPSqlUser)

Related issues or links

  • Addresses part of #1736

Checklist

  • [x] Update/add unit or integration tests.

  • [x] Include a screenshot showing what the graph looked like before and after your changes. Screenshot 2025-10-30 212321

  • [x] Include console log trace showing what happened before and after your changes. Screenshot 2025-10-30 215553

  • [x] Update the schema and readme.

  • [x] Use the NodeSchema data model.

  • [x] Confirm that the linter actually passes.

janithashri avatar Oct 31 '25 02:10 janithashri