Project

General

Profile

Actions

Bug #21509

closed

scap content/policy/tailoring file info don't show locations and organizations

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

Status:
Closed
Priority:
Normal
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

Description

Description of problem: We created tailoring file/policy/scap content including location and organization parameter and tried to see info using hammer CLI of created tailoring file/policy/scap content. But location and organization info found blank.

How reproducible: always

Steps to Reproduce:

1. hammer> tailoring-file create --name rhel_1 --scap-file ssg-rhel7-ds-tailoring1.xml --original-filename rhel7_tailoring_file --location-ids 2 --organization-ids 1
Tailoring file successfully created

2. hammer> tailoring-file list
---|-----------------
ID | NAME
---|-----------------
1 | tailoring1_rhel7
2 | rhel_1
---|-----------------

3. hammer> tailoring-file info --id 2
Id: 2
Name: rhel_1
Created at: 2017-10-23 05:38:28 UTC
Original filename: rhel7_tailoring_file
Tailoring file profiles:
1) Id: 31
Profile id: xccdf_org.ssgproject.content_profile_common_customized_tailoring1
Title: Common Profile for General-Purpose Systems [CUSTOMIZED1]
Locations:

Organizations:

Same behaviour for policy and scap content.

Actual results:
Locations and organizations parameters was blank.

Expected results:
Locations and organizations info should display.

Actions #1

Updated by The Foreman Bot over 6 years ago

  • Status changed from New to Ready For Testing
  • Assignee set to Ondřej Pražák
  • Pull request https://github.com/theforeman/foreman_openscap/pull/306 added
Actions #2

Updated by Marek Hulán over 6 years ago

  • Subject changed from scap content/policy/tailoring file info don't show locations and organizations to scap content/policy/tailoring file info don't show locations and organizations
  • translation missing: en.field_release set to 322
Actions #3

Updated by Marek Hulán over 6 years ago

  • translation missing: en.field_release changed from 322 to 328
Actions #4

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

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

Also available in: Atom PDF