You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by xu...@apache.org on 2025/10/02 21:52:54 UTC
(hudi) branch asf-site updated: chore: update puppygraph blog code block (#14043)
This is an automated email from the ASF dual-hosted git repository.
xushiyan pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/hudi.git
The following commit(s) were added to refs/heads/asf-site by this push:
new 23a06d8a6579 chore: update puppygraph blog code block (#14043)
23a06d8a6579 is described below
commit 23a06d8a6579ab7ed6e136223bdb8e1951668336
Author: Shiyan Xu <27...@users.noreply.github.com>
AuthorDate: Thu Oct 2 16:52:47 2025 -0500
chore: update puppygraph blog code block (#14043)
---
...2025-10-02-Real-Time-Cloud-Security-Graphs-Hudi+PuppyGraph.mdx | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/website/blog/2025-10-02-Real-Time-Cloud-Security-Graphs-Hudi+PuppyGraph.mdx b/website/blog/2025-10-02-Real-Time-Cloud-Security-Graphs-Hudi+PuppyGraph.mdx
index 98f0cfa14d50..37838b5474e1 100644
--- a/website/blog/2025-10-02-Real-Time-Cloud-Security-Graphs-Hudi+PuppyGraph.mdx
+++ b/website/blog/2025-10-02-Real-Time-Cloud-Security-Graphs-Hudi+PuppyGraph.mdx
@@ -171,7 +171,7 @@ Listed below are some sample queries you can try running to explore the data:
1. Tracing Admin Access Paths from Users to Internet Gateways
-```groovy
+```javascript
g.V().hasLabel('User').as('user')
.outE('ACCESS').has('access_level', 'admin').as('edge')
.inV()
@@ -182,7 +182,7 @@ g.V().hasLabel('User').as('user')
2. Find all public IP addresses exposed to the internet, along with their associated virtual machine instances, security groups, subnets, VPCs, internet gateways, and users, displaying all these entities in the traversal path.
-```groovy
+```javascript
g.V().hasLabel('PublicIP').as('ip')
.in('HAS_PUBLIC_IP').as('ni')
.in('PROTECTS').hasLabel('SecurityGroup').as('sg')
@@ -205,7 +205,7 @@ g.V().hasLabel('User').as('user')
3. Find roles that have been granted excessive access permissions, along with their associated virtual machine instances.
-```groovy
+```javascript
g.V().hasLabel('Role').as('role')
.where(
__.out('ALLOWS_ACCESS_TO').count().is(gt(4L))
@@ -220,7 +220,7 @@ g.V().hasLabel('Role').as('role')
4. Find security groups that have ingress rules permitting traffic from any IP address (0.0.0.0/0) to sensitive ports (22 or 3389), and retrieve the associated ingress rules, network interfaces, and virtual machine instances in the traversal path.
-```groovy
+```javascript
g.V().hasLabel('SecurityGroup').as('sg')
.out('HAS_RULE')
.has('source', '0.0.0.0/0')