Carbon Black Cloud Threat Intelligence Connector
Project description
Threat Intelligence Connector for Carbon Black Cloud
This is a python project that can be used for ingesting Threat Intelligence from various STIX Feeds. The current supported versions of STIX Feeds are 1.x, 2.0 and 2.1. It supports python >= 3.8
Installation
$ pip install carbon-black-cloud-threat-intelligence-connector
$ cbc-threat-intel --help
Usage: cbc-threat-intel [OPTIONS] COMMAND [ARGS]...
Options:
--help Show this message and exit.
Commands:
create-feed Creates a feed in CBC
create-watchlist Creates a Watchlist in CBC (from already created feed)
process-file Process and import a single STIX content file into...
process-server Process and import a TAXII Server (2.0/2.1/1.x)
version Shows the version of the connector
Documentation
Visit the developer network of Carbon Black Cloud for more information of how to use the connector.
Developing the connector
We rely on pull requests to keep this project maintained. By participating in this project, you agree to abide by the VMware code of conduct.
Setup
It is recommended to use Python3.8 / Python3.9 version for that project, assuming that you installed the deps with either virtualenv or poetry.
For a good code quality make sure to install the hooks from pre-commit
as well.
$ pre-commit install
Installation
Clone the repository
$ git clone https://github.com/carbonblack/carbon-black-cloud-threat-intelligence-connector.git
$ cd carbon-black-cloud-threat-intelligence-connector/
You can install this connector either via Poetry or using the virtualenv
.
Using Poetry
You will need to install poetry first.
To install the connector run:
$ poetry install
Using virtualenv
You will need to install virtualenv first.
$ virtualenv venv
...
$ source ./venv/bin/activate
(venv) $ pip install -r requirements.txt
Tests
The tests can be run with the following command:
$ pytest ./tests/unit/
For running the performance tests check out the README
Support
- View all API and integration offerings on the Developer Network along with reference documentation, video tutorials, and how-to guides.
- Use the Developer Community Forum to discuss issues and get answers from other API developers in the Carbon Black Community.
- Create a github issue for bugs and change requests or create a ticket with Carbon Black Support.
Submitting a PR
It is strongly recommended to have written tests and documentation for your changes before submitting a PR to the project. Make sure to write good commit messages as well.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file carbon_black_cloud_threat_intelligence_connector-1.10.tar.gz
.
File metadata
- Download URL: carbon_black_cloud_threat_intelligence_connector-1.10.tar.gz
- Upload date:
- Size: 20.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 069374ff1f90671c71a78a689bbaf4514d4f06ca10d2b1569670ce406b5095d0 |
|
MD5 | 8a27e25493cc7e696c7fc99a1eb98e03 |
|
BLAKE2b-256 | f2f7a1dddee2273c606f3dc96b4e7a9d8382196c3b436f6f0d8955eda1d9f627 |
File details
Details for the file carbon_black_cloud_threat_intelligence_connector-1.10-py3-none-any.whl
.
File metadata
- Download URL: carbon_black_cloud_threat_intelligence_connector-1.10-py3-none-any.whl
- Upload date:
- Size: 27.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7d2095f34af516e668088c2cd0d16ad29ac66a1755887520c7fc85cd6d82f2ac |
|
MD5 | 3c2bf5e9634fe2b039a86406b5c6ba80 |
|
BLAKE2b-256 | 46d442c3d1a80895d2813b6b18c3a34f467f4ae4f48e909130b73a7b86b7d014 |