[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openvas-discuss
Subject:    Re: [Openvas-discuss] Openvas-8 : Problem trust import report format
From:       Yoann JOUVENT <yjouvent () sdninternational ! com>
Date:       2015-06-29 8:41:18
Message-ID: CAN7BYUvdVwEv7YCqzo8Sf=Rkt0Skb5gCLXvq5CmjH1LuAOWXRA () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Hello,

Thanks for your answers to my problem but I found the solution.
Now, I have another problem. When I use the scan config to recover
characteristics system, I don't have "collected_object". So ovaldi can't
realize its analysis. Should we set something extra in the config scan?
Which version of ovaldi do you recommend me?

Thanks.

JOUVENT Yoann
SDN International


2015-06-23 11:38 GMT+02:00 Yoann JOUVENT <yjouvent@sdninternational.com>:

> Thanks for your answer.
> I had already tried this solution but the problem is the same.
> It's my script "create_report_import" :
> 
> NAME="OVAL-SC"
> UUID='5919091e-fe52-11e1-93e5-001f29eadec8'
> EXTENSION=xml
> CONTENT_TYPE="text/xml"
> SUMMARY="OVAL System Characteristics"
> DESCRIPTION="OVAL System Characteristics 1.0.1"
> 
> #Names must be in alpabetical order
> FNAME1=generate
> FILE1=`base64 -w 0 generate`
> FNAME2=OVAL-SC.xsl
> FILE2=`base64 -w 0 OVAL-SC.xsl`
> 
> echo
> ${UUID}${EXTENSION}${CONTENT_TYPE}0${FNAME1}${FILE1}${FNAME2}${FILE2}>
> ${UUID}
> gpg --homedir=/usr/local/etc/openvas/gnupg --detach-sign --armor ${UUID}
> rm ${UUID}
> 
> 
> echo -n '<get_report_formats_response status="200"
> status_text="OK"><report_format
> id="'$UUID'"><name>'$NAME'<name><extension>'$EXTENSION'</extension><content_type>'$C \
> ONTENT_TYPE'</content_type><summary>'$SUMMARY'</summary><description>'$DESCRIPTION'</description><global>0</global><file
>  name="'$FNAME1'">'$FILE1'</file><file
> name="'$FNAME2'">'$FILE2'</file><signature>' > oval-sc.xml
> cat ${UUID}.asc >> oval-sc.xml
> echo -n '</signature></report_format></get_report_formats_response>'
> > > oval-sc.xml
> 
> **************
> 
> I take the uuid of report-format oval-sc available on the greenbone
> website because if I put UUID="uuid", I haven't id for the report-format. The
> problem could it come from there ?
> 
> Thanks.
> 
> JOUVENT Yoann
> SDN International
> 
> 
> 2015-06-22 20:27 GMT+02:00 Ryan Schulze <ryan@dopefish.de>:
> 
> > I just checked my scripts and I put the .asc in the report format xml
> > file (inside the <report_format> block).
> > 
> > echo -n '<signature>'
> > cat ${UUID}.asc
> > echo -n '</signature>'
> > 
> > 
> > 
> > On 6/15/2015 4:02 AM, Yoann JOUVENT wrote:
> > 
> > Hello,
> > 
> > I will want to use the report format OVAL-SC (
> > www.greenbone.net/download/rfps/oval-sc-1.0.1.xml) on Openvas-8 but when
> > I import the report format with gsad and I check the trust, the trust is
> > « unknow  » and I can't to use the report format.
> > 
> > I created a key gpg in the directory /etc/openvas/gnupg and after, I
> > created report format with the script  « create_report_import  ». I added the
> > report format on my installation with the command OMP and I put the file
> > .asc in the directory /var/lib/openvas/plugins/report_formats/ but when I
> > verify the trust, it is  « no  ».
> > 
> > Do you have a solution please ?
> > 
> > For information, I use Openvas-8 with Debian 7.
> > 
> > Thanks.
> > 
> > 
> > JOUVENT Yoann
> > SDN International
> > 
> > 
> > _______________________________________________
> > Openvas-discuss mailing \
> > listOpenvas-discuss@wald.intevation.orghttps://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss
> >  
> > 
> > 
> 


[Attachment #5 (text/html)]

<div dir="ltr"><div><div>Hello,<br><br>Thanks for your answers to my problem but I \
found the solution.<br>Now, I have another problem. When I use the scan config to \
recover characteristics system, I don&#39;t have &quot;collected_object&quot;. So \
ovaldi can&#39;t realize its analysis. Should we set something extra in the config \
scan? Which version of ovaldi do you recommend \
me?<br><br>Thanks.<br><br></div>JOUVENT Yoann</div>SDN \
International<br><div><div><br></div></div></div><div class="gmail_extra"><br><div \
class="gmail_quote">2015-06-23 11:38 GMT+02:00 Yoann JOUVENT <span dir="ltr">&lt;<a \
href="mailto:yjouvent@sdninternational.com" \
target="_blank">yjouvent@sdninternational.com</a>&gt;</span>:<br><blockquote \
class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex"><div dir="ltr">


	
	
	
	


<p style="margin-bottom:0cm;font-weight:normal;text-decoration:none" lang="en-GB" \
align="LEFT"> Thanks for your answer.</p>I had already tried this solution but the \
problem is the same.<br>It&#39;s my script "create_report_import" :

<p style="margin-bottom:0cm;font-weight:normal;text-decoration:none" lang="en-GB" \
align="LEFT"> NAME=&quot;OVAL-SC&quot;
</p>UUID=&#39;5919091e-fe52-11e1-93e5-001f29eadec8&#39;<br>EXTENSION=xml<br>CONTENT_TYPE=&quot;text/xml&quot;<br>SUMMARY=&quot;OVAL \
System Characteristics&quot;<br>DESCRIPTION=&quot;OVAL System Characteristics \
1.0.1&quot;

<p style="margin-bottom:0cm;font-weight:normal;text-decoration:none" lang="en-GB" \
align="LEFT">

</p>
<p style="margin-bottom:0cm;font-weight:normal;text-decoration:none" lang="en-GB" \
align="LEFT"> #Names must be in alpabetical order
</p>FNAME1=generate<br>FILE1=`base64 -w 0 generate`
<br>FNAME2=OVAL-SC.xsl<br>FILE2=`base64 -w 0 OVAL-SC.xsl`

<p style="margin-bottom:0cm;font-weight:normal;text-decoration:none" lang="en-GB" \
align="LEFT">

</p>
<p style="margin-bottom:0cm;font-weight:normal;text-decoration:none" lang="en-GB" \
align="LEFT"> echo
${UUID}${EXTENSION}${CONTENT_TYPE}0${FNAME1}${FILE1}${FNAME2}${FILE2}&gt;
${UUID}
</p>gpg --homedir=/usr/local/etc/openvas/gnupg --detach-sign --armor
${UUID}
<br>rm ${UUID}  <p style="margin-bottom:0cm;font-weight:normal;text-decoration:none" \
lang="en-GB" align="LEFT"><br></p>echo -n &#39;&lt;get_report_formats_response \
status=&quot;200&quot; status_text=&quot;OK&quot;&gt;&lt;report_format
id=&quot;&#39;$UUID&#39;&quot;&gt;&lt;name&gt;&#39;$NAME&#39;&lt;name&gt;&lt;extension \
&gt;&#39;$EXTENSION&#39;&lt;/extension&gt;&lt;content_type&gt;&#39;$CONTENT_TYPE&#39;& \
lt;/content_type&gt;&lt;summary&gt;&#39;$SUMMARY&#39;&lt;/summary&gt;&lt;description&g \
t;&#39;$DESCRIPTION&#39;&lt;/description&gt;&lt;global&gt;0&lt;/global&gt;&lt;file \
name=&quot;&#39;$FNAME1&#39;&quot;&gt;&#39;$FILE1&#39;&lt;/file&gt;&lt;file \
name=&quot;&#39;$FNAME2&#39;&quot;&gt;&#39;$FILE2&#39;&lt;/file&gt;&lt;signature&gt;&#39;
 &gt; oval-sc.xml<br>cat ${UUID}.asc &gt;&gt; oval-sc.xml<br>echo -n
&#39;&lt;/signature&gt;&lt;/report_format&gt;&lt;/get_report_formats_response&gt;&#39; \
&gt;&gt;oval-sc.xml

<p style="margin-bottom:0cm;font-weight:normal;text-decoration:none" lang="en-GB" \
                align="LEFT">
**************</p><p \
style="margin-bottom:0cm;font-weight:normal;text-decoration:none" lang="en-GB" \
align="LEFT">I take the uuid of report-format oval-sc available on the greenbone \
website because if I put UUID="uuid", I haven&#39;t id for the report-format. T<span \
lang="en">he problem could it come from there ?</span></p><span class="">

<p style="margin-bottom:0cm;font-weight:normal;text-decoration:none" lang="en-GB" \
align="LEFT"> <span lang="en">Thanks.</span></p><p \
style="margin-bottom:0cm;font-weight:normal;text-decoration:none" lang="en-GB" \
align="LEFT"><span lang="en">JOUVENT Yoann</span></p>

<div class="gmail_extra">SDN International<br><br><br></div></span><div><div \
class="h5"><div class="gmail_extra"><div class="gmail_quote">2015-06-22 20:27 \
GMT+02:00 Ryan Schulze <span dir="ltr">&lt;<a href="mailto:ryan@dopefish.de" \
target="_blank">ryan@dopefish.de</a>&gt;</span>:<br><blockquote class="gmail_quote" \
style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">  
    
  
  <div bgcolor="#FFFFFF" text="#000000">
    <div>I just checked my scripts and I put the
      .asc in the report format xml file (inside the
      &lt;report_format&gt; block).<br>
      <br>
             echo -n &#39;&lt;signature&gt;&#39;<br>
             cat ${UUID}.asc<br>
             echo -n &#39;&lt;/signature&gt;&#39;<div><div><br>
      <br>
      <br>
      On 6/15/2015 4:02 AM, Yoann JOUVENT wrote:<br>
    </div></div></div>
    <blockquote type="cite"><div><div>
      <div dir="ltr">
        <div>
          <p style="margin-bottom:0cm;font-weight:normal" align="LEFT"><span \
style="text-decoration:none">Hello, <br>  </span></p>
          <p style="margin-bottom:0cm;font-weight:normal" align="LEFT"><span \
style="text-decoration:none">I will want to use the report  format OVAL-SC
              (<a href="http://www.greenbone.net/download/rfps/oval-sc-1.0.1.xml" \
target="_blank">www.greenbone.net/download/rfps/oval-sc-1.0.1.xml</a>)  on Openvas-8 \
but when I import the report format with gsad  and I
              check the trust, the trust is  «  unknow   » and I can&#39;t to
              use the report format.</span></p>
          <p style="margin-bottom:0cm;font-weight:normal" align="LEFT"><span \
style="text-decoration:none">I created a key gpg in the  directory /etc/openvas/gnupg \
and after, I created report  format with the script
               «  create_report_import   ». I added the report format on my
              installation with the command OMP and I put the file .asc
              in the
              directory /var/lib/openvas/plugins/report_formats/ but
              when I verify
              the trust, it is  «  no   ».</span></p>
          <p style="margin-bottom:0cm;font-weight:normal" align="LEFT"><span \
style="text-decoration:none">Do  you have a solution please  ?</span></p>
          <p style="margin-bottom:0cm;font-weight:normal" align="LEFT"><span \
style="text-decoration:none">For  information, I use Openvas-8 with Debian \
                7.</span></p>
          <p style="margin-bottom:0cm;font-weight:normal" align="LEFT"><span \
                style="text-decoration:none">Thanks.</span></p>
          <p style="margin-bottom:0cm;font-weight:normal" align="LEFT"><br>
            <span style="text-decoration:none"></span></p>
          JOUVENT Yoann<br>
        </div>
        SDN International<br>
      </div>
      <br>
      <fieldset></fieldset>
      <br>
      </div></div><pre>_______________________________________________
Openvas-discuss mailing list
<a href="mailto:Openvas-discuss@wald.intevation.org" \
target="_blank">Openvas-discuss@wald.intevation.org</a> <a \
href="https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss" \
target="_blank">https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss</a></pre>
  </blockquote>
    <br>
  </div>

</blockquote></div><br></div></div></div></div>
</blockquote></div><br></div>



_______________________________________________
Openvas-discuss mailing list
Openvas-discuss@wald.intevation.org
https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic