Project

General

Profile

Actions

Feature #17229

closed

Initiate OpenSCAP scan from web ui

Added by Ondřej Pražák over 7 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Target version:
-
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1339715
Description of problem:
Request enhancement of Foreman's OpenSCAP to start a scan of a selected host (or possibly more than one host) immediately via the Web UI.
There is a manual process via CLI, but being able to do this in the Web UI would be useful.


Related issues 1 (0 open1 closed)

Related to OpenSCAP - Feature #18734: Use Rex feature to initiate scans from UIClosedOndřej Pražák03/01/2017Actions
Actions #1

Updated by Ondřej Pražák over 7 years ago

  • Subject changed from Initiate OpenSCAP scan from web ui to Initiate OpenSCAP scan from web ui
  • Target version set to 115
Actions #2

Updated by Shlomi Zadok about 7 years ago

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 :)

Actions #3

Updated by Marek Hulán about 7 years ago

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 :-)

Actions #4

Updated by Marek Hulán about 7 years ago

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.

Actions #5

Updated by Anonymous about 7 years ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100
Actions #6

Updated by Marek Hulán about 7 years ago

  • 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.

Actions #7

Updated by Ondřej Pražák about 7 years ago

  • Related to Feature #18734: Use Rex feature to initiate scans from UI added
Actions #8

Updated by Marek Hulán about 7 years ago

  • Status changed from New to Closed

The rest was implemented by #18734

Actions

Also available in: Atom PDF