Details
Assignee
UnassignedUnassignedReporter
Alejandro GalueAlejandro GalueLabels
Components
Priority
Critical
Details
Details
Assignee
Unassigned
UnassignedReporter
Alejandro Galue
Alejandro GalueLabels
Components
Priority
PagerDuty
PagerDuty
PagerDuty
Created April 10, 2017 at 10:13 AM
Updated September 21, 2021 at 6:22 PM
On typical deployment, all the users have
ROLE_USER
assigned. That should provide read-only access to the ReST API.The
ROLE_REST
was designed to provide full access to ReST (that not necessarily means, the user can access the rest of the WebUI). In terms of ReST,ROLE_REST
can be compared withROLE_ADMIN
. In other words, the user is able to perform changes through ReST like modify requisitions, modify nodes/interfaces/services, change monitored services behavior, alarm/notification behavior, etc.Now, if a user has
ROLE_REST
but is also marked as a read-only user (in Horizon 19, means it also hasROLE_READONLY
), the user should not be able to perform PUT/POST/DELETE requests.Thre are a few exceptions, like the measurements API which has POST requests but they won't perform changes. Those ReST queries should be treated as read-only, like GET requests.
Unfortunately this is not the case, and
demo.opennms.org
is configured in this way. In my opinion, thedemo
user should not belong toROLE_REST
That should fix the security access problem on that server.