Le 26/12/2017 à 17:15, Olivier BONHOMME a écrit :
Hello everybody,
I'm trying to write my first OVAL check and the associated remediation
script. For my first try, I decided to test with a simple check
https://github.com/OpenSCAP/scap-security-guide/issues/1861.
I think, I succedeed writing the OVAL check but I have big issues with
the remediation : When I execute the remediate command using the results
file from the eval command, my remediation is never selected.
After some investigations, I realized that the fix wasn't generated into
the results file.
Hello again,
I have to make a quick update. I realized that I wasn't using the
correct results file :(. Sorry for the noise about that terrible mistake !
So there is some progress but now I have now an issue that I really
don't understand.
When using the (correct) results file with the command oscap remediate,
it seems that the remediation I wrote is never selected nor even
analyzed : I enabled vebose mode with the DEVEL level and I can't see
anything about the remediation i wrote in the stacktrace.
Does anybody have an idea why my remediation is not selected ? I updated
the GIST with the correct results file.
Important precision : I use CentOS and not RHEL.
Thanks again for your help
Regards,
Olivier Bonhomme