Project

General

Profile

Actions

Bug #20887

closed

No information displayed on updation of scap content from CLI

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

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

Description

How reproducible:
Always

Steps to Reproduce:

LANG=en_US.UTF-8 hammer -v -u admin -p changeme --output=csv scap-content create --title="THDzJvYYEC" --scap-file="/tmp/ssg-rhel6-ds.xml"

<<< stdout
Message,Id
Scap content successfully created,21

LANG=en_US.UTF-8 hammer -v -u admin -p changeme scap-content info --id="21"

<<< stdout
Id: 21
Title: THDzJvYYEC
Created at: 2017-09-11 09:33:55 UTC
Original filename:
Scap content profiles:
1) Id: 237
Profile id: xccdf_org.ssgproject.content_profile_standard
Title: Standard System Security Profile
2) Id: 238
Profile id: xccdf_org.ssgproject.content_profile_CS2
Title: Example Server Profile

LANG=en_US.UTF-8 hammer -v -u admin -p changeme --output=csv scap-content update --new-title="DxCiXwTtNc" --title="THDzJvYYEC"

<<< stdout
Message,Id,Name
Scap content updated,id,name

Actual results:
No data in stdout

Expected results:
Actual ID and name should be printed

Actions

Also available in: Atom PDF