Ad Widget

Collapse

How can I encrypt macro values ​​and store them in DB?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • yswKim
    Junior Member
    • Sep 2020
    • 1

    #1

    How can I encrypt macro values ​​and store them in DB?

    Hi!

    If password is set in the macro, it is saved as plain text in the database.
    I want to encrypt macro values ​​stored in the database.
    Anyone can help?
  • mwsv
    Junior Member
    • Dec 2022
    • 1

    #2
    Does someone have an answer for that?

    Comment

    • tim.mooney
      Senior Member
      • Dec 2012
      • 1427

      #3
      Recent versions of Zabbix support improved security for macros, including using an external secret-store (vault): https://blog.zabbix.com/securing-zab...#Secret_macros

      Although the macro value is hidden in more places in the interface, if you're not using an external vault, I believe the macro values are still stored in clear text in the database. I'm not using 6.0.x yet, so I can't verify.

      Comment

      • cyber
        Senior Member
        Zabbix Certified SpecialistZabbix Certified Professional
        • Dec 2006
        • 4807

        #4
        Even in v6, macro value is stored as plain text in DB. Even if you set it as "secret macro" and you cannot see it in UI. So external store is pretty much your only option....

        Comment

        Working...