Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added fields to filterdialog for results page. #1472

Merged
merged 32 commits into from
Jul 12, 2019

Conversation

saberlynx
Copy link
Contributor

Added filter keywords owner, host, cvss base score, vulnerability and location to filter dialog on results page. Also added some sort fields, as well as tests for each of the new components.
Checklist:

@codecov
Copy link

codecov bot commented Jul 10, 2019

Codecov Report

Merging #1472 into master will decrease coverage by 0.08%.
The diff coverage is 68.42%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1472      +/-   ##
==========================================
- Coverage   36.87%   36.79%   -0.09%     
==========================================
  Files         992      996       +4     
  Lines       22240    22224      -16     
  Branches     6136     6121      -15     
==========================================
- Hits         8201     8177      -24     
+ Misses      12723    12722       -1     
- Partials     1316     1325       +9
Impacted Files Coverage Δ
gsa/src/web/pages/tasks/filterdialog.js 33.33% <ø> (ø) ⬆️
gsa/src/web/pages/results/filterdialog.js 50% <ø> (ø) ⬆️
gsa/src/web/components/powerfilter/filterdialog.js 1.4% <0%> (-0.14%) ⬇️
gsa/src/web/components/powerfilter/hostgroup.js 100% <100%> (ø)
...sa/src/web/components/powerfilter/cvssbasegroup.js 100% <100%> (ø)
gsa/src/web/components/powerfilter/ownergroup.js 100% <100%> (ø)
...sa/src/web/components/powerfilter/locationgroup.js 100% <100%> (ø)
...c/web/components/powerfilter/vulnerabilitygroup.js 85.71% <85.71%> (ø)
gsa/src/gmp/models/report/host.js 4.44% <0%> (-42.93%) ⬇️
gsa/src/gmp/models/report/parser.js 4.79% <0%> (-7.16%) ⬇️
... and 11 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 3de6ef8...0329216. Read the comment docs.

@saberlynx saberlynx marked this pull request as ready for review July 10, 2019 09:32
Copy link
Contributor

@bjoernricks bjoernricks left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Mostly only some small adjustments.

gsa/src/web/components/powerfilter/__tests__/hostgroup.js Outdated Show resolved Hide resolved
gsa/src/web/components/powerfilter/__tests__/hostgroup.js Outdated Show resolved Hide resolved
gsa/src/web/components/powerfilter/cvssbasegroup.js Outdated Show resolved Hide resolved
gsa/src/web/components/powerfilter/filterdialog.js Outdated Show resolved Hide resolved
gsa/src/web/pages/results/filterdialog.js Outdated Show resolved Hide resolved
saberlynx and others added 7 commits July 11, 2019 09:33
Co-Authored-By: Björn Ricks <bjoern.ricks@gmail.com>
Co-Authored-By: Björn Ricks <bjoern.ricks@gmail.com>
Co-Authored-By: Björn Ricks <bjoern.ricks@gmail.com>
Co-Authored-By: Björn Ricks <bjoern.ricks@gmail.com>
Co-Authored-By: Björn Ricks <bjoern.ricks@gmail.com>
Co-Authored-By: Björn Ricks <bjoern.ricks@gmail.com>
Co-Authored-By: Björn Ricks <bjoern.ricks@gmail.com>
@bjoernricks bjoernricks self-requested a review July 11, 2019 10:01
bjoernricks
bjoernricks previously approved these changes Jul 11, 2019
@bjoernricks bjoernricks merged commit 4011323 into greenbone:master Jul 12, 2019
@saberlynx saberlynx deleted the resultsFilterClone branch July 12, 2019 08:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants