nexposecli 0.3.4 → 0.3.5
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/bin/nexposecli +4 -0
- data/lib/nexposecli/args.rb +4 -0
- data/lib/nexposecli/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: fd5e1bfe0352682c0d5891a49d1a0a29d86a24ad
|
|
4
|
+
data.tar.gz: 6c6eeb7f50fd3cd2e3583f23395011267204fd9b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d616d9e79dcdf205f219b895142aa1297ff764f6bf093021861b2e300e39acc5bd412289d02815af676c3545786817caa032040716a4a9d12b973741311807d1
|
|
7
|
+
data.tar.gz: a54150ac8cc2f81861ff2f82d02283b8f24cd13e1f7eebbf7326a94ffa36ba1ed352e747e824842f5b659a583ee1117adedd8fd7973639a6c074cab7539f4471
|
data/bin/nexposecli
CHANGED
|
@@ -1746,6 +1746,10 @@ when 512 # TARGET DASSET
|
|
|
1746
1746
|
uputs("ACTION", 'update DASSET action requested')
|
|
1747
1747
|
dag = Nexpose::DynamicAssetGroup.load(@nsc, args.id.to_i)
|
|
1748
1748
|
dag.criteria.criteria << asset_crit
|
|
1749
|
+
if args.match
|
|
1750
|
+
dag.criteria.match = "#{args.match.to_s}"
|
|
1751
|
+
end
|
|
1752
|
+
upp dag.criteria.criteria
|
|
1749
1753
|
end
|
|
1750
1754
|
uputs("DASSET", "Attempting save the DynamicAssetGroup: #{@dag_name.to_s}")
|
|
1751
1755
|
begin
|
data/lib/nexposecli/args.rb
CHANGED
|
@@ -212,6 +212,10 @@ module Nexposecli
|
|
|
212
212
|
desc : The create silo maximum number of assets
|
|
213
213
|
required : true
|
|
214
214
|
|
|
215
|
+
- name : match
|
|
216
|
+
desc : The match type for asset and vuln filters, AND OR
|
|
217
|
+
required : true
|
|
218
|
+
|
|
215
219
|
- name : range
|
|
216
220
|
short : r
|
|
217
221
|
desc : The comma separated (begin,end) range of ip addresses to be acted upon
|
data/lib/nexposecli/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: nexposecli
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.3.
|
|
4
|
+
version: 0.3.5
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Erik Gomez
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2017-04-
|
|
12
|
+
date: 2017-04-04 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: nexpose
|
|
@@ -162,7 +162,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
162
162
|
version: '0'
|
|
163
163
|
requirements: []
|
|
164
164
|
rubyforge_project:
|
|
165
|
-
rubygems_version: 2.6.
|
|
165
|
+
rubygems_version: 2.6.6
|
|
166
166
|
signing_key:
|
|
167
167
|
specification_version: 4
|
|
168
168
|
summary: Ruby command-line utility for Rapid7 Nexpose
|