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

Drop gmp scanner type from GSA #2498

Merged
merged 16 commits into from
Oct 12, 2020

Conversation

saberlynx
Copy link
Contributor

@saberlynx saberlynx commented Oct 9, 2020

What:

Drops GMP_SCANNER_TYPE everywhere in GSA.

Why:

How:

Tests are adjusted accordingly and should pass.

Checklist:

@codecov
Copy link

codecov bot commented Oct 9, 2020

Codecov Report

Merging #2498 into gsa-21.04 will increase coverage by 0.14%.
The diff coverage is 66.35%.

Impacted file tree graph

@@              Coverage Diff              @@
##           gsa-21.04    #2498      +/-   ##
=============================================
+ Coverage      52.93%   53.08%   +0.14%     
=============================================
  Files           1070     1071       +1     
  Lines          25811    25845      +34     
  Branches        7351     7375      +24     
=============================================
+ Hits           13664    13720      +56     
+ Misses         11030    11008      -22     
  Partials        1117     1117              
Impacted Files Coverage Δ
gsa/src/gmp/models/filter/convert.js 100.00% <ø> (ø)
gsa/src/gmp/models/filter/keywords.js 100.00% <ø> (ø)
gsa/src/gmp/models/scanner.js 100.00% <ø> (ø)
...shboard/display/severity/severityclasstransform.js 18.64% <ø> (ø)
gsa/src/web/pages/audits/component.js 38.85% <0.00%> (+0.24%) ⬆️
gsa/src/web/pages/reportformats/detailspage.js 33.33% <ø> (ø)
gsa/src/web/pages/reports/detailsfilterdialog.js 18.18% <ø> (ø)
gsa/src/web/pages/results/detailspage.js 12.32% <ø> (ø)
gsa/src/web/pages/results/filterdialog.js 37.50% <ø> (ø)
gsa/src/web/pages/scanners/component.js 2.70% <0.00%> (+0.07%) ⬆️
... and 30 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 55bd335...c9b1c2d. Read the comment docs.

@saberlynx saberlynx marked this pull request as ready for review October 9, 2020 13:50
@saberlynx saberlynx requested review from a team, sarahd93 and swaterkamp October 9, 2020 13:50
@@ -109,14 +109,15 @@ const Row = ({
{entity.alterable === 1 && (
<AlterableIcon size="small" title={_('Audit is alterable')} />
)}
{isDefined(scanner) && scanner.scannerType === GMP_SCANNER_TYPE && (
Copy link
Contributor

Choose a reason for hiding this comment

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

Oh I think this is wrong in 20.08 already and should include the GREENBONE_SENSOR_TYPE in that version too.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yeah, we forgot to update the audit row when we added the greenbone sensor type

@bjoernricks bjoernricks merged commit cf60cf4 into greenbone:gsa-21.04 Oct 12, 2020
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