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 about 7 years ago. Updated over 6 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

Also available in: Atom PDF