veracodecli 1.0.13 → 1.0.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/bin/veracodecli +4 -2
- data/veracodecli.gemspec +2 -2
- 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: a8cd1ec0ce1108f74d98a44c7005697cbc33c0b5
|
|
4
|
+
data.tar.gz: cdf74a794957ea1cb0554640773ffa125e1592a4
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 41938ee4375a0c758659dfcb2842c9f401a987ecc5517a86354497b423166490360b9f2b60b4908402421c7bded726013bc035821ca4d35a2a1a388d108ffc04
|
|
7
|
+
data.tar.gz: 66ec46f8499b02c6e4995c2f659a16d1015c4a48c7e71afa758ff2546f2ecc63a4bf6a5ab71b3d16994057989c39b0750758e1a0a46d687fdfa1c46f5c19a5f6
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.0.
|
|
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.
|
|
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.
|
|
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"]
|