Skip to content
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

Merged
merged 12 commits into from
Jun 2, 2021

Commits on Jun 1, 2021

  1. 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)
    jhelmold authored and mergify-bot committed Jun 1, 2021
    Configuration menu
    Copy the full SHA
    9b57e4d View commit details
    Browse the repository at this point in the history
  2. 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)
    jhelmold authored and mergify-bot committed Jun 1, 2021
    Configuration menu
    Copy the full SHA
    4afc1c8 View commit details
    Browse the repository at this point in the history
  3. 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)
    jhelmold authored and mergify-bot committed Jun 1, 2021
    Configuration menu
    Copy the full SHA
    de27b84 View commit details
    Browse the repository at this point in the history
  4. Add CANGELOG-entry for Extend GMP for new privilege escalation creden…

    …tial
    
    (cherry picked from commit 605b24c)
    
    # Conflicts:
    #	CHANGELOG.md
    jhelmold authored and mergify-bot committed Jun 1, 2021
    Configuration menu
    Copy the full SHA
    6224325 View commit details
    Browse the repository at this point in the history
  5. Fix formatting for new ssh_elevate_credential

    (cherry picked from commit 999d56f)
    timopollmeier authored and mergify-bot committed Jun 1, 2021
    Configuration menu
    Copy the full SHA
    b520518 View commit details
    Browse the repository at this point in the history
  6. Fix formatting for new ssh_elevate_credential

    (cherry picked from commit e7281cf)
    timopollmeier authored and mergify-bot committed Jun 1, 2021
    Configuration menu
    Copy the full SHA
    62100a0 View commit details
    Browse the repository at this point in the history
  7. Fix formatting for new ssh_elevate_credential

    (cherry picked from commit 4b4862d)
    timopollmeier authored and mergify-bot committed Jun 1, 2021
    Configuration menu
    Copy the full SHA
    578eaae View commit details
    Browse the repository at this point in the history
  8. Fix formatting for new ssh_elevate_credential

    (cherry picked from commit db13a38)
    timopollmeier authored and mergify-bot committed Jun 1, 2021
    Configuration menu
    Copy the full SHA
    1d15936 View commit details
    Browse the repository at this point in the history
  9. Fix formatting for new ssh_elevate_credential.

    (cherry picked from commit 3df5829)
    jhelmold authored and mergify-bot committed Jun 1, 2021
    Configuration menu
    Copy the full SHA
    4062d1e View commit details
    Browse the repository at this point in the history
  10. 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)
    jhelmold authored and mergify-bot committed Jun 1, 2021
    Configuration menu
    Copy the full SHA
    357140a View commit details
    Browse the repository at this point in the history
  11. 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)
    jhelmold authored and mergify-bot committed Jun 1, 2021
    Configuration menu
    Copy the full SHA
    5039d9d View commit details
    Browse the repository at this point in the history

Commits on Jun 2, 2021

  1. Configuration menu
    Copy the full SHA
    85d362b View commit details
    Browse the repository at this point in the history