This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def get_complete_indicator_data(indicator_object): | |
"""Function to get all available data about an indicator.""" | |
# start off with the basic indicator information | |
indicator_data = indicator_object.json | |
# remove the description attribute of the json as we will this more completely later | |
del indicator_data['description'] | |
indicator_data['associated_groups'] = list() | |
indicator_data['associated_indicators'] = list() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# Instructions for getting the ThreatConnect sample app (https://github.com/ThreatConnect-Inc/TCS_-_SampleApp) | |
# running on a linux vagrant box (https://atlas.hashicorp.com/ubuntu/boxes/trusty64). | |
# basic updates | |
sudo apt-get update; | |
sudo apt-get -y install git; | |
cd /vagrant/; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# for more info on Blockadeio, see: https://github.com/blockadeio/cloud_node | |
# install necesary libraries | |
sudo apt-get update; | |
sudo apt install -y python-pip python-dev libssl-dev libffi-dev mongodb-server; | |
sudo pip install virtualenv; | |
sudo apt-get install -y git; | |
# clone the https repo | |
git clone https://github.com/blockadeio/cloud_node.git; |
NewerOlder