tcell_agent 0.2.7 → 0.2.8

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.
Files changed (47) hide show
  1. checksums.yaml +4 -4
  2. data/bin/tcell_agent +22 -0
  3. data/lib/tcell_agent/agent/event_processor.rb +7 -0
  4. data/lib/tcell_agent/agent/fork_pipe_manager.rb +29 -29
  5. data/lib/tcell_agent/agent/policy_manager.rb +2 -1
  6. data/lib/tcell_agent/agent/route_manager.rb +35 -15
  7. data/lib/tcell_agent/configuration.rb +42 -2
  8. data/lib/tcell_agent/instrumentation.rb +4 -1
  9. data/lib/tcell_agent/logger.rb +1 -1
  10. data/lib/tcell_agent/rails.rb +12 -18
  11. data/lib/tcell_agent/rails/auth/authlogic.rb +2 -2
  12. data/lib/tcell_agent/rails/auth/devise.rb +1 -1
  13. data/lib/tcell_agent/rails/dlp.rb +133 -123
  14. data/lib/tcell_agent/rails/middleware/body_filter_middleware.rb +2 -1
  15. data/lib/tcell_agent/rails/on_start.rb +67 -69
  16. data/lib/tcell_agent/rails/routes.rb +91 -86
  17. data/lib/tcell_agent/rails/settings_reporter.rb +10 -0
  18. data/lib/tcell_agent/routes/table.rb +2 -0
  19. data/lib/tcell_agent/sensor_events/server_agent.rb +10 -0
  20. data/lib/tcell_agent/servers/thin.rb +1 -0
  21. data/lib/tcell_agent/servers/webrick.rb +0 -1
  22. data/lib/tcell_agent/start_background_thread.rb +44 -45
  23. data/lib/tcell_agent/system_info.rb +10 -0
  24. data/lib/tcell_agent/version.rb +1 -1
  25. data/spec/lib/tcell_agent/agent/fork_pipe_manager_spec.rb +99 -0
  26. data/spec/lib/tcell_agent/api/api_spec.rb +2 -2
  27. data/spec/lib/tcell_agent/instrumentation_spec.rb +176 -176
  28. data/spec/lib/tcell_agent/policies/appsensor_policy_spec.rb +32 -32
  29. data/spec/lib/tcell_agent/policies/clickjacking_policy_spec.rb +63 -63
  30. data/spec/lib/tcell_agent/policies/content_security_policy_spec.rb +93 -93
  31. data/spec/lib/tcell_agent/policies/dataloss_policy_spec.rb +222 -222
  32. data/spec/lib/tcell_agent/policies/honeytokens_policy_spec.rb +17 -17
  33. data/spec/lib/tcell_agent/policies/http_redirect_policy_spec.rb +57 -57
  34. data/spec/lib/tcell_agent/policies/http_tx_policy_spec.rb +17 -17
  35. data/spec/lib/tcell_agent/policies/login_policy_spec.rb +3 -3
  36. data/spec/lib/tcell_agent/policies/secure_headers_policy_spec.rb +59 -59
  37. data/spec/lib/tcell_agent/rails/logger_spec.rb +148 -0
  38. data/spec/lib/tcell_agent/rails/middleware/global_middleware_spec.rb +7 -7
  39. data/spec/lib/tcell_agent/rails_spec.rb +2 -2
  40. data/spec/lib/tcell_agent/sensor_events/dlp_spec.rb +9 -9
  41. data/spec/lib/tcell_agent/sensor_events/util/redirect_utils_spec.rb +20 -20
  42. data/spec/lib/tcell_agent/sensor_events/util/sanitizer_utilities_spec.rb +52 -52
  43. data/spec/lib/tcell_agent_spec.rb +17 -17
  44. data/spec/spec_helper.rb +1 -0
  45. data/spec/support/resources/normal_config.json +5 -5
  46. data/tcell_agent.gemspec +4 -4
  47. metadata +31 -26
@@ -62,7 +62,7 @@ module TCellAgent
62
62
  "block"=>true,
63
63
  "whitelist"=>[]
64
64
  }
