m-mizutani / drone

A tool to gather IoC feeds from provider and aggregate to BigQuery

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

drone

A tool to import IoC feeds from provider and save records to BigQuery table.

logo

Features

  • Import IoC feeds from provider, currently supporting
  • Prevent duplicated records by imported time

Usage

Prerequisite

  • Google Cloud Platform account
  • BigQuery dataset
  • Service Account with BigQuery write permission of the dataset such as roles/bigquery.dataEditor
  • Service Account key file (JSON)
  • Each providers account (if you need)
    • AlienVault OTX (API key)

Installation

$ go install github.com/m-mizutani/drone@latest

or

$ docker run ghcr.io/m-mizutani/drone:latest

Usage

Import AlienVault OTX pulses

$ export DRONE_BIGQUERY_PROJECT_ID=your-project-id
$ export DRONE_BIGQUERY_DATASET_ID=your_dataset_id
$ export DRONE_BIGQUERY_SA_KEY_FILE=/path/to/your_service_account_key.json
# If you want to set credential directly, use DRONE_BIGQUERY_SA_KEY_DATA
# export DRONE_BIGQUERY_SA_KEY_DATA=$(cat /path/to/your_service_account_key.json)
$ export DRONE_OTX_API_KEY=abcde12345XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
$ drone import otx subscribed

Import Abuse.ch Feodo

$ export DRONE_BIGQUERY_PROJECT_ID=your-project-id
$ export DRONE_BIGQUERY_DATASET_ID=your_dataset_id
$ export DRONE_BIGQUERY_SA_KEY_FILE=/path/to/your_service_account_key.json
$ drone import abusech feodo

License

Apache License 2.0

About

A tool to gather IoC feeds from provider and aggregate to BigQuery

License:Apache License 2.0


Languages

Language:Go 99.3%Language:Dockerfile 0.7%