Skip to content

ThreatConnect-Inc/threatconnect-bash

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

Releases

No releases published

Packages

No packages published

Languages