Skip to content

Remove option <remove_old-diff>#1915

Merged
vikman90 merged 2 commits into3.8from
dev-dep-remove-old-diff
Nov 22, 2018
Merged

Remove option <remove_old-diff>#1915
vikman90 merged 2 commits into3.8from
dev-dep-remove-old-diff

Conversation

@bah07
Copy link
Copy Markdown
Contributor

@bah07 bah07 commented Nov 20, 2018

Related issues:

The option <remove_old_diff> is disabled. It becomes a mandatory behavior. In case that for old configurations it appears no warn message is shown, simply continues the execution.

Test:

  • Check configuration with and without tag.
  • Check that the operation of deleting files configured with report_changes is correct. The files are deleted when:
  • The option is removed,
  • The directory stops being monitored and
  • The source files are physically deleted.

@bah07 bah07 added the module/fim File Integrity Monitoring label Nov 20, 2018
@albertomn86 albertomn86 changed the base branch from 3.7 to 3.8 November 21, 2018 09:01
@vikman90 vikman90 force-pushed the dev-dep-remove-old-diff branch from a058f58 to ca7b856 Compare November 22, 2018 14:39
Copy link
Copy Markdown
Member

@vikman90 vikman90 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

BTW this issue also needs documentation.

Comment thread src/config/syscheck-config.c Outdated
const char *xml_auto_ignore = "auto_ignore";
const char *xml_alert_new_files = "alert_new_files";
const char *xml_remove_old_diff = "remove_old_diff";
const char *xml_remove_old_diff = "remove_old_diff"; // Deprecated since 3.7.1
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Deprecated since 3.8.0.

Comment thread src/config/syscheck-config.c Outdated
merror(XML_VALUEERR, node[i]->element, node[i]->content);
return (OS_INVALID);
}
//Deprecated since 3.7.1, aplied by default...
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

3.8.0 so far...

@vikman90 vikman90 merged commit 0eb5c95 into 3.8 Nov 22, 2018
@vikman90 vikman90 deleted the dev-dep-remove-old-diff branch November 22, 2018 15:36
chemamartinez added a commit that referenced this pull request Nov 23, 2018
chemamartinez added a commit that referenced this pull request Nov 23, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

module/fim File Integrity Monitoring

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants