greenbone / ospd

OSPd is a framework for vulnerability scanners which share the same communication protocol: OSP (Open Scanner Protocol)
GNU Affero General Public License v3.0
30 stars 36 forks source link

Add method to validate port lists. #393

Closed jjnicola closed 3 years ago

jjnicola commented 3 years ago

What: Add method to validate port lists.

Why: To allow validation of port list and port ranges.

How:

Checklist:

codecov[bot] commented 3 years ago

Codecov Report

Merging #393 (790cdac) into master (1fcaa8e) will increase coverage by 0.34%. The diff coverage is 91.07%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #393      +/-   ##
==========================================
+ Coverage   74.79%   75.14%   +0.34%     
==========================================
  Files          23       23              
  Lines        2619     2667      +48     
==========================================
+ Hits         1959     2004      +45     
- Misses        660      663       +3     
Impacted Files Coverage Δ
ospd/network.py 79.87% <91.07%> (+2.42%) :arrow_up:

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 1fcaa8e...790cdac. Read the comment docs.