Adding forward edge from AssetNode to IpAddressNode to connect the two.
"An asset has these IP addresses".
This edge is expected to exist by the cyrrent version of sysmon subgraph
generator:
@@ -7,6 +7,12 @@ class AssetSchema(NodeSchema):
(
self.with_str_prop("hostname")
)
+ .with_forward_edge(
+ "asset_ip",
+ # An asset can have multiple IP address
+ OneToMany(IpAddressNodeSchema),
+ "ip_assigned_to",
+ )
@staticmethod
def self_type() -> str:
