cloudquery

command module
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2020 License: MPL-2.0 Imports: 1 Imported by: 0

README

cloudquery

cloudquery exposes your cloud configuration and metadata as sql tables. Providing powerful analysis and monitoring without writing code.

Download & install

You can download the precompiled binary from releases or using CLI:

export VERSION=v0.1.0
export OS=Darwin # Possible values: Linux,Windows,Darwin
curl -L https://github.com/cloudquery/cloudquery/releases/download/${VERSION}/cloudquery_${OS}_x86_64 -o cloudquery
chmod a+x cloudquery
./cloudquery --help

Quick Start

Currently, cloudquery only supports AWS (Azure and GCP are on the roadmap). Number of aws resources is actively expanding.

You should be authenticated with AWS account with correct permission with either option (see full documentation):

  • AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY
  • ~/.aws/credentials created via aws configure

Run the following commands:

cp example.config.yml config.yml
# uncomment resource of interest in config.yml
./cloudquery

If you uncommented images (that might take 30 seconds to fetch all images). You can now run the following basic query in your sqlite3 console (sqlite3 ./cloudquery.db):

SELECT * FROM aws_ec2_images;

Full Documentation, resources and SQL schema definitions are available here

License

By contributing to cloudquery you agree that your contributions will be licensed as defined on the LICENSE file.

Compile and run

go build .
./cloudquery # --help to see all options

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
cli module
plugins
source/aws module
source/azure module
source/fuzz module
source/gandi module
source/gcp module
source/github module
source/gitlab module
source/heroku module
source/jira module
source/k8s module
source/notion module
source/okta module
source/oracle module
source/snyk module
source/test module
source/vercel module
source/xkcd module
providers
aws
scaffold module
scripts
v1-migration module

Jump to

Keyboard shortcuts

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