All Projects â†’ floek â†’ puppet-lint-security-plugins

floek / puppet-lint-security-plugins

Licence: MIT license
Identify security issues in your Puppet code.

Programming Languages

ruby
36898 projects - #4 most used programming language

Projects that are alternatives of or similar to puppet-lint-security-plugins

puppet-ghostbuster
👻 Dead code detector for Puppet
Stars: ✭ 83 (+315%)
Mutual labels:  puppet, puppet-lint
shell-ci-build
A submodule to lint your shell projects with shellcheck in travis.ci builds
Stars: ✭ 39 (+95%)
Mutual labels:  lint
puppet-dotnet
puppet module for managing Microsoft .NET
Stars: ✭ 12 (-40%)
Mutual labels:  puppet
factbeat
Ship Facter facts to Elasticsearch or Logstash.
Stars: ✭ 13 (-35%)
Mutual labels:  puppet
shell-linter
A Github Action for ShellCheck
Stars: ✭ 58 (+190%)
Mutual labels:  lint
services
Holder of multiple npm packages
Stars: ✭ 31 (+55%)
Mutual labels:  lint
eslint-formatter-git-log
ESLint Formatter featuring Git Author, Date, and Hash
Stars: ✭ 36 (+80%)
Mutual labels:  lint
puppet-homebrew
homebrew (+brewcask! +taps!) package installer and provider
Stars: ✭ 17 (-15%)
Mutual labels:  puppet
AndroidLint
Android 自定义lint教学
Stars: ✭ 68 (+240%)
Mutual labels:  lint
dockerfile-language-service
Dockerfile language service for providing an API to create feature-rich Dockerfile editors in JavaScript.
Stars: ✭ 15 (-25%)
Mutual labels:  lint
puppet-vmwaretools
Puppet module to manage VMware Operating System Specific Packages for VMware tools installation.
Stars: ✭ 34 (+70%)
Mutual labels:  puppet
makefiles
No description or website provided.
Stars: ✭ 23 (+15%)
Mutual labels:  lint
rubocop-linter-action
Rubocop Linter Action: A GitHub Action to run Rubocop against your code!
Stars: ✭ 86 (+330%)
Mutual labels:  lint
jest-puppe-shots
A Jest plugin for creating screenshots of React components with a little help of Puppeteer
Stars: ✭ 86 (+330%)
Mutual labels:  puppet
tasks-hands-on-lab
Deprecated: Please see http://bolt.guide to follow our Bolt tutorial!
Stars: ✭ 73 (+265%)
Mutual labels:  puppet
npmlint
[DEPRECATED] Lint your npm package
Stars: ✭ 57 (+185%)
Mutual labels:  lint
puppet-keepalived
Puppet Module to manage Keepalived
Stars: ✭ 47 (+135%)
Mutual labels:  puppet
lint-deps
Lint for unused or missing dependencies in your node.js projects. Customize with plugins or configuration.
Stars: ✭ 48 (+140%)
Mutual labels:  lint
chart-testing-action
A GitHub Action to lint and test Helm charts
Stars: ✭ 139 (+595%)
Mutual labels:  lint
html-eslint
ESLint plugin for linting HTML
Stars: ✭ 72 (+260%)
Mutual labels:  lint

Puppet-lint-security-plugins

The goal of this project is to identify security issues in your Puppet code. Some basic checks are implemented, please feel free to contribute.

Installation

gem install puppet-lint-security-plugins

Gem Version

Testing your manifests

Just use puppet-lint. After installation security checks are enabled by default.

Implemented tests

At the moment, the following tests have been implemented:

Puppet Resource Types

  • Must not use eval in inline_templates
  • Must not use setuid bit in file resources when owner equals root
  • Must not use setgid bit in file resources when group equals root
  • Must not use mode 777 in file resources
  • Should not pin packages to specific version
  • Must not store plaintext passwords in the manifest
  • Must not use password variables in exec
  • Must not use class or defined_type parameters in exec
  • Should not use tidywith age and/or size parameter
  • Should not use tidy with match equals to *
  • Should not use tidy with recurse enabled
  • Must not create non root user with id 0
  • Should not disable services (example: mysql, puppetmaster)

puppetlabs-apache module

  • Should not use bad ciphers
  • Should enable ssl on any vhost

puppetlabs-apt module

  • Must use an GPG key in repository definition

puppetlabs-firewall module

  • Must not use firewall allow rules with source and destination equals any
  • Should not use firewall deny rules with source and destination equals any (possible deny of service)
  • Must use ips or subnets in source or destination (no dns)
  • Should not block puppetmaster port

saz/ssh module

  • Must not enable PermitRootLogin

saz/sudo module

  • Must not define sudo to anyone with root permissions

Reporting bugs or incorrect results

If you find a bug in puppet-lint or its results, please create an issue in the repo issues tracker.

Please contribute

Many other usefull checks may be out there, so feel free to fork and add your own.

License

The MIT License (MIT)

Copyright (c) 2015 Florian Freund

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].