theapsgroup/freshservice
steampipe plugin install theapsgroup/freshservice

Table: freshservice_asset_component

Allows for obtaining information about component parts of Assets from within the FreshService instance.

You MUST specify an asset_display_id in the WHERE or JOIN clause.

Examples

List all components for a specific asset

select
*
from
freshervice_asset_component
where
asset_display_id = 1234;

List all components of all Assets

select
a.id,
a.display_id,
a.name,
a.asset_tag,
c.id as component_id,
c.component_type,
c.component_data
from
freshservice_asset a
left join freshservice_asset_component c on a.display_id = c.asset_display_id;

Schema for freshservice_asset_component

NameTypeOperatorsDescription
_ctxjsonbSteampipe context in JSON form, e.g. connection_name.
asset_display_idbigint=Display ID of the parent asset
component_datajsonbDetails of the component.
component_typetextType of the component. (Example: Processor, Memory)
created_attimestamp with time zoneTimestamp when the component was created.
idbigintID of the component.
updated_attimestamp with time zoneTimestamp when the component was updated.