Added
- Added preferences argument to
create_task
method PR 89 - Added validation of alive_tests argument to
create_target
method PR 88 - Added ssh_credential_port argument to
modify_target
PR 88 - Split getting a single preference by name from
get_preferences
method into
get_preference
PR 85 - Added resource_type argument to
get_aggregates
method PR 107 - Added an explicit
create_container_task
method PR 108 - Added Gmpv8 version of create_tag with resource_filter parameter and
plural resource_ids parameter PR 115 - Added Gmpv8 version of modify_tag with resource_action parameter,
resource_filter parameter, plural resource_ids parameter PR 115 - Added no_details argument to
get_reports
method PR 129 - Added
get_vulnerabilites
method PR 132 - Added
get_ticket
,get_tickets
,create_ticket
,clone_ticket
,modify_ticket
anddelete_ticket
APIs to GMPv8 PR 132 - Added filter types for
host
,operating system
,ticket
andvulnerability
PR 133 - Added a
password only
credential type PR 133 - Added type hints for Gmpv8
PR 136 - Added dynamic selection of the Gmp class depending on the GMP version supported
by the remote manager daemon
PR 141 - Added all types as types property to the Gmp classes (e.g gmp.types.EntityType.TASK)
PR 143
Changed
- Renamed
create_asset
method tocreate_host
and dropped asset_type
argument. It is only possible to create host assets. PR 77 - Require either setting_id or name for
modify_setting
not both arguments PR 87 - Allow empty string as value argument for
modify_setting
PR 87 - Require either user_id or name for
modify_user
not both arguments PR 87 - Updated argument types for
create_note
,create_override
,modify_note
andmodify_override
PR 87 - The arguments threat (and new_threat) for
create_note
,modify_note
,
create_override
andmodify_override
must be one of 'High', 'Medium',
'Low', 'Alarm', 'Log' or 'Debug' now PR 87 - Allow to pass either user_id or name to
delete_user
PR 88 - Don't require inheritor_id or inheritor_name for
delete_user
- Don't require ca_pub for
create_scanner
PR 88 - Change port argument for
create_scanner
to be an integer PR 88 - Refactor
modify_scanner
method: Adjust argument types corresponding to
create_scanner
and only require scanner_id PR 88 - Updated and improved validation of
create_schedule
and
modify_schedule
arguments PR 89 - Refactor
modify_task
to use same arguments ascreate_task
PR 89 - Aligned ALIVE_TESTS declaration with list from GSA PR 93
- Address DeprecationWarning regarding
collections
module PR 99 - Forbid '0' as target_id value for
create_task
method and move creating a
container task into an own method PR 108 - Refresh the dependencies specified via the Pipfile.lock file to their latest
versions PR 113,
PR 131 - Make resource_id optional when creating tags (Gmpv7) PR 124
- Allow creating tags without resource (Gmpv8) PR 125
- Adapt modify_tag validation to actual implementation (Gmpv8) PR 127
- Use Gmpv8 as latest Gmp version PR 132
- Dropped the
make_unique
arguments fromcreate_filter
andcreate_target
methods in Gmpv8 PR 133 - Introduced Enum classes for authentication and privacy algorithms of SNMP
credentials PR 133 - Extended
InvalidArgument
andRequiredArgument
errors to allow passing
argument and function name as keyword parameter PR 134 - Renamed
modify_target
andcreate_target
argumentalive_tests
toalive_test
PR 139 - Use enum AliveTests for
alive_test
arguments
PR 136
PR 139 - Use new
AlertCondition
,AlertEvent
andAlertMethod
enums forcreate_alert
andmodify_alert
methods
PR 139 - Use new
AssetType
enum forget_asset
andget_assets
method
PR 139 - Use new
CredentialFormat
enum forget_credential
method
PR 139 - Use new
CredentialType
enum forcreate_credential
andmodify_credential
methods
PR 132
PR 139 - Use new
EntityType
enum forcreate_permission
,create_tag
,get_aggregates
,
modify_permission
andmodify_tag
methods
PR 139 - Use new
FeedType
enum forget_feed
method
PR 139 - Use new
FilterType
enum forcreate_filter
andmodify_filter
method
PR 133
PR 139 - Use new
HostsOrdering
enum forcreate_task
andmodify_task
method
PR 139 - Use new
InfoType
enum forget_info
andget_info_list
methods
PR 139 - Use new
PermissionSubjectType
enum forcreate_permission
and
modify_permission
methods
PR 139 - Use new
PortRangeType
enum forcreate_port_range
method
PR 139 - Use new
ScannerType
enum forcreate_scanner
andmodify_scanner
methods
PR 139 - Use new
SnmpAuthAlgorithm
andSnmpPrivacyAlgorithm
enums forcreate_credential
andmodify_credential
methods
PR 139 - Use new
SeverityLevel
enum forcreate_note
,create_override
,modify_note
andmodify_override
methods
PR 139 - Use new
TimeUnit
enum forcreate_schedule
andmodify_schedule
methods
PR 139 - Update
create_schedule
andmodify_schedule
inGmpv8
to use
iCalendar based data for schedules
PR 140
Removed
- Removed the format parameter from
get_credentials
method PR 85 - Removed the task_id and nvt_oid parameters from
get_notes
and
get_overrides
methods PR 85 - Removed sources argument from
modify_user
method PR 87 - Removed
modify_report
method PR 87 - Removed unused comment argument from
create_note
andcreate_override
PR 87 - Removed hosts_ordering argument from
modify_target
PR 88 - Excluded tests from installation PR 119
- Removed
credential_type
argument frommodify_credential
PR 139
Fixed
- Fixed generating XML for
get_credentials
command PR 74 - Fixed generating XML for
get_settings
command PR 80 - Fixed generating XML for
get_nvts
command PR 84 - Fixed wrong order of key and value for condition_data, event_data and
method_data dict parameters ofmodify_alert
method PR 85 - Fixed sending resource id in
modify_tag
PR 88 - Ensure
modify_setting
value is send as Base64-encoded PR 98
Deprecated
modify_config
is marked as deprecated and will be removed in future. One of
the more specificmodify_config_set_
method should be used instead PR 87