GCP
The registry has an GCP Helm chart that provides a pre-configured Scraper with some common defaults
The GCP scrapers scrapes your GCP account to fetch all the resources & save them as configs.
gcp-scraper.yamlapiVersion: configs.flanksource.com/v1
kind: ScrapeConfig
metadata:
name: gcp-flanksource
namespace: mc
spec:
gcp:
- project: workload-prod-eu-02
exclude:
- SecurityCenter
#connection: connection://mc/gcloud-flanksource
#include:
#- storage.googleapis.com/Bucket
#- container.googleapis.com/Cluster
#auditLogs:
#dataset: default._AllLogs
#since: 30d
#excludeMethods:
#- io.k8s.*
Scraper
Field | Description | Scheme | Required |
---|---|---|---|
logLevel | Specify the level of logging. | string | |
schedule | Specify the interval to scrape in cron format. Defaults to every 60 minutes. | string | |
retention | Settings for retaining changes, analysis and scraped items | Retention | |
gcp | GCP scrape config | []GCP |
GCP
Either the connection
name or the credentials
are required (if Workload Identity is not being used)
Field | Description | Scheme |
---|---|---|
project* | GCP Project ID |
|
connection | The connection url to use, mutually exclusive with | |
credentials | The credentials to use for authentication | |
endpoint | Custom GCP Endpoint to use |
|
exclude | GCP resources to exclude from scraping |
|
include | GCP resources to include for scraping |
|
skipTLSVerify | Skip TLS verification when connecting to GCP |
|
labels | Labels for each config item. |
|
properties | Custom templatable properties for the scraped config items. | |
tags | Tags for each config item. Max allowed: 5 | |
transform | Transform configs after they've been scraped |