hackerone-client 0.5.1 → 0.5.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/fixtures/vcr_cassettes/report.yml +16 -14
- data/lib/hackerone/client/report.rb +1 -1
- data/lib/hackerone/client/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 521ce6a9156a27ef2225a12ec4a88471834560d1
|
4
|
+
data.tar.gz: 8813f25328fd8af8c72044874ac603eeb08ae48d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dfe2550fb55b59936c7379b4e123d897b20d6d5527985d7dc21324c74ec76ddbc548e1e008abe2c1b8c98c3dcdb9d9f2cdca747ef8d798bd8232dcd8731dc69c
|
7
|
+
data.tar.gz: 15c5ed5506d71775f31879cb98d602564e353e3e81c74feb34f86c62ffb8f09238117d597dc387868786b36235cfb31047e7c55242c3a6643419fe173bfcc05c
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,7 @@
|
|
1
|
+
## [0.5.2] - 2017-07-19
|
2
|
+
|
3
|
+
- Bugfix: structured scopes were not being populated correctly resulting in nil results for all attributes
|
4
|
+
|
1
5
|
## [0.5.1] - 2017-06-26
|
2
6
|
### Added
|
3
7
|
- [Structure scope](https://api.hackerone.com/docs/v1#structured-scope) data added to report object
|
@@ -220,20 +220,22 @@ http_interactions:
|
|
220
220
|
}
|
221
221
|
},
|
222
222
|
"structured_scope": {
|
223
|
-
"
|
224
|
-
|
225
|
-
|
226
|
-
"
|
227
|
-
|
228
|
-
|
229
|
-
|
230
|
-
|
231
|
-
|
232
|
-
|
233
|
-
|
234
|
-
|
235
|
-
|
236
|
-
|
223
|
+
"data": {
|
224
|
+
"id": "57",
|
225
|
+
"type": "structured_scope",
|
226
|
+
"attributes": {
|
227
|
+
"asset_identifier": "api.example.com",
|
228
|
+
"asset_type": "url",
|
229
|
+
"confidentiality_requirement": "high",
|
230
|
+
"integrity_requirement": "high",
|
231
|
+
"availability_requirement": "high",
|
232
|
+
"max_severity": "critical",
|
233
|
+
"created_at": "2015-02-02T04:05:06.000Z",
|
234
|
+
"updated_at": "2016-05-02T04:05:06.000Z",
|
235
|
+
"instruction": null,
|
236
|
+
"eligible_for_bounty": true,
|
237
|
+
"eligible_for_submission": true
|
238
|
+
}
|
237
239
|
}
|
238
240
|
},
|
239
241
|
"activities": {
|
@@ -36,7 +36,7 @@ module HackerOne
|
|
36
36
|
end
|
37
37
|
|
38
38
|
def structured_scope
|
39
|
-
StructuredScope.new(relationships[:structured_scope])
|
39
|
+
StructuredScope.new(relationships[:structured_scope].fetch(:data, {}))
|
40
40
|
end
|
41
41
|
|
42
42
|
# Excludes reports where the payout amount is 0 indicating swag-only or no
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hackerone-client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Neil Matatall
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-07-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|