soar_sc_core 3.0.1 → 3.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/providers/auditing.rb +3 -3
- data/lib/soar_sc_core/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: dfd19c51450af833abc4c7842f881c85b06cedb0
|
4
|
+
data.tar.gz: 161bfc7806a5cfb3442941cd541603cf130b116c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 16949d1454c98b4d60de057cc5f464a0855d346d5f6fe7ad8bc68cf819f39bc9d738f224b81ab6aa7537fd3305a32a3a9cce3cfa9882e70cc7c09053997d0035
|
7
|
+
data.tar.gz: 553a0b789e4bf4e5ea7177751a0b5f643dd73ecc46971a345934218e7e9b897ea97dc731c9cf6dd3a2c3c77b5e41e6c98bb26482201f8913c42f03b480c19739
|
data/lib/providers/auditing.rb
CHANGED
@@ -56,20 +56,20 @@ module SoarSc
|
|
56
56
|
}
|
57
57
|
} unless defined? DEFAULT_AUDITING_CONFIGURATION; DEFAULT_AUDITING_CONFIGURATION.freeze
|
58
58
|
|
59
|
-
def self.bootstrap(configuration,
|
59
|
+
def self.bootstrap(configuration, initialize_with_identifier = false)
|
60
60
|
begin
|
61
61
|
merged_configuration = self.merge_configuration_with_auditing_defaults(configuration)
|
62
62
|
self.validate_auditing_provider_configuration(merged_configuration['auditing'])
|
63
|
-
if
|
63
|
+
if initialize_with_identifier
|
64
64
|
SoarSc::auditing = SoarSc::Providers.const_get(merged_configuration['auditing']['provider'])
|
65
65
|
.new(merged_configuration['auditing'],
|
66
66
|
SoarSc::environment['IDENTIFIER'])
|
67
67
|
else
|
68
68
|
SoarSc::auditing = SoarSc::Providers.const_get(merged_configuration['auditing']['provider'])
|
69
69
|
.new(merged_configuration['auditing'])
|
70
|
+
SoarSc::auditing.service_identifier = SoarSc::environment['IDENTIFIER']
|
70
71
|
end
|
71
72
|
self.generate_instance_flow_id
|
72
|
-
SoarSc::auditing.service_identifier = SoarSc::environment['IDENTIFIER']
|
73
73
|
self.bootstrap_analytics
|
74
74
|
SoarStatus::Status.register_detailed_status_provider('auditing',SoarSc::auditing)
|
75
75
|
merged_configuration
|
data/lib/soar_sc_core/version.rb
CHANGED