Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-21458

Issue with secret in CyberArk Vault

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Won't fix
    • Icon: Trivial Trivial
    • None
    • 6.2.1
    • Proxy (P), Server (S)
    • None
    • Ubuntu 20.04 zabbix 6.2.1

      Steps to reproduce:

      1. configure zabbix user macro with cyberark https://www.zabbix.com/documentation/6.2/en/manual/config/secrets/cyberark#user-macro-values
      2. Secret set to cyberark in General => other configuration
      3. test on one item
      4. ...

      Result:
      Erreur getting password.

      See log file zabbix server :

        7978:20220810:163621.818 cannot get secrets for path "AppID=AIMccpForZabbix&Safe=r-test&Object=objetname": cannot find separator "\" in path

      This message come from

      https://git.zabbix.com/projects/ZBX/repos/zabbix/browse/src/libs/zbxhashicorp/hashicorp.c#56

      but it seems that somehow, wrong function is used. It's using Hashicorp instead of cyberark equivalent function

       

      Select should be done here :

      https://git.zabbix.com/projects/ZBX/repos/zabbix/browse/src/libs/zbxvault/vault.c#44

      somehow it's not going on cyberark select 

       

      configuration :

       

      Note : server.conf was only set to these 2 values, as I didn't want to use cyberark for db user.

      VaultToken=
      VaultURL=https://url_to_cyberark

       

      Thanks for help

       

       

       

            zabbix.support Zabbix Support Team
            antoine Antoine Bonnefoy
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: