Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HTTP API module logs password #1223

Open
PenelopeFudd opened this issue May 9, 2024 · 0 comments
Open

HTTP API module logs password #1223

PenelopeFudd opened this issue May 9, 2024 · 0 comments
Labels
bug Something isn't working module The issue or pull request is related to Zabbix module

Comments

@PenelopeFudd
Copy link

PenelopeFudd commented May 9, 2024

SUMMARY

Our zabbix server had a database issue and was denying logins.
When we ran our playbook, the connection failed (expected), but the username+password were logged (unexpected).

ISSUE TYPE
  • Bug Report
COMPONENT NAME

community.zabbix
This line: https://github.com/ansible-collections/community.zabbix/blob/main/plugins/httpapi/zabbix.py#L174

ANSIBLE VERSION

n/a

CONFIGURATION

n/a

OS / ENVIRONMENT / Zabbix Version

n/a

STEPS TO REPRODUCE
  1. Break your zabbix server
  2. Try running anything
EXPECTED RESULTS

An error log with password obfuscated.

ACTUAL RESULTS

An error log with username and password showing.

@pyrodie18 pyrodie18 added bug Something isn't working module The issue or pull request is related to Zabbix module labels Jun 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working module The issue or pull request is related to Zabbix module
Projects
None yet
Development

No branches or pull requests

2 participants