Skip to content
Scripts that cover the basics of interacting with the Threat Grid API
Python
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
01_authentication.py
02_get_org_samples.py Update example API key Aug 29, 2018
03_get_user_samples.py Update example API key Aug 29, 2018
04_submission_search.py
05_specific_submission_search.py Update example API key Aug 29, 2018
06_submit_sample.py Update example API key Aug 29, 2018
07_submit_url.py Update example API key Aug 29, 2018
08_get_vms.py Update example API key Aug 29, 2018
09_submit_sample_vm.py Update example API key Aug 29, 2018
10_get_network_exits.py
11_submit_sample_network_exit.py Update example API key Aug 29, 2018
12_get_playbooks.py Update example API key Aug 29, 2018
13_submit_sample_playbook.py Update example API key Aug 29, 2018
README.md Align with template Feb 18, 2019

README.md

Gitter chat

Threat Grid API Basics:

This collection of scripts cover the basics of interacting with the Threat Grid API. Each script covers one API endpoint. These are intented to show the bare minimum required to interact with the API endpoint.

Before using you must update the following:

  • api_key

Usage:

python 01_authentication.py

Example script output:

{'api_version': 3, 'id': 5510618, 'data': {'role': 'user', 'properties': {}, 'integration_id': 'h7od', 'email': 'jdoe@example.com', 'organization_id': 1, 'name': 'John Doe', 'login': 'jdoe', 'title': 'SOC Analyst', 'api_key': 'asdf1234asdf1234asdf1234', 'device': False}}
You can’t perform that action at this time.