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

Change format for permissions on Windows from string to cJSON #9162

Merged
merged 9 commits into from
Jul 9, 2021

Commits on Jul 2, 2021

  1. Configuration menu
    Copy the full SHA
    aaed447 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3adbd71 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    5b88ac3 View commit details
    Browse the repository at this point in the history

Commits on Jul 6, 2021

  1. Refactor Windows permission functions

    Refactors functions related to retrieving permissions in Windows in order to simplify usage and remove duplicated code.
    Molter73 committed Jul 6, 2021
    Configuration menu
    Copy the full SHA
    1de85a4 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6a4d6b4 View commit details
    Browse the repository at this point in the history

Commits on Jul 7, 2021

  1. Configuration menu
    Copy the full SHA
    d7c8470 View commit details
    Browse the repository at this point in the history
  2. Refactored perm_json_to_old_format

    Added some more UTs for changes associated with Windows permissions being in JSON format
    Molter73 committed Jul 7, 2021
    Configuration menu
    Copy the full SHA
    a970a0a View commit details
    Browse the repository at this point in the history

Commits on Jul 8, 2021

  1. Fix problems with new JSON Windows permissions

    Fix NULL derreferences in decode_ace_json and perm_json_to_old_format.
    Fix a memory leak in fim_registry_get_key_data.
    Silenced a false positive NULL derreference on lf->fields reported by scan-build.
    Molter73 committed Jul 8, 2021
    Configuration menu
    Copy the full SHA
    e2f00aa View commit details
    Browse the repository at this point in the history

Commits on Jul 9, 2021

  1. Save JSON permissions into agent DB

    Added the required code for wazuh_db to properly save a file/registry permissions when it is formatted as JSON.
    Added unit tests for the new code.
    Molter73 committed Jul 9, 2021
    Configuration menu
    Copy the full SHA
    38c2218 View commit details
    Browse the repository at this point in the history