ThreatConnect-Inc / threatconnect-bash

ThreatConnect BASH Script

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Overview

The following script is an example that can be used to test connectivity to ThreatConnect’s API.

Testing API Connectivty

  1. Rename the config.sh-template file to config.sh.
  2. Update the following variables in the config.sh file:
    • API_ID
    • API_SECRET
    • API_HOST
    • DEFAULT_OWNER
  3. Execute chmod 755 threatconnect.sh and then ./threatconnect.sh. If the script was executed successfully, all Organizations and Communities that the API credentials have access will be returned.

NOTE:

Using sh threatconnect.com does not work on OSX.

About

ThreatConnect BASH Script

License:Apache License 2.0


Languages

Language:Shell 100.0%