tcell_agent 1.1.11 → 1.1.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA256:
3
- metadata.gz: 551e5d85f546219d1832b6392e84881eb019b670fc51f86d28be6dfa1b0f94ae
4
- data.tar.gz: 2cc3d40b2ae1d360cc19c39c86428019c656e257ba55be60c39bc8235657fabf
2
+ SHA1:
3
+ metadata.gz: 6334e154fc67ca343e771118111ed19b4961bcaa
4
+ data.tar.gz: a7acb414e6e0cb4506d6abafed4709818fcb720f
5
5
  SHA512:
6
- metadata.gz: c4b5e2c2ef86eba52860ff5101508ac80fd55621b8381ff06e58a5cc19086bdc893b47103bc2c50c5d02ade6a8fb6a033058ec1df3c114d1f8ca6632c8b0d56a
7
- data.tar.gz: c683422e7bc12498a73d1276df558be9b96e46e4882874e5d949a4fd390c63f351ab682b36a880b097d02390ff07e52a198e5b82a2c16cba101b6be3ec4f8d94
6
+ metadata.gz: 21c687dafdccd3582369ea7aef360201d274f3cc2043479416a35f03af5efac90b649e7621569d83b0d90a6f72d88dab28be3c86c9c1cf27178c7a69ed99eb05
7
+ data.tar.gz: 4b176e6bf2625639647e3b82b8b52294e80bebafd73e2d6a6ba8844d4b41ba581a1882077397653e09944db4ebcccb76acbc6b2e74847d4931bd144e01b8358e
@@ -23,7 +23,8 @@ module TCellAgent
23
23
  'TCELL_AGENT_ALLOW_UNENCRYPTED_APPSENSOR_PAYLOADS',
24
24
  'TCELL_AGENT_ALLOW_UNENCRYPTED_APPFIREWALL_PAYLOADS',
25
25
  'TCELL_AGENT_ALLOW_PAYLOADS',
26
- 'TCELL_AGENT_HOME_OWNER'
26
+ 'TCELL_AGENT_HOME_OWNER',
27
+ 'TCELL_AGENT_ENABLED'
27
28
  ]
28
29
  )
29
30
 
@@ -276,6 +276,8 @@ module TCellAgent
276
276
  @agent_log_dir = ENV['TCELL_AGENT_LOG_DIR'] || @agent_log_dir
277
277
 
278
278
  @disable_cmdi_exec_instrumentation = ENV['TCELL_CMDI_EXEC_DISABLED'] || @disable_cmdi_exec_instrumentation
279
+
280
+ @enabled = ENV['TCELL_AGENT_ENABLED'].to_s.casecmp('true').zero? if %w[true false].include? ENV['TCELL_AGENT_ENABLED'].to_s.downcase
279
281
  end
280
282
 
281
283
  def read_config_from_file(filename)
@@ -128,8 +128,8 @@ module TCellAgent
128
128
  # Positions strio to the beginning of input, resetting lineno to zero.
129
129
  # rails 4.1 seems to read the stringIO directly and so body.gets is empty
130
130
  # this is called
131
- body.rewind if body.respond_to?(:rewind)
132
131
  body = request.body
132
+ body.rewind if body.respond_to?(:rewind)
133
133
  raw_post_data = body.read(request.content_length.to_i) if request.content_length
134
134
  body.rewind if body.respond_to?(:rewind)
135
135
  raw_post_data
@@ -1,5 +1,5 @@
1
1
  # See the file "LICENSE" for the full license governing this code.
2
2
 
3
3
  module TCellAgent
4
- VERSION = '1.1.11'.freeze
4
+ VERSION = '1.1.12'.freeze
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tcell_agent
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.11
4
+ version: 1.1.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rafael
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-09-23 00:00:00.000000000 Z
11
+ date: 2019-10-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ffi
@@ -269,7 +269,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
269
269
  - !ruby/object:Gem::Version
270
270
  version: '0'
271
271
  requirements: []
272
- rubygems_version: 3.0.3
272
+ rubyforge_project:
273
+ rubygems_version: 2.5.2.3
273
274
  signing_key:
274
275
  specification_version: 4
275
276
  summary: tCell.io Agent for Rails