<html><body><p><font size="2">Hi Bill,</font><br><br><font size="2">I installed by using apt-get and I did not compile the code.  And it did not put the /usr/share/openscap/cpe/openscap-cpe-dict.xml and openscap-cpe-oval.xml files at all.   That's why I was looking for them with Ububtu 18 in it.  I just looked at the dict and oval file sin the link Jan sent and they don't have any references to Ububtu like you mentioned.   while waiting on this to get worked out I have installed/setup a RHEL 7.6 server.  It has these files and worked without any issues pretty much as soon as I got it installed.  The Ubuntu software is much more difficult to get operational.   How would I go about getting those version 8 dict and oval files to test with?</font><br><br><br><br><br>
<table style="width:400px;" border="0" cellspacing="0" cellpadding="0"><tr valign="top"><td style="width:100px;" width="151"><img src="cid:1__=0ABB0904DFCCAF028f9e8a93df938690918c0AB@" width="150" height="149"></td><td style="width:300px; padding-top:10px;" width="336"><b><font color="#4F4F4F" face="Corbel">Thanks,</font></b><br><b><font color="#4F4F4F" face="Corbel">Todd M. Williams</font></b><br><b><font size="2" color="#4F4F4F" face="Corbel">Unix System Admin, devIT-US, AIX/Linux/CC/CQ/SPoRT/DB2</font></b><br><font size="2" color="#4F4F4F" face="Gill Sans MT">Phone: 772-257-5706 | Mobile: 772-925-2042</font><br><font size="2" color="#4F4F4F" face="Gill Sans MT">E-Mail:</font><font size="2" face="Gill Sans MT"> </font><font size="2">toddmw@us.ibm.com</font><br><b><font size="4" color="#4F4F4F" face="Corbel">devIT</font></b></td></tr></table><br><br><img width="16" height="16" src="cid:2__=0ABB0904DFCCAF028f9e8a93df938690918c0AB@" border="0" alt="Inactive hide details for "Boucher, William" ---02/04/2019 11:16:12 AM---Hi Todd and Jan, Please excuse me, I do not intend to "><font size="2" color="#424282">"Boucher, William" ---02/04/2019 11:16:12 AM---Hi Todd and Jan, Please excuse me, I do not intend to hijack Jan's thread but I believe the followin</font><br><br><font size="2" color="#5F5F5F">From:        </font><font size="2">"Boucher, William" <William.Boucher@mza.com></font><br><font size="2" color="#5F5F5F">To:        </font><font size="2">Jan Cerny <jcerny@redhat.com>, Todd Williams <toddmw@us.ibm.com>, "gapinski@nasa.gov" <gapinski@nasa.gov></font><br><font size="2" color="#5F5F5F">Cc:        </font><font size="2">Open-scap-list <open-scap-list@redhat.com></font><br><font size="2" color="#5F5F5F">Date:        </font><font size="2">02/04/2019 11:16 AM</font><br><font size="2" color="#5F5F5F">Subject:        </font><font size="2">RE: Ubuntu Security Guide content</font><br><hr width="100%" size="2" align="left" noshade style="color:#8091A5; "><br><br><br><tt><font size="2">Hi Todd and Jan,<br><br>Please excuse me, I do not intend to hijack Jan's thread but I believe the following may be related enough to be helpful.<br><br>These OpenSCAP CPE files exist on my system at /usr/local/share/openscap/cpe/, after compiling openscap from source on my machine. But neither they nor the versions available via the links provided below have any references to Ubuntu in them. Browsing through the files I see, for example, sections in the xml files for various flavors of rhel, opensuse, fedora, etc. but Ubuntu is not there.<br><br>Compiling the ssg from source (at /usr/local/src/ComplianceAsCode/content/) does put Ubuntu-specific cpe files {ssg-ubuntu1604-cpe-dictionary.xml, ssg-ubuntu1604-cpe-oval.xml, ssg-ubuntu1804-cpe-dictionary.xml, ssg-ubuntu1804-cpe-oval.xml} in /usr/local/share/xml/scap/ssg/content, as well as similarly named ds, ocil, oval and xccdf files.<br><br>Running scap using these files, however, with the command:<br><br>sudo oscap xccdf eval –profile standard –results-arf ./results-arf.xml –report ./report-ds.html –results ./results-ds.xml /usr/local/share/xml/scap/ssg/content/ssg-ubuntu1604-ds.xml<br><br>results in 15 rules passed, 6 inconclusive (unknown) and 24 notapplicable. The notapplicable rules (ignored by oscap) seem to refer to the STIG controls I would consider the most applicable for evaluation.<br><br>Since my install is Ubuntu 16.04.5, not Ubuntu 18, I would be interested to see the results Todd Williams would get running this on his install. In an earlier thread (Benchmark for Canonical Ubuntu 16.04 LTS), Gary did get similar results with Ubuntu 18 and stated "Determining why rules end up notapplicable, or seem to be skipped during evaluation, will require additional inspection, as will evaluating the veracity of the passes and fails".<br><br>Is anybody looking at this on the development side (determining why rules end up nonapplicable)?<br><br>Thanks,<br><br>                 --Bill<br><br>William B. Boucher, BSEE<br>Embedded Systems Software Engineer <br>Information Systems Security Manager<br>MZA Associates Corporation<br>4900 Lang Ave. NE, Suite 100<br>Albuquerque, NM 87109-9708<br>Phone: 505.245.9970 x166<br>Fax: 505.245.9971<br>Cell: 505.459.7620<br>william.boucher@mza.com<br><br><br>-----Original Message-----<br>From: open-scap-list-bounces@redhat.com [</font></tt><tt><font size="2"><a href="mailto:open-scap-list-bounces@redhat.com">mailto:open-scap-list-bounces@redhat.com</a></font></tt><tt><font size="2">] On Behalf Of Jan Cerny<br>Sent: Monday, February 4, 2019 2:01 AM<br>To: Todd Williams <toddmw@us.ibm.com><br>Cc: Open-scap-list <open-scap-list@redhat.com><br>Subject: Re: [Open-scap] Ubuntu Security Guide content<br><br>Hi,<br><br>You're correct it's missing CPE dictionary and CPE OVAL. <br>The files are located here:<br></font></tt><tt><font size="2"><a href="https://github.com/OpenSCAP/openscap/blob/maint-1.2/cpe/openscap-cpe-dict.xml">https://github.com/OpenSCAP/openscap/blob/maint-1.2/cpe/openscap-cpe-dict.xml</a></font></tt><tt><font size="2"><br></font></tt><tt><font size="2"><a href="https://github.com/OpenSCAP/openscap/blob/maint-1.2/cpe/openscap-cpe-oval.xml">https://github.com/OpenSCAP/openscap/blob/maint-1.2/cpe/openscap-cpe-oval.xml</a></font></tt><tt><font size="2"><br>They're list of platform definitions based on which the platform applicability of SCAP content is determined.<br>OpenSCAP expect them to be present in '/usr/share/openscap/cpe/'<br><br>I'm not an Ubuntu user, so I'm only guessing, but I think that downloading these files and saving them to '/usr/share/openscap/cpe/' should help.<br><br>This is probably a bug in Ubuntu packaging, because it seems Ubuntu doesn't ship these files in its packages, but they are required by OpenSCAP to work correctly. You can try to file a bug report on Ubuntu.<br><br>Regards<br><br>Jan Černý<br>Security Technologies | Red Hat, Inc.<br><br>----- Original Message -----<br>> From: "Todd Williams" <toddmw@us.ibm.com><br>> To: "Jan Cerny" <jcerny@redhat.com><br>> Sent: Friday, February 1, 2019 4:35:50 PM<br>> Subject: Re: [Open-scap] Ubuntu Security Guide content<br>> <br>> <br>> Hi Jan,<br>> <br>> So I was able to use ssg-ubuntu1804-ds.xml in scap-workbench on Ubuntu <br>> 18.4, and I got this error when I ran the scan<br>> <br>> <br>> 14:27:38<br>> info<br>> SCAP Workbench 1.1.5, compiled with Qt 4.8.7, using OpenSCAP 1.2.15<br>> <br>> <br>> 14:28:16<br>> info<br>> Opened file '/root/scap-security-guide-0.1.42/ssg-ubuntu1804-ds.xml'.<br>> <br>> <br>> 14:28:25<br>> info<br>> Querying capabilities...<br>> <br>> <br>> 14:28:25<br>> info<br>> Creating temporary files...<br>> <br>> <br>> 14:28:25<br>> info<br>> Starting the oscap process...<br>> <br>> <br>> 14:28:25<br>> info<br>> Processing...<br>> <br>> <br>> 14:28:30<br>> error<br>> The 'oscap' process has written the following content to stderr: <br>> OpenSCAP<br>> Error: Unable to open file:<br>> '/usr/share/openscap/cpe/openscap-cpe-dict.xml'<br>> [../../../src/source/oscap_source.c:284]<br>> <br>> <br>> <br>> 14:28:30<br>> error<br>> The 'oscap' process has written the following content to stderr: <br>> Failed to add default CPE to newly created CPE Session.<br>> [../../../src/CPE/cpe_session.c:58]<br>> <br>> <br>> 14:28:30<br>> info<br>> The oscap tool has finished. Reading results...<br>> <br>> <br>> 14:28:30<br>> info<br>> Processing has been finished!<br>> <br>> <br>> 14:28:58<br>> info<br>> Querying capabilities...<br>> <br>> <br>> 14:28:58<br>> info<br>> Creating temporary files...<br>> <br>> <br>> 14:28:58<br>> info<br>> Starting the oscap process...<br>> <br>> <br>> 14:28:58<br>> info<br>> Processing...<br>> <br>> <br>> 14:29:00<br>> error<br>> The 'oscap' process has written the following content to stderr: <br>> OpenSCAP<br>> Error: Unable to open file:<br>> '/usr/share/openscap/cpe/openscap-cpe-dict.xml'<br>> [../../../src/source/oscap_source.c:284]<br>> <br>> <br>> <br>> 14:29:00<br>> error<br>> The 'oscap' process has written the following content to stderr: <br>> Failed to add default CPE to newly created CPE Session.<br>> [../../../src/CPE/cpe_session.c:58]<br>> <br>> <br>> 14:29:00<br>> info<br>> The oscap tool has finished. Reading results...<br>> <br>> <br>> 14:29:00<br>> info<br>> Processing has been finished!<br>> <br>> <br>> So I went to /usr/share/openscap/cpe and the only file there is the <br>> README, so I read it and it pointed me to <br>> </font></tt><tt><font size="2"><a href="https://nvd.nist.gov/Products/CPE">https://nvd.nist.gov/Products/CPE</a></font></tt><tt><font size="2">.  I found these files there:<br>> official-cpe-dictionary_v2.3.xml.gz<br>> official-cpe-dictionary_v2.2.xml.gz<br>> Can I rename and use 1 of these?<br>> <br>> I have it setup and running on RHEL 7.6 and when I look at that dir on <br>> that system it has 2 files, can I use them?<br>> openscap-cpe-dict.xml<br>> openscap-cpe-oval.xml<br>> <br>> <br>> BTW, the setup for RHEL goes much smoother than Ubuntu..<br>> <br>>                                                                   <br>>                                                                   <br>>                                                                   <br>>                        Thanks,<br>>                        Todd M. Williams<br>>                        Unix System Admin, devIT-US,<br>>                        AIX/Linux/CC/CQ/SPoRT/DB2<br>>                        Phone: 772-257-5706 | Mobile: 772-925-2042<br>>                        E-Mail: toddmw@us.ibm.com<br>>                        devIT<br>>                                                                   <br>> <br>> <br>> <br>> <br>> <br>> <br>> From:                 Jan Cerny <jcerny@redhat.com><br>> To:                 Todd Williams <toddmw@us.ibm.com><br>> Cc:                 open-scap-list@redhat.com<br>> Date:                 01/31/2019 03:57 AM<br>> Subject:                 Re: [Open-scap] Ubuntu Security Guide content<br>> <br>> <br>> <br>> Hi Todd,<br>> <br>> The security content is provided by "ComplianceAsCode" project, which <br>> was up until recently known as "SCAP Security Guide" or "SSG".<br>> See<br>> </font></tt><tt><font size="2"><a href="INVALID URI REMOVED">INVALID URI REMOVED</a></font></tt><tt><font size="2"><br>> anceAsCode_content&d=DwIFaQ&c=jf_iaSHvJObTbx-siA1ZOg&r=4BwPnN3sPgNQjva<br>> J-rrOQD9wYgWK1vlNlqk921f9rTw&m=barf9ggX12ptwUtL39Zr4DrVw-plD8VA-rt4jH2<br>> TyNY&s=vNHYFU2k7A2CSeZR_c_PoqpDjWzZyFy8U9Hlze2Zwis&e=<br>> <br>> <br>> The security content is packaged in Ubuntu since Ubuntu 18.04 (Bionic <br>> Beaver).<br>> The packages are: ssg-base, ssg-debderived, ssg-debian,  <br>> ssg-nondebian, ssg-applications.<br>> <br>> However, the packages contain outdated versions of upstream content, <br>> and AFAIK the content in the packages is applicable to Ubuntu 16.04 an <br>> 14.04. That is kind of useless on 18.04 :)<br>> <br>> Therefore, I suggest downloading the latest upstream release from GitHub:<br>> </font></tt><tt><font size="2"><a href="INVALID URI REMOVED">INVALID URI REMOVED</a></font></tt><tt><font size="2"><br>> anceAsCode_content_releases_download_v0.1.42_scap-2Dsecurity-2Dguide-2<br>> D0.1.42.zip&d=DwIFaQ&c=jf_iaSHvJObTbx-siA1ZOg&r=4BwPnN3sPgNQjvaJ-rrOQD<br>> 9wYgWK1vlNlqk921f9rTw&m=barf9ggX12ptwUtL39Zr4DrVw-plD8VA-rt4jH2TyNY&s=<br>> GptJ9IxTd3-Np6P-SIHAUZuzbMwBN7Wb8PtIx3KameE&e=<br>> <br>> Extract the archive and then open ssg-ubuntu1804-ds.xml in SCAP Workbench.<br>> <br>> Thank you very much for reminding us about the outdated web site. I <br>> will try to update the web soon.<br>> <br>> Best Regards<br>> <br>> Jan Černý<br>> Security Technologies | Red Hat, Inc.<br>> <br>> <br>> <br>> ----- Original Message -----<br>> > From: "Todd Williams" <toddmw@us.ibm.com><br>> > To: open-scap-list@redhat.com<br>> > Sent: Wednesday, January 30, 2019 6:58:40 PM<br>> > Subject: [Open-scap] Ubuntu Security Guide content<br>> ><br>> ><br>> ><br>> > Hello,<br>> ><br>> > I am new to SCAP and have been tasked with setting it up on a Ubuntu <br>> > test system. It is running Ubuntu 18.04.1 LTS. I have these 2 <br>> > packages<br>> installed:<br>> ><br>> > libopenscap8/bionic,now 1.2.15-1build1 amd64 [installed] <br>> > scap-workbench/bionic,now 1.1.5-1 amd64 [installed]<br>> ><br>> > I can bring up the GUI for the workbench, but with no security <br>> > content I<br>> am<br>> > stuck as far as being able to run a scan and/or editing the security <br>> > requirements. According to the web site there is no security guide <br>> > for Ubuntu.<br>> ><br>> ><br>> ><br>> > But I have been told that there is a package for Ubuntu out there,<br>> "apt-get<br>> > list" did not return anything, can someone tell if there is or not?<br>> ><br>> ><br>> ><br>> >                                    Thanks,<br>> > Todd M. Williams<br>> > Unix System Admin, devIT-US, AIX/Linux/CC/CQ/SPoRT/DB2<br>> > Phone: 772-257-5706 | Mobile: 772-925-2042<br>> > E-Mail: toddmw@us.ibm.com<br>> > devIT<br>> ><br>> ><br>> > _______________________________________________<br>> > Open-scap-list mailing list<br>> > Open-scap-list@redhat.com<br>> ><br>> </font></tt><tt><font size="2"><a href="INVALID URI REMOVED">INVALID URI REMOVED</a></font></tt><tt><font size="2"><br>> ilman_listinfo_open-2Dscap-2Dlist&d=DwIFaQ&c=jf_iaSHvJObTbx-siA1ZOg&r=<br>> 4BwPnN3sPgNQjvaJ-rrOQD9wYgWK1vlNlqk921f9rTw&m=barf9ggX12ptwUtL39Zr4DrV<br>> w-plD8VA-rt4jH2TyNY&s=kdZJkE-OdFBK63L1uDxwv2iEG2aif_xR_Ad9o_xmqhQ&e=<br>> <br>> <br>> <br>> <br>> <br><br>_______________________________________________<br>Open-scap-list mailing list<br>Open-scap-list@redhat.com<br></font></tt><tt><font size="2"><a href="https://www.redhat.com/mailman/listinfo/open-scap-list">https://www.redhat.com/mailman/listinfo/open-scap-list</a></font></tt><tt><font size="2"><br><br></font></tt><br><br><BR>
</body></html>