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

Additional tests and api adjustments #88

Merged
merged 23 commits into from
Jan 3, 2019
Merged

Additional tests and api adjustments #88

merged 23 commits into from
Jan 3, 2019

Conversation

bjoernricks
Copy link
Contributor

Only two commands are still missing with this PR:

  • modify_task
  • modify_schedule

It seems gvmd is not blocking the cve and gmv/slave scanner types.
Only require scanner_id, allow port to be an int, allow all four types
as scanner_type
Require resource_id or resource_type if the other argument is set.
Improve formatting and use ints for start and end arguments
Use consistent naming for test methods
The hosts_ordering argument isn't interpreted by gvmd...
The parameter is not documented in the protocol spec but interpreted by
gvmd.
gvmd seems to not require inheritor_id or inheritor_name. Also it is
possible to delete a user by id or name.
@bjoernricks bjoernricks requested review from wiegandm and a team December 28, 2018 13:00
@codecov
Copy link

codecov bot commented Dec 28, 2018

Codecov Report

Merging #88 into master will increase coverage by 3.31%.
The diff coverage is 98.43%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #88      +/-   ##
==========================================
+ Coverage   88.01%   91.32%   +3.31%     
==========================================
  Files          10       10              
  Lines        2377     2374       -3     
==========================================
+ Hits         2092     2168      +76     
+ Misses        285      206      -79
Impacted Files Coverage Δ
gvm/protocols/gmpv7.py 95.79% <98.43%> (+4.19%) ⬆️

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 b114e70...0d99bd9. Read the comment docs.

gvm/protocols/gmpv7.py Outdated Show resolved Hide resolved
Co-Authored-By: bjoernricks <[email protected]>
@bjoernricks bjoernricks merged commit 97ac5ec into greenbone:master Jan 3, 2019
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.

2 participants