StephenOTT / TAXII-Server

TAXII Server supporting the 2.1 spec.
MIT License
18 stars 6 forks source link
cti cyber-threat-intelligence taxii taxii-server taxii2

TAXII Server

A TAXII Server (2.1) designed for maximum flexibility and connectivity options with backend data sources.

The server is designed to route all requests into script or compiled providers that provide connectivity with stix (or non-stix) data-sources (kafka, rabbit, static files, proxy for internal http urls, etc).

Using providers, you can consume STIX directly from a STIX data source, or use the providers to stream Cyber Threat Intel (CTI) from various data source and generate the STIX on-demand.

generic-design

The server targets a full OpenAPI/Swagger Client API file that can be used as documentation of the TAXII API as well as instructions for Client APIs to consume from.

Start the Server

Download the jar from releases

Then run: java -jar taxii-server-micronaut-0.6-all.jar

Default Basic Auth

Username: sherlock

Password: password

Docker

  1. Go to project
  2. Run docker build -t taxii-server .
  3. Run docker run -p 8080:8080 --name taxii taxii-server

Defaults

Headers

  1. Content-Type: if not provided, will default to application/taxii+json;version=2.1
  2. Accept: if not provided, will default to application/taxii+json;version=2.1

OpenAPI / Swagger file

Start the server and go to: http://localhost:8080/swagger/taxii-client-api-0.5.yml

Viewers

  1. Swagger-Ui: http://localhost:8080/swagger-ui/index.html
  2. ReDoc: http://localhost:8080/redoc/index.html
  3. RapiDoc: http://localhost:8080/rapidoc/index.html

Redoc: Swagger Viewer

The server provides a ReDoc view for the OpenAPI/Swagger file

You can access the viewer by starting the server and go to: http://localhost:8080/redoc/index.html

The ReDoc viewer will load any theme and js dependencies CDNs.

ReDoc Viewer Screenshots

redoc 1 redoc 2 redoc 3 redoc 4 redoc 5