Query Data from a Specified Organization
To query data from a specified organization, use the state (active threats) or threats by age API.
For example, if you wanted to get a list of all active IP threats from OrgA, you would use the API:
/tide/api/data/threats/state/ip?profile=OrgA
If you wanted all IP threats submitted by OrgA in the last day, you would use the API:
/tide/api/data/threats/state/ip/daily?profile=OrgA
You must specify the name of the provider organization using the "profile" query string parameter. You can specify multiple provider organizations by having multiple "profile" parameters.
Python
#note: install the 'requests' library first: |
Sample result
200 {u'dropped': False, |
Curl
curl ‘https://csp.infoblox.com/tide/api/data/threats?profile=OrgB&profile=II D&rlimit=2' -H 'Authorization:Token token=<MYTOKEN>' | python -mjson.tool |
Sample result
{ |