veracodecli 1.0.13 → 1.0.14

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
  SHA1:
3
- metadata.gz: b940e1d33ae6374b5c61d93f7e61836ca381301e
4
- data.tar.gz: 90501d0de41cd4e3ad960553deb8345c8dd72d2a
3
+ metadata.gz: a8cd1ec0ce1108f74d98a44c7005697cbc33c0b5
4
+ data.tar.gz: cdf74a794957ea1cb0554640773ffa125e1592a4
5
5
  SHA512:
6
- metadata.gz: 6fe1e7cb0aeb36e557ceb972c9e67b12265e0b449f552568fcc67637066e232cde7dcf31c30d68aded57945f66ea8c30cba53093c127cd35a086a90347d2fd81
7
- data.tar.gz: 62d423d5a194b2967ac0788fe136cd57c7294530e9c0d35f6b7c0c587106e16999378913a9a171517274a70acbd6020ff30e8b45c2d924d1e09eee5d84cecdb0
6
+ metadata.gz: 41938ee4375a0c758659dfcb2842c9f401a987ecc5517a86354497b423166490360b9f2b60b4908402421c7bded726013bc035821ca4d35a2a1a388d108ffc04
7
+ data.tar.gz: 66ec46f8499b02c6e4995c2f659a16d1015c4a48c7e71afa758ff2546f2ecc63a4bf6a5ab71b3d16994057989c39b0750758e1a0a46d687fdfa1c46f5c19a5f6
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.13
1
+ 1.0.14
data/bin/veracodecli CHANGED
@@ -3,10 +3,12 @@
3
3
  require 'commander'
4
4
  require 'veracodecli'
5
5
  require_relative '../lib/veracodecli/settings'
6
+ require_relative '../lib/veracodecli/slack'
6
7
  include VeracodeApiResults
7
8
  include VeracodeApiScan
8
9
  include VeracodeApiBase
9
10
  include VeracodeApiMacros
11
+ include Slack
10
12
 
11
13
  Commander.configure do
12
14
  program :name, 'veracodecli'
@@ -66,13 +68,13 @@ Commander.configure do
66
68
 
67
69
  command :get_pdf_report do |c|
68
70
  c.syntax = 'veracodecli get_pdf_report [app_name] --option [option]'
69
- c.option '--app STRING', String, 'Upload report to slack?'
71
+ # c.option '--app STRING', String, 'Upload report to slack?'
70
72
  c.option '--slack_upload STRING', String, 'Upload report to slack?'
71
73
  c.description = 'Downloads the final scan report in pdf format.'
72
74
  c.action do |args, options|
73
75
  abort 'Please specify slack token in config.yml' if ((!defined? Settings.slack_token) && (options.slack_upload.eql? 'yes'))
74
76
  abort 'Please specify slack channel in config.yml' if ((!defined? Settings.slack_channel) && (options.slack_upload.eql? 'yes'))
75
- abort 'Please specify an app' unless options.app
77
+ # abort 'Please specify an app' unless options.app
76
78
  file = VeracodeApiMacros.get_pdf_macro args.first
77
79
  Slack.send_to_slack file if (options.slack_upload.eql? 'yes')
78
80
  end
data/veracodecli.gemspec CHANGED
@@ -2,11 +2,11 @@
2
2
  # DO NOT EDIT THIS FILE DIRECTLY
3
3
  # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
4
  # -*- encoding: utf-8 -*-
5
- # stub: veracodecli 1.0.13 ruby lib
5
+ # stub: veracodecli 1.0.14 ruby lib
6
6
 
7
7
  Gem::Specification.new do |s|
8
8
  s.name = "veracodecli"
9
- s.version = "1.0.13"
9
+ s.version = "1.0.14"
10
10
 
11
11
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
12
12
  s.require_paths = ["lib"]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: veracodecli
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.13
4
+ version: 1.0.14
5
5
  platform: ruby
6
6
  authors:
7
7
  - isaiah thiessen