Sha256: 3a94a87c1648ff72ba86c09eccd8c426663b2468f9a2860e0aa1c7074d51619d

Contents?: true

Size: 1.6 KB

Versions: 18

Compression:

Stored size: 1.6 KB

Contents

module SinType
  base_url="https://tiagor98.github.io/puppet-sec-lint"

  HardCodedCred = {
    name: "Hard Coded Credentials",
    message: "Do not hard code secrets. This may help an attacker to attack the system.",
    solution: "#{base_url}/hard-coded-credentials"
  }
  HttpWithoutTLS = {
    name: "HTTP without TLS",
    message: "Do not use HTTP without TLS. This may cause a man in the middle attack.",
    solution: "#{base_url}/http-without-tls"
  }
  AdminByDefault = {
    name: "Admin by default",
    message: "This violates the secure by design principle.",
    solution: "#{base_url}/admin-by-default"
  }
  EmptyPassword = {
    name: "Empty password",
    message: "Do not keep password field empty. This may help an attacker to attack.",
    solution: "#{base_url}/empty-password"
  }
  InvalidIPAddrBinding = {
    name: "Invalid IP Address Binding",
    message: "This config allows connections from every possible network.",
    solution: "#{base_url}/invalid-ip-addr-binding"
  }
  SuspiciousComments = {
    name: "Suspicious Comments",
    message: "This comment can expose sensitive information to attackers.",
    solution: "#{base_url}/suspicious-comments"
  }
  WeakCryptoAlgorithm = {
    name: "Weak Crypto Algorithm",
    message: "Do not use this algorithm, as it may have security weaknesses.",
    solution: "#{base_url}/weak-crypto-algorithm"
  }
  CyrillicHomographAttack = {
    name: "Cyrillic Homograph attack",
    message: "This link has a cyrillic char. These are not rendered by browsers and are sometimes used for phishing attacks.",
    solution: "#{base_url}/cyrillic-homograph-attack"
  }
end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
puppet-sec-lint-1.0.0 lib/sin/sin_type.rb
puppet-sec-lint-0.5.17 lib/sin/sin_type.rb
puppet-sec-lint-0.5.16 lib/sin/sin_type.rb
puppet-sec-lint-0.5.15 lib/sin/sin_type.rb
puppet-sec-lint-0.5.14 lib/sin/sin_type.rb
puppet-sec-lint-0.5.13 lib/sin/sin_type.rb
puppet-sec-lint-0.5.11 lib/sin/sin_type.rb
puppet-sec-lint-0.5.10 lib/sin/sin_type.rb
puppet-sec-lint-0.5.9 lib/sin/sin_type.rb
puppet-sec-lint-0.5.8 lib/sin/sin_type.rb
puppet-sec-lint-0.5.7 lib/sin/sin_type.rb
puppet-sec-lint-0.5.6 lib/sin/sin_type.rb
puppet-sec-lint-0.5.5 lib/sin/sin_type.rb
puppet-sec-lint-0.5.4 lib/sin/sin_type.rb
puppet-sec-lint-0.5.3 lib/sin/sin_type.rb
puppet-sec-lint-0.5.2 lib/sin/sin_type.rb
puppet-sec-lint-0.5.1 lib/sin/sin_type.rb
puppet-sec-lint-0.5.0 lib/sin/sin_type.rb