-
Notifications
You must be signed in to change notification settings - Fork 153
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Extension for a new privilege escalation credential field for targets in GMP (backport #1535) #1542
Commits on Jun 1, 2021
-
Extension for a new previlige escalation credential field in GMP
for the creation and modification of targets. In file gmp.c: Extended the structs create_target_data_t and modify_target_data_t and the enum client_state_t. Adjusted the functions gmp_xml_handle_start_element and gmp_xml_handle_end_element. Adjusted the function call of modify_target and create_target in gmp_xml_handle_end_element. In file manage_sql.c: Extended the functions create_target and modify_target with the new field ssh_elevate_credential and added the required functionality. (cherry picked from commit 049b4de)
Configuration menu - View commit details
-
Copy full SHA for 9b57e4d - Browse repository at this point
Copy the full SHA 9b57e4dView commit details -
Added documentation in manage_sql.c:
Added documentation of the parameter ssh_elevate_credential at the call of create_target. Added documentation of the parameter ssh_elevate_credential_id at the call of modify_target. (cherry picked from commit a40fa21)
Configuration menu - View commit details
-
Copy full SHA for 4afc1c8 - Browse repository at this point
Copy the full SHA 4afc1c8View commit details -
Extended the GMP get target functionality for the escalation credential.
in file gmp.c: Added the necessary data structures and code to get the new credential to the function handle_get_targets(). in manage_sql.c: Extended the TARGET_ITERATOR_COLUMNS and TARGET_ITERATOR_FILTER_COLUMNS for the new credential. Added the functions target_iterator_ssh_elevate_credential(), target_iterator_ssh_elevate_trash() and target_ssh_elevate_credential(). (cherry picked from commit 133eecd)
Configuration menu - View commit details
-
Copy full SHA for de27b84 - Browse repository at this point
Copy the full SHA de27b84View commit details -
Add CANGELOG-entry for Extend GMP for new privilege escalation creden…
…tial (cherry picked from commit 605b24c) # Conflicts: # CHANGELOG.md
Configuration menu - View commit details
-
Copy full SHA for 6224325 - Browse repository at this point
Copy the full SHA 6224325View commit details -
Fix formatting for new ssh_elevate_credential
(cherry picked from commit 999d56f)
Configuration menu - View commit details
-
Copy full SHA for b520518 - Browse repository at this point
Copy the full SHA b520518View commit details -
Fix formatting for new ssh_elevate_credential
(cherry picked from commit e7281cf)
Configuration menu - View commit details
-
Copy full SHA for 62100a0 - Browse repository at this point
Copy the full SHA 62100a0View commit details -
Fix formatting for new ssh_elevate_credential
(cherry picked from commit 4b4862d)
Configuration menu - View commit details
-
Copy full SHA for 578eaae - Browse repository at this point
Copy the full SHA 578eaaeView commit details -
Fix formatting for new ssh_elevate_credential
(cherry picked from commit db13a38)
Configuration menu - View commit details
-
Copy full SHA for 1d15936 - Browse repository at this point
Copy the full SHA 1d15936View commit details -
Fix formatting for new ssh_elevate_credential.
(cherry picked from commit 3df5829)
Configuration menu - View commit details
-
Copy full SHA for 4062d1e - Browse repository at this point
Copy the full SHA 4062d1eView commit details -
Added consistency checks for the new ssh_elevate_credential
in manage_sql.c: Added a check, if there is a ssh_credential when a ssh_elevate_credential is given, in the functions create_target() und modify_target(). If there is no ssh_credential an error code is returned. in gmp.c: Added the according error messages to the error messages sections behind the call of create_target() and modify_target(). (cherry picked from commit 371ed32)
Configuration menu - View commit details
-
Copy full SHA for 357140a - Browse repository at this point
Copy the full SHA 357140aView commit details -
Added documentation for the new SSH Elevate Credential
in manage_sql.c: Adjusted and added the documentation of the return values concerned by the new SSH Elevate Credential in the Doxygen-comments of the functions create_target() and modify_target(). (cherry picked from commit dca05f3)
Configuration menu - View commit details
-
Copy full SHA for 5039d9d - Browse repository at this point
Copy the full SHA 5039d9dView commit details
Commits on Jun 2, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 85d362b - Browse repository at this point
Copy the full SHA 85d362bView commit details