mirror of https://github.com/MISP/PyMISP
chg: [add_github_user] more fields added from the GitHub API
parent
13995e1eca
commit
156d5564e8
|
@ -52,4 +52,11 @@ if __name__ == '__main__':
|
|||
misp_object.add_attribute('link', github_user['html_url'])
|
||||
misp_object.add_attribute('user-fullname', github_user['name'])
|
||||
misp_object.add_attribute('username', github_user['login'])
|
||||
misp_object.add_attribute('twitter_username', github_user['twitter_username'])
|
||||
misp_object.add_attribute('location', github_user['location'])
|
||||
misp_object.add_attribute('company', github_user['company'])
|
||||
misp_object.add_attribute('public_gists', github_user['public_gists'])
|
||||
misp_object.add_attribute('public_repos', github_user['public_repos'])
|
||||
misp_object.add_attribute('blog', github_user['blog'])
|
||||
misp_object.add_attribute('node_id', github_user['node_id'])
|
||||
retcode = pymisp.add_object(args.event, misp_object)
|
||||
|
|
Loading…
Reference in New Issue