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

Update TheHiveConnector.py #51

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Update TheHiveConnector.py #51

wants to merge 1 commit into from

Commits on Mar 31, 2020

  1. Update TheHiveConnector.py

    Traceback (most recent call last):
      File "/home/snort/Synapse/workflows/Ews2Case.py", line 103, in connectEws
        comment)
      File "/home/snort/Synapse/workflows/objects/TheHiveConnector.py", line 167, in addFileObservable
        esObservableId = response.json()['id']
    TypeError: list indices must be integers or slices, not str
    
    response.json()['id'] return a list not a dict, we accessed the list to access the dictionary
    B3LI4D committed Mar 31, 2020
    Configuration menu
    Copy the full SHA
    99da20a View commit details
    Browse the repository at this point in the history