theapsgroup / steampipe-plugin-freshservice

Use SQL to instantly query FreshService tickets, assets and more. Open source CLI. No DB required.
https://hub.steampipe.io/plugins/theapsgroup/freshservice
Apache License 2.0
5 stars 2 forks source link
freshservice golang postgres postgresql postgresql-fdw sql steampipe steampipe-plugin

image

FreshService plugin for Steampipe

Use SQL to query information including Tickets, Agents, Assets and more from FreshService.

Quick start

Install the plugin with Steampipe:

steampipe plugin install theapsgroup/freshservice

Setup the configuration:

vi ~/.steampipe/config/freshservice.spc

or set the following Environment Variables

Run a query:

select
  id,
  name,
  active,
  category
from
  freshservice_sla_policy;

Developing

Prerequisites:

Clone:

git clone https://github.com/theapsgroup/steampipe-plugin-freshservice.git
cd steampipe-plugin-freshservice

Build, which automatically installs the new version to your ~/.steampipe/plugins directory:

make

Configure the plugin:

cp config/* ~/.steampipe/config
vi ~/.steampipe/config/freshservice.spc

Try it!

steampipe query
> .inspect freshservice

Further reading: