controls 1.7.2 → 1.7.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/controls/objects/configuration_finding.rb +1 -3
- data/lib/controls/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d67e5bddefeaa16c4a2ee50fe022c455c3e43e63
|
4
|
+
data.tar.gz: a1fe600177ccee03c9dbbf7453e05feb4565db55
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 397a2b4672d1ddef044750e299a8e588a367a92a808710193595110bb2edd3dd94aa6a6b2d60d92acad3496a076faba28d71d1b7558be52f026c992ecd1f1422
|
7
|
+
data.tar.gz: 11a4d31b47f8763e3b6f57aa9ed2f29498b35a4b560d10f2a9a4f6f36e35883b2cbf3ff8a8028572ce3f2f49ab3b3f46587c3720789f9868529eac93a5c7283a
|
@@ -1,13 +1,11 @@
|
|
1
1
|
module Controls
|
2
2
|
# A representation of the ConfigurationFinding resource
|
3
3
|
class ConfigurationFinding < Dish::Plate
|
4
|
-
coerce :reason, ->(value) { value.strip! }
|
5
|
-
|
6
4
|
# Returns the name, state, and reason data for the configuration finding
|
7
5
|
#
|
8
6
|
# "antivirus-installed: state: TRUE reason: Endpoint Security installed"
|
9
7
|
def to_s
|
10
|
-
"#{name}: state: #{state} reason: #{reason
|
8
|
+
"#{name}: state: #{state} reason: #{reason}"
|
11
9
|
end
|
12
10
|
end
|
13
11
|
end
|
data/lib/controls/version.rb
CHANGED