-
Bug
-
Resolution: Done
-
Minor
-
6.13.0
Description of problem: Output of "hammer scap-content bulk-upload" command showing extra unexpected words in the result, output of command can be more specific.
Version-Release number of selected component (if applicable): 6.13.0
How reproducible: Always
Steps to Reproduce:
1. ssh to satellite server
2. execute hammer cli command
- hammer scap-content bulk-upload --type default
- hammer scap-content bulk-upload --type directory --directory /usr/share/xml/scap/ssg/content/
Actual results:
vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
#1. Loading the Default OpenSCAP Contents
[root@ip-fqdn ~]# hammer scap-content bulk-upload --type default
Errors:
Uploaded Scap Contents:
Scap Contents uploaded.
#2. Uploading Additional SCAP Content
[root@ip-fqdn ~]# hammer scap-content bulk-upload --type directory --directory /usr/share/xml/scap/ssg/content/
Errors:
Uploaded Scap Contents:
1) Id: 6
Title: firefox content
Original Filename: ssg-firefox-ds.xml
2) Id: 7
Title: rhel6 content
Original Filename: ssg-rhel6-ds.xml
3) Id: 8
Title: rhel7 content
Original Filename: ssg-rhel7-ds.xml
4) Id: 9
Title: rhel8 content
Original Filename: ssg-rhel8-ds.xml
Scap Contents uploaded.
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Expected results:
The output of command should be specific with result only or word "Error:" could be hidden if there is no error and only successful output message could be displayed.
Additional info: