Feature #17229
closed
- Subject changed from Initiate OpenSCAP scan from web ui
to Initiate OpenSCAP scan from web ui
- Target version set to 115
How about to add a remote_execution job template which runs "foreman_scap_client <policy_id>" and policy_id will be added from the host's policy ids (so to run the job per each policy, or choose policy)?
Let me know if this path makes sense :)
I think that's the way to do it. I shared a template I used on last cfgmgmt talk via PR to community templates. I'll be happy if you test it and share your findings in the PR :-)
We could also go further and define REX feature object and add a button somewhere on host page or even bulk action to trigger the template.
- Status changed from New to Closed
- % Done changed from 0 to 100
- Status changed from Closed to New
- Pull request https://github.com/theforeman/community-templates/pull/340 added
I'm reopening since there might be more than just a template. My apologies, I should have used Refs.
- Related to Feature #18734: Use Rex feature to initiate scans from UI added
- Status changed from New to Closed
The rest was implemented by #18734
Also available in: Atom
PDF