Vercel Plugin for Steampipe
Use SQL to query projects, teams, domains and more from Vercel.
- Get started →
- Documentation: Table definitions & examples
- Community: Slack Channel
- Get involved: Issues
Quick start
Install the plugin with Steampipe:
steampipe plugin install vercel
Configure your credentials in ~/.steampipe/config/vercel.spc
:
connection "vercel" {
plugin = "vercel"
api_token = "YwbeYCAYfpdPKSj9yd18JUXX"
team = "mycompany" # Optional
}
Run steampipe:
steampipe query
Query your projects:
select
name,
framework,
updated_at
from
vercel_project;
+------------------+-----------+---------------------------+
| name | framework | updated_at |
+------------------+-----------+---------------------------+
| my-homepage-io | nextjs | 2022-07-12T14:04:42-04:00 |
| another-site-com | nextjs | 2022-07-12T14:28:38-04:00 |
+------------------+-----------+---------------------------+
Developing
Prerequisites:
Clone:
git clone https://github.com/turbot/steampipe-plugin-vercel.git
cd steampipe-plugin-vercel
Build, which automatically installs the new version to your ~/.steampipe/plugins
directory:
make
Configure the plugin:
cp config/* ~/.steampipe/config
vi ~/.steampipe/config/vercel.spc
Try it!
steampipe query
> .inspect vercel
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: