feat(gcp): Add ingestion for GCP Cloud Run
Summary
This pull request introduces a new intel module to ingest resources from GCP Cloud Run. This change adds five new node types and maps their hierarchical, internal, and security relationships.
-
New Nodes:
:GCPCloudRunService:GCPCloudRunRevision:GCPCloudRunJob:GCPCloudRunExecution:GCPCloudRunDomainMapping
-
New Relationships:
(GCPProject)-[:RESOURCE]->(:GCPCloudRunService)(and all 4 other child nodes)(GCPCloudRunService)-[:HAS_REVISION]->(:GCPCloudRunRevision)(GCPCloudRunJob)-[:HAS_EXECUTION]->(:GCPCloudRunExecution)(GCPCloudRunDomainMapping)-[:POINTS_TO_SERVICE]->(:GCPCloudRunService)(GCPCloudRunRevision)-[:USES_IMAGE]->(:GCPGCRImage)(GCPCloudRunJob)-[:USES_IMAGE]->(:GCPGCRImage)(GCPCloudRunRevision)-[:USES_SERVICE_ACCOUNT]->(:GCPServiceAccount)(GCPCloudRunJob)-[:USES_SERVICE_ACCOUNT]->(:GCPServiceAccount)
(Note: IAM relationships CAN_INVOKE and CAN_RUN are planned for a follow-up PR.)
Related issues or links
Checklist
-
[x] Update/add unit or integration tests.
-
[x] Include a screenshot showing what the graph looked like before and after your changes.
-
[x] Include console log trace showing what happened before and after your changes.
-
[x] Use the NodeSchema data model.
-
[x] Confirm that the linter actually passes.
@janithashri this is good to go but if you can resolve the conflicts on your branch so that this can be merged that would be great