Skip to content

Commit

Permalink
Merge pull request #1595 from greenbone/mergify/bp/gvmd-21.04/pr-1591
Browse files Browse the repository at this point in the history
Added the GMP documentation for the ssh_elevate_credential. (backport #1591)
  • Loading branch information
timopollmeier authored Jun 28, 2021
2 parents 09a6310 + 2e64cb7 commit 8c7547b
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
33 changes: 33 additions & 0 deletions src/schema_formats/XML/GMP.xml.in
Original file line number Diff line number Diff line change
Expand Up @@ -5168,6 +5168,11 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
If the list of hosts is empty, the command must also include a
target locator.
</p>
<p>
If the SSH elevate credential is set, the SSH credential must
also be set. The SSH elevate credential and the SSH credential
must differ.
</p>
</description>
<pattern>
<e>name</e>
Expand All @@ -5179,6 +5184,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
</or>
<o><e>exclude_hosts</e></o>
<o><e>ssh_credential</e></o>
<o><e>ssh_elevate_credential</e></o>
<o><e>smb_credential</e></o>
<o><e>esxi_credential</e></o>
<o><e>snmp_credential</e></o>
Expand Down Expand Up @@ -5258,6 +5264,17 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
<pattern>text</pattern>
</ele>
</ele>
<ele>
<name>ssh_elevate_credential</name>
<summary>SSH elevate credentials for target</summary>
<pattern>
<attrib>
<name>id</name>
<type>uuid</type>
<required>1</required>
</attrib>
</pattern>
</ele>
<ele>
<name>smb_credential</name>
<summary>SMB login credentials for target</summary>
Expand Down Expand Up @@ -24621,6 +24638,10 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
<p>
The client uses the modify_target command to change an existing target.
</p>
<p>
If the SSH elevate credential is set, the SSH credential must also be
set. The SSH elevate credential and the SSH credential must differ.
</p>
</description>
<pattern>
<attrib>
Expand All @@ -24635,6 +24656,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
<o><e>hosts_ordering</e></o>
<o><e>exclude_hosts</e></o>
<o><e>ssh_credential</e></o>
<o><e>ssh_elevate_credential</e></o>
<o><e>smb_credential</e></o>
<o><e>esxi_credential</e></o>
<o><e>snmp_credential</e></o>
Expand Down Expand Up @@ -24685,6 +24707,17 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
</attrib>
</pattern>
</ele>
<ele>
<name>ssh_elevate_credential</name>
<summary>SSH elevate credential to use on target</summary>
<pattern>
<attrib>
<name>id</name>
<type>uuid</type>
<required>1</required>
</attrib>
</pattern>
</ele>
<ele>
<name>smb_credential</name>
<summary>SMB credential to use on target</summary>
Expand Down

0 comments on commit 8c7547b

Please sign in to comment.