cvahid / tcex

TcEx - ThreatConnect Exchange App Framework

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

tcex - ThreatConnect Exchange App Framework

The ThreatConnect™ TcEx App Framework provides functionality for writing ThreatConnect Exchange Apps.

Requirements

Python requirements with known working version:

Installation

Using pip

pip install tcex

Manually

cd tcex
python setup.py install --force

Documentation

https://docs.threatconnect.com/en/latest/tcex/tcex.html

Release Notes

https://docs.threatconnect.com/en/latest/tcex/release_notes.html

Running Tests

All tests should be run in python2. The instructions below assume you have python2 on your system and have tcex installed.

To run the tests, you will need to:

  1. Move into tests directory (cd tests)
  2. Configure the following environmental variables:
    • API_ACCESS_ID (e.g. 123456789987654321)
    • TC_API_PATH (e.g. https://sandbox.threatconnect.com/api)
    • API_DEFAULT_ORG (e.g. My Organization)
    • API_SECRET_KEY (e.g. abcdefg.....)
  3. Run pytest (you may have to run python2.7 -m pytest depending on how your system is setup)

Contact

If you have any questions, bugs, or requests please contact support@threatconnect.com

About

TcEx - ThreatConnect Exchange App Framework

License:Apache License 2.0


Languages

Language:Python 98.9%Language:Batchfile 0.8%Language:Shell 0.2%