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

Changing OWASP Dependency Check Security Warning Status to 'False positive' results in Internal Server Error #1238

Closed
stevenwennekes opened this issue Jun 18, 2020 · 3 comments · Fixed by #1242
Assignees
Labels
Bug Something isn't working

Comments

@stevenwennekes
Copy link

Changing the OWASP Dependency Check Security Warning Status to 'False positive' results in Internal Server Error.

image

After changing the value in the dropdown the POST to the server with status 'false_positive' responses with code 500. The UI does not give any feedback and the Security Warning status stays at 'Unconfirmed'.

@stevenwennekes stevenwennekes changed the title Changing OWASP Dependency Check Security Warning Status to 'False positive' results in Internal Server Rrror Changing OWASP Dependency Check Security Warning Status to 'False positive' results in Internal Server Error Jun 18, 2020
@Erik-Stel
Copy link
Contributor

I can confirm have the same issue. Both using Brave (a Chromium based browser) and using Firefox.

@fniessink fniessink added the Bug Something isn't working label Jun 18, 2020
@fniessink
Copy link
Member

2020-06-18T12:02:19.068Z Traceback (most recent call last):
2020-06-18T12:02:19.068Z File "/usr/local/lib/python3.8/site-packages/bottle.py", line 868, in _handle
2020-06-18T12:02:19.068Z return route.call(**args)
2020-06-18T12:02:19.068Z File "/usr/local/lib/python3.8/site-packages/bottle.py", line 1748, in wrapper
2020-06-18T12:02:19.068Z rv = callback(*a, **ka)
2020-06-18T12:02:19.069Z File "/home/server/routes/plugins/authentication_plugin.py", line 31, in wrapper
2020-06-18T12:02:19.069Z File "/home/server/routes/plugins/injection_plugin.py", line 39, in wrapper
2020-06-18T12:02:19.069Z return callback(*args, **kwargs)
2020-06-18T12:02:19.069Z File "/home/server/routes/measurement.py", line 50, in set_entity_attribute
2020-06-18T12:02:19.069Z entity_description = "/".join([entity[key] for key in entity.keys() if key not in
("key", "url")])
2020-06-18T12:02:19.069Z return callback(*args, **kwargs)
2020-06-18T12:02:19.070Z TypeError: sequence item 2: expected str instance, int found

@fniessink
Copy link
Member

This is the same issue as #1230 which has been fixed in the master branch but hasn't been released yet.

@fniessink fniessink self-assigned this Jun 19, 2020
@fniessink fniessink added this to the Patch milestone Jun 19, 2020
fniessink added a commit that referenced this issue Jun 19, 2020
…nings' metric, changing the status of a warning in the details tab didn't work. Fixes #1238.
fniessink added a commit that referenced this issue Jun 19, 2020
…nings' metric, changing the status of a warning in the details tab didn't work. Fixes #1238. (#1242)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants