Project

General

Profile

Actions

Feature #14158

closed

Tailoring file support

Added by mattison ward about 8 years ago. Updated almost 6 years ago.


Description

Would it be possible to reference a tailoring file in the config so something like this could be run?

oscap xccdf eval --profile xccdf_org.ssgproject.content_profile_rht-ccp_tailored --tailoring-file tailored-rhel6.xml

This puppet module could be changed to deliver the tailoring file and to make it different based on OS/hostgroup, etc https://github.com/theforeman/puppet-foreman_scap_client

One option would be to have a second parameter for foreman_scap_client that was 'custom options' ($2 below) that would let one pass any oscap options to the command such as --tailoring-file or anything else.

oscap xccdf eval --profile $1 $2

Actions #1

Updated by Marek Hulán over 7 years ago

  • Project changed from 36 to OpenSCAP
  • Triaged set to No
Actions #2

Updated by Marek Hulán over 7 years ago

  • Subject changed from tailoring file to Tailoring file support
  • Target version set to 115

I think we could allow uploading tailoring files to Foreman and then allowing to select uploaded tailoring file on policy level. Since policies are normally applied per host group this should be enough. If different OSes needs different tailoring files, this would mean also different policies per OS but I think also XCCDF profiles are usually different for different OSes.

More technical things - tailoring file would have to be stored on OpenSCAP enabled proxy, foreman_scap_client would have to be able to detect it needs to download it from there. Therefore puppet module and ENC would require one more parameter - tailoring file.

Actions #3

Updated by Marek Hulán over 7 years ago

  • Target version changed from 115 to 1.4.4
Actions #4

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

  • Status changed from New to Assigned
  • Assignee set to Ondřej Pražák
Actions #5

Updated by The Foreman Bot over 7 years ago

  • Status changed from Assigned to Ready For Testing
  • Pull request https://github.com/theforeman/smart_proxy_openscap/pull/39 added
Actions #6

Updated by The Foreman Bot over 7 years ago

  • Pull request https://github.com/theforeman/foreman_openscap/pull/225 added
Actions #7

Updated by Marek Hulán over 7 years ago

  • Target version changed from 1.4.4 to 1.10.1
Actions #8

Updated by The Foreman Bot over 7 years ago

  • Pull request https://github.com/theforeman/foreman_openscap/pull/231 added
Actions #9

Updated by Marek Hulán over 7 years ago

  • Target version changed from 1.10.1 to 1.10.2
Actions #10

Updated by Marek Hulán over 7 years ago

  • Pull request deleted (https://github.com/theforeman/foreman_openscap/pull/231)
Actions #11

Updated by Marek Hulán over 7 years ago

  • Pull request https://github.com/theforeman/puppet-foreman_scap_client/pull/31 added
Actions #12

Updated by Marek Hulán over 7 years ago

  • Pull request https://github.com/theforeman/foreman_scap_client/pull/18 added
Actions #13

Updated by Marek Hulán over 7 years ago

  • translation missing: en.field_release set to 200
Actions #14

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

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions #15

Updated by Marek Hulán over 7 years ago

  • Bugzilla link set to 1292510
Actions #16

Updated by Marek Hulán about 7 years ago

  • Status changed from Closed to Ready For Testing
  • Target version changed from 1.10.2 to 1.11.4
  • Pull request https://github.com/theforeman/foreman_scap_client/pull/19 added

foreman_scap_client version supporting this 0.3.0

Actions #17

Updated by Marek Hulán about 7 years ago

  • Target version changed from 1.11.4 to 1.12.1
Actions #18

Updated by Marek Hulán about 7 years ago

  • Status changed from Ready For Testing to Closed

smart_proxy_openscap 0.6.1
hammer_cli_foreman_openscap 0.1.3

Actions

Also available in: Atom PDF