Done
Details
Assignee
Marcel FuhrmannMarcel FuhrmannReporter
Ronny TrommerRonny TrommerHB Grooming Date
Jul 21, 2020HB Backlog Status
HBDoc Backlog Status
DBDoc Backlog Grooming Date
Jun 15, 2021Components
Sprint
NoneFix versions
Affects versions
Priority
Major
Details
Details
Assignee
Marcel Fuhrmann
Marcel FuhrmannReporter
Ronny Trommer
Ronny TrommerHB Grooming Date
Jul 21, 2020
HB Backlog Status
HB
Doc Backlog Status
DB
Doc Backlog Grooming Date
Jun 15, 2021
Components
Sprint
None
Fix versions
Affects versions
Priority
PagerDuty
PagerDuty
PagerDuty
Created July 14, 2020 at 9:15 AM
Updated August 16, 2023 at 1:40 PM
Resolved August 8, 2023 at 1:53 PM
The function to hide values from Meta-Data keys which contain a substring "secret" or "password" does not work and it seems like this functionality is undocumented. I haven't found something in the Admin guide in the Meta-Data section: https://docs.opennms.org/opennms/releases/26.1.2/guide-admin/guide-admin.html#ga-meta-data.
The code seems to be duplicated in three places which are responsible for hiding it in the WebUI:
Node: https://github.com/OpenNMS/opennms/blob/8951f110f08f533516be49bffb8a1953ea7efe79/opennms-webapp/src/main/webapp/element/node-metadata.jsp#L90
Interface: https://github.com/OpenNMS/opennms/blob/8951f110f08f533516be49bffb8a1953ea7efe79/opennms-webapp/src/main/webapp/element/interface-metadata.jsp#L98
Service: https://github.com/OpenNMS/opennms/blob/8951f110f08f533516be49bffb8a1953ea7efe79/opennms-webapp/src/main/webapp/element/service-metadata.jsp#L102
Here a sample output of the Meta-Data keys and values for a Node