Project

General

Profile

Actions

Feature #23702

closed

have arf report ID be visible from the command line of the scpa client after report upload

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

Status:
Resolved
Priority:
Normal
Assignee:
-
Target version:
-
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

Description

Description of problem:
At the end of a scap run the client reports this:

"Uploading results to https://foreman.example.com:9090/compliance/arf/#"

In addition to this, it would be convenient to have the report number be reported back in the command line so that the report is easier to find, via a simple URL link or report ID.[

For example:
  1. foreman_scap_client 1
    DEBUG: running: oscap xccdf eval --profile xccdf_org.ssgproject.content_profile_common --results-arf /tmp/d20180221-5307-rcb3q1/results.xml /var/lib/openscap/content/96c2a9d5278d5da905221bbb2dc61d0ace7ee3d97f021fccac994d26296d986d.xml
    WARNING: This content points out to the remote resources. Use `--fetch-remote-resources' option to download them.
    WARNING: Skipping https://www.redhat.com/security/data/oval/com.redhat.rhsa-RHEL7.xml.bz2 file which is referenced from XCCDF content
    DEBUG: running: /usr/bin/bzip2 /tmp/d20180221-5307-rcb3q1/results.xml
    Uploading results to https://foreman.example.com:9090/compliance/arf/1
    The report can be found at https://foreman.example.com/compliance/arf_reports/23050

Related issues 1 (0 open1 closed)

Blocked by OpenSCAP - Feature #24939: Improve response returned to client from proxyClosedOndřej PražákActions
Actions

Also available in: Atom PDF