rapid7 / nexpose-client-python

DEPRECATED : Rapid7 Nexpose API client library written in Python
https://www.rapid7.com/
BSD 3-Clause "New" or "Revised" License
25 stars 20 forks source link

Maintain site info when saving #20

Closed derpadoo closed 7 years ago

derpadoo commented 7 years ago

Description

Existing site alerts, schedules, users, and credentials are cleared when saving a configuration to a site. This PR keeps those alert settings.

Motivation and Context

See above.

How Has This Been Tested?

python -m pytest
=========================================================== test session starts ============================================================
platform linux2 -- Python 2.7.13, pytest-2.9.2, py-1.4.31, pluggy-0.3.1
rootdir: /home/user/nexpose-client-python, inifile: 
collected 27 items 

tests/test_LoadFixture.py ...
tests/test_NexposeNode.py .
tests/test_NexposeReportConfigurationSummary.py ..
tests/test_NexposeSession.py ...........
tests/test_NexposeTag.py .....
tests/test_NexposeUserAuthenticatorSummary.py .
tests/test_NexposeVulnerability.py ....

======================================================== 27 passed in 0.10 seconds =========================================================

Screenshots (if appropriate):

Types of changes

New features

Checklist: