Releases: greenbone/gvm-tools
v20.10.1
gvm-tools 20.10.0
20.10.0 - 2020-10-05
Changed
-
Fixed
send-schedule.gmp.pyscript, because<timezone_abbrev>has been removed from Schedules, using<timezone>instead. [#299] -
Fixed
send-targets.gmp.pyscript, because alive_test needs to be fromAliveTestenum increate_targetfunction. #297 -
Added gmpv20.08 support to the
scan-new-system.gmp.pyscript, ascreate_targetrequires an argumentport_rangeorport_list_idnow. #295 -
Using the
--logargument is not casesensitive anymore. Use the lower-case or upper-case loglevel as the argument now.PR 276
Fixed
- Fixed the
check-gmp.gmp.pyscript, as it was not compatible to Python 3.5 anymore. PR 280 - Fixed the
check-gmp.gmp.pyscript: results have not been loaded with-F host -T task --statusand probably some other cases. Addeddetails=Trueto the command that requests the report. PR 280 - Fixed the
pdf-report.gmp.pyscript. Joining the Content of the tag was not the correct way here ... we needed the tail of the<report_format>tag ... PR 301
Removed
- Removed
gvm.versionmodule in favor of usingpontos.version
#254
gvm-tools 2.1.0
2.1.0 - 2020-04-03
Added
- Allow to specify hostname for SSH and TLS connections in the config file #239
Changed
- The script
random-report-gen.gmpis able to addhost,host details,os
andapplicationdata now, so the created reports are more realistic
PR 218,
PR 220
PR 225 - The script
random-report-gen.gmpnow uses argparser, to improve its usage PR 223 - Use .py ending for all gmp scripts to support auto highlighting PR 244
- Updated glossary in the documentation to reflect changes in GVM 11 PR 245
- Replaced
pipenvwithpoetryfor dependency management.poetry install
works a bit different thenpipenv install. It installs dev packages by
default and also gvmtools in editable mode. This means after running
poetry installall gvm-tools scripts are available in the created virtual
environment. PR 246 - Fixed version handling after switching to poetry #249
Fixed
- Exit with an error, if the
check_gmp.gmpscript is used with an temporary path, that has not the correct permissions. - Fixed
update-task-target.gmpto create unique target names to support Gmpv8 - Fixed an error, where the
--sockpathargument didn't worked as expected PR 216 - Catch exception from gvm lib PR 222 PR 224
- Fixed
send-targets.gmpthrowing an exception due to an improper check PR 248 - Fixed
send-targets.gmp:hostsandexclude_hostsexpecting lists PR 248
gvm-tools 2.0.0
This is the first stable release of the gvm-tools 2 series. Compared to the last beta release it contains the following changes:
Added
- Added --duration switch to gvm-cli for command execution measurement PR 206
- Added --ssh-password switch for ssh connection PR 140
- Added a new console line interface
gvm-scriptfor only running GMP and OSP
scripts without opening a python shell PR 152 - Forbid to run any gvm-tools cli as root user PR 183
- Added error message if invalid XML is passed to
gvm-cliPR 198 - Added argument
--prettytogvm-clito pretty format xml output
PR 203
Changed
- Improved error messages if unix socket could not be found PR 78
- The structure for the config file (default is ~/.config/gvm-tools.conf) has
changed. It's possible to set defaults for nearly all command line arguments
PR 140 - The command line help for
gvm-cliandgvm-pyshellhas been updated and
made more consistent PR 138 - Renamed --ssh-user switch to --ssh-username PR 140
- Update
gvmtools.get_versionto return a fully compliant PEP 440
version string PR 150 - Refresh the dependencies specified via the
Pipfile.lockfile to their latest
versions PR 186,
PR 193 - Dropped global command line arguments from sub commands e.g. it must be
gvm-cli --config foo.conf socket ...
instead ofgvm-cli socket --config foo.confnow. The latter didn't work actually but
was listed in the--helpoutput #194 - Improved error message if a global argument is passed after the connection type to
gvm-cli
#196 - Renamed
clean-slave.gmptoclean-sensor.gmpPR 202
Deprecated
- Only running scripts with gvm-pyshell is deprecated PR 152
- [Auth] section in config file is deprecated and will be ignored in future
releases PR 160
Fixed
gvm-tools 2.0.0.beta1
gvm-tools got split into the command line interfaces (gvm-cli and gvm-pyshell) including the
gmp (example) scripts and the Python API. The Python API can now be found at python-gvm. During this split the python package name for the API got changed from gmp to gvm. The API has also been refactored and stabilized. For details please take a look at python-gvm.
Scripts
- It's now possible to write OSP scripts. Using the --protocol=OSP switch
gvm-pyshell adds a global osp object instead of the gmp one. - The
__name__variable is set to__gmp__for GMP scripts and to__osp__
for OSP scripts (Remember: for normal Python scripts__name__is set to
__main__). - Scripts are only getting two global variables now: gmp (or osp)
and args. gmp and osp are the global objects to communicate with
the remote gvmd or ospd daemon. args contains the parsed arguments for
the script. - The global args object only contains script related parameters now. These
username and password from the --gmp-username and --gmp-password switches and
the additional scripts parameters asargs.argv. - GMPError got renamed to GvmError and must be imported from gvm.errors module.
from gvm.errors import GvmError as GMPError
- Added new client helper module.
- pretty function isn't available as a global function in the scripts anymore.
It must be imported separately likefrom gvmtools.helper import pretty_print as pretty
- The included gmp scripts
have been cleaned up and adjusted for the new API. - It's possible to get the current versions of gvm-tools via
__version__and
python-gvm via__api_version__.
Other
- Removed experimental gvm-dialog application.
- Use pipenv for development.
GVM Tools v1.4.1
This is the first maintenance release of the gvm-tools module 1.4 for the
Greenbone Vulnerability Management (GVM) framework.
This release covers bug fixes in 'create' and 'modify' methods.
Many thanks to everyone who has contributed to this release:
Raphael Grewe, Juan Jose Nicola and Jan-Oliver Wagner
Main changes compared to gvm-tools-1.4.0:
- Fix bugs for create and modify command methods.
- Improve unit tests.
- Improve documentation.
GVM Tools v1.4.0
This is the first release of the gvm-tools module 1.4 for the
Greenbone Vulnerability Management (GVM) framework.
This release covers bug fixes, robustness improvements and an extended GMP
scripts collection.
Many thanks to everyone who has contributed to this release:
Raphael Grewe, Mirko Hansen, Henning Häcker, David Kleuker, Juan Jose Nicola,
Timo Pollmeier, Bjoern Ricks, Joshua Schwartz, Jan-Oliver Wagner and
Michael Wiegand.
Main changes compared to gvm-tools-1.3.1:
- Correct XML encoding for commands
- Fix bug for long GMP commands through SSHConnection
- Add new GMP scripts: create_targets_from_host_list.gmp,
gen-random-targets.gmp, send-schedules.gmp, send-targets.gmp,
send-tasks.gmp, send_delta_emails.gmp, startAlertScan.gmp,
update-task-target.gmp. - Improve and extend 'create' and 'modify' command methods
- Add support for accessing the raw response
- Improve unit tests
- Allow anonymous connections
- Require lxml and defusedxml python modules
- Improve documentation
- Several code improvements
GVM Tools v1.3.1
New release 1.3.1