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

fix: add no_log: true for tasks that can log secret data #113

Merged
merged 2 commits into from
Dec 12, 2023

Conversation

richm
Copy link
Contributor

@richm richm commented Dec 11, 2023

Cause: Some tasks handle secret data and log the contents.

Consequence: The logs can show secret data if verbose logging
is used.

Fix: Add the no_log: true directive to tasks that can log
secret data.

Result: Secret data is not logged with verbose logging.

Some of the tests use Ansible vault for passwords.

Signed-off-by: Rich Megginson rmeggins@redhat.com

Cause: Some tasks handle secret data and log the contents.

Consequence: The logs can show secret data if verbose logging
is used.

Fix: Add the `no_log: true` directive to tasks that can log
secret data.

Result: Secret data is not logged with verbose logging.

Some of the tests use Ansible vault for passwords.

Signed-off-by: Rich Megginson <rmeggins@redhat.com>
@richm
Copy link
Contributor Author

richm commented Dec 12, 2023

[citest]

@richm richm merged commit e6040fd into linux-system-roles:main Dec 12, 2023
18 of 23 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant