IpAddress¶
IpAddressView¶
-
class
grapl_analyzerlib.nodes.ip_address_node.
IpAddressView
(dgraph_client: pydgraph.client.DgraphClient, node_key: str, uid: str, node_type: str, first_seen_timestamp: Optional[NewType.<locals>.new_type] = None, last_seen_timestamp: Optional[NewType.<locals>.new_type] = None, ip_address: Optional[str] = None, ip_connections: Optional[List[grapl_analyzerlib.nodes.ip_connection_node.IpConnectionView]] = None)¶ Predicate
Type
Description
node_key
string
A unique identifier for this node.
ip_address
string
The IP address that this node represents.
first_seen_timestamp
int
Time address was first seen (in millis-since-epoch).
last_seen_timestamp
int
Time address was last seen (in millis-since-epoch).
ip_connections
List[IpConnection]
Connections made from this address.
-
get_bound_by
() → List[grapl_analyzerlib.nodes.process_inbound_network_connection.ProcessInboundConnectionView]¶
-
get_first_seen_timestamp
() → Optional[NewType.<locals>.new_type]¶
-
get_ip_address
() → Optional[str]¶
-
get_ip_connections_from
() → List[grapl_analyzerlib.nodes.ip_connection_node.IpConnectionView]¶
-
get_last_seen_timestamp
() → Optional[NewType.<locals>.new_type]¶
-
get_node_type
() → str¶
-
IpAddressQuery¶
-
class
grapl_analyzerlib.nodes.ip_address_node.
IpAddressQuery
(*args, **kwds)¶ -
with_bound_by
(bound_by_query: Optional[IProcessInboundConnectionQuery] = None) → NQ¶
-
with_first_seen_timestamp
(eq: Optional[IntCmp] = None, gt: Optional[IntCmp] = None, lt: Optional[IntCmp] = None) → NQ¶
-
with_ip_address
(eq: Optional[StrCmp] = None, contains: Optional[StrCmp] = None, ends_with: Optional[StrCmp] = None) → NQ¶
-
with_ip_connections
(ip_connections_query: Optional[IIpConnectionQuery] = None) → NQ¶
-
with_ip_connections_from
(ip_connections_from_query: Optional[IIpConnectionQuery] = None) → NQ¶
-
with_last_seen_timestamp
(eq: Optional[IntCmp] = None, gt: Optional[IntCmp] = None, lt: Optional[IntCmp] = None) → NQ¶
-