freshservice_agentfreshservice_agent_rolefreshservice_announcementfreshservice_assetfreshservice_asset_componentfreshservice_asset_contractfreshservice_asset_typefreshservice_business_hourfreshservice_changefreshservice_change_notefreshservice_contractfreshservice_contract_typefreshservice_departmentfreshservice_locationfreshservice_problemfreshservice_problem_notefreshservice_problem_taskfreshservice_problem_timeentryfreshservice_productfreshservice_purchase_orderfreshservice_releasefreshservice_release_notefreshservice_release_taskfreshservice_release_timeentryfreshservice_requesterfreshservice_servicefreshservice_sla_policyfreshservice_softwarefreshservice_software_installationfreshservice_software_userfreshservice_solution_articlefreshservice_solution_categoryfreshservice_solution_folderfreshservice_ticketfreshservice_ticket_conversationfreshservice_ticket_taskfreshservice_ticket_timeentryfreshservice_vendor
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_componentwhere 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_datafrom freshservice_asset a left join freshservice_asset_component c on a.display_id = c.asset_display_id;
Schema for freshservice_asset_component
Name | Type | Operators | Description |
---|---|---|---|
_ctx | jsonb | Steampipe context in JSON form, e.g. connection_name. | |
asset_display_id | bigint | = | Display ID of the parent asset |
component_data | jsonb | Details of the component. | |
component_type | text | Type of the component. (Example: Processor, Memory) | |
created_at | timestamp with time zone | Timestamp when the component was created. | |
id | bigint | ID of the component. | |
updated_at | timestamp with time zone | Timestamp when the component was updated. |