ssrfs-up 0.0.15 → 0.0.16

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a0ca8c947724c81de5dbe1db73bf2942c96a199cf17ff7b3adc10570e0a21fef
4
- data.tar.gz: 4cc62abceec82516fa7a92fb4ce2bf5911f6477fd4a806a92ce4f7b75d30dd83
3
+ metadata.gz: 5367181e6e92755aef164852fabcbdb15fc861a782eabe464e6b87fe507a521c
4
+ data.tar.gz: 3b50d3da0c0d87af5501add4595fc2a1026180aa0d8d8e98c57a8b81b391b597
5
5
  SHA512:
6
- metadata.gz: b10a038f0c2ed0902d99d6d4da20d859565f8c692c8476fb54220376556885c32b252e0a6675c1e4fc31cae73cec5f0c8b22e9c7ec8ef690bc91a31f832062be
7
- data.tar.gz: 91a06b5e35bf95d40a49a8abfc2c0945eb397ca0e6aa2e2eb2720a9c640988dc5ae36256f5fb83585446593ac0aba63e18d6db585a0c48c0ebfec70073e4f494
6
+ metadata.gz: a1a5e0527cf159efa16bab86dcabe40b12f947f9eca53c94317ad8b94c84eba4573ff61a6975c5ddc1447d2802942f3722dce62b492d3fc88c79fbcb01b68f3c
7
+ data.tar.gz: 24dba499bd808bb4f6fd2931ae3707166bed87d6a4a26fc07a355ae9309e6b637fb6fd9a584fdaf73d8fa4024f28b3dd06fba559b2d0c6185fdffef37ca2fb46
data/lib/ssrfs-up.rb CHANGED
@@ -29,14 +29,8 @@ require 'openapi_client/lib/openapi_client/api/default_api'
29
29
  module SSRFsUp
30
30
  Honeycomb.configure do |config|
31
31
  config.write_key = '0dc36d095b2c3aefb237dd04e13f580c'
32
- config.dataset = 'ssrfs-up'
32
+ config.dataset = 'ssrfs-upv2'
33
33
  config.service_name = 'ssrfs-up-ruby-client'
34
- config.presend_hook do |fields|
35
- fields['aws.session_token'] = '[REDACTED]' if fields.has_key? 'aws.session_token'
36
- fields['aws.access_key_id'] = '[REDACTED]' if fields.has_key? 'aws.access_key_id'
37
- fields['aws.params.function_name'] = '[REDACTED]' if fields.has_key? 'aws.params.function_name'
38
- fields['aws.params.payload'] = '[REDACTED]' if fields.has_key? 'aws.params.payload'
39
- end
40
34
  end
41
35
 
42
36
  class Configuration
@@ -150,7 +144,6 @@ module SSRFsUp
150
144
  def invoke(host = nil, opts = {})
151
145
  resp = if !configuration.test
152
146
  Honeycomb.start_span(name: 'invoke') do |span|
153
- span.add_field('host', host)
154
147
  opts = opts.merge(parseAsUri(host))
155
148
  opts = opts.merge({ 'headers' => { 'X-Honeycomb-Trace' => span.to_trace_header } })
156
149
  client.invoke({
@@ -1,3 +1,3 @@
1
1
  module SSRFsUp
2
- VERSION = '0.0.15'.freeze
2
+ VERSION = '0.0.16'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ssrfs-up
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.15
4
+ version: 0.0.16
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jake Heath
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-04-02 00:00:00.000000000 Z
11
+ date: 2021-04-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-lambda
@@ -195,7 +195,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
195
195
  - !ruby/object:Gem::Version
196
196
  version: '0'
197
197
  requirements: []
198
- rubygems_version: 3.1.4
198
+ rubygems_version: 3.1.6
199
199
  signing_key:
200
200
  specification_version: 4
201
201
  summary: Proxy all requests to avoid SSRF.