Skip to content

No results retruned in get_indicator_details_full for IndicatorTypes.EMAIL #61

Description

@luizgsbraz

Code bellow returned empty for an AN_EMAIL_ADDRESS I have already found on

https://otx.alienvault.com/indicator/email/{{AN_EMAIL_ADDRESS}}

from OTXv2 import OTXv2
from OTXv2 import IndicatorTypes

API_KEY = "mykey_is_was_tested_an_was_ok"
AN_EMAIL_ADDRESS = "xxxxxxxx@gmail.com"

otx = OTXv2(API_KEY)
found_entries = otx.get_indicator_details_full(IndicatorTypes.EMAIL, AN_EMAIL_ADDRESS)

print found_entries

Some more details:

  • python 2.7.16
  • packages on virtualenv:
$pip list
Package         Version
--------------- ---------
certifi         2020.12.5
chardet         4.0.0
idna            2.10
OTXv2           1.5.12
pip             20.3.4
pkg-resources   0.0.0
python-dateutil 2.8.1
pytz            2021.1
requests        2.25.1
setuptools      44.1.1
six             1.15.0
urllib3         1.26.4
wheel           0.36.2

Code branch master on 2021-04-15:

$ git status
On branch master
Your branch is up to date with 'origin/master'.
[...]

$ git config -l | grep remote.origin.url
remote.origin.url=https://github.com/AlienVault-OTX/OTX-Python-SDK

If necessary, please contact me to get the AN_EMAIL_ADDRESS address I have used do identify the problem.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions