Hello,
I am trying to test how new rules can be added to SUSE. I could not find any documentation
so this is what I have done so far:
1) Added a new file input/xccdf/system/permissions/files.xml with a couple of rules to
check file ownership and permissions of the passwd file. These are copies on the same in
RHEL/6 folder.
2) Updated the guide.xslt file for including this group.
3) Added "<platform>multi_platform_sle</platform>" to the
appropriate OVAL checks in shared/oval.
4) Added "# platform = multi_platform_sle" to the appropriate fix scripts in
/shared/templates/static/bash.
5) Modified Make to remove CentOS related operations from derivatives, guide and validate
because they were breaking and are possibly not relevant to SUSE anyhow.
With this I am able to complete the build without errors and generate the output files.
[Make fails for the latest sources fetched from the git repo]
I would like to start contributing the rules into SUSE directory. Would the above process
be alright? Also, I do not know what needs to be done for the reference and ident tags in
XCCDF. Please advise.
Thank you.
Regards,
Gautam.