Asset¶
AssetView¶
-
class
grapl_analyzerlib.nodes.asset.
AssetView
(*args, **kwds)¶ Predicate
Type
Description
node_key
string
A unique identifier for this node.
hostname
string
The hostname of this asset.
asset_processes
List[Process]
Processes associated with this asset.
-
get_hostname
(cached=True) → Optional[str]¶
-
classmethod
node_schema
() → grapl_analyzerlib.schema.Schema¶
-
queryable
¶ alias of
AssetQuery
-
with_asset_ip
(*asset_ips, cached=True)¶
-
with_asset_processes
(*processes, cached=True)¶
-
with_files_on_asset
(*files, cached=True)¶
-
AssetQuery¶
-
class
grapl_analyzerlib.nodes.asset.
AssetQuery
(*args, **kwds)¶ -
classmethod
node_schema
() → grapl_analyzerlib.schema.Schema¶
-
with_asset_ip
(*asset_ips: IpAddressQuery)¶
-
with_asset_processes
(*asset_processes: ProcessQuery)¶
-
with_files_on_asset
(*files_on_asset: FileQuery)¶
-
with_hostname
(*, eq: Optional[StrOrNot] = None, contains: Optional[OneOrMany[StrOrNot]] = None, starts_with: Optional[StrOrNot] = None, ends_with: Optional[StrOrNot] = None, regexp: Optional[OneOrMany[StrOrNot]] = None, distance_lt: Optional[Tuple[str, int]] = None) → grapl_analyzerlib.nodes.asset.AssetQuery¶
-
classmethod