Nested Key marked as secret in pack config schema showing as plain text in WebGUI
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 6.5k
- Forks
- 787
- PR merge metrics
- No merged PRs in 30d
Description
SUMMARY
Seen in the zabbix pack. A nested key in the zabbix pack config that is marked as secret: true is still being shown in plain text in the webgui.
ISSUE TYPE
- Bug Report
STACKSTORM VERSION
Paste the output of st2 --version:
st2 2.9.1, on Python 2.7.12
OS / ENVIRONMENT / INSTALL METHOD
Ubuntu 16.04 LTS One line install
STEPS TO REPRODUCE
Fresh install of st2 2.9.1 on Ubuntu 16.04 LTS
Install Zabbix pack from webgui
Configure as below
Config
zabbix:
password: R******$
url: https://zabbix*******
username: s******t

EXPECTED RESULTS
The key password: should shows as ******
ACTUAL RESULTS
The key password: should shows as plain-text
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the issue using the zabbix pack configuration shown in the report, focusing on the nested password field marked secret. Trace how the pack config schema is rendered in the WebGUI and verify that the password is masked rather than displayed as plain text.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- frontend, security
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100