AlienVault-OTX / OTX-Python-SDK

The Python SDK for AlienVault OTX
Other
359 stars 162 forks source link

Return the indicator creation date using /api/v1/indicators/{type}/{value}/{section} endpoint #76

Open gquittet opened 3 months ago

gquittet commented 3 months ago

Hello guys 👋

I need to find when an indicator has been created.

Unfortunately, to achieve this, we have to

  1. call the /api/v1/indicators/{type}/{value}/{section}
  2. for each pulses in the response, make a call to find the related indicators
  3. get the creation date

And the call to get all the indicators related to one pulse is freaking slow.

I suggest to return the created, modified and expiration fields (all useful date fields) when fetching the indicator.