Closed TheMysteriousX closed 4 years ago
In the entity info, redhat systems are listed as:
{ "entity_class": "agent", "system": { "hostname": "", "os": "linux", "platform": "redhat", "platform_family": "rhel", "platform_version": "7.7", ...
In order to filter as expected, platform_family should be used.
[x] Update Changelog following the conventions laid out here
[x] Update README with any necessary configuration snippets
[x] Binstubs are created if needed
[ ] RuboCop passes
[ ] Existing tests pass
[ ] Tests
[ ] Add the plugin to the README
[ ] Does it have a complete header as outlined here
Bugfix on centos
Same change may need to be made on other platforms, but I do not have access to them
Thanks for opening this PR. We needed to make additional changes for older versions of Centos, so this is closed by #141.
In the entity info, redhat systems are listed as:
In order to filter as expected, platform_family should be used.
Pull Request Checklist
123
General
[x] Update Changelog following the conventions laid out here
[x] Update README with any necessary configuration snippets
[x] Binstubs are created if needed
[ ] RuboCop passes
[ ] Existing tests pass
New Plugins
[ ] Tests
[ ] Add the plugin to the README
[ ] Does it have a complete header as outlined here
Purpose
Bugfix on centos
Known Compatibility Issues
Same change may need to be made on other platforms, but I do not have access to them