Use SQL to query infrastructure including servers, networks, identities, policy settings, grants and more from Turbot Guardrails.
- Get started →
- Documentation: Table definitions & examples
- Community: Join #steampipe on Slack →
- Get involved: Issues
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 |
+---------------------------------+---------------------------------------------------------+
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:
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: