-
Incident report
-
Resolution: Won't fix
-
Trivial
-
None
-
6.2.1
-
None
-
Ubuntu 20.04 zabbix 6.2.1
Steps to reproduce:
- configure zabbix user macro with cyberark https://www.zabbix.com/documentation/6.2/en/manual/config/secrets/cyberark#user-macro-values
- Secret set to cyberark in General => other configuration
- test on one item
- ...
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