{"action":"created","issue":{"url":"https://api.github.com/repos/wazuh/wazuh/issues/1234","repository_url":"https://api.github.com/repos/wazuh/wazuh","labels_url":"https://api.github.com/repos/wazuh/wazuh/issues/1234/labels{/name}","comments_url":"https://api.github.com/repos/wazuh/wazuh/issues/1234/comments","events_url":"https://api.github.com/repos/wazuh/wazuh/issues/1234/events","html_url":"https://github.com/wazuh/wazuh/issues/1234","id":357601037,"node_id":"MDU6SXNzdWUzNTc2MDEwMzc=","number":1234,"title":"Conflict in FIM configuration when two nested directories defined","user":{"login":"vikman90","id":10536251,"node_id":"MDQ6VXNlcjEwNTM2MjUx","avatar_url":"https://avatars3.githubusercontent.com/u/10536251?v=4","gravatar_id":"","url":"https://api.github.com/users/vikman90","html_url":"https://github.com/vikman90","followers_url":"https://api.github.com/users/vikman90/followers","following_url":"https://api.github.com/users/vikman90/following{/other_user}","gists_url":"https://api.github.com/users/vikman90/gists{/gist_id}","starred_url":"https://api.github.com/users/vikman90/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vikman90/subscriptions","organizations_url":"https://api.github.com/users/vikman90/orgs","repos_url":"https://api.github.com/users/vikman90/repos","events_url":"https://api.github.com/users/vikman90/events{/privacy}","received_events_url":"https://api.github.com/users/vikman90/received_events","type":"User","site_admin":false},"labels":[{"id":246680124,"node_id":"MDU6TGFiZWwyNDY2ODAxMjQ=","url":"https://api.github.com/repos/wazuh/wazuh/labels/bug","name":"bug","color":"d93f0b","default":true},{"id":907878541,"node_id":"MDU6TGFiZWw5MDc4Nzg1NDE=","url":"https://api.github.com/repos/wazuh/wazuh/labels/fim","name":"fim","color":"bfd4f2","default":false},{"id":1005867432,"node_id":"MDU6TGFiZWwxMDA1ODY3NDMy","url":"https://api.github.com/repos/wazuh/wazuh/labels/priority","name":"priority","color":"d93f0b","default":false}],"state":"closed","locked":false,"assignee":{"login":"bah07","id":6572618,"node_id":"MDQ6VXNlcjY1NzI2MTg=","avatar_url":"https://avatars2.githubusercontent.com/u/6572618?v=4","gravatar_id":"","url":"https://api.github.com/users/bah07","html_url":"https://github.com/bah07","followers_url":"https://api.github.com/users/bah07/followers","following_url":"https://api.github.com/users/bah07/following{/other_user}","gists_url":"https://api.github.com/users/bah07/gists{/gist_id}","starred_url":"https://api.github.com/users/bah07/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bah07/subscriptions","organizations_url":"https://api.github.com/users/bah07/orgs","repos_url":"https://api.github.com/users/bah07/repos","events_url":"https://api.github.com/users/bah07/events{/privacy}","received_events_url":"https://api.github.com/users/bah07/received_events","type":"User","site_admin":false},"assignees":[{"login":"bah07","id":6572618,"node_id":"MDQ6VXNlcjY1NzI2MTg=","avatar_url":"https://avatars2.githubusercontent.com/u/6572618?v=4","gravatar_id":"","url":"https://api.github.com/users/bah07","html_url":"https://github.com/bah07","followers_url":"https://api.github.com/users/bah07/followers","following_url":"https://api.github.com/users/bah07/following{/other_user}","gists_url":"https://api.github.com/users/bah07/gists{/gist_id}","starred_url":"https://api.github.com/users/bah07/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bah07/subscriptions","organizations_url":"https://api.github.com/users/bah07/orgs","repos_url":"https://api.github.com/users/bah07/repos","events_url":"https://api.github.com/users/bah07/events{/privacy}","received_events_url":"https://api.github.com/users/bah07/received_events","type":"User","site_admin":false}],"milestone":null,"comments":0,"created_at":"2018-09-06T10:52:31Z","updated_at":"2018-11-16T15:06:26Z","closed_at":"2018-11-16T15:06:26Z","author_association":"MEMBER","body":"This is an example configuration:\r\n\r\n```xml\r\n<directories check_all=\"yes\" recursion_level=\"2\">/etc</directories>\r\n<directories check_all=\"yes\" realtime=\"yes\">/etc/httpd</directories>\r\n```\r\n\r\nIt's not clear whether a new reported file by the real-time engine would get the first or the second definition. The configuration finder should get the second one since it's the longest (more restrictive) path."},"comment":{"url":"https://api.github.com/repos/wazuh/wazuh/issues/comments/439421518","html_url":"https://github.com/wazuh/wazuh/issues/1234#issuecomment-439421518","issue_url":"https://api.github.com/repos/wazuh/wazuh/issues/1234","id":439421518,"node_id":"MDEyOklzc3VlQ29tbWVudDQzOTQyMTUxOA==","user":{"login":"bah07","id":6572618,"node_id":"MDQ6VXNlcjY1NzI2MTg=","avatar_url":"https://avatars2.githubusercontent.com/u/6572618?v=4","gravatar_id":"","url":"https://api.github.com/users/bah07","html_url":"https://github.com/bah07","followers_url":"https://api.github.com/users/bah07/followers","following_url":"https://api.github.com/users/bah07/following{/other_user}","gists_url":"https://api.github.com/users/bah07/gists{/gist_id}","starred_url":"https://api.github.com/users/bah07/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bah07/subscriptions","organizations_url":"https://api.github.com/users/bah07/orgs","repos_url":"https://api.github.com/users/bah07/repos","events_url":"https://api.github.com/users/bah07/events{/privacy}","received_events_url":"https://api.github.com/users/bah07/received_events","type":"User","site_admin":false},"created_at":"2018-11-16T15:06:26Z","updated_at":"2018-11-16T15:06:26Z","author_association":"MEMBER","body":"After some testing, the functionality is correct.\r\nThe options are correctly applied to each directory."}}
{"actor":{"display_login":"bah07"}}