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

Tests development - Changes in FIMDB limits configuration #3036

Closed
antoniomanuelfr opened this issue Jun 27, 2022 · 0 comments · Fixed by #3381
Closed

Tests development - Changes in FIMDB limits configuration #3036

antoniomanuelfr opened this issue Jun 27, 2022 · 0 comments · Fixed by #3381

Comments

@antoniomanuelfr
Copy link
Contributor

antoniomanuelfr commented Jun 27, 2022

Target version Related issue Related PR/dev branch
4.5.0 wazuh/wazuh#13988 9103-replace-fim-db-dbsync

Description

After the changes introduced in wazuh/wazuh#13988, the way the FIM DB limits are read has been changed. Now, instead of a single configuration block, the option to limit the entries from the file and registry limits has been split. The purpose of this issue is to make any necessary changes to the IT templates and tests related to the FIM database limits.

You performed the changes according to the latest changes at #2791.

We have also modified a log file when the value is disabled.
Before

(6343): No limit set to maximum number of entries to be monitored

After

(6343): No limit set to maximum number of file entries to be monitored
(6343): No limit set to maximum number of registry entries to be monitored

This change is because now we have added the enabled tag for registries, while before it was global for files and registries.

Configurations

Before

    <db_entry_limit>
      <enabled>yes</enabled>
      <files>100000</files>
      <registries>100000</registries>
    </db_entry_limit>

After

    <file_limit>
      <enabled>yes</enabled>
      <entries>50000</entries>
    </file_limit>

    <registry_limit>
      <enabled>yes</enabled>
      <entries>50000</entries>
    </registry_limit>
@jmv74211 jmv74211 added this to the Development 4.5 milestone Jun 29, 2022
Deblintrake09 added a commit that referenced this issue Sep 9, 2022
@Deblintrake09 Deblintrake09 linked a pull request Sep 9, 2022 that will close this issue
@Deblintrake09 Deblintrake09 linked a pull request Sep 29, 2022 that will close this issue
jmv74211 added a commit that referenced this issue Feb 15, 2023
* fix: Changes log messages and organize variables

* fix: import variables

* add: delete conf deprecated

* fix: Order of messages

* add: spaces recommended

* rm: conf deprecated

* rm: logs deprecated

* rf: fix messages and callbacks

* rf: remove hardcoded marks

* fix: log message to Windows

* rf: add test to validate registry key limit

* rf: test_registry_limit_full for registry values

* add: new test_registry_key_limit_values

* rm: unused lines

* rf: test_registry_limit_values - update docu

* rf: test_registry_limit_capacity_alerts - fix docu

* rf: test_registr_limit_values - fix documentation

* rf: test_registry_value_limit_full - fix docu

* rf: test_registry_key_limit_full - fix docu

* rf: fix format of key_limit_full

* rf: fix syscheck_event_windows.json

* rm: Skip fixed

* rm: variables name to DB.

* add: variable error and archives.log to Windows.

* Change owner to root

* Fx:Update msg to detect that fim scan was finish

* add: Migration of methods.

* fix: Change messages- Remove skips- Change field name of events.

* skíp: Tier 2 has to refactor required.

* fix: Change log messages - Remove a callback.

* fix: Add file created to check events.

* fix: Check fim_registry event component not exists.

* add: Check that Audit is started when working with whodata.

* fix: Check files created - Add callback of sync initial scan - Remove spaces.

* fix: Check asserts - Remove duplicates variables

* fix test_sync_max_eps for scheduled mode

* add: new test_sync_max_eps for realtime/whodata

* rf: extract common functions and messages

* rf: update wazuh_conf and remove invalid test

* rf: fix test_max_eps.py

* rf: fix wait_for_fim_start_function

* rf: fix test_max_eps for realtime file events

* rf: fix callback

* Fx: Apply Pycodestyle

* rf: fix callback an fim_local_internal_options

* rf: fix codestyle to adhere to pep8

* rf: added whodata cases for test_max_eps

* rf: fix whodata callback for windows

* rf: skipped test because of jenkins behaviour

* Apply suggestions from code review

Co-authored-by: Cami Romero <[email protected]>

* rf: fix variables name in functions

