All Projects → somethingnew2-0 → SimpleCSPM

somethingnew2-0 / SimpleCSPM

Licence: MIT license
GCP CSPM using Google Sheets

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to SimpleCSPM

Cloud-Service-Providers-Free-Tier-Overview
Comparing the free tier offers of the major cloud providers like AWS, Azure, GCP, Oracle etc.
Stars: ✭ 226 (+841.67%)
Mutual labels:  gcp, google-cloud-platform
gcp-get-secret
A simple command line utility to get secrets from the Google Secret Manager into your environment
Stars: ✭ 35 (+45.83%)
Mutual labels:  gcp, google-cloud-platform
course-material
Course Material for in28minutes courses on Java, Spring Boot, DevOps, AWS, Google Cloud, and Azure.
Stars: ✭ 544 (+2166.67%)
Mutual labels:  gcp, google-cloud-platform
terraform-gcp-labs
Terraform templates for GCP provider ☁️
Stars: ✭ 27 (+12.5%)
Mutual labels:  gcp, google-cloud-platform
argon
Campaign Manager 360 and Display & Video 360 Reports to BigQuery connector
Stars: ✭ 31 (+29.17%)
Mutual labels:  gcp, google-cloud-platform
k8s-digester
Add digests to container and init container images in Kubernetes pod and pod template specs. Use either as a mutating admission webhook, or as a client-side KRM function with kpt or kustomize.
Stars: ✭ 65 (+170.83%)
Mutual labels:  gcp, google-cloud-platform
kane
Google Pub/Sub client for Elixir
Stars: ✭ 92 (+283.33%)
Mutual labels:  gcp, google-cloud-platform
gisjogja
GISJOGJA - aplikasi web based sistem informasi geografis (SIG) / GIS wisata kota JOGJA - www.firstplato.com
Stars: ✭ 17 (-29.17%)
Mutual labels:  gcp, google-cloud-platform
vertex-edge
A tool for training models to Vertex on Google Cloud Platform.
Stars: ✭ 24 (+0%)
Mutual labels:  gcp, google-cloud-platform
blockchain-etl-streaming
Streaming Ethereum and Bitcoin blockchain data to Google Pub/Sub or Postgres in Kubernetes
Stars: ✭ 57 (+137.5%)
Mutual labels:  gcp, google-cloud-platform
awesome-bigquery-views
Useful SQL queries for Blockchain ETL datasets in BigQuery.
Stars: ✭ 325 (+1254.17%)
Mutual labels:  gcp, google-cloud-platform
iris3
An upgraded and improved version of the Iris automatic GCP-labeling project
Stars: ✭ 38 (+58.33%)
Mutual labels:  gcp, google-cloud-platform
cli
The universal GraphQL API and CSPM tool for AWS, Azure, GCP, K8s, and tencent.
Stars: ✭ 811 (+3279.17%)
Mutual labels:  gcp, cspm
deploy-cloudrun
This action deploys your container image to Cloud Run.
Stars: ✭ 238 (+891.67%)
Mutual labels:  gcp, google-cloud-platform
augle
Auth + Google = Augle
Stars: ✭ 22 (-8.33%)
Mutual labels:  gcp, google-cloud-platform
GoogleCloudLogging
Swift (Darwin) library for logging application events in Google Cloud.
Stars: ✭ 24 (+0%)
Mutual labels:  gcp, google-cloud-platform
gcp auth
Minimal authentication library for Google Cloud Platform (GCP)
Stars: ✭ 42 (+75%)
Mutual labels:  gcp, google-cloud-platform
cloud-speech-and-vision-demos
A set of demo applications that make use of google speech, nlp and vision apis based in angular2
Stars: ✭ 35 (+45.83%)
Mutual labels:  gcp, google-cloud-platform
drf-angular-docker-tutorial
Dockerized Django Back-end API using DRF with Angular Front-end Tutorial
Stars: ✭ 53 (+120.83%)
Mutual labels:  gcp, google-cloud-platform
zorya
Google Cloud Instance Scheduler helping to reduce costs by 60% on average for non-production environments.
Stars: ✭ 127 (+429.17%)
Mutual labels:  gcp, google-cloud-platform
layout title description nav_order permalink
default
Home
A simple security tool for auditing Google Cloud using Google Sheets
1
/

⛅️ Simple CSPM Star

{: .no_toc }

  • TOC {:toc}

SimpleCSPM is a security tool for auditing Google Cloud using Google Sheets.

Quickly find all your publicly exposed buckets, VMs, functions, and more. Create recommended Organization Policies to prevent future accidental or malicious exposure. Reduce your attack surface by discovering unused service accounts, permissions, firewall rules, and even entire projects.

This project runs a Google App Script inside of Google Sheets to daily collect useful audit data from several sources in Google Cloud Platform (GCP) for Cloud Security Posture Management.

Google Sheets is used for maximum customizability and minimum operational maintenance requirements using "serverless" Google App Scripts.

<iframe style="width: 736px; height: 250px;" src="https://docs.google.com/spreadsheets/d/e/2PACX-1vTkPIAMyEEiZSFZWtxhjoQnpMv9KmG1ZVwC5I_xV7uyolz8XpjbK_VgnKIiJhGyqsBwXRYkUxAL6qt8/pubhtml?widget=true&headers=false"></iframe>

The following sources in GCP are used to collect data:

  • Cloud Asset Inventory
    • Search All Assets
    • Search IAM Policies
  • Recommenders
  • Insights
  • API Keys API

I'm Peter C (@itspeterc), feel free to star this repository and follow me on Twitter for more cloud security insights!

Shout out to Matthew Bryant (@IAmMandatory) and his DEF CON 29 talk on Hacking G Suite: The Power of Dark Apps Script Magic for inspiring this project.

Install

  1. Make a copy of this Google Sheet by clicking "File" -> "Make a Copy"
  2. Update your GCP project to run from setting on the "Main" sheet
  3. Add the following GCP IAM roles for your user on your GCP project to run from
    • roles/serviceusage.serviceUsageAdmin
  4. Enable "Service Usage API" on your GCP Project to run from
  5. Add the following GCP IAM roles for your user on your GCP organization
    • roles/cloudasset.viewer
    • roles/recommender.iamViewer
    • roles/recommender.projectUtilViewer
    • roles/recommender.cloudAssetInsightsViewer
    • roles/recommender.firewallViewer
    • roles/serviceusage.apiKeysViewer
    • roles/securitycenter.findingsViewer
  6. Click "Run Audit"
  7. Approve Google Sheets Permissions to Run
  8. Click "Run Audit" Again

Customize

After making your own copy of the Google Sheet, click "Extensions" -> "Apps Script" to modify the javascript App Script code also included in this repository as Code.gs.

Audit Data not yet Collected

  • Cloud Security Command Center (CSCC) Findings
  • VM Manager Vulnerabilities

Other Free and Open-Source Alternatives

<script async defer src="https://buttons.github.io/buttons.js"></script>
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].