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

Fix: Avoid DB check inserts in cleanup-sequences #2328

Merged
merged 4 commits into from
Nov 29, 2024

Commits on Nov 26, 2024

  1. Fix: Avoid DB check inserts in cleanup-sequences

    When running gvmd with the --optimize=cleanup-sequences option, the
    database checks during initialization will avoid most inserts.
    Setting database_version and max_hosts in the meta table now uses
    INSERT ... ON CONFLICT instead of deleting the previous entry.
    
    Skipping the inserts prevents the cleanup failing if one of the
    sequence has already run out of ids.
    The change to the meta table update reduces the risk of the meta table
    id sequence running out.
    timopollmeier committed Nov 26, 2024
    Configuration menu
    Copy the full SHA
    705c6c2 View commit details
    Browse the repository at this point in the history

Commits on Nov 29, 2024

  1. Add: New Kerberos credential type

    The new type "krb5" is added to the create_credential, modify_credential
    and get_credentials commands.
    
    This will later be usable in scan targets for Kerberos 5 authentication.
    timopollmeier committed Nov 29, 2024
    Configuration menu
    Copy the full SHA
    5bcc39e View commit details
    Browse the repository at this point in the history
  2. Fix prototype and simplify check_db_... functions

    The new parameter has been added to the check_db_port_lists prototype
    and various check_db_... functions that would only return if
    the avoid_db_check_inserts parameter is true have the parameter removed
    and are instead wrapped in if conditions.
    timopollmeier committed Nov 29, 2024
    Configuration menu
    Copy the full SHA
    5c0d5fa View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    6c4aa12 View commit details
    Browse the repository at this point in the history