Patrowl / PatrowlManager

PatrOwl - Open Source, Smart and Scalable Security Operations Orchestration Platform
https://www.patrowl.io
GNU Affero General Public License v3.0
625 stars 112 forks source link

Error when importing finding manually #51

Closed Jm0uss3t closed 5 years ago

Jm0uss3t commented 5 years ago

Hello, Thanks for your tool. When trying to create finding manually I got the error below

'dict' object has no attribute 'risk_info'
Request Method: POST
Request URL:    http://web:8003/findings/add
Django Version: 1.11.20
Exception Type: AttributeError
Exception Value:    
'dict' object has no attribute 'risk_info'
Exception Location: /opt/patrowl-manager/findings/views.py in add_finding_view, line 208
Python Executable:  /opt/patrowl-manager/env/bin/python
Python Version: 2.7.16
Python Path:    
['/opt/patrowl-manager',
 '/opt/patrowl-manager/env/bin',
 '/opt/patrowl-manager/env/lib/python27.zip',
 '/opt/patrowl-manager/env/lib/python2.7',
 '/opt/patrowl-manager/env/lib/python2.7/plat-linux2',
 '/opt/patrowl-manager/env/lib/python2.7/lib-tk',
 '/opt/patrowl-manager/env/lib/python2.7/lib-old',
 '/opt/patrowl-manager/env/lib/python2.7/lib-dynload',
 '/usr/local/lib/python2.7',
 '/usr/local/lib/python2.7/plat-linux2',
 '/usr/local/lib/python2.7/lib-tk',
 '/opt/patrowl-manager/env/lib/python2.7/site-packages',
 '/opt/patrowl-manager']
Server time:    Wed, 24 Apr 2019 15:54:44 +0200
Jm0uss3t commented 5 years ago

duplicate