Project

General

Profile

Bug #21509

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

Added by Ondřej Pražák about 4 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Normal
Difficulty:
Triaged:
No
Bugzilla link:
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.

Associated revisions

Revision ceed90df (diff)
Added by Ondřej Pražák about 4 years ago

Fixes #21509 - Add taxonomy title to API output

History

#1 Updated by The Foreman Bot about 4 years ago

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

#2 Updated by Marek Hulán about 4 years ago

  • Legacy Backlogs Release (now unused) set to 322
  • 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

#3 Updated by Marek Hulán about 4 years ago

  • Legacy Backlogs Release (now unused) changed from 322 to 328

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

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

Also available in: Atom PDF