65
- }}, cache=false)
65
+ }}, cache=false)
66
66
  tid_len = "78e596b7-e772-4caf-92eb-645fdbdec473".length + 1
67
67
  response = request.get("/some/path?rv=https://www.google.com", 'CONTENT_TYPE' => 'text/html')
68
68
  expect(response['Location']).to eq("https://www.google.com")
@@ -78,8 +78,8 @@ module TCellAgent
78
78
  "block"=>true,
79
79
  "whitelist"=>["www.google.com"]
80
80
  }
81
- }}, cache=false)
82
-
81
+ }}, cache=false)
82
+
83
83
  tid_len = "78e596b7-e772-4caf-92eb-645fdbdec473".length + 1
84
84
  response = request.get("/some/path?rv=https://www.google.com", 'CONTENT_TYPE' => 'text/html')
85
85
  expect(response['Location']).to eq("https://www.google.com")
@@ -95,7 +95,7 @@ module TCellAgent
95
95
  "block"=>true,
96
96
  "whitelist"=>["*.google.com"]
97
97
  }
98
- }}, cache=false)
98
+ }}, cache=false)
99
99
  response = request.get("/some/path?rv=https://www.google.com", 'CONTENT_TYPE' => 'text/html')
100
100
  expect(response['Location']).to eq("https://www.google.com")
101
101
  end
@@ -110,8 +110,8 @@ module TCellAgent
110
110
  "block"=>true,
111
111
  "whitelist"=>["*.google-test.com"]
112
112
  }
113
- }}, cache=false)
114
-
113
+ }}, cache=false)
114
+
115
115
  tid_len = "78e596b7-e772-4caf-92eb-645fdbdec473".length + 1
116
116
  response = request.get("/some/path?rv=https://www.google.com", 'CONTENT_TYPE' => 'text/html')
117
117
  expect(response['Location']).to eq("/")
@@ -144,7 +144,7 @@ module TCellAgent
144
144
  "value"=>"script-src 'unsafe-inline'",
145
145
  "report-uri"=>"http://test.tcell.io/report"
146
146
  }]
147
- }}, cache=false)
147
+ }}, cache=false)
148
148
  tid_len = "78e596b7-e772-4caf-92eb-645fdbdec473".length + 1
149
149
  response = request.get("/some/path", 'CONTENT_TYPE' => 'text/plain', 'action_dispatch.request_id'=>'35281717-247e-44e6-bd42-0fb1417e80d')
150
150
  expect(response['Content-Security-Policy-Report-Only']).to eq("script-src 'unsafe-inline'; report-uri http://test.tcell.io/report?tid=a-b-c-d-e-f&c=-654192056")
@@ -41,7 +41,7 @@ module TCellAgent
41
41
  # it "passes the request through unchanged" do
42
42
  # #File.stub(:open).with("config/tcell_agent.config","rb") { StringIO.new(file_like_object) }
43
43
  # #File.should_receive(:read).with('/tmp/myfile').and_return(StringIO.new(file_like_object))
44
-
44
+
45
45
  # allow(File).to receive(:open).with('config/tcell_agent.config').and_return(file_like_object)
46
46
  # TCellAgent.configuration = TCellAgent::Configuration.new
47
47
  # main_worker = ::TCellAgent::AgentWorker.new(Process.pid)
@@ -54,4 +54,4 @@ module TCellAgent
54
54
  # end
55
55
  # end
56
56
 
57
- end
57
+ end
@@ -1,14 +1,14 @@
1
1
  require 'spec_helper'
2
2
 
3
3
  module TCellAgent
4
- module SensorEvents
5
- describe DlpEvent do
6
- context "Domain from Url" do
7
- it "Test Simple Domain" do
8
- dlp_event = DlpEvent.new("a","b","c").for_request("x","y")
9
- expect(dlp_event["context"]).to eq("x")
10
- end
11
- end
4
+ module SensorEvents
5
+ describe DlpEvent do
6
+ context "Domain from Url" do
7
+ it "Test Simple Domain" do
8
+ dlp_event = DlpEvent.new("a","b","c").for_request("x","y")
9
+ expect(dlp_event["context"]).to eq("x")
12
10
  end
