ansible-collections / community.zabbix

Zabbix Ansible modules

Home Page:http://galaxy.ansible.com/community/zabbix

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

HTTP API module logs password

PenelopeFudd opened this issue · comments

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.