* rf: fix find_value_in_list function

* rf: fix pycodestyle

* rf: remove hardcoded timeouts

* rf: remove skip to test on Jenkins

* refac: disable unneeded fim modules

* fix: fix indentation

* test: skip test_registry_responses_win3

* fix: modify config yml file

* rf: extracted error messages

* fix: added local_internal_options, extracted error messages and fixed key creation

* style: fix to adhere to pep8

* fix: Fix timeout

* rm: remove unnecesary section in test cases

* style: Fix spacing and line lenght

* fix: Modify CB_REGISTRY_DBSYNC_NO_DATA

* fix: Path  check in find_value_in_event_list

* fix: Callbacks to detect fim_registry_key/value

* fix: update imports to module.fim.utils

* rm: Delete unused file fim_synchronization.py

* add: registry_integrity_event callbacks

* fix: event detection in test_sync_enabled_win32

* fix: Callback get registry_key or registry_value

* style: removed whitespaces

* style: Modify comments and Documentation

Co-authored-by: Dámaris  <[email protected]>

* style: rename variable

* rm: Delete unused functions

* rm: Delete duplicated fixture

* fix: Add deleted _create_regular functions

* fix import errors

* fix: Callback CB_INODE_ENTRIES_PATH_COUNT

* fix(#3036): fix file_limit configs

* docu(#3036): update tests min version

* fix(#3036): fix test_registry_limit configs

* docu(#3036): fix min_version

* fix(#3036): CB registry_key_limit_full

* fix(#3036): fix test_file_limit_no_limit callback

* fix(#3036): add local_internal_options to tests

* fix(#3036): test_registry_key_full cb and key

* feat(#3053): add callbacks to fim.event_monitor

* feat(#3053): add fixtures to fim conftest

* feat(#3053): add test_sync_overlap test skeleton

* refactor(#3053): move CBs to fim.event_monitor

* fix(#3053): add new case to test_sync_overlap

* fix(#3053): fix truncate_monitored_files fixture

* feat(#3053): add create_files_in_folder fixture

* docu(#3053): fix test_sync_interval docu and style

* style(#3053): fix blank lines in conftest.py

* docu(#3053): update changelog.md

* style(#3053): fix spacing and indentations

* style(#3053): update spacing and indentation

* fix(#3053): fix config format to work on macOS

* fix(#3053): fix config format to work on macOS

* fix(#3053): update spacing in configuration

* fix(#3053): remove unnecesary list conversion

* refactor(#3036): move CB and import to modules.fim

* docs(#3036): add fixture documentation in tests

* fix(#3036): update config with correct values

* style(#3036): fix spacing in yaml conf files

* fix(#3036): fix config yaml spacing

* style(#3036): fix style and indentations

* fix(#3036): fix wazuh_conf.yaml spacing

* docs(#3036): update changelog.md

* fix(#3053): fix and add cases test_sync_overlap

* refactor(#3053): extract variables and callbacks

* docs(#3053): update changelog.md

* style(#3053): fix spacing

* fix(#3053): add monitored_dir parameter to test

* fix(#3053): fix invalid max_interval value test

* fix(#3036): increase test_max_eps created files

* docu(#3053): update event_monitor documentation

* docu(#3053): fix fim.event_monitor docu

* refactor(#3036): cleaned up callbacks

* style(#3036): removed trailing whitespace

* feat(#3053): add new callbacks

* feat(#3053): new test_sync_time module

* fix(#3053): remove unused callbacks

* docu(#3053): update test_sync_time docu

* style(#3053): fix test_sync_time spacing

* style(#3053): fix test_sync_time spacing

* docu(#3036): update chengelog.md

* docs(#3053): update tests documentation

* style(#3053): remove whitespaces

* docs(#3053): added comments and docu

* style(#3053): fixed indentation issue

* refactor(#1915): refactor fim framework

* fix(#1915): fix imports

* style(#1915): fix spacing and indentations

* fix(#1915): add missing fixture

* style(#1915): fix spacing in yaml files

* fix(#1915): fix callbacks and fixture import

* refactor(#1915): move callbacks to event_monitor

* refactor(#1915): update callback imports

* style(#1915): fix indentation and spacing

* feat(#1915):  update callbacks and functions

* refactor(#1915): update imports from fim framework

* fix(#1915): fix regular_file_cud function

* fix(#1915): fix delete_file usage instances

* fix(#1915): fix test_max_eps

* style(#1915): fix indentation and whitespaces

* fix(#1915): skip test_max_eps module

* fix(#1915): replace removed fixture

* fix(#1915): fix test_synchronize_integrity conf

* fix(#1915): fix test_restrict_valid scheduled mode

* style(#1915): fix test_restrict_valid conf spacing

* style(#1915): remove confs redundant quotes

* fix(#1915): fix test_restrict_valid cases

* fix(#1915): fix windows test cases

* chore: bump version to 4.6

* fix(#1915): revert merge  'master' into dev branch"

This reverts commit bbedbc9, reversing
changes made to 469828c.

* fix(#1915): remove duplicated fixture

* fix(#1915): add delay for difffolder deletion

* style(#1915): fix whitespaces and file names

* fix(#1915): remove redundant vars and functions

* style(#1915): improve documentation

* fix(#1915): extract duplicated function

* docs(#1915): improve documentation

* fix(#1915): remove unneeded file

* chore(#1915): remove unused imports

---------

Co-authored-by: Deblintrake09 <[email protected]>
Co-authored-by: camila <[email protected]>
Co-authored-by: Cami Romero <[email protected]>
Co-authored-by: jmv74211 <[email protected]>
mauromalara pushed a commit that referenced this issue Mar 2, 2023
* fix: Changes log messages and organize variables

* fix: import variables

* add: delete conf deprecated

* fix: Order of messages

* add: spaces recommended

* rm: conf deprecated

* rm: logs deprecated

* rf: fix messages and callbacks

* rf: remove hardcoded marks

* fix: log message to Windows

* rf: add test to validate registry key limit

* rf: test_registry_limit_full for registry values

* add: new test_registry_key_limit_values

* rm: unused lines

* rf: test_registry_limit_values - update docu

* rf: test_registry_limit_capacity_alerts - fix docu

* rf: test_registr_limit_values - fix documentation

* rf: test_registry_value_limit_full - fix docu

* rf: test_registry_key_limit_full - fix docu

* rf: fix format of key_limit_full

* rf: fix syscheck_event_windows.json

* rm: Skip fixed

* rm: variables name to DB.

* add: variable error and archives.log to Windows.

* Change owner to root

* Fx:Update msg to detect that fim scan was finish

* add: Migration of methods.

* fix: Change messages- Remove skips- Change field name of events.

* skíp: Tier 2 has to refactor required.

* fix: Change log messages - Remove a callback.

* fix: Add file created to check events.

* fix: Check fim_registry event component not exists.

* add: Check that Audit is started when working with whodata.

* fix: Check files created - Add callback of sync initial scan - Remove spaces.

* fix: Check asserts - Remove duplicates variables

* fix test_sync_max_eps for scheduled mode

* add: new test_sync_max_eps for realtime/whodata

* rf: extract common functions and messages

* rf: update wazuh_conf and remove invalid test

* rf: fix test_max_eps.py

* rf: fix wait_for_fim_start_function

* rf: fix test_max_eps for realtime file events

* rf: fix callback

* Fx: Apply Pycodestyle

* rf: fix callback an fim_local_internal_options

* rf: fix codestyle to adhere to pep8

* rf: added whodata cases for test_max_eps

* rf: fix whodata callback for windows

* rf: skipped test because of jenkins behaviour

* Apply suggestions from code review

Co-authored-by: Cami Romero <[email protected]>

* rf: fix variables name in functions

* rf: fix find_value_in_list function

* rf: fix pycodestyle

* rf: remove hardcoded timeouts

* rf: remove skip to test on Jenkins

* refac: disable unneeded fim modules

* fix: fix indentation

* test: skip test_registry_responses_win3

* fix: modify config yml file

* rf: extracted error messages

* fix: added local_internal_options, extracted error messages and fixed key creation

* style: fix to adhere to pep8

* fix: Fix timeout

* rm: remove unnecesary section in test cases

* style: Fix spacing and line lenght

* fix: Modify CB_REGISTRY_DBSYNC_NO_DATA

* fix: Path  check in find_value_in_event_list

* fix: Callbacks to detect fim_registry_key/value

* fix: update imports to module.fim.utils

* rm: Delete unused file fim_synchronization.py

* add: registry_integrity_event callbacks

* fix: event detection in test_sync_enabled_win32

* fix: Callback get registry_key or registry_value

* style: removed whitespaces

* style: Modify comments and Documentation

Co-authored-by: Dámaris  <[email protected]>

* style: rename variable

* rm: Delete unused functions

* rm: Delete duplicated fixture

* fix: Add deleted _create_regular functions

* fix import errors

* fix: Callback CB_INODE_ENTRIES_PATH_COUNT

* fix(#3036): fix file_limit configs

* docu(#3036): update tests min version

* fix(#3036): fix test_registry_limit configs

* docu(#3036): fix min_version

* fix(#3036): CB registry_key_limit_full

* fix(#3036): fix test_file_limit_no_limit callback

* fix(#3036): add local_internal_options to tests

* fix(#3036): test_registry_key_full cb and key

* feat(#3053): add callbacks to fim.event_monitor

* feat(#3053): add fixtures to fim conftest

* feat(#3053): add test_sync_overlap test skeleton

* refactor(#3053): move CBs to fim.event_monitor

* fix(#3053): add new case to test_sync_overlap

* fix(#3053): fix truncate_monitored_files fixture

* feat(#3053): add create_files_in_folder fixture

* docu(#3053): fix test_sync_interval docu and style

* style(#3053): fix blank lines in conftest.py

* docu(#3053): update changelog.md

* style(#3053): fix spacing and indentations

* style(#3053): update spacing and indentation

* fix(#3053): fix config format to work on macOS

* fix(#3053): fix config format to work on macOS

* fix(#3053): update spacing in configuration

* fix(#3053): remove unnecesary list conversion

* refactor(#3036): move CB and import to modules.fim

* docs(#3036): add fixture documentation in tests

* fix(#3036): update config with correct values

* style(#3036): fix spacing in yaml conf files

* fix(#3036): fix config yaml spacing

* style(#3036): fix style and indentations

* fix(#3036): fix wazuh_conf.yaml spacing

* docs(#3036): update changelog.md

* fix(#3053): fix and add cases test_sync_overlap

* refactor(#3053): extract variables and callbacks

* docs(#3053): update changelog.md

* style(#3053): fix spacing

* fix(#3053): add monitored_dir parameter to test

* fix(#3053): fix invalid max_interval value test

* fix(#3036): increase test_max_eps created files

* docu(#3053): update event_monitor documentation

* docu(#3053): fix fim.event_monitor docu

* refactor(#3036): cleaned up callbacks

* style(#3036): removed trailing whitespace

* feat(#3053): add new callbacks

* feat(#3053): new test_sync_time module

* fix(#3053): remove unused callbacks

* docu(#3053): update test_sync_time docu

* style(#3053): fix test_sync_time spacing

* style(#3053): fix test_sync_time spacing

* docu(#3036): update chengelog.md

* docs(#3053): update tests documentation

* style(#3053): remove whitespaces

* docs(#3053): added comments and docu

* style(#3053): fixed indentation issue

* refactor(#1915): refactor fim framework

* fix(#1915): fix imports

* style(#1915): fix spacing and indentations

* fix(#1915): add missing fixture

* style(#1915): fix spacing in yaml files

* fix(#1915): fix callbacks and fixture import

* refactor(#1915): move callbacks to event_monitor

* refactor(#1915): update callback imports

* style(#1915): fix indentation and spacing

* feat(#1915):  update callbacks and functions

* refactor(#1915): update imports from fim framework

* fix(#1915): fix regular_file_cud function

* fix(#1915): fix delete_file usage instances

* fix(#1915): fix test_max_eps

* style(#1915): fix indentation and whitespaces

* fix(#1915): skip test_max_eps module

* fix(#1915): replace removed fixture

* fix(#1915): fix test_synchronize_integrity conf

* fix(#1915): fix test_restrict_valid scheduled mode

* style(#1915): fix test_restrict_valid conf spacing

* style(#1915): remove confs redundant quotes

* fix(#1915): fix test_restrict_valid cases

* fix(#1915): fix windows test cases

* chore: bump version to 4.6

* fix(#1915): revert merge  'master' into dev branch"

This reverts commit bbedbc9, reversing
changes made to 469828c.

* fix(#1915): remove duplicated fixture

* fix(#1915): add delay for difffolder deletion

* style(#1915): fix whitespaces and file names

* fix(#1915): remove redundant vars and functions

* style(#1915): improve documentation

* fix(#1915): extract duplicated function

* docs(#1915): improve documentation

* fix(#1915): remove unneeded file

* chore(#1915): remove unused imports

---------

Co-authored-by: Deblintrake09 <[email protected]>
Co-authored-by: camila <[email protected]>
Co-authored-by: Cami Romero <[email protected]>
Co-authored-by: jmv74211 <[email protected]>
QU3B1M pushed a commit that referenced this issue Mar 15, 2023
* fix: Changes log messages and organize variables

* fix: import variables

* add: delete conf deprecated

* fix: Order of messages

* add: spaces recommended

* rm: conf deprecated

* rm: logs deprecated

* rf: fix messages and callbacks

* rf: remove hardcoded marks

* fix: log message to Windows

* rf: add test to validate registry key limit

* rf: test_registry_limit_full for registry values

* add: new test_registry_key_limit_values

* rm: unused lines

* rf: test_registry_limit_values - update docu

* rf: test_registry_limit_capacity_alerts - fix docu

* rf: test_registr_limit_values - fix documentation

* rf: test_registry_value_limit_full - fix docu

* rf: test_registry_key_limit_full - fix docu

* rf: fix format of key_limit_full

* rf: fix syscheck_event_windows.json

* rm: Skip fixed

* rm: variables name to DB.

* add: variable error and archives.log to Windows.

* Change owner to root

* Fx:Update msg to detect that fim scan was finish

* add: Migration of methods.

* fix: Change messages- Remove skips- Change field name of events.

* skíp: Tier 2 has to refactor required.

* fix: Change log messages - Remove a callback.

* fix: Add file created to check events.

* fix: Check fim_registry event component not exists.

* add: Check that Audit is started when working with whodata.

* fix: Check files created - Add callback of sync initial scan - Remove spaces.

* fix: Check asserts - Remove duplicates variables

* fix test_sync_max_eps for scheduled mode

* add: new test_sync_max_eps for realtime/whodata

* rf: extract common functions and messages

* rf: update wazuh_conf and remove invalid test

* rf: fix test_max_eps.py

* rf: fix wait_for_fim_start_function

* rf: fix test_max_eps for realtime file events

* rf: fix callback

* Fx: Apply Pycodestyle

* rf: fix callback an fim_local_internal_options

* rf: fix codestyle to adhere to pep8

* rf: added whodata cases for test_max_eps

* rf: fix whodata callback for windows

* rf: skipped test because of jenkins behaviour

* Apply suggestions from code review

Co-authored-by: Cami Romero <[email protected]>

* rf: fix variables name in functions

* rf: fix find_value_in_list function

* rf: fix pycodestyle

* rf: remove hardcoded timeouts

* rf: remove skip to test on Jenkins

* refac: disable unneeded fim modules

* fix: fix indentation

* test: skip test_registry_responses_win3

* fix: modify config yml file

* rf: extracted error messages

* fix: added local_internal_options, extracted error messages and fixed key creation

* style: fix to adhere to pep8

* fix: Fix timeout

* rm: remove unnecesary section in test cases

* style: Fix spacing and line lenght

* fix: Modify CB_REGISTRY_DBSYNC_NO_DATA

* fix: Path  check in find_value_in_event_list

* fix: Callbacks to detect fim_registry_key/value

* fix: update imports to module.fim.utils

* rm: Delete unused file fim_synchronization.py

* add: registry_integrity_event callbacks

* fix: event detection in test_sync_enabled_win32

* fix: Callback get registry_key or registry_value

* style: removed whitespaces

* style: Modify comments and Documentation

Co-authored-by: Dámaris  <[email protected]>

* style: rename variable

* rm: Delete unused functions

* rm: Delete duplicated fixture

* fix: Add deleted _create_regular functions

* fix import errors

* fix: Callback CB_INODE_ENTRIES_PATH_COUNT

* fix(#3036): fix file_limit configs

* docu(#3036): update tests min version

* fix(#3036): fix test_registry_limit configs

* docu(#3036): fix min_version

* fix(#3036): CB registry_key_limit_full

* fix(#3036): fix test_file_limit_no_limit callback

* fix(#3036): add local_internal_options to tests

* fix(#3036): test_registry_key_full cb and key

* feat(#3053): add callbacks to fim.event_monitor

* feat(#3053): add fixtures to fim conftest

* feat(#3053): add test_sync_overlap test skeleton

* refactor(#3053): move CBs to fim.event_monitor

* fix(#3053): add new case to test_sync_overlap

* fix(#3053): fix truncate_monitored_files fixture

* feat(#3053): add create_files_in_folder fixture

* docu(#3053): fix test_sync_interval docu and style

* style(#3053): fix blank lines in conftest.py

* docu(#3053): update changelog.md

* style(#3053): fix spacing and indentations

* style(#3053): update spacing and indentation

* fix(#3053): fix config format to work on macOS

* fix(#3053): fix config format to work on macOS

* fix(#3053): update spacing in configuration

* fix(#3053): remove unnecesary list conversion

* refactor(#3036): move CB and import to modules.fim

* docs(#3036): add fixture documentation in tests

* fix(#3036): update config with correct values

* style(#3036): fix spacing in yaml conf files

* fix(#3036): fix config yaml spacing

* style(#3036): fix style and indentations

* fix(#3036): fix wazuh_conf.yaml spacing

* docs(#3036): update changelog.md

* fix(#3053): fix and add cases test_sync_overlap

* refactor(#3053): extract variables and callbacks

* docs(#3053): update changelog.md

* style(#3053): fix spacing

* fix(#3053): add monitored_dir parameter to test

* fix(#3053): fix invalid max_interval value test

* fix(#3036): increase test_max_eps created files

* docu(#3053): update event_monitor documentation

* docu(#3053): fix fim.event_monitor docu

* refactor(#3036): cleaned up callbacks

* style(#3036): removed trailing whitespace

* feat(#3053): add new callbacks

* feat(#3053): new test_sync_time module

* fix(#3053): remove unused callbacks

* docu(#3053): update test_sync_time docu

* style(#3053): fix test_sync_time spacing

* style(#3053): fix test_sync_time spacing

* docu(#3036): update chengelog.md

* docs(#3053): update tests documentation

* style(#3053): remove whitespaces

* docs(#3053): added comments and docu

* style(#3053): fixed indentation issue

* refactor(#1915): refactor fim framework

* fix(#1915): fix imports

* style(#1915): fix spacing and indentations

* fix(#1915): add missing fixture

* style(#1915): fix spacing in yaml files

* fix(#1915): fix callbacks and fixture import

* refactor(#1915): move callbacks to event_monitor

* refactor(#1915): update callback imports

* style(#1915): fix indentation and spacing

* feat(#1915):  update callbacks and functions

* refactor(#1915): update imports from fim framework

* fix(#1915): fix regular_file_cud function

* fix(#1915): fix delete_file usage instances

* fix(#1915): fix test_max_eps

* style(#1915): fix indentation and whitespaces

* fix(#1915): skip test_max_eps module

* fix(#1915): replace removed fixture

* fix(#1915): fix test_synchronize_integrity conf

* fix(#1915): fix test_restrict_valid scheduled mode

* style(#1915): fix test_restrict_valid conf spacing

* style(#1915): remove confs redundant quotes

* fix(#1915): fix test_restrict_valid cases

* fix(#1915): fix windows test cases

* chore: bump version to 4.6

* fix(#1915): revert merge  'master' into dev branch"

This reverts commit bbedbc9, reversing
changes made to 469828c.

* fix(#1915): remove duplicated fixture

* fix(#1915): add delay for difffolder deletion

* style(#1915): fix whitespaces and file names

* fix(#1915): remove redundant vars and functions

* style(#1915): improve documentation

* fix(#1915): extract duplicated function

* docs(#1915): improve documentation

* fix(#1915): remove unneeded file

* chore(#1915): remove unused imports

---------

Co-authored-by: Deblintrake09 <[email protected]>
Co-authored-by: camila <[email protected]>
Co-authored-by: Cami Romero <[email protected]>
Co-authored-by: jmv74211 <[email protected]>
Deblintrake09 added a commit that referenced this issue Apr 24, 2023
* fix: Changes log messages and organize variables

* fix: import variables

* add: delete conf deprecated

* fix: Order of messages

* add: spaces recommended

* rm: conf deprecated

* rm: logs deprecated

* rf: fix messages and callbacks

* rf: remove hardcoded marks

* fix: log message to Windows

* rf: add test to validate registry key limit

* rf: test_registry_limit_full for registry values

* add: new test_registry_key_limit_values

* rm: unused lines

* rf: test_registry_limit_values - update docu

* rf: test_registry_limit_capacity_alerts - fix docu

* rf: test_registr_limit_values - fix documentation

* rf: test_registry_value_limit_full - fix docu

* rf: test_registry_key_limit_full - fix docu

* rf: fix format of key_limit_full

* rf: fix syscheck_event_windows.json

* rm: Skip fixed

* rm: variables name to DB.

* add: variable error and archives.log to Windows.

* Change owner to root

* Fx:Update msg to detect that fim scan was finish

* add: Migration of methods.

* fix: Change messages- Remove skips- Change field name of events.

* skíp: Tier 2 has to refactor required.

* fix: Change log messages - Remove a callback.

* fix: Add file created to check events.

* fix: Check fim_registry event component not exists.

* add: Check that Audit is started when working with whodata.

* fix: Check files created - Add callback of sync initial scan - Remove spaces.

* fix: Check asserts - Remove duplicates variables

* fix test_sync_max_eps for scheduled mode

* add: new test_sync_max_eps for realtime/whodata

* rf: extract common functions and messages

* rf: update wazuh_conf and remove invalid test

* rf: fix test_max_eps.py

* rf: fix wait_for_fim_start_function

* rf: fix test_max_eps for realtime file events

* rf: fix callback

* Fx: Apply Pycodestyle

* rf: fix callback an fim_local_internal_options

* rf: fix codestyle to adhere to pep8

* rf: added whodata cases for test_max_eps

* rf: fix whodata callback for windows

* rf: skipped test because of jenkins behaviour

* Apply suggestions from code review

Co-authored-by: Cami Romero <[email protected]>

* rf: fix variables name in functions

* rf: fix find_value_in_list function

* rf: fix pycodestyle

* rf: remove hardcoded timeouts

* rf: remove skip to test on Jenkins

* refac: disable unneeded fim modules

* fix: fix indentation

* test: skip test_registry_responses_win3

* fix: modify config yml file

* rf: extracted error messages

* fix: added local_internal_options, extracted error messages and fixed key creation

* style: fix to adhere to pep8

* fix: Fix timeout

* rm: remove unnecesary section in test cases

* style: Fix spacing and line lenght

* fix: Modify CB_REGISTRY_DBSYNC_NO_DATA

* fix: Path  check in find_value_in_event_list

* fix: Callbacks to detect fim_registry_key/value

* fix: update imports to module.fim.utils

* rm: Delete unused file fim_synchronization.py

* add: registry_integrity_event callbacks

* fix: event detection in test_sync_enabled_win32

* fix: Callback get registry_key or registry_value

* style: removed whitespaces

* style: Modify comments and Documentation

Co-authored-by: Dámaris  <[email protected]>

* style: rename variable

* rm: Delete unused functions

* rm: Delete duplicated fixture

* fix: Add deleted _create_regular functions

* fix import errors

* fix: Callback CB_INODE_ENTRIES_PATH_COUNT

* fix(#3036): fix file_limit configs

* docu(#3036): update tests min version

* fix(#3036): fix test_registry_limit configs

* docu(#3036): fix min_version

* fix(#3036): CB registry_key_limit_full

* fix(#3036): fix test_file_limit_no_limit callback

* fix(#3036): add local_internal_options to tests

* fix(#3036): test_registry_key_full cb and key

* feat(#3053): add callbacks to fim.event_monitor

* feat(#3053): add fixtures to fim conftest

* feat(#3053): add test_sync_overlap test skeleton

* refactor(#3053): move CBs to fim.event_monitor

* fix(#3053): add new case to test_sync_overlap

* fix(#3053): fix truncate_monitored_files fixture

* feat(#3053): add create_files_in_folder fixture

* docu(#3053): fix test_sync_interval docu and style

* style(#3053): fix blank lines in conftest.py

* docu(#3053): update changelog.md

* style(#3053): fix spacing and indentations

* style(#3053): update spacing and indentation

* fix(#3053): fix config format to work on macOS

* fix(#3053): fix config format to work on macOS

* fix(#3053): update spacing in configuration

* fix(#3053): remove unnecesary list conversion

* refactor(#3036): move CB and import to modules.fim

* docs(#3036): add fixture documentation in tests

* fix(#3036): update config with correct values

* style(#3036): fix spacing in yaml conf files

* fix(#3036): fix config yaml spacing

* style(#3036): fix style and indentations

* fix(#3036): fix wazuh_conf.yaml spacing

* docs(#3036): update changelog.md

* fix(#3053): fix and add cases test_sync_overlap

* refactor(#3053): extract variables and callbacks

* docs(#3053): update changelog.md

* style(#3053): fix spacing

* fix(#3053): add monitored_dir parameter to test

* fix(#3053): fix invalid max_interval value test

* fix(#3036): increase test_max_eps created files

* docu(#3053): update event_monitor documentation

* docu(#3053): fix fim.event_monitor docu

* refactor(#3036): cleaned up callbacks

* style(#3036): removed trailing whitespace

* feat(#3053): add new callbacks

* feat(#3053): new test_sync_time module

* fix(#3053): remove unused callbacks

* docu(#3053): update test_sync_time docu

* style(#3053): fix test_sync_time spacing

* style(#3053): fix test_sync_time spacing

* docu(#3036): update chengelog.md

* docs(#3053): update tests documentation

* style(#3053): remove whitespaces

* docs(#3053): added comments and docu

* style(#3053): fixed indentation issue

* refactor(#1915): refactor fim framework

* fix(#1915): fix imports

* style(#1915): fix spacing and indentations

* fix(#1915): add missing fixture

* style(#1915): fix spacing in yaml files

* fix(#1915): fix callbacks and fixture import

* refactor(#1915): move callbacks to event_monitor

* refactor(#1915): update callback imports

* style(#1915): fix indentation and spacing

* feat(#1915):  update callbacks and functions

* refactor(#1915): update imports from fim framework

* fix(#1915): fix regular_file_cud function

* fix(#1915): fix delete_file usage instances

* fix(#1915): fix test_max_eps

* style(#1915): fix indentation and whitespaces

* fix(#1915): skip test_max_eps module

* fix(#1915): replace removed fixture

* fix(#1915): fix test_synchronize_integrity conf

* fix(#1915): fix test_restrict_valid scheduled mode

* style(#1915): fix test_restrict_valid conf spacing

* style(#1915): remove confs redundant quotes

* fix(#1915): fix test_restrict_valid cases

* fix(#1915): fix windows test cases

* chore: bump version to 4.6

* fix(#1915): revert merge  'master' into dev branch"

This reverts commit bbedbc9, reversing
changes made to 469828c.

* fix(#1915): remove duplicated fixture

* fix(#1915): add delay for difffolder deletion

* style(#1915): fix whitespaces and file names

* fix(#1915): remove redundant vars and functions

* style(#1915): improve documentation

* fix(#1915): extract duplicated function

* docs(#1915): improve documentation

* fix(#1915): remove unneeded file

* chore(#1915): remove unused imports

---------

Co-authored-by: Deblintrake09 <[email protected]>
Co-authored-by: camila <[email protected]>
Co-authored-by: Cami Romero <[email protected]>
Co-authored-by: jmv74211 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants