Lessons learned: Custom Opensearch Dashboards Plugin Security

To determine the user that is signed in when making a request to your plugin server, or in more formal words the "authentication context" of a request you have two options Client Side This is not very secure as it is initiated and consumed by the browser, which is under the complete control of the … Continue reading Lessons learned: Custom Opensearch Dashboards Plugin Security

Inserting, reading, and updating JSON data in postgres using Golang GORM

This is a "Frankenstein" approach which worked well using a combination of methods found online (see references). On their own, each approach had a limitation, but together they ticked all the boxes. Assuming you have the following table defined as a struct within you Go program: type User struct { Name string Email string Attributes … Continue reading Inserting, reading, and updating JSON data in postgres using Golang GORM