11
+ end
13
12
  end
14
- end
13
+ end
14
+ end
@@ -1,25 +1,25 @@
1
1
  require 'spec_helper'
2
2
 
3
3
  module TCellAgent
4
- module SensorEvents
5
- module Util
6
- describe Util do
7
- context "Domain from Url" do
8
- it "Test Simple Domain" do
9
- expect(Util.domainFromUrl("https://www.google.com")).to eq("www.google.com")
10
- end
11
- it "Test More Complex Domain" do
12
- expect(Util.domainFromUrl("https://www.test.com:8000/abc/def")).to eq("www.test.com")
13
- end
14
- end
15
- context "abc" do
16
- it "abc" do
17
- expect(Util.wildcardMatch("test","test")).to eq(true)
18
- expect(Util.wildcardMatch("www.google.com","*.google.com")).to eq(true)
19
- expect(Util.wildcardMatch("google.com","*.google.com")).to eq(false)
20
- end
21
- end
22
- end
4
+ module SensorEvents
5
+ module Util
6
+ describe Util do
7
+ context "Domain from Url" do
8
+ it "Test Simple Domain" do
9
+ expect(Util.domainFromUrl("https://www.google.com")).to eq("www.google.com")
10
+ end
11
+ it "Test More Complex Domain" do
12
+ expect(Util.domainFromUrl("https://www.test.com:8000/abc/def")).to eq("www.test.com")
13
+ end
23
14
  end
15
+ context "abc" do
16
+ it "abc" do
17
+ expect(Util.wildcardMatch("test","test")).to eq(true)
18
+ expect(Util.wildcardMatch("www.google.com","*.google.com")).to eq(true)
19
+ expect(Util.wildcardMatch("google.com","*.google.com")).to eq(false)
20
+ end
21
+ end
22
+ end
24
23
  end
25
- end
24
+ end
25
+ end
@@ -1,57 +1,57 @@
1
1
  require 'spec_helper'
2
2
 
3
3
  module TCellAgent
4
- module SensorEvents
5
- module Util
6
- describe Util do
7
- context "SHA256 Hash test" do
8
- it "Create simple HMAC" do
9
- expect(Util.hmac("testdata","testkey")).to eq("220afe7c01cca398fff2fc2c3687be94ded74f1b853db65707bf8440055217b0")
10
- end
11
- it "Check with config HMAC" do
12
- old_hmac = TCellAgent.configuration.hmac_key
13
- hmac_key = "HMAC KEY 123"
14
- TCellAgent.configuration.hmac_key = hmac_key
15
- expect(Util.getHmacKey).to eq(hmac_key)
16
- TCellAgent.configuration.hmac_key = old_hmac
17
- end
18
- end
19
- context "Parsing request cookies and replacing values" do
20
- it "Parsing regular uri without params" do
21
- TCellAgent.configuration.app_id = nil
22
- original_uri = "http://foo.com/posts"
23
- expect_santized_uri = "http://foo.com/posts"
24
- expect(Util.sanitize_uri(original_uri)).to eq(expect_santized_uri)
25
- end
26
- it "Parsing regular uri with regular query string" do
27
- TCellAgent.configuration.app_id = nil
28
- original_uri = "http://foo.com/posts?abcd"
29
- expect_santized_uri = "http://foo.com/posts?abcd="
30
- expect(Util.sanitize_uri(original_uri)).to eq(expect_santized_uri)
31
- end
32
- it "Parsing uri" do
33
- TCellAgent.configuration.app_id = nil
34
- original_uri = "http://foo.com/posts?id=30&limit=5#time=1305298413"
35
- expect_santized_uri = "http://foo.com/posts?id=61aa3630ced0e67b63a1c61e3b86f4d30d6ec2c5b6c37f8aac8d8a813e66df73&limit=89abb06a7bf0401b5911e61b68660c241d002ffb1685a6d2a5ba3853c73e9111#time=1305298413"
36
- expect(Util.sanitize_uri(original_uri)).to eq(expect_santized_uri)
37
- end
38
- it "returns an empty set" do
39
- TCellAgent.configuration.app_id = nil
40
- expect(Util.santize_request_cookie_string("ABC")).to eq("")
41
- expect(Util.santize_request_cookie_string("abcd=")).to match("")
42
- end
43
- it "parses a cookie" do
44
- TCellAgent.configuration.app_id = nil
45
- expect(Util.santize_request_cookie_string("x=y;z=a")).to eq("x=97cb9e2aa3ec93888b356dbcf13b280e2a8c16fc1f594a783395503d42321707;z=566c1a1c12ad909d628d4537e10773bf085a07bc4199fdf776e162c96480c5ec")
46
- end
47
- end
48
- context "Parsing a response set-cookie and replacing values" do
49
- it "sanitize a typical response set-cookie value" do
50
- santized_string = Util.santize_response_cookie_string("name=Nicholas; expires=Sat, 02 May 2009 23:38:25 GMT; httponly")
51
- expect(santized_string).to eq("name=beb56c04cdd764f6b7cbe6c078236aeb7246748abae29b530b93d3f5d4587eb0=; expires=Sat, 02 May 2009 23:38:25 GMT=; httponly=")
52
- end
53
- end
54
- end
4
+ module SensorEvents
5
+ module Util
6
+ describe Util do
7
+ context "SHA256 Hash test" do
8
+ it "Create simple HMAC" do
9
+ expect(Util.hmac("testdata","testkey")).to eq("220afe7c01cca398fff2fc2c3687be94ded74f1b853db65707bf8440055217b0")
10
+ end
11
+ it "Check with config HMAC" do
12
+ old_hmac = TCellAgent.configuration.hmac_key
13
+ hmac_key = "HMAC KEY 123"
14
+ TCellAgent.configuration.hmac_key = hmac_key
15
+ expect(Util.getHmacKey).to eq(hmac_key)
16
+ TCellAgent.configuration.hmac_key = old_hmac
17
+ end
55
18
  end
