Skip to content

Latest commit

 

History

History
89 lines (63 loc) · 2.95 KB

README.md

File metadata and controls

89 lines (63 loc) · 2.95 KB

image

Turbot Guardrails Plugin for Steampipe

Use SQL to query infrastructure including servers, networks, identities, policy settings, grants and more from Turbot Guardrails.

Quick start

Install the plugin with Steampipe:

steampipe plugin install guardrails

Run a query:

select
  trunk_title,
  uri
from
  guardrails_resource_type;
+---------------------------------+---------------------------------------------------------+
| trunk_title                     | uri                                                     |
+---------------------------------+---------------------------------------------------------+
| Turbot > IAM > Access Key       | tmod:@turbot/turbot-iam#/resource/types/accessKey       |
| GCP > Monitoring > Alert Policy | tmod:@turbot/gcp-monitoring#/resource/types/alertPolicy |
| AWS > IAM > Access Key          | tmod:@turbot/aws-iam#/resource/types/accessKey          |
| AWS > EC2 > AMI                 | tmod:@turbot/aws-ec2#/resource/types/ami                |
| AWS > SSM > Association         | tmod:@turbot/aws-ssm#/resource/types/association        |
| GCP > Network > Address         | tmod:@turbot/gcp-network#/resource/types/address        |
+---------------------------------+---------------------------------------------------------+

Developing

Prerequisites:

Clone:

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

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

make

Configure the plugin:

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

Try it!

steampipe query
> .inspect guardrails

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: