diff --git a/CHANGELOG.md b/CHANGELOG.md index 6c76251b2..7742f389d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -37,6 +37,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). - Send delete command to ospd after stopping the task. [#710](https://github.com/greenbone/gvmd/pull/710) - Check whether hosts are alive and have results when adding them in slave scans. [#717](https://github.com/greenbone/gvmd/pull/717) [#736](https://github.com/greenbone/gvmd/pull/736) - New columns Ports, Apps, Distance, and Auth in the CSV Hosts report format [#733](https://github.com/greenbone/gvmd/pull/733) +- The details attribute of GET_REPORTS now defaults to 0 [#747](https://github.com/greenbone/gvmd/pull/747) ### Fixed - A PostgreSQL statement order issue [#611](https://github.com/greenbone/gvmd/issues/611) has been addressed [#642](https://github.com/greenbone/gvmd/pull/642) diff --git a/src/gmp.c b/src/gmp.c index 3ce26b7e0..89ef9d0b5 100644 --- a/src/gmp.c +++ b/src/gmp.c @@ -6273,16 +6273,6 @@ gmp_xml_handle_start_element (/* unused */ GMarkupParseContext* context, attribute_names, attribute_values); - /* Special case details with default 1, for backward - * compatibility. */ - if (find_attribute (attribute_names, attribute_values, - "details", &attribute)) - get_reports_data->report_get.details = strcmp (attribute, "0"); - else - get_reports_data->report_get.details = 1; - get_reports_data->get.details - = get_reports_data->report_get.details; - g_free (get_reports_data->report_get.filt_id); get_reports_data->report_get.filt_id = NULL; append_attribute (attribute_names, attribute_values, diff --git a/src/schema_formats/XML/GMP.xml.in b/src/schema_formats/XML/GMP.xml.in index c13f26c48..efbe79273 100644 --- a/src/schema_formats/XML/GMP.xml.in +++ b/src/schema_formats/XML/GMP.xml.in @@ -27175,6 +27175,17 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. + + GET_REPORTS + Default of "details" attribute is now 0 + +

+ The default of the "details" attribute has changed from 1 to 0. + This matches the defaults of all the other GET commands. +

+
+ 9.0 +
GET_REPORTS Remove report type "assets"