heimdall_tools 1.3.24 → 1.3.25

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: 5d1e11d1521f5cb405e5900b4e799001c7351dc584b42e99ccf2d5fb0a84c361
4
- data.tar.gz: e68d4a5e7b90f4f1158c08d0c305f95f2d8fa57d3cae075879ec4a494b576202
3
+ metadata.gz: e4df7bca9817498eb093beeb713b5d421e5b9be3f2bbc3660acfedf8cf2ebc1c
4
+ data.tar.gz: 6425078310c5715719e97aa14986d68f660193ecb9b4a62e06cedd8883b72ee6
5
5
  SHA512:
6
- metadata.gz: 4e14d8c4ad154009ff553d751b86d9d81b6de04169988ddc7ac2ac0d1f3bd1b43b9ce8dcbb2e18b7bb6c5720a3c4d300e14bad6b151d96242417586be304a0ac
7
- data.tar.gz: 9347a1672c14849d11538b72e60aa6aa4b4ee56aaecb6e9e387869be8e88197b499b4b358c29cf2d6389992721ba05e61bd2262b01ab4f78be072a6da2e07c16
6
+ metadata.gz: 58f8e947227ffe8f7140e4c02c35a451c92009c83bd1df4a2cdde6f08ec8ae746515301ffa3eb625bffbf460fa814f1d6517360e7a77dea12a30abf81a560cee
7
+ data.tar.gz: fb20d39c219c61bc045c5480eb6dab99a53609a993757f3c78f57993559fdc1d2642bd1166ce1df397664c1d97dfb2b342b3617767c1b9a26fbfa7acbc5b40fd
data/CHANGELOG.md CHANGED
@@ -2,7 +2,20 @@
2
2
 
3
3
  ## [Unreleased](https://github.com/mitre/heimdall_tools/tree/HEAD)
4
4
 
5
- [Full Changelog](https://github.com/mitre/heimdall_tools/compare/v1.3.23...HEAD)
5
+ [Full Changelog](https://github.com/mitre/heimdall_tools/compare/v1.3.24...HEAD)
6
+
7
+ **Closed issues:**
8
+
9
+ - Add minimum required json fields to work heimdall server [\#5](https://github.com/mitre/heimdall_tools/issues/5)
10
+
11
+ **Merged pull requests:**
12
+
13
+ - Make sure the fields we are looking for in Fortify exist before we parse the element [\#44](https://github.com/mitre/heimdall_tools/pull/44) ([rbclark](https://github.com/rbclark))
14
+ - Update actions to use ruby/setup-ruby [\#43](https://github.com/mitre/heimdall_tools/pull/43) ([Bialogs](https://github.com/Bialogs))
15
+
16
+ ## [v1.3.24](https://github.com/mitre/heimdall_tools/tree/v1.3.24) (2020-04-07)
17
+
18
+ [Full Changelog](https://github.com/mitre/heimdall_tools/compare/v1.3.23...v1.3.24)
6
19
 
7
20
  **Implemented enhancements:**
8
21
 
@@ -43,7 +43,11 @@ module HeimdallTools
43
43
  traces.each do |trace|
44
44
  entries = trace['Primary']['Entry']
45
45
  entries = [entries] unless entries.is_a?(Array)
46
- entries = entries.reject { |x| x['Node'].nil? }
46
+ # This is just regular array access, it is just written in a manner that allows us
47
+ # to use Ruby's safe navigation operator. We rely on
48
+ # entry['Node']['SourceLocation']['snippet'] to exist on all of our entries, so if any
49
+ # of those are empty we reject that element.
50
+ entries = entries.reject { |x| x&.[]('Node')&.[]('SourceLocation')&.[]('snippet').nil? }
47
51
  entries.each do |entry|
48
52
  findings << process_entry(entry)
49
53
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: heimdall_tools
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.24
4
+ version: 1.3.25
5
5
  platform: ruby
6
6
  authors:
7
7
  - Robert Thew
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: exe
12
12
  cert_chain: []
13
- date: 2020-04-07 00:00:00.000000000 Z
13
+ date: 2020-04-28 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: nokogiri