This is an example script for getting samples that score 95 or greater in Threat Grid and adding their SHA256's to a Simple Custom Detection in AMP for Endpoints. This script is inteneded to show the bare minimum required to query Threat Grid and POST to a Simple Custom Detection list. It is in no way production ready and should not be used in a production environment.
- Line 4: tg_api_key
- Line 7: client_id
- Line 8: amp_api_key
- Line 11: scd_guid