tcell_agent 2.5.3 → 2.6.0

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
2
  SHA256:
3
- metadata.gz: '09032f5bacc3305b6352d99279a99270ad1d96deb7aa95588c59b61d85165946'
4
- data.tar.gz: 57830dec1e6545294988905b712cd67cd9101cfa236f899af95172c923e36187
3
+ metadata.gz: d505921145ee6c8d397734b6883b0d993523dbbf8e7f11634a3e593e34e185ae
4
+ data.tar.gz: 1273c41815732353e40dab10643569fb7164250a16f719a213aa121cd9e6e3ef
5
5
  SHA512:
6
- metadata.gz: 5147a583d4f347664b82eac85f2827dad3c7629710eb771566bd24232f0604b9ce714852b9d07965652b1b3c9a365f8cedc138222adfdc73b38fc1abe87eafbe
7
- data.tar.gz: df84e1061be6068d3fbde1d40afd27bcea94e623fb87dcd2188ce45d407cede03eb814757e9cf771867c8628d32f81230a02234f900a66334452f32169847d7a
6
+ metadata.gz: 6638024ce5c082a793abb3ce9ca0bd3ea851a734d39f7eccb7c6271dd5dc7deeb3cb94314b182229029983a99c22ae1095e8dc795d8502a6806a43ac01936123
7
+ data.tar.gz: b6ca0033735ffacad5d4abdca6bbedca9d13e7890b797efabb905257f554a128dbb3481ad2d4d0133f5ecb300b8f9ee5c3db3004b5bb7fd0a400c69883482ca3
@@ -10,7 +10,8 @@ module TCellAgent
10
10
  :hmac_key, :password_hmac_key,
11
11
  :js_agent_url, :js_agent_api_base_url,
12
12
  :max_csp_header_bytes, :allow_payloads,
13
- :proxy_url, :proxy_username, :proxy_password
13
+ :proxy_url, :proxy_username, :proxy_password,
14
+ :enable_js_agent_sri
14
15
 
15
16
  attr_reader :logging_options
16
17
 
@@ -57,6 +57,7 @@ module TCellAgent
57
57
  self['applications'] = [Models.clean_nils(applications)]
58
58
  self['config_file_path'] = configuration.get_config_file_path
59
59
  self['disabled_instrumentation'] = configuration.disabled_instrumentation
60
+ self['enable_js_agent_sri'] = configuration.enable_js_agent_sri
60
61
  self['enabled'] = configuration.enabled
61
62
  self['host_identifier'] = configuration.host_identifier
62
63
  self['input_url'] = configuration.tcell_input_url
Binary file
@@ -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 = '2.5.3'.freeze
4
+ VERSION = '2.6.0'.freeze
5
5
  end
@@ -62,9 +62,9 @@ module TCellAgent
62
62
  expect(
63
63
  @policy.get_js_agent_script_tag(tcell_context)
64
64
  ).to eq(
65
- '<script src="https://jsagent.tcell.io/tcellagent.min.js" ' \
65
+ '<script src="https://us.jsagent.tcell.insight.rapid7.com/tcellagent.min.js" ' \
66
66
  'tcellappid="TestAppId-AppId" tcellapikey="AQABBA" ' \
67
- 'tcellbaseurl="https://api.tcell-preview.io/agents/api/v1"></script>'
67
+ 'tcellbaseurl="https://us.agent.tcell.insight.rapid7.com/api/v1"></script>'
68
68
  )
69
69
  end
70
70
  end
@@ -15,8 +15,8 @@ module TCellAgent
15
15
  @configuration.hmac_key = nil
16
16
  @configuration.password_hmac_key = nil
17
17
  @configuration.allow_payloads = true
18
- @configuration.js_agent_api_base_url = @configuration.tcell_api_url
19
- @configuration.js_agent_url = 'https://jsagent.tcell.io/tcellagent.min.js'
18
+ @configuration.js_agent_api_base_url = 'https://us.agent.tcell.insight.rapid7.com/api/v1'
19
+ @configuration.js_agent_url = 'https://us.jsagent.tcell.insight.rapid7.com/tcellagent.min.js'
20
20
  @configuration.agent_log_dir = 'tcell/logs'
21
21
  @configuration.logging_options = { :enabled => false }
22
22
  @configuration.host_identifier = 'python-test-suite'
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: 2.5.3
4
+ version: 2.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rapid7, Inc.
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-02-09 00:00:00.000000000 Z
11
+ date: 2022-04-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ffi