You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When adding new targets under Configuration --> Target --> New Target we sometimes enter invalid data such as an invalid host. In these cases it would be helpful if more specific errors were raised for the user such as Invalid host or Invalid excluded host instead of a generic Unknown Error (see below).
Actual behavior
When trying to save the target Unknown Error is raised:
In this example I only added a host so I could rather quickly identify the issue. But when configuring multiple settings (hosts, excluded hosts, credentials etc.) it can take time to figure out what went wrong exactly. Since an Unknown Error is raised there appears to be some form of input validation in place. It would be helpful if more specific error messages were raised such as Invalid host or Invalid excluded host.
Steps to reproduce
See above.
GVM versions
I am not sure how to check, I am running OpenVAS in Docker and installed it today following this guide.
gsa-1 | gsad gmp-Message: 15:20:08.759: Authentication success for 'admin' from 172.18.0.1
gvmd-1 | event target:MESSAGE:2024-11-12 15h22.06 utc:2912: Target could not be created by admin
gvmd-1 | event target:MESSAGE:2024-11-12 15h22.47 utc:2927: Target could not be created by admin
The text was updated successfully, but these errors were encountered:
Expected behavior
When adding new targets under
Configuration
-->Target
-->New Target
we sometimes enter invalid data such as an invalid host. In these cases it would be helpful if more specific errors were raised for the user such asInvalid host
orInvalid excluded host
instead of a genericUnknown Error
(see below).Actual behavior
When trying to save the target
Unknown Error
is raised:In this example I only added a host so I could rather quickly identify the issue. But when configuring multiple settings (hosts, excluded hosts, credentials etc.) it can take time to figure out what went wrong exactly. Since an
Unknown Error
is raised there appears to be some form of input validation in place. It would be helpful if more specific error messages were raised such asInvalid host
orInvalid excluded host
.Steps to reproduce
See above.
GVM versions
I am not sure how to check, I am running OpenVAS in Docker and installed it today following this guide.
Environment
Operating system:
Installation method / source: https://greenbone.github.io/docs/latest/22.4/container/index.html
Logfiles
The text was updated successfully, but these errors were encountered: