Chef/RedundantCode/SensitivePropertyInResource
The Cookstyle cops department: Chef/RedundantCode
Enabled by default | Supports autocorrection | Target Chef Version |
---|---|---|
Enabled | Yes | All Versions |
Every Chef Infra resource already includes a sensitive property with a default value of false.
incorrect
property :sensitive, [true, false], default: false
Examples
Configurable attributes
Name | Default value | Configurable values |
---|---|---|
Version Added | 5.16.0 | String |
Include |
| Array |