redhat-cop / aap_configuration_extended

providing extended functionality that is not in aap_configuration
GNU General Public License v3.0
2 stars 8 forks source link

Fix hostfilter and add missing unsafe regex #28

Closed przemkalit closed 1 week ago

przemkalit commented 1 week ago

What does this PR do?

This PR is fixing two issues:

1) The host filter for the smart inventory is not properly exported. When you export a smart inventory, it is wrapped in double quotes, but the filter itself is also exported with internal double quotes, making it impossible to import.

2) Add missing regex_replace to every item that could have a variable.

How should this be tested?

Manually

Is there a relevant Issue open for this?

N/A

Other Relevant info, PRs, etc

N/A

przemkalit commented 1 week ago

I've added missing sort keys for notification that I clearly overlooked.

przemkalit commented 1 week ago

I've added one overlooked sort_keys.