veracodecli 0.1.7 → 0.1.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/veracodecli/api.rb +3 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5e5e4593b8358d58f3cdf0143b5533bfe4be989c
|
4
|
+
data.tar.gz: f0399615b9d3050bf8c0a8279ccfd554d3aa4dcb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 755551beef943f74e219afafc3331f8d3cd6f46c5f5701f80733ae1d5daca3fb625fe4b13d929f57eb3259979f8b9d1c71ac7fdd0282c53c913750d7a5bbb5bc
|
7
|
+
data.tar.gz: 05ac291117a575c834b9aa38d87a9fea0925e543c184d58beeac19b63889f29448c3ddc7b3704c84b4c7620953a87e62d4994e3d45d5df8a0b3220d53c6120a3
|
data/lib/veracodecli/api.rb
CHANGED
@@ -101,7 +101,9 @@ module VeracodeApiMacros
|
|
101
101
|
app_id = get_app_id app_name
|
102
102
|
build_id = get_most_recent_build_id app_id
|
103
103
|
report = get_scan_report_pdf build_id
|
104
|
-
|
104
|
+
file = File.open "/home/#{ENV['USER']}/veracodecli_data/#{build_id}_report.pdf", 'w+'
|
105
|
+
file.write report
|
106
|
+
file.close
|
105
107
|
end
|
106
108
|
|
107
109
|
end
|