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 +4 -4
- data/lib/ssrfs-up.rb +1 -8
- data/lib/ssrfs-up/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5367181e6e92755aef164852fabcbdb15fc861a782eabe464e6b87fe507a521c
|
4
|
+
data.tar.gz: 3b50d3da0c0d87af5501add4595fc2a1026180aa0d8d8e98c57a8b81b391b597
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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-
|
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({
|
data/lib/ssrfs-up/version.rb
CHANGED
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.
|
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-
|
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.
|
198
|
+
rubygems_version: 3.1.6
|
199
199
|
signing_key:
|
200
200
|
specification_version: 4
|
201
201
|
summary: Proxy all requests to avoid SSRF.
|