steampipe-plugin-ipstack

command module
v0.6.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 27, 2022 License: Apache-2.0 Imports: 2 Imported by: 0

README

image

ipstack Plugin for Steampipe

Use SQL to query IP address information including geolocation and more from ipstack.

Quick start

Install the plugin with Steampipe:

steampipe plugin install ipstack

Run a query:

select
  ip,
  country_code,
  region_name,
  latitude
from
  ipstack_ip
where
  ip = '99.84.45.75';
> select ip, country_code, region_name, latitude from ipstack_ip where ip = '99.84.45.75' ;
+-------------+--------------+-------------+--------------------+
| ip          | country_code | region_name | latitude           |
+-------------+--------------+-------------+--------------------+
| 99.84.45.75 | US           | New Jersey  | 40.738731384277344 |
+-------------+--------------+-------------+--------------------+

Developing

Prerequisites:

Clone:

git clone https://github.com/turbot/steampipe-plugin-ipstack.git
cd steampipe-plugin-ipstack

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

make

Configure the plugin:

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

Try it!

steampipe query
> .inspect ipstack

Further reading:

Contributing

Please see the contribution guidelines and our code of conduct. All contributions are subject to the Apache 2.0 open source license.

help wanted issues:

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL