Skip to content
This repository has been archived by the owner on Aug 16, 2022. It is now read-only.

Commit

Permalink
feat: Add asset inventory and public endpoint dashboards (#1257)
Browse files Browse the repository at this point in the history
* feat: Add asset inventory and public endpoint dashboards

* Update policies/README.md

Co-authored-by: Herman Schaaf <hermanschaaf@gmail.com>
  • Loading branch information
yevgenypats and hermanschaaf committed Jul 21, 2022
1 parent 8d3e0a1 commit 5164b9f
Show file tree
Hide file tree
Showing 6 changed files with 1,294 additions and 6 deletions.
40 changes: 40 additions & 0 deletions dashboards/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
# AWS Dashboards

This directory contains pre-built dashboards. Currently those are available only for Grafana, but you can create them in any other BI platform:

Checkout those tutorials:
* [Building Open Source Cloud Asset Inventory with CloudQuery and Grafana](https://www.cloudquery.io/blog/open-source-cloud-asset-inventory-with-cloudquery-and-grafana)
* [Building Open Source Cloud Asset Inventory with CloudQuery and Apache Superset](https://www.cloudquery.io/blog/cloud-asset-inventory-cloudquery-apache-superset)
* [Building Open Source Cloud Asset Inventory with CloudQuery and AWS QuickSight](https://www.cloudquery.io/blog/cloud-asset-inventory-cloudquery-aws-quicksight)
* [Building Open Source Cloud Asset Inventory with MetaBase](https://www.cloudquery.io/blog/cloud-asset-inventory-cloudquery-metabase)

## What's inside?

### AWS Asset Inventory

<img alt="AWS Asset Inventory" src="../dashboards/grafana/aws_asset_inventory.png" width=50% height=50%>

#### Installation

1. Execute [this query](https://github.com/cloudquery/cq-provider-aws/blob/main/views/resources.sql) to add the `aws_resources` view.
2. Add the CloudQuery postgres database as a data source to Grafana (`Configuration -> Data Sources -> Add Data Source`)
3. Import [../dashboards/grafana/aws_asset_inventory.json](../dashboards/grafana/aws_asset_inventory.json) into Grafana (`Import -> Upload JSON File`).

### AWS EC2 Public/Private Instances

<img alt="AWS EC2 Public/Private Instances Grafana Dashboard" src="../dashboards/grafana/aws_ec2_public_private.png" width=50% height=50%>

#### Installation

1. Add the CloudQuery postgres database as a data source to Grafana (`Configuration -> Data Sources -> Add Data Source`)
2. Import [../dashboards/grafana/aws_ec2_public_private.json](../dashboards/grafana/aws_ec2_public_private.json) into Grafana (`Import -> Upload JSON File`).

### AWS Compliance and CSPM (Cloud Security Posture Management) Dashboard

<img alt="AWS Compliance and CSPM Dashboard" src="../dashboards/grafana/compliance.png" width=50% height=50%>

#### Installation

1. Execute one more of the AWS [policies](../policies/).
2. Add the CloudQuery postgres database as a data source to Grafana (`Configuration -> Data Sources -> Add Data Source`)
3. Import [../dashboards/grafana/compliance.png](../dashboards/grafana/compliance.png) into Grafana (`Import -> Upload JSON File`).
Loading

0 comments on commit 5164b9f

Please sign in to comment.