This PR refactors the conversion of posture checks from API objects to system objects and backward.
It adds a method to find an existing posture check definition based on the check definition.
Issue ticket number and link
Checklist
[ ] Is it a bug fix
[ ] Is a typo/documentation fix
[x] Is a feature enhancement
[x] It is a refactor
[ ] Created tests that fail without the change (if possible)
[ ] Extended the README / documentation, if necessary
Describe your changes
This PR refactors the conversion of posture checks from API objects to system objects and backward. It adds a method to find an existing posture check definition based on the check definition.
Issue ticket number and link
Checklist