From db63389257a5cbc17688dbb7328f2df9c6801599 Mon Sep 17 00:00:00 2001 From: Johannes Helmold Date: Mon, 28 Jun 2021 11:44:44 +0200 Subject: [PATCH 1/4] Added the GMP documentation for the ssh_elevate_credential. In GMP.xml.in: Added the GMP documentation for the ssh_elevate_credential to the function description of the functions "create_target" and "modify_target". (cherry picked from commit 2af0d558b15d9f1eceab65a3e13504c1ecc818a4) --- src/schema_formats/XML/GMP.xml.in | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/src/schema_formats/XML/GMP.xml.in b/src/schema_formats/XML/GMP.xml.in index 9a3da9a53..171e1b637 100644 --- a/src/schema_formats/XML/GMP.xml.in +++ b/src/schema_formats/XML/GMP.xml.in @@ -5179,6 +5179,7 @@ along with this program. If not, see . exclude_hosts ssh_credential + ssh_elevate_credential smb_credential esxi_credential snmp_credential @@ -5258,6 +5259,17 @@ along with this program. If not, see . text + + ssh_elevate_credential + SSH elevate credentials for target + + + id + uuid + 1 + + + smb_credential SMB login credentials for target @@ -24635,6 +24647,7 @@ along with this program. If not, see . hosts_ordering exclude_hosts ssh_credential + ssh_elevate_credential smb_credential esxi_credential snmp_credential @@ -24685,6 +24698,17 @@ along with this program. If not, see . + + ssh_elevate_credential + SSH elevate credential to use on target + + + id + uuid + 1 + + + smb_credential SMB credential to use on target From cbba52931dadcd35587f33e77c92f2d7e25ef0be Mon Sep 17 00:00:00 2001 From: Johannes Helmold Date: Mon, 28 Jun 2021 12:05:35 +0200 Subject: [PATCH 2/4] CHANGELOG entry: Missing GMP documentation ssh_elevate_credential. (cherry picked from commit 229290760e949fd1338826e1d4c9e3f1e5e5cfeb) --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index bd936509c..64945955c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -33,6 +33,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). - Migrate GMP Scanners to OSP Sensors [#1533](https://github.com/greenbone/gvmd/pull/1533) - Solved a peformance problem for tasks after scanning lots of hosts [#1567](https://github.com/greenbone/gvmd/pull/1567) - Solved a performance problem when filtering results by tags [#1579](https://github.com/greenbone/gvmd/pull/1579) +- Added the missing GMP documentation for the ssh elevate credential [#1591](https://github.com/greenbone/gvmd/pull/1591) [21.4.1]: https://github.com/greenbone/gvmd/compare/v21.4.0...v21.4.1 From 041fe86a9f045d45e2a12319ce3d6ddc6d36a3a0 Mon Sep 17 00:00:00 2001 From: Johannes Helmold Date: Mon, 28 Jun 2021 14:03:43 +0200 Subject: [PATCH 3/4] Addition to the GMP documentation of the ssh_elevate_credential. In GMP.xml.in: Added the note that if the ssh_elevate_credential is set, the ssh_credential has also to be set and that the ssh_credential and the ssh_elevate_credential must differ, to the description of the functions "create_target" and "modify_target". (cherry picked from commit 9e2c1cddffddda723df5ae4c591bc9ce93a959de) --- src/schema_formats/XML/GMP.xml.in | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/schema_formats/XML/GMP.xml.in b/src/schema_formats/XML/GMP.xml.in index 171e1b637..7764beca9 100644 --- a/src/schema_formats/XML/GMP.xml.in +++ b/src/schema_formats/XML/GMP.xml.in @@ -5168,6 +5168,11 @@ along with this program. If not, see . If the list of hosts is empty, the command must also include a target locator.

+

+ If the SSH elevate credential is set, the SSH credential must + also be set. The SSH elevate credential and the SSH credential + must differ. +

name @@ -24633,6 +24638,10 @@ along with this program. If not, see .

The client uses the modify_target command to change an existing target.

+

+ If the SSH elevate credential is set, the SSH credential must also be + set. The SSH elevate credential and the SSH credential must differ. +

From 2e64cb717ddd9442f003713af1e9f8584c667597 Mon Sep 17 00:00:00 2001 From: Johannes Helmold Date: Mon, 28 Jun 2021 15:15:17 +0200 Subject: [PATCH 4/4] CHANGELOG entry: Moved the ssh_elevate entry to Version 21.4.2. (cherry picked from commit b85f3b09ca138219884bdc9d92e8bdfd91618f45) --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 64945955c..06f8e4102 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). ### Removed ### Fixed - Amended Test, if the ssh elevate credential is different from the ssh credential [#1586](https://github.com/greenbone/gvmd/pull/1586) +- Added the missing GMP documentation for the ssh elevate credential [#1591](https://github.com/greenbone/gvmd/pull/1591) [Unreleased]: https://github.com/greenbone/gvmd/compare/v21.4.1...gvmd-21.04 @@ -33,7 +34,6 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). - Migrate GMP Scanners to OSP Sensors [#1533](https://github.com/greenbone/gvmd/pull/1533) - Solved a peformance problem for tasks after scanning lots of hosts [#1567](https://github.com/greenbone/gvmd/pull/1567) - Solved a performance problem when filtering results by tags [#1579](https://github.com/greenbone/gvmd/pull/1579) -- Added the missing GMP documentation for the ssh elevate credential [#1591](https://github.com/greenbone/gvmd/pull/1591) [21.4.1]: https://github.com/greenbone/gvmd/compare/v21.4.0...v21.4.1