Bug 1471801
Summary: | No information displayed on creation of scap content from CLI | ||
---|---|---|---|
Product: | Red Hat Satellite | Reporter: | Sanket Jagtap <sjagtap> |
Component: | SCAP Plugin | Assignee: | Ondřej Pražák <oprazak> |
Status: | CLOSED ERRATA | QA Contact: | Nikhil Kathole <nkathole> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 6.3.0 | CC: | bbuckingham, ehelms, mhulan, nkathole, oprazak, sjagtap |
Target Milestone: | Unspecified | Keywords: | Triaged |
Target Release: | Unused | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | foreman-openscap-0.7.5 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2018-02-21 17:12:01 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Sanket Jagtap
2017-07-17 13:14:24 UTC
Sanket, is this a regression from 6.2? No, This is new feature for 6.3 , OSCAP CLI support Created redmine issue http://projects.theforeman.org/issues/20606 from this bug Upstream bug assigned to oprazak Upstream bug assigned to oprazak Moving this bug to POST for triage into Satellite 6 since the upstream issue http://projects.theforeman.org/issues/20606 has been resolved. Hi, While verifying, I found Message and ID info. Whether "Name" is expected? # hammer -u admin -p changeme --output=csv scap-content create --title="apple" --scap-file="ssg-rhel6-ds.xml" Message,Id Scap content successfully created,5 Hi, scap content does not have a name, it has a title instead. The output formatter checks for id and name attributes and displays them automatically. As soon as we make output formatter for csv look for title attribute, this will display title as well VERIFIED Version Tested: Satellite-6.3 Snap 15 steps: # hammer --output=csv -u admin -p changeme scap-content create --title="test" --scap-file="ssg-rhel6-ds.xml" Message,Id Scap content successfully created,18 Verifying this bug as notification and ID successfully displayed in output and will file another bug for addition of title in success notification. Tracking the Title for scap-content issue Separately https://bugzilla.redhat.com/show_bug.cgi?id=1496810 Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2018:0336 |