theapsgroup/freshservice
steampipe plugin install theapsgroup/freshservice

Table: freshservice_asset_type

Obtain information about Asset Types from your FreshService instance.

Examples

List all asset types

select
*
from
freshservice_asset_type;

List all child asset types of a parent asset type

select
*
from
freshservice_asset_type
where
parent_asset_type_id = 20069004;

List all assets of a specific asset type

select
a.*
from
freshservice_asset a
left join freshservice_asset_type t on a.asset_type_id = t.id
and t.name = 'MY-TYPE';

Schema for freshservice_asset_type

NameTypeOperatorsDescription
_ctxjsonbSteampipe context in JSON form, e.g. connection_name.
created_attimestamp with time zoneTimestamp when the asset type was created
descriptiontextShort description of the asset type.
idbigint=ID of the asset type.
nametextName of the asset type.
parent_asset_type_idbigintID of the parent asset type.
updated_attimestamp with time zoneTimestamp when the asset type was last updated
visiblebooleanTrue if the asset type is visible.