We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 51cf2dd commit 474a107Copy full SHA for 474a107
src/ansiblelint/rules/no_log_password.md
@@ -6,6 +6,14 @@ Always set the `no_log: true` attribute to protect sensitive data.
6
While most Ansible modules mask sensitive data, using secrets inside a loop can result in those secrets being logged.
7
Explicitly adding `no_log: true` prevents accidentally exposing secrets.
8
9
+This is an opt-in rule.
10
+You must enable it in your Ansible-lint configuration as follows:
11
+
12
+```yaml
13
+enable_list:
14
+ - no-log-password
15
+```
16
17
## Problematic Code
18
19
```yaml
0 commit comments