config/cookstyle.yml in cookstyle-7.31.3 vs config/cookstyle.yml in cookstyle-7.31.7
- old
+ new
@@ -2315,12 +2315,13 @@
- '**/controls/*.rb'
#### Security Cops
Chef/Security:
+ Enabled: true
StyleGuideBaseURL: https://docs.chef.io/workstation/cookstyle/
-Chef/Security/ :
+Chef/Security/SshPrivateKey:
Description: Do not include plain text SSH private keys in your cookbook code. This sensitive data should be fetched from secrets management systems so that secrets are not uploaded in plain text to the Chef Infra Server or committed to source control systems.
StyleGuide: 'chef_security_sshprivatekey'
Enabled: true
VersionAdded: '7.28'
Include:
\ No newline at end of file