19
+ context "Parsing request cookies and replacing values" do
20
+ it "Parsing regular uri without params" do
21
+ TCellAgent.configuration.app_id = nil
22
+ original_uri = "http://foo.com/posts"
23
+ expect_santized_uri = "http://foo.com/posts"
24
+ expect(Util.sanitize_uri(original_uri)).to eq(expect_santized_uri)
25
+ end
26
+ it "Parsing regular uri with regular query string" do
27
+ TCellAgent.configuration.app_id = nil
28
+ original_uri = "http://foo.com/posts?abcd"
29
+ expect_santized_uri = "http://foo.com/posts?abcd="
30
+ expect(Util.sanitize_uri(original_uri)).to eq(expect_santized_uri)
31
+ end
32
+ it "Parsing uri" do
33
+ TCellAgent.configuration.app_id = nil
34
+ original_uri = "http://foo.com/posts?id=30&limit=5#time=1305298413"
35
+ expect_santized_uri = "http://foo.com/posts?id=61aa3630ced0e67b63a1c61e3b86f4d30d6ec2c5b6c37f8aac8d8a813e66df73&limit=89abb06a7bf0401b5911e61b68660c241d002ffb1685a6d2a5ba3853c73e9111#time=1305298413"
36
+ expect(Util.sanitize_uri(original_uri)).to eq(expect_santized_uri)
37
+ end
38
+ it "returns an empty set" do
39
+ TCellAgent.configuration.app_id = nil
40
+ expect(Util.santize_request_cookie_string("ABC")).to eq("")
41
+ expect(Util.santize_request_cookie_string("abcd=")).to match("")
42
+ end
43
+ it "parses a cookie" do
44
+ TCellAgent.configuration.app_id = nil
45
+ expect(Util.santize_request_cookie_string("x=y;z=a")).to eq("x=97cb9e2aa3ec93888b356dbcf13b280e2a8c16fc1f594a783395503d42321707;z=566c1a1c12ad909d628d4537e10773bf085a07bc4199fdf776e162c96480c5ec")
46
+ end
47
+ end
48
+ context "Parsing a response set-cookie and replacing values" do
49
+ it "sanitize a typical response set-cookie value" do
50
+ santized_string = Util.santize_response_cookie_string("name=Nicholas; expires=Sat, 02 May 2009 23:38:25 GMT; httponly")
51
+ expect(santized_string).to eq("name=beb56c04cdd764f6b7cbe6c078236aeb7246748abae29b530b93d3f5d4587eb0=; expires=Sat, 02 May 2009 23:38:25 GMT=; httponly=")
52
+ end
53
+ end
54
+ end
56
55
  end
