Module: Rules
- Defined in:
- lib/puppet-lint-infrasecure/rules.rb
Class Attribute Summary collapse
-
.credentials ⇒ Object
Returns the value of attribute credentials.
-
.cyrillic ⇒ Object
Returns the value of attribute cyrillic.
-
.dependencies ⇒ Object
Returns the value of attribute dependencies.
-
.http ⇒ Object
Returns the value of attribute http.
-
.ip_addr_bind ⇒ Object
Returns the value of attribute ip_addr_bind.
-
.nonsecret ⇒ Object
Returns the value of attribute nonsecret.
-
.password ⇒ Object
Returns the value of attribute password.
-
.poor_crypto ⇒ Object
Returns the value of attribute poor_crypto.
-
.secret ⇒ Object
Returns the value of attribute secret.
-
.susp_comment ⇒ Object
Returns the value of attribute susp_comment.
-
.whitelist ⇒ Object
Returns the value of attribute whitelist.
Class Method Summary collapse
Class Attribute Details
.credentials ⇒ Object
Returns the value of attribute credentials.
4 5 6 |
# File 'lib/puppet-lint-infrasecure/rules.rb', line 4 def credentials @credentials end |
.cyrillic ⇒ Object
Returns the value of attribute cyrillic.
5 6 7 |
# File 'lib/puppet-lint-infrasecure/rules.rb', line 5 def cyrillic @cyrillic end |
.dependencies ⇒ Object
Returns the value of attribute dependencies.
13 14 15 |
# File 'lib/puppet-lint-infrasecure/rules.rb', line 13 def dependencies @dependencies end |
.http ⇒ Object
Returns the value of attribute http.
10 11 12 |
# File 'lib/puppet-lint-infrasecure/rules.rb', line 10 def http @http end |
.ip_addr_bind ⇒ Object
Returns the value of attribute ip_addr_bind.
8 9 10 |
# File 'lib/puppet-lint-infrasecure/rules.rb', line 8 def ip_addr_bind @ip_addr_bind end |
.nonsecret ⇒ Object
Returns the value of attribute nonsecret.
7 8 9 |
# File 'lib/puppet-lint-infrasecure/rules.rb', line 7 def nonsecret @nonsecret end |
.password ⇒ Object
Returns the value of attribute password.
3 4 5 |
# File 'lib/puppet-lint-infrasecure/rules.rb', line 3 def password @password end |
.poor_crypto ⇒ Object
Returns the value of attribute poor_crypto.
11 12 13 |
# File 'lib/puppet-lint-infrasecure/rules.rb', line 11 def poor_crypto @poor_crypto end |
.secret ⇒ Object
Returns the value of attribute secret.
6 7 8 |
# File 'lib/puppet-lint-infrasecure/rules.rb', line 6 def secret @secret end |
.susp_comment ⇒ Object
Returns the value of attribute susp_comment.
9 10 11 |
# File 'lib/puppet-lint-infrasecure/rules.rb', line 9 def susp_comment @susp_comment end |
.whitelist ⇒ Object
Returns the value of attribute whitelist.
12 13 14 |
# File 'lib/puppet-lint-infrasecure/rules.rb', line 12 def whitelist @whitelist end |
Class Method Details
.key ⇒ Object
24 25 26 |
# File 'lib/puppet-lint-infrasecure/rules.rb', line 24 def self.key @key ||= /(cert|key|rsa|secret|ssl)+/ end |
.placeholder ⇒ Object
45 46 47 |
# File 'lib/puppet-lint-infrasecure/rules.rb', line 45 def self.placeholder @placeholder ||= /\${.*}|(\$)?.*::.*(::)?/ end |
.privkey ⇒ Object
28 29 30 |
# File 'lib/puppet-lint-infrasecure/rules.rb', line 28 def self.privkey @key ||= /(pvt|priv)+.*(cert|key|rsa|secret|ssl)+/ end |
.username ⇒ Object
33 34 35 |
# File 'lib/puppet-lint-infrasecure/rules.rb', line 33 def self.username @username ||= /user|usr/ end |