Skip to content

Use SQL to instantly query the Turbot Guardrails resources. Open source CLI. No DB required.

License

Notifications You must be signed in to change notification settings

Joeturbot/steampipe-plugin-guardrails

 
 

Repository files navigation

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:

About

Use SQL to instantly query the Turbot Guardrails resources. Open source CLI. No DB required.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 99.5%
  • Other 0.5%