57
- end
56
+ end
57
+ end
@@ -1,22 +1,22 @@
1
1
  require 'spec_helper'
2
2
 
3
3
  module TCellAgent
4
- describe Agent do
5
- context "Agent Read File" do
6
- agent_worker = Agent.new(0)
7
- it "Reads in a policy file" do
8
- policy_file_json = {
9
- "csp-headers"=>{
10
- "policy_id"=>"00a1",
11
- "headers"=>[
12
- {"name"=>"csp", "value"=>"csp loaded header"}
13
- ]
14
- }
15
- }
16
- agent_worker.processPolicyJson(policy_file_json)
17
- expect(agent_worker.policies[TCellAgent::PolicyTypes::CSP].headers[0].type).to eq("csp")
18
- expect(agent_worker.policies[TCellAgent::PolicyTypes::CSP].headers[0].value).to eq("csp loaded header")
19
- end
20
- end
4
+ describe Agent do
5
+ context "Agent Read File" do
6
+ agent_worker = Agent.new(0)
7
+ it "Reads in a policy file" do
8
+ policy_file_json = {
9
+ "csp-headers"=>{
10
+ "policy_id"=>"00a1",
11
+ "headers"=>[
12
+ {"name"=>"csp", "value"=>"csp loaded header"}
13
+ ]
14
+ }
15
+ }
16
+ agent_worker.processPolicyJson(policy_file_json)
17
+ expect(agent_worker.policies[TCellAgent::PolicyTypes::CSP].headers[0].type).to eq("csp")
18
+ expect(agent_worker.policies[TCellAgent::PolicyTypes::CSP].headers[0].value).to eq("csp loaded header")
19
+ end
21
20
  end
21
+ end
22
22
  end
data/spec/spec_helper.rb CHANGED
@@ -1,6 +1,7 @@
1
1
  require 'rspec'
2
2
  require 'rails'
3
3
  require 'webmock/rspec'
4
+ require 'fork_break'
4
5
 
5
6
  ENV['TCELL_AGENT_SERVER'] = "mock"
6
7
  require File.join(File.dirname(__FILE__), '..', 'lib', 'tcell_agent')
@@ -1,7 +1,7 @@
1
1
  {
2
- "version":1,
3
- "applications":
4
- [
2
+ "version":1,
3
+ "applications":
4
+ [
5
5
  {
6
6
  "app_id": "spec-app-id",
7
7
  "api_key": "spec-api-key",
@@ -9,5 +9,5 @@
9
9
  "tcell_input_url": "http://test.tcell.io/api/v1",
10
10
  "logging_options":{"enabled":true, "level":"DEBUG"}
11
11
  }
12
- ]
13
- }
12
+ ]
13
+ }
data/tcell_agent.gemspec CHANGED
@@ -19,11 +19,11 @@ Gem::Specification.new do |spec|
19
19
  spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
20
20
  spec.require_paths = ["lib","config","spec"]
21
21
 
22
- spec.add_runtime_dependency "rest-client",'>= 1.6'
23
- spec.add_runtime_dependency "json",'>=1.8'
24
- spec.add_runtime_dependency "pbkdf2",'>=0.1'
22
+ spec.add_runtime_dependency "rest-client",">= 1.6"
23
+ spec.add_runtime_dependency "json",">=1.8"
24
+ spec.add_runtime_dependency "pbkdf2",">=0.1"
25
25
  spec.add_development_dependency "rspec-core"
26
26
  spec.add_development_dependency "bundler", ">= 1.7"
27
27
  spec.add_development_dependency "rake", "~> 10.0"
