dradis-nexpose 4.10.0 → 4.12.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/pull_request_template.md +12 -3
- data/CHANGELOG.md +11 -0
- data/README.md +3 -4
- data/lib/dradis/plugins/nexpose/formats/full.rb +45 -44
- data/lib/dradis/plugins/nexpose/formats/simple.rb +1 -1
- data/lib/dradis/plugins/nexpose/gem_version.rb +2 -2
- data/lib/dradis/plugins/nexpose/mapping.rb +101 -0
- data/lib/dradis/plugins/nexpose.rb +1 -0
- data/lib/nexpose/endpoint.rb +5 -7
- data/lib/nexpose/node.rb +6 -12
- data/lib/nexpose/service.rb +18 -11
- data/lib/nexpose/test.rb +17 -8
- data/lib/nexpose/vulnerability.rb +3 -2
- data/spec/fixtures/files/full.xml +25 -30
- data/spec/fixtures/files/full_with_duplicate_node.xml +136 -0
- data/spec/nexpose_upload_spec.rb +197 -146
- data/templates/full_evidence.sample +1 -1
- data/templates/full_service.sample +1 -1
- data/templates/full_vulnerability.sample +1 -0
- metadata +9 -18
- data/templates/full_evidence.fields +0 -3
- data/templates/full_evidence.template +0 -8
- data/templates/full_node.fields +0 -10
- data/templates/full_node.template +0 -16
- data/templates/full_scan.fields +0 -5
- data/templates/full_scan.template +0 -9
- data/templates/full_service.fields +0 -4
- data/templates/full_service.template +0 -11
- data/templates/full_vulnerability.fields +0 -13
- data/templates/full_vulnerability.template +0 -34
- data/templates/simple_port.fields +0 -2
- data/templates/simple_port.template +0 -5
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dradis-nexpose
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.
|
4
|
+
version: 4.12.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Daniel Martin
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-05-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: dradis-plugins
|
@@ -96,7 +96,7 @@ dependencies:
|
|
96
96
|
version: 0.5.2
|
97
97
|
description: This add-on allows you to upload and parse output produced from Nexpose
|
98
98
|
scanner into Dradis.
|
99
|
-
email:
|
99
|
+
email:
|
100
100
|
executables: []
|
101
101
|
extensions: []
|
102
102
|
extra_rdoc_files: []
|
@@ -121,6 +121,7 @@ files:
|
|
121
121
|
- lib/dradis/plugins/nexpose/formats/simple.rb
|
122
122
|
- lib/dradis/plugins/nexpose/gem_version.rb
|
123
123
|
- lib/dradis/plugins/nexpose/importer.rb
|
124
|
+
- lib/dradis/plugins/nexpose/mapping.rb
|
124
125
|
- lib/dradis/plugins/nexpose/version.rb
|
125
126
|
- lib/nexpose/endpoint.rb
|
126
127
|
- lib/nexpose/node.rb
|
@@ -130,33 +131,22 @@ files:
|
|
130
131
|
- lib/nexpose/vulnerability.rb
|
131
132
|
- lib/tasks/thorfile.rb
|
132
133
|
- spec/fixtures/files/full.xml
|
134
|
+
- spec/fixtures/files/full_with_duplicate_node.xml
|
133
135
|
- spec/fixtures/files/simple.xml
|
134
136
|
- spec/fixtures/files/ssl.xml
|
135
137
|
- spec/nexpose_upload_spec.rb
|
136
138
|
- spec/spec_helper.rb
|
137
|
-
- templates/full_evidence.fields
|
138
139
|
- templates/full_evidence.sample
|
139
|
-
- templates/full_evidence.template
|
140
|
-
- templates/full_node.fields
|
141
140
|
- templates/full_node.sample
|
142
|
-
- templates/full_node.template
|
143
|
-
- templates/full_scan.fields
|
144
141
|
- templates/full_scan.sample
|
145
|
-
- templates/full_scan.template
|
146
|
-
- templates/full_service.fields
|
147
142
|
- templates/full_service.sample
|
148
|
-
- templates/full_service.template
|
149
|
-
- templates/full_vulnerability.fields
|
150
143
|
- templates/full_vulnerability.sample
|
151
|
-
- templates/full_vulnerability.template
|
152
|
-
- templates/simple_port.fields
|
153
144
|
- templates/simple_port.sample
|
154
|
-
- templates/simple_port.template
|
155
145
|
homepage: https://dradis.com/integrations/nexpose.html
|
156
146
|
licenses:
|
157
147
|
- GPL-2
|
158
148
|
metadata: {}
|
159
|
-
post_install_message:
|
149
|
+
post_install_message:
|
160
150
|
rdoc_options: []
|
161
151
|
require_paths:
|
162
152
|
- lib
|
@@ -172,11 +162,12 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
172
162
|
version: '0'
|
173
163
|
requirements: []
|
174
164
|
rubygems_version: 3.1.4
|
175
|
-
signing_key:
|
165
|
+
signing_key:
|
176
166
|
specification_version: 4
|
177
167
|
summary: Nexpose add-on for the Dradis Framework.
|
178
168
|
test_files:
|
179
169
|
- spec/fixtures/files/full.xml
|
170
|
+
- spec/fixtures/files/full_with_duplicate_node.xml
|
180
171
|
- spec/fixtures/files/simple.xml
|
181
172
|
- spec/fixtures/files/ssl.xml
|
182
173
|
- spec/nexpose_upload_spec.rb
|
data/templates/full_node.fields
DELETED
data/templates/full_scan.fields
DELETED
@@ -1,13 +0,0 @@
|
|
1
|
-
vulnerability.added
|
2
|
-
vulnerability.cvss_score
|
3
|
-
vulnerability.cvss_vector
|
4
|
-
vulnerability.description
|
5
|
-
vulnerability.modified
|
6
|
-
vulnerability.nexpose_id
|
7
|
-
vulnerability.pci_severity
|
8
|
-
vulnerability.published
|
9
|
-
vulnerability.references
|
10
|
-
vulnerability.severity
|
11
|
-
vulnerability.solution
|
12
|
-
vulnerability.tags
|
13
|
-
vulnerability.title
|
@@ -1,34 +0,0 @@
|
|
1
|
-
#[Title]#
|
2
|
-
%vulnerability.title%
|
3
|
-
|
4
|
-
#[Nexpose Id]#
|
5
|
-
%vulnerability.nexpose_id%
|
6
|
-
|
7
|
-
#[Severity]#
|
8
|
-
%vulnerability.severity%
|
9
|
-
|
10
|
-
#[PCI Severity]#
|
11
|
-
%vulnerability.pci_severity%
|
12
|
-
|
13
|
-
#[CVSS Score]#
|
14
|
-
%vulnerability.cvss_score%
|
15
|
-
|
16
|
-
#[CVSS Vector]#
|
17
|
-
%vulnerability.cvss_vector%
|
18
|
-
|
19
|
-
#[Published]#
|
20
|
-
%vulnerability.published%
|
21
|
-
|
22
|
-
#[Description]#
|
23
|
-
%vulnerability.description%
|
24
|
-
|
25
|
-
|
26
|
-
#[Solution]#
|
27
|
-
%vulnerability.solution%
|
28
|
-
|
29
|
-
|
30
|
-
#[References]#
|
31
|
-
%vulnerability.references%
|
32
|
-
|
33
|
-
#[Tags]#
|
34
|
-
%vulnerability.tags%
|