fastlane-plugin-dependency_check_ios_analyzer 1.1.1 → 1.2.0

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: 7558dd5b5b9ea0f549e3db5b52b55b7e92f2a09f416c0c8d887af72fbf8ca957
4
- data.tar.gz: 3dc1036d2ac5c6aaeb6190e4b2d9f15fd747ff3e716e21248aba0228e30d3ff4
3
+ metadata.gz: c06462529dc4a9da9de21f9fd5938d10e4f06f24b1abf276909ed34ac912a8a8
4
+ data.tar.gz: 2559be96b847adc94bdb499f075e301d230270f5d1cf590a350086b349b4a6fb
5
5
  SHA512:
6
- metadata.gz: af7f6ea2260834ae295d95263fae7735daafd909592fc78d561f1cf79f544d7e1f700bec73d781a9d1285f1abc16c123554a5d5824e3ee9a4aa68c54b5e3c9b7
7
- data.tar.gz: 1000a9c5781c6a19d25f0c1d86f82d0cd9f2b7464d1c7813cbc3d78e9b588686abcb4ccebfb29e01cc55b006a48d47e91db1cbb86d4baa552bcd882dca916a8a
6
+ metadata.gz: 91951c418666a3c12b06daa19f0658813937236cbf57eec539fbb3819f639c16baf34b36bdf2f46a8dffb2612002912c910f376ff318e3366e538f14e774ef26
7
+ data.tar.gz: eab3a9e6e24e0d5992227810a4b4a7c0ee0b273105d3db9d7dfad39de03a92fca77d66d3a8b54cfff11e8c9a30e8a311c164f1975a16f97ae0a16ddaec23e151
data/README.md CHANGED
@@ -25,6 +25,7 @@ This analyzer is considered experimental. While it may be useful and provide val
25
25
  | `fail_on_cvss` | Specifies if the build should be failed if a CVSS score above a specified level is identified. Since the CVSS scores are 0-10, by default the build will never fail | `11` |
26
26
  | `junit_fail_on_cvss` | Specifies the CVSS score that is considered a failure when generating the junit report | `0` |
27
27
  | `keep_binary_on_exit` | Keep `DependencyCheck` binary and data on exit | `true` |
28
+ | `suppression` | Path to [suppression file](https://jeremylong.github.io/DependencyCheck/general/suppression.html) | |
28
29
 
29
30
  ## Requirements
30
31
 
@@ -145,6 +145,13 @@ module Fastlane
145
145
  default_value: true,
146
146
  is_string: false,
147
147
  type: Boolean
148
+ ),
149
+ FastlaneCore::ConfigItem.new(
150
+ key: :suppression,
151
+ description: 'Path to suppression file',
152
+ optional: true,
153
+ is_string: true,
154
+ type: String
148
155
  )
149
156
  ]
150
157
  end
@@ -44,6 +44,8 @@ module Fastlane
44
44
  # Specify verbose output
45
45
  verbose = params[:verbose] ? " --log #{params[:verbose]}" : ''
46
46
 
47
+ suppression = params[:suppression] ? " --suppression #{params[:suppression]}" : ''
48
+
47
49
  # Make the script executable
48
50
  Actions.sh("chmod 775 #{bin_path}")
49
51
 
@@ -59,7 +61,8 @@ module Fastlane
59
61
  " --failOnCVSS #{params[:fail_on_cvss]}" \
60
62
  " --scan #{destination}" \
61
63
  "#{params[:output_types]}" \
62
- "#{verbose}"
64
+ "#{verbose}" \
65
+ "#{suppression}"
63
66
  )
64
67
  true
65
68
  rescue
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module DependencyCheckIosAnalyzer
3
- VERSION = '1.1.1'
3
+ VERSION = '1.2.0'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastlane-plugin-dependency_check_ios_analyzer
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.1
4
+ version: 1.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alexey Alter-Pesotskiy
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-07-03 00:00:00.000000000 Z
11
+ date: 2022-02-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: curb
@@ -224,7 +224,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
224
224
  - !ruby/object:Gem::Version
225
225
  version: '0'
226
226
  requirements: []
227
- rubygems_version: 3.0.3
227
+ rubygems_version: 3.2.15
228
228
  signing_key:
229
229
  specification_version: 4
230
230
  summary: Fastlane wrapper around the OWASP dependency-check iOS analyzers (Swift Package