cloudflare-security-events
Deliver Cloudflare logs to Google Cloud Security Command Center
Last updated 4 months ago by shagamemnon .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install cloudflare-security-events -g
SYNC missed versions from official npm registry.

Cloudflare Security Events

Extend your security view from the edge.

Automatic Installation

Quickstart

Open in Cloud Shell

IAM Permissions

Google Cloud Security Command Center makes use of organization and project-level IAM permissions. As such, the person who deploys this integration will need to have the Organization Admin role.

.env.yml

If you run into errors, the cause is most like your permissions scope. Fix these by modifying .env.yml:

cd cloudflare-security-events/deployment
vim .env.yml

Unless otherwise specified during onboarding, .env.yml looks inside the project (PROJECT_ID) for the BigQuery table and Cloud Storage bucket:

// default settings – cloudflare_logs.camiliame_logs must be under active-incline-183216 for this to work
PROJECT_ID: active-incline-183216
GCLOUD_ORG: '1065635207347'
CREDENTIALS: ./scc_key.json
BUCKET_NAME: cloudflare-logs-bucket
BQ_DATASET: cloudflare_dataset.events_table
SERVICE_ACCOUNT: gcp-gcp-admin
BASE_DIR: /usr/local/scc-serverless
DEPLOYMENT_DIR: /usr/local/scc-serverless/deployment

You can reassign environment variables to be project-specific like this:

BQ_DATASET: some-project-200019.cloudflare_logs.some_table

Manual Installation & API

Note: if you don't have Logpush setup to stream logs in Google Cloud Storage, reach out to your customer success manager or go here if you know what you're doing: https://dash.cloudflare.com?analytics

Open Google Cloud Shell and clone this repository, then set Cloudshell to the project you use to store Cloudflare logs

gcloud config set project MY_PROJECT

Enter project directory and install dependencies:

cd cloudflare-security-events
npm install

Enable the necessary Cloud APIs to run the Cloudflare integration

cfse enableAPIs

Set Environment Variables and rewrite deployment files

cfse setEnv

Get service account key. Service Account will be created for you if necessary

cfse getServiceAcctKey

Deploy integration

cfse deploy

Test Configuration

cfse scc post

Current Tags

  • 0.1.31                                ...           latest (4 months ago)

32 Versions

  • 0.1.31                                ...           4 months ago
  • 0.1.30                                ...           4 months ago
  • 0.1.29                                ...           4 months ago
  • 0.1.28                                ...           4 months ago
  • 0.1.27                                ...           5 months ago
  • 0.1.26                                ...           5 months ago
  • 0.1.25                                ...           5 months ago
  • 0.1.24                                ...           5 months ago
  • 0.1.23                                ...           5 months ago
  • 0.1.22                                ...           5 months ago
  • 0.1.21                                ...           5 months ago
  • 0.1.20                                ...           5 months ago
  • 0.1.19                                ...           5 months ago
  • 0.1.18                                ...           5 months ago
  • 0.1.17                                ...           5 months ago
  • 0.1.16                                ...           5 months ago
  • 0.1.15                                ...           5 months ago
  • 0.1.14                                ...           5 months ago
  • 0.1.13                                ...           5 months ago
  • 0.1.12                                ...           5 months ago
  • 0.1.11                                ...           5 months ago
  • 0.1.10                                ...           5 months ago
  • 0.1.9                                ...           5 months ago
  • 0.1.8                                ...           5 months ago
  • 0.1.7                                ...           5 months ago
  • 0.1.6                                ...           5 months ago
  • 0.1.5                                ...           5 months ago
  • 0.1.4                                ...           5 months ago
  • 0.1.3                                ...           5 months ago
  • 0.1.2                                ...           5 months ago
  • 0.1.1                                ...           6 months ago
  • 0.1.0                                ...           6 months ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 2
Dependencies (29)
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |