Skip to main content

SensitivePropertyInResource

The department is: SensitivePropertyInResource

The full name of the cop is: Chef/RedundantCode/SensitivePropertyInResource

Enabled by defaultSupports autocorrectionTarget Chef Version
EnabledYesAll 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

NameDefault valueConfigurable values
Version Added5.16.0String
Include
  • **/resources/*.rb
  • **/libraries/*.rb
Array

Was this page helpful?

×









Search Results