
Security News
Follow-up and Clarification on Recent Malicious Ruby Gems Campaign
A clarification on our recent research investigating 60 malicious Ruby gems.
puppet-lint-wmf_styleguide-check
Advanced tools
Puppet-lint plugin to check for violations of the WMF puppet coding style guide.
There are quite a few prescriptions for how to write puppet manifests in the puppet coding page at https://wikitech.wikimedia.org/wiki/Puppet_coding.
While most of the coding style requirements are already covered by puppet-lint, quite a few of them are not, specifically our own flavour of the role/profile pattern.
This plugin checks those specific violations, so we have specific checks for classes, roles, profiles and defined types. Let's see which in order.
For classes in modules, we check that:
For roles, we check that:
For profiles, our checks are:
For defined types, we check that:
While some of the rules are not enforced right now (so we don't check for defines from other modules), that can be refined in the future.
This plugin will output a ton of errors when ran on the operations/puppet repository as it stands now, and that's good as it gives us a good measure of where we are in the transition, and will help enforce the style guide afterwards.
FAQs
Unknown package
We found that puppet-lint-wmf_styleguide-check demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
A clarification on our recent research investigating 60 malicious Ruby gems.
Security News
ESLint now supports parallel linting with a new --concurrency flag, delivering major speed gains and closing a 10-year-old feature request.
Research
/Security News
A malicious Go module posing as an SSH brute forcer exfiltrates stolen credentials to a Telegram bot controlled by a Russian-speaking threat actor.