-
Documentation task
-
Resolution: Fixed
-
Trivial
-
5.0.5, 5.2.0, 5.2.1
-
None
-
Sprint 71 (Dec 2020)
Steps to reproduce:
- Create a host
- create a secret macro on that host:
- Name: {$PASS}
- Value: MySecretPassword
- create item:
- Name: exposure
- Type: externalcheck
- Key: exposure.sh[\{$PASS}]
- Type of information: text
- create script /usr/lib/zabbix/externalscripts/exposure.sh
- Profit!
script:
#!/bin/bash
echo "$1"
Since the script will be executed by the server, the secret value is available and can be used. With the simple echo statement, it will be made visible in the frontend....