After using the scripts in cfme-rhconsulting-scripts
I wanted to also include the ability to import/export SmartState analysis scan profiles.
Anybody has any idea on how to do this?
I hacked together a script (similar to the ones from cfme-rhconsulting) which can be found here.
So far it is able to:
- export scan profiles, skipping read_only profiles or built-in profiles (since this are
defined through YAML files already).
- re-import scan profiles
When re-importing, I can modify the exported file and re-import them, with the new settings reflected.
What it will NOT do is create new settings. I can create a new Scan Profile, but it will not contain the new ScanItems. Any suggestions on how to do this?