tcell_agent 0.2.2

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 (84) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE +4 -0
  3. data/README.md +43 -0
  4. data/Rakefile +7 -0
  5. data/bin/tcell_agent +171 -0
  6. data/config/initializers/authlogic_auth.rb +51 -0
  7. data/config/initializers/devise_auth.rb +167 -0
  8. data/config/initializers/init.rb +8 -0
  9. data/lib/tcell_agent.rb +33 -0
  10. data/lib/tcell_agent/agent.rb +79 -0
  11. data/lib/tcell_agent/agent/event_processor.rb +133 -0
  12. data/lib/tcell_agent/agent/policy_manager.rb +138 -0
  13. data/lib/tcell_agent/agent/policy_types.rb +42 -0
  14. data/lib/tcell_agent/agent/static_agent.rb +22 -0
  15. data/lib/tcell_agent/api.rb +101 -0
  16. data/lib/tcell_agent/appsensor.rb +42 -0
  17. data/lib/tcell_agent/appsensor/cmdi.rb +32 -0
  18. data/lib/tcell_agent/appsensor/path_traversal.rb +33 -0
  19. data/lib/tcell_agent/appsensor/sqli.rb +55 -0
  20. data/lib/tcell_agent/appsensor/xss.rb +40 -0
  21. data/lib/tcell_agent/authlogic.rb +26 -0
  22. data/lib/tcell_agent/configuration.rb +148 -0
  23. data/lib/tcell_agent/dataloss.rb +0 -0
  24. data/lib/tcell_agent/devise.rb +83 -0
  25. data/lib/tcell_agent/instrumentation.rb +44 -0
  26. data/lib/tcell_agent/logger.rb +46 -0
  27. data/lib/tcell_agent/policies/add_script_tag_policy.rb +47 -0
  28. data/lib/tcell_agent/policies/appsensor_policy.rb +76 -0
  29. data/lib/tcell_agent/policies/clickjacking_policy.rb +113 -0
  30. data/lib/tcell_agent/policies/content_security_policy.rb +119 -0
  31. data/lib/tcell_agent/policies/dataloss_policy.rb +175 -0
  32. data/lib/tcell_agent/policies/honeytokens_policy.rb +67 -0
  33. data/lib/tcell_agent/policies/http_redirect_policy.rb +84 -0
  34. data/lib/tcell_agent/policies/http_tx_policy.rb +60 -0
  35. data/lib/tcell_agent/policies/login_fraud_policy.rb +42 -0
  36. data/lib/tcell_agent/policies/secure_headers_policy.rb +64 -0
  37. data/lib/tcell_agent/rails.rb +146 -0
  38. data/lib/tcell_agent/rails/devise.rb +0 -0
  39. data/lib/tcell_agent/rails/dlp.rb +204 -0
  40. data/lib/tcell_agent/rails/middleware/body_filter_middleware.rb +69 -0
  41. data/lib/tcell_agent/rails/middleware/context_middleware.rb +50 -0
  42. data/lib/tcell_agent/rails/middleware/global_middleware.rb +53 -0
  43. data/lib/tcell_agent/rails/middleware/headers_middleware.rb +176 -0
  44. data/lib/tcell_agent/rails/routes.rb +130 -0
  45. data/lib/tcell_agent/rails/settings_reporter.rb +40 -0
  46. data/lib/tcell_agent/sensor_events/app_config.rb +16 -0
  47. data/lib/tcell_agent/sensor_events/app_sensor.rb +240 -0
  48. data/lib/tcell_agent/sensor_events/dlp.rb +58 -0
  49. data/lib/tcell_agent/sensor_events/honeytokens.rb +16 -0
  50. data/lib/tcell_agent/sensor_events/login_fraud.rb +43 -0
  51. data/lib/tcell_agent/sensor_events/metrics.rb +24 -0
  52. data/lib/tcell_agent/sensor_events/sensor.rb +85 -0
  53. data/lib/tcell_agent/sensor_events/server_agent.rb +101 -0
  54. data/lib/tcell_agent/sensor_events/util/redirect_utils.rb +22 -0
  55. data/lib/tcell_agent/sensor_events/util/sanitizer_utilities.rb +153 -0
  56. data/lib/tcell_agent/sensor_events/util/utils.rb +21 -0
  57. data/lib/tcell_agent/sinatra.rb +41 -0
  58. data/lib/tcell_agent/start_background_thread.rb +63 -0
  59. data/lib/tcell_agent/userinfo.rb +8 -0
  60. data/lib/tcell_agent/utils/queue_with_timeout.rb +60 -0
  61. data/lib/tcell_agent/version.rb +5 -0
  62. data/spec/controllers/application_controller.rb +12 -0
  63. data/spec/lib/tcell_agent/api/api_spec.rb +36 -0
  64. data/spec/lib/tcell_agent/appsensor_spec.rb +66 -0
  65. data/spec/lib/tcell_agent/policies/add_script_tag_policy_spec.rb +37 -0
  66. data/spec/lib/tcell_agent/policies/appsensor_policy_spec.rb +40 -0
  67. data/spec/lib/tcell_agent/policies/clickjacking_policy_spec.rb +71 -0
  68. data/spec/lib/tcell_agent/policies/content_security_policy_spec.rb +71 -0
  69. data/spec/lib/tcell_agent/policies/dataloss_policy_spec.rb +88 -0
  70. data/spec/lib/tcell_agent/policies/honeytokens_policy_spec.rb +22 -0
  71. data/spec/lib/tcell_agent/policies/http_redirect_policy_spec.rb +62 -0
  72. data/spec/lib/tcell_agent/policies/http_tx_policy_spec.rb +22 -0
  73. data/spec/lib/tcell_agent/policies/login_policy_spec.rb +42 -0
  74. data/spec/lib/tcell_agent/policies/secure_headers_policy_spec.rb +67 -0
  75. data/spec/lib/tcell_agent/rails/middleware/global_middleware_spec.rb +187 -0
  76. data/spec/lib/tcell_agent/rails_spec.rb +57 -0
  77. data/spec/lib/tcell_agent/sensor_events/dlp_spec.rb +14 -0
  78. data/spec/lib/tcell_agent/sensor_events/util/redirect_utils_spec.rb +25 -0
  79. data/spec/lib/tcell_agent/sensor_events/util/sanitizer_utilities_spec.rb +57 -0
  80. data/spec/lib/tcell_agent_spec.rb +22 -0
  81. data/spec/resources/normal_config.json +13 -0
  82. data/spec/spec_helper.rb +4 -0
  83. data/tcell_agent.gemspec +29 -0
  84. metadata +249 -0
@@ -0,0 +1,57 @@
1
+ require 'spec_helper'
2
+
3
+ module TCellAgent
4
+
5
+ class MockRackApp
6
+
7
+ attr_reader :request_body
8
+
9
+ def initialize
10
+ @request_headers = {}
11
+ end
12
+
13
+ def call(env)
14
+ @env = env
15
+ @request_body = env['rack.input'].read
16
+ [200, {'Content-Type' => 'text/plain'}, ['OK']]
17
+ end
18
+
19
+ def [](key)
20
+ @env[key]
21
+ end
22
+
23
+ end
24
+
25
+
26
+ # describe MyMiddleware do
27
+
28
+ # let(:file_like_object) { File.open("spec/resources/normal_config.json") }
29
+ # let(:app) { MockRackApp.new }
30
+ # subject { described_class.new(app) }
31
+
32
+ # context "when called with a POST request" do
33
+ # let(:request) { Rack::MockRequest.new(app) }
34
+ # before(:each) do
35
+ # request.post("/some/path", input: post_data, 'CONTENT_TYPE' => 'text/plain')
36
+ # end
37
+
38
+ # context "with some particular data" do
39
+ # let(:post_data) { "String or IO post data" }
40
+
41
+ # it "passes the request through unchanged" do
42
+ # #File.stub(:open).with("config/tcell_agent.config","rb") { StringIO.new(file_like_object) }
43
+ # #File.should_receive(:read).with('/tmp/myfile').and_return(StringIO.new(file_like_object))
44
+
45
+ # allow(File).to receive(:open).with('config/tcell_agent.config').and_return(file_like_object)
46
+ # TCellAgent.configuration = TCellAgent::Configuration.new
47
+ # main_worker = ::TCellAgent::AgentWorker.new(Process.pid)
48
+ # ::TCellAgent::AgentThread.setThread(main_worker)
49
+ # main_worker.start
50
+ # expect(app['CONTENT_TYPE']).to eq('text/plain')
51
+ # expect(app.request_body).to eq(post_data)
52
+ # end
53
+ # end
54
+ # end
55
+ # end
56
+
57
+ end
@@ -0,0 +1,14 @@
1
+ require 'spec_helper'
2
+
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
12
+ end
13
+ end
14
+ end
@@ -0,0 +1,25 @@
1
+ require 'spec_helper'
2
+
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
23
+ end
24
+ end
25
+ end
@@ -0,0 +1,57 @@
1
+ require 'spec_helper'
2
+
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
55
+ end
56
+ end
57
+ end
@@ -0,0 +1,22 @@
1
+ require 'spec_helper'
2
+
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
21
+ end
22
+ end
@@ -0,0 +1,13 @@
1
+ {
2
+ "version":1,
3
+ "applications":
4
+ [
5
+ {
6
+ "app_id": "spec-app-id",
7
+ "api_key": "spec-api-key",
8
+ "tcell_api_url": "http://test.tcell.io/api/v1",
9
+ "tcell_input_url": "http://test.tcell.io/api/v1",
10
+ "logging_options":{"enabled":true, "level":"DEBUG"}
11
+ }
12
+ ]
13
+ }
@@ -0,0 +1,4 @@
1
+ require 'rspec'
2
+ require 'rails'
3
+ require 'webmock/rspec'
4
+ require File.join(File.dirname(__FILE__), '..', 'lib', 'tcell_agent')
@@ -0,0 +1,29 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ #bin = File.expand_path('../bin', __FILE__)
4
+
5
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
6
+ require 'tcell_agent/version'
7
+ Gem::Specification.new do |spec|
8
+ spec.name = "tcell_agent"
9
+ spec.version = TCellAgent::VERSION
10
+ spec.authors = ["Garrett"]
11
+ spec.email = ["garrett@tcell.io"]
12
+ spec.summary = "tCell.io Agent for Rails & Sinatra"
13
+ spec.description = "This agent allows users to use the tCell.io service with their Rails or Sinatra app."
14
+ spec.homepage = "https://www.tcell.io"
15
+ spec.license = "Copyright (c) 2015 tCell.io (see LICENSE file)"
16
+
17
+ spec.files = Dir['Rakefile', '{lib,config,spec}/**/*', 'README*', 'LICENSE*','tcell_agent.gemspec']
18
+ spec.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
19
+ spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
20
+ spec.require_paths = ["lib","config","spec"]
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'
25
+ spec.add_development_dependency "rspec-core"
26
+ spec.add_development_dependency "bundler", ">= 1.7"
27
+ spec.add_development_dependency "rake", "~> 10.0"
28
+ spec.add_development_dependency "rspec",'~>0.9'
29
+ end
metadata ADDED
@@ -0,0 +1,249 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: tcell_agent
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.2.2
5
+ platform: ruby
6
+ authors:
7
+ - Garrett
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2015-12-04 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: rest-client
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - '>='
18
+ - !ruby/object:Gem::Version
19
+ version: '1.6'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - '>='
25
+ - !ruby/object:Gem::Version
26
+ version: '1.6'
27
+ - !ruby/object:Gem::Dependency
28
+ name: json
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - '>='
32
+ - !ruby/object:Gem::Version
33
+ version: '1.8'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - '>='
39
+ - !ruby/object:Gem::Version
40
+ version: '1.8'
41
+ - !ruby/object:Gem::Dependency
42
+ name: pbkdf2
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - '>='
46
+ - !ruby/object:Gem::Version
47
+ version: '0.1'
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - '>='
53
+ - !ruby/object:Gem::Version
54
+ version: '0.1'
55
+ - !ruby/object:Gem::Dependency
56
+ name: rspec-core
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - '>='
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - '>='
67
+ - !ruby/object:Gem::Version
68
+ version: '0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: bundler
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - '>='
74
+ - !ruby/object:Gem::Version
75
+ version: '1.7'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - '>='
81
+ - !ruby/object:Gem::Version
82
+ version: '1.7'
83
+ - !ruby/object:Gem::Dependency
84
+ name: rake
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - ~>
88
+ - !ruby/object:Gem::Version
89
+ version: '10.0'
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - ~>
95
+ - !ruby/object:Gem::Version
96
+ version: '10.0'
97
+ - !ruby/object:Gem::Dependency
98
+ name: rspec
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - ~>
102
+ - !ruby/object:Gem::Version
103
+ version: '0.9'
104
+ type: :development
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - ~>
109
+ - !ruby/object:Gem::Version
110
+ version: '0.9'
111
+ description: This agent allows users to use the tCell.io service with their Rails
112
+ or Sinatra app.
113
+ email:
114
+ - garrett@tcell.io
115
+ executables:
116
+ - tcell_agent
117
+ extensions: []
118
+ extra_rdoc_files: []
119
+ files:
120
+ - LICENSE
121
+ - README.md
122
+ - Rakefile
123
+ - bin/tcell_agent
124
+ - config/initializers/authlogic_auth.rb
125
+ - config/initializers/devise_auth.rb
126
+ - config/initializers/init.rb
127
+ - lib/tcell_agent.rb
128
+ - lib/tcell_agent/agent.rb
129
+ - lib/tcell_agent/agent/event_processor.rb
130
+ - lib/tcell_agent/agent/policy_manager.rb
131
+ - lib/tcell_agent/agent/policy_types.rb
132
+ - lib/tcell_agent/agent/static_agent.rb
133
+ - lib/tcell_agent/api.rb
134
+ - lib/tcell_agent/appsensor.rb
135
+ - lib/tcell_agent/appsensor/cmdi.rb
136
+ - lib/tcell_agent/appsensor/path_traversal.rb
137
+ - lib/tcell_agent/appsensor/sqli.rb
138
+ - lib/tcell_agent/appsensor/xss.rb
139
+ - lib/tcell_agent/authlogic.rb
140
+ - lib/tcell_agent/configuration.rb
141
+ - lib/tcell_agent/dataloss.rb
142
+ - lib/tcell_agent/devise.rb
143
+ - lib/tcell_agent/instrumentation.rb
144
+ - lib/tcell_agent/logger.rb
145
+ - lib/tcell_agent/policies/add_script_tag_policy.rb
146
+ - lib/tcell_agent/policies/appsensor_policy.rb
147
+ - lib/tcell_agent/policies/clickjacking_policy.rb
148
+ - lib/tcell_agent/policies/content_security_policy.rb
149
+ - lib/tcell_agent/policies/dataloss_policy.rb
150
+ - lib/tcell_agent/policies/honeytokens_policy.rb
151
+ - lib/tcell_agent/policies/http_redirect_policy.rb
152
+ - lib/tcell_agent/policies/http_tx_policy.rb
153
+ - lib/tcell_agent/policies/login_fraud_policy.rb
154
+ - lib/tcell_agent/policies/secure_headers_policy.rb
155
+ - lib/tcell_agent/rails.rb
156
+ - lib/tcell_agent/rails/devise.rb
157
+ - lib/tcell_agent/rails/dlp.rb
158
+ - lib/tcell_agent/rails/middleware/body_filter_middleware.rb
159
+ - lib/tcell_agent/rails/middleware/context_middleware.rb
160
+ - lib/tcell_agent/rails/middleware/global_middleware.rb
161
+ - lib/tcell_agent/rails/middleware/headers_middleware.rb
162
+ - lib/tcell_agent/rails/routes.rb
163
+ - lib/tcell_agent/rails/settings_reporter.rb
164
+ - lib/tcell_agent/sensor_events/app_config.rb
165
+ - lib/tcell_agent/sensor_events/app_sensor.rb
166
+ - lib/tcell_agent/sensor_events/dlp.rb
167
+ - lib/tcell_agent/sensor_events/honeytokens.rb
168
+ - lib/tcell_agent/sensor_events/login_fraud.rb
169
+ - lib/tcell_agent/sensor_events/metrics.rb
170
+ - lib/tcell_agent/sensor_events/sensor.rb
171
+ - lib/tcell_agent/sensor_events/server_agent.rb
172
+ - lib/tcell_agent/sensor_events/util/redirect_utils.rb
173
+ - lib/tcell_agent/sensor_events/util/sanitizer_utilities.rb
174
+ - lib/tcell_agent/sensor_events/util/utils.rb
175
+ - lib/tcell_agent/sinatra.rb
176
+ - lib/tcell_agent/start_background_thread.rb
177
+ - lib/tcell_agent/userinfo.rb
178
+ - lib/tcell_agent/utils/queue_with_timeout.rb
179
+ - lib/tcell_agent/version.rb
180
+ - spec/controllers/application_controller.rb
181
+ - spec/lib/tcell_agent/api/api_spec.rb
182
+ - spec/lib/tcell_agent/appsensor_spec.rb
183
+ - spec/lib/tcell_agent/policies/add_script_tag_policy_spec.rb
184
+ - spec/lib/tcell_agent/policies/appsensor_policy_spec.rb
185
+ - spec/lib/tcell_agent/policies/clickjacking_policy_spec.rb
186
+ - spec/lib/tcell_agent/policies/content_security_policy_spec.rb
187
+ - spec/lib/tcell_agent/policies/dataloss_policy_spec.rb
188
+ - spec/lib/tcell_agent/policies/honeytokens_policy_spec.rb
189
+ - spec/lib/tcell_agent/policies/http_redirect_policy_spec.rb
190
+ - spec/lib/tcell_agent/policies/http_tx_policy_spec.rb
191
+ - spec/lib/tcell_agent/policies/login_policy_spec.rb
192
+ - spec/lib/tcell_agent/policies/secure_headers_policy_spec.rb
193
+ - spec/lib/tcell_agent/rails/middleware/global_middleware_spec.rb
194
+ - spec/lib/tcell_agent/rails_spec.rb
195
+ - spec/lib/tcell_agent/sensor_events/dlp_spec.rb
196
+ - spec/lib/tcell_agent/sensor_events/util/redirect_utils_spec.rb
197
+ - spec/lib/tcell_agent/sensor_events/util/sanitizer_utilities_spec.rb
198
+ - spec/lib/tcell_agent_spec.rb
199
+ - spec/resources/normal_config.json
200
+ - spec/spec_helper.rb
201
+ - tcell_agent.gemspec
202
+ homepage: https://www.tcell.io
203
+ licenses:
204
+ - Copyright (c) 2015 tCell.io (see LICENSE file)
205
+ metadata: {}
206
+ post_install_message:
207
+ rdoc_options: []
208
+ require_paths:
209
+ - lib
210
+ - config
211
+ - spec
212
+ required_ruby_version: !ruby/object:Gem::Requirement
213
+ requirements:
214
+ - - '>='
215
+ - !ruby/object:Gem::Version
216
+ version: '0'
217
+ required_rubygems_version: !ruby/object:Gem::Requirement
218
+ requirements:
219
+ - - '>='
220
+ - !ruby/object:Gem::Version
221
+ version: '0'
222
+ requirements: []
223
+ rubyforge_project:
224
+ rubygems_version: 2.2.2
225
+ signing_key:
226
+ specification_version: 4
227
+ summary: tCell.io Agent for Rails & Sinatra
228
+ test_files:
229
+ - spec/controllers/application_controller.rb
230
+ - spec/lib/tcell_agent/api/api_spec.rb
231
+ - spec/lib/tcell_agent/appsensor_spec.rb
232
+ - spec/lib/tcell_agent/policies/add_script_tag_policy_spec.rb
233
+ - spec/lib/tcell_agent/policies/appsensor_policy_spec.rb
234
+ - spec/lib/tcell_agent/policies/clickjacking_policy_spec.rb
235
+ - spec/lib/tcell_agent/policies/content_security_policy_spec.rb
236
+ - spec/lib/tcell_agent/policies/dataloss_policy_spec.rb
237
+ - spec/lib/tcell_agent/policies/honeytokens_policy_spec.rb
238
+ - spec/lib/tcell_agent/policies/http_redirect_policy_spec.rb
239
+ - spec/lib/tcell_agent/policies/http_tx_policy_spec.rb
240
+ - spec/lib/tcell_agent/policies/login_policy_spec.rb
241
+ - spec/lib/tcell_agent/policies/secure_headers_policy_spec.rb
242
+ - spec/lib/tcell_agent/rails/middleware/global_middleware_spec.rb
243
+ - spec/lib/tcell_agent/rails_spec.rb
244
+ - spec/lib/tcell_agent/sensor_events/dlp_spec.rb
245
+ - spec/lib/tcell_agent/sensor_events/util/redirect_utils_spec.rb
246
+ - spec/lib/tcell_agent/sensor_events/util/sanitizer_utilities_spec.rb
247
+ - spec/lib/tcell_agent_spec.rb
248
+ - spec/resources/normal_config.json
249
+ - spec/spec_helper.rb