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

Issue with secret in CyberArk Vault

    XMLWordPrintable

Details

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

    Description

      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

       

       

       

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: