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 <[email protected]>:

>  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>'$CONTENT_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 <[email protected]>:
>
>>  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 
>> [email protected]https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss
>>
>>
>>
>
_______________________________________________
Openvas-discuss mailing list
[email protected]
https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss

Reply via email to