Skip to main content

Connect Colander to Threatr

This guide shows how to let Colander query Threatr, so that analysts can enrich their cases with threat intelligence. Colander authenticates to Threatr with the API key of a dedicated Threatr user.

Prerequisites​

Find the administration panels​

DeploymentColander administration panelThreatr administration panel
Ansible${colander_base_url}/${colander_django_admin_url}${threatr_base_url}/${threatr_django_admin_url}
Docker Composehttp://localhost:5000/admin/http://localhost:5001/admin/

With Ansible, the administration panels are served at random paths: replace the variables with the values of your configuration vault. The administrator accounts are the admin users, with the passwords colander_admin_password and threatr_admin_password of the vault.

Create a Threatr user for Colander​

  1. Open the Threatr administration panel.
  2. Go to the Users menu and create a new regular user, for instance colander-user.

Generate its API key​

  1. Stay in the Threatr administration panel.
  2. Go to the Tokens menu and generate a new API key for the user you created.
  3. Copy the key.

Give the API key to Colander​

  1. Open the Colander administration panel.
  2. Go to the Backend Credentials menu and create a new entry with:
    • Backend identifier: threatr
    • Credentials:
      {
      "api_key": "your Threatr API key"
      }
  3. Save the entry.

The Investigate workspace of Colander now returns results from Threatr. Threatr itself only returns data from the vendors it is connected to: connect Threatr to threat-intelligence vendors.