28
- spec.add_development_dependency "rspec",'~>0.9'
28
+ spec.add_development_dependency "rspec","~>0.9"
29
29
  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: 0.2.7
4
+ version: 0.2.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Garrett
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-02-09 00:00:00.000000000 Z
11
+ date: 2016-02-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rest-client
@@ -117,24 +117,20 @@ executables:
117
117
  extensions: []
118
118
  extra_rdoc_files: []
119
119
  files:
120
- - LICENSE
121
- - README.md
122
120
  - Rakefile
123
- - bin/tcell_agent
124
- - lib/tcell_agent.rb
125
- - lib/tcell_agent/agent.rb
126
121
  - lib/tcell_agent/agent/event_processor.rb
127
122
  - lib/tcell_agent/agent/fork_pipe_manager.rb
128
123
  - lib/tcell_agent/agent/policy_manager.rb
129
124
  - lib/tcell_agent/agent/policy_types.rb
130
125
  - lib/tcell_agent/agent/route_manager.rb
131
126
  - lib/tcell_agent/agent/static_agent.rb
127
+ - lib/tcell_agent/agent.rb
132
128
  - lib/tcell_agent/api.rb
133
- - lib/tcell_agent/appsensor.rb
134
129
  - lib/tcell_agent/appsensor/cmdi.rb
135
130
  - lib/tcell_agent/appsensor/path_traversal.rb
136
131
  - lib/tcell_agent/appsensor/sqli.rb
137
132
  - lib/tcell_agent/appsensor/xss.rb
133
+ - lib/tcell_agent/appsensor.rb
138
134
  - lib/tcell_agent/authlogic.rb
139
135
  - lib/tcell_agent/configuration.rb
140
136
  - lib/tcell_agent/devise.rb
@@ -149,7 +145,6 @@ files:
149
145
  - lib/tcell_agent/policies/http_tx_policy.rb
150
146
  - lib/tcell_agent/policies/login_fraud_policy.rb
151
147
  - lib/tcell_agent/policies/secure_headers_policy.rb
152
- - lib/tcell_agent/rails.rb
153
148
  - lib/tcell_agent/rails/auth/authlogic.rb
154
149
  - lib/tcell_agent/rails/auth/devise.rb
155
150
  - lib/tcell_agent/rails/dlp.rb
@@ -160,6 +155,7 @@ files:
160
155
  - lib/tcell_agent/rails/on_start.rb
161
156
  - lib/tcell_agent/rails/routes.rb
162
157
  - lib/tcell_agent/rails/settings_reporter.rb
158
+ - lib/tcell_agent/rails.rb
163
159
  - lib/tcell_agent/routes/table.rb
164
160
  - lib/tcell_agent/sensor_events/app_config.rb
165
161
  - lib/tcell_agent/sensor_events/app_sensor.rb
@@ -180,12 +176,11 @@ files:
180
176
  - lib/tcell_agent/servers/webrick.rb
181
177
  - lib/tcell_agent/sinatra.rb
182
178
  - lib/tcell_agent/start_background_thread.rb
179
+ - lib/tcell_agent/system_info.rb
183
180
  - lib/tcell_agent/userinfo.rb
184
181
  - lib/tcell_agent/utils/queue_with_timeout.rb
185
182
  - lib/tcell_agent/version.rb
186
- - spec/apps/rails-3.2/Gemfile
187
- - spec/apps/rails-3.2/Gemfile.lock
188
- - spec/apps/rails-3.2/Rakefile
183
+ - lib/tcell_agent.rb
189
184
  - spec/apps/rails-3.2/app/assets/images/rails.png
190
185
  - spec/apps/rails-3.2/app/assets/javascripts/application.js
191
186
  - spec/apps/rails-3.2/app/assets/stylesheets/application.css
@@ -194,15 +189,15 @@ files:
194
189
  - spec/apps/rails-3.2/app/helpers/application_helper.rb
195
190
  - spec/apps/rails-3.2/app/views/layouts/application.html.erb
196
191
  - spec/apps/rails-3.2/app/views/t_cell_app/index.html.erb
197
- - spec/apps/rails-3.2/config.ru
198
192
  - spec/apps/rails-3.2/config/application.rb
199
193
  - spec/apps/rails-3.2/config/boot.rb
200
194
  - spec/apps/rails-3.2/config/environment.rb
201
195
  - spec/apps/rails-3.2/config/environments/test.rb
202
196
  - spec/apps/rails-3.2/config/routes.rb
203
- - spec/apps/rails-4.1/Gemfile
204
- - spec/apps/rails-4.1/Gemfile.lock
205
- - spec/apps/rails-4.1/Rakefile
197
+ - spec/apps/rails-3.2/config.ru
198
+ - spec/apps/rails-3.2/Gemfile
199
+ - spec/apps/rails-3.2/Gemfile.lock
200
+ - spec/apps/rails-3.2/Rakefile
206
201
  - spec/apps/rails-4.1/app/assets/javascripts/application.js
207
202
  - spec/apps/rails-4.1/app/assets/stylesheets/application.css
208
203
  - spec/apps/rails-4.1/app/controllers/application_controller.rb
@@ -210,7 +205,6 @@ files:
210
205
  - spec/apps/rails-4.1/app/helpers/application_helper.rb
211
206
  - spec/apps/rails-4.1/app/views/layouts/application.html.erb
212
207
  - spec/apps/rails-4.1/app/views/t_cell_app/index.html.erb
213
- - spec/apps/rails-4.1/config.ru
214
208
  - spec/apps/rails-4.1/config/application.rb
215
209
  - spec/apps/rails-4.1/config/boot.rb
216
210
  - spec/apps/rails-4.1/config/environment.rb
@@ -226,8 +220,13 @@ files:
226
220
  - spec/apps/rails-4.1/config/locales/en.yml
227
221
  - spec/apps/rails-4.1/config/routes.rb
228
222
  - spec/apps/rails-4.1/config/secrets.yml
223
+ - spec/apps/rails-4.1/config.ru
224
+ - spec/apps/rails-4.1/Gemfile
225
+ - spec/apps/rails-4.1/Gemfile.lock
226
+ - spec/apps/rails-4.1/Rakefile
229
227
  - spec/controllers/application_controller.rb
230
228
  - spec/integration/puma.rb
229
+ - spec/lib/tcell_agent/agent/fork_pipe_manager_spec.rb
231
230
  - spec/lib/tcell_agent/agent/static_agent_spec.rb
232
231
  - spec/lib/tcell_agent/api/api_spec.rb
233
232
  - spec/lib/tcell_agent/appsensor_spec.rb
@@ -241,6 +240,7 @@ files:
241
240
  - spec/lib/tcell_agent/policies/http_tx_policy_spec.rb
242
241
  - spec/lib/tcell_agent/policies/login_policy_spec.rb
243
242
  - spec/lib/tcell_agent/policies/secure_headers_policy_spec.rb
243
+ - spec/lib/tcell_agent/rails/logger_spec.rb
244
244
  - spec/lib/tcell_agent/rails/middleware/appsensor_middleware_spec.rb
245
245
  - spec/lib/tcell_agent/rails/middleware/global_middleware_spec.rb
246
246
  - spec/lib/tcell_agent/rails_spec.rb
@@ -254,7 +254,10 @@ files:
254
254
  - spec/support/middleware_helper.rb
255
255
  - spec/support/resources/normal_config.json
256
256
  - spec/support/static_agent_overrides.rb
257
+ - README.md
258
+ - LICENSE
257
259
  - tcell_agent.gemspec
260
+ - bin/tcell_agent
258
261
  homepage: https://www.tcell.io
259
262
  licenses:
260
263
  - Copyright (c) 2015 tCell.io (see LICENSE file)
@@ -277,14 +280,11 @@ required_rubygems_version: !ruby/object:Gem::Requirement
277
280
  version: '0'
278
281
  requirements: []
279
282
  rubyforge_project:
280
- rubygems_version: 2.4.8
283
+ rubygems_version: 2.0.14
281
284
  signing_key:
282
285
  specification_version: 4
283
286
  summary: tCell.io Agent for Rails & Sinatra
284
287
  test_files:
285
- - spec/apps/rails-3.2/Gemfile
286
- - spec/apps/rails-3.2/Gemfile.lock
287
- - spec/apps/rails-3.2/Rakefile
288
288
  - spec/apps/rails-3.2/app/assets/images/rails.png
289
289
  - spec/apps/rails-3.2/app/assets/javascripts/application.js
290
290
  - spec/apps/rails-3.2/app/assets/stylesheets/application.css
@@ -293,15 +293,15 @@ test_files:
293
293
  - spec/apps/rails-3.2/app/helpers/application_helper.rb
294
294
  - spec/apps/rails-3.2/app/views/layouts/application.html.erb
295
295
  - spec/apps/rails-3.2/app/views/t_cell_app/index.html.erb
296
- - spec/apps/rails-3.2/config.ru
297
296
  - spec/apps/rails-3.2/config/application.rb
298
297
  - spec/apps/rails-3.2/config/boot.rb
299
298
  - spec/apps/rails-3.2/config/environment.rb
300
299
  - spec/apps/rails-3.2/config/environments/test.rb
301
300
  - spec/apps/rails-3.2/config/routes.rb
302
- - spec/apps/rails-4.1/Gemfile
303
- - spec/apps/rails-4.1/Gemfile.lock
304
- - spec/apps/rails-4.1/Rakefile
301
+ - spec/apps/rails-3.2/config.ru
302
+ - spec/apps/rails-3.2/Gemfile
303
+ - spec/apps/rails-3.2/Gemfile.lock
304
+ - spec/apps/rails-3.2/Rakefile
305
305
  - spec/apps/rails-4.1/app/assets/javascripts/application.js
306
306
  - spec/apps/rails-4.1/app/assets/stylesheets/application.css
307
307
  - spec/apps/rails-4.1/app/controllers/application_controller.rb
@@ -309,7 +309,6 @@ test_files:
309
309
  - spec/apps/rails-4.1/app/helpers/application_helper.rb
310
310
  - spec/apps/rails-4.1/app/views/layouts/application.html.erb
311
311
  - spec/apps/rails-4.1/app/views/t_cell_app/index.html.erb
312
- - spec/apps/rails-4.1/config.ru
313
312
  - spec/apps/rails-4.1/config/application.rb
314
313
  - spec/apps/rails-4.1/config/boot.rb
315
314
  - spec/apps/rails-4.1/config/environment.rb
@@ -325,8 +324,13 @@ test_files:
325
324
  - spec/apps/rails-4.1/config/locales/en.yml
326
325
  - spec/apps/rails-4.1/config/routes.rb
327
326
  - spec/apps/rails-4.1/config/secrets.yml
327
+ - spec/apps/rails-4.1/config.ru
328
+ - spec/apps/rails-4.1/Gemfile
329
+ - spec/apps/rails-4.1/Gemfile.lock
330
+ - spec/apps/rails-4.1/Rakefile
328
331
  - spec/controllers/application_controller.rb
329
332
  - spec/integration/puma.rb
333
+ - spec/lib/tcell_agent/agent/fork_pipe_manager_spec.rb
330
334
  - spec/lib/tcell_agent/agent/static_agent_spec.rb
331
335
  - spec/lib/tcell_agent/api/api_spec.rb
332
336
  - spec/lib/tcell_agent/appsensor_spec.rb
@@ -340,6 +344,7 @@ test_files:
340
344
  - spec/lib/tcell_agent/policies/http_tx_policy_spec.rb
341
345
  - spec/lib/tcell_agent/policies/login_policy_spec.rb
342
346
  - spec/lib/tcell_agent/policies/secure_headers_policy_spec.rb
347
+ - spec/lib/tcell_agent/rails/logger_spec.rb
343
348
  - spec/lib/tcell_agent/rails/middleware/appsensor_middleware_spec.rb
344
349
  - spec/lib/tcell_agent/rails/middleware/global_middleware_spec.rb
345
350
  - spec/lib/tcell_agent/rails_spec.rb