drone

command module
v0.0.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 28, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

README

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

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL