Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No results retruned in get_indicator_details_full for IndicatorTypes.EMAIL #61

Open
luizgsbraz opened this issue Apr 15, 2021 · 0 comments

Comments

@luizgsbraz
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant