CISecurity / OVALRepo

266 stars 123 forks source link

Namespace vs Prefix, uniformity #1176

Open SergeyArtykhov opened 6 years ago

SergeyArtykhov commented 6 years ago

Hello,

I discovered that "namespace vs prefix" issue in the OVAL repository. Part of the elements contains prefixes and another part doesn't contain. Are here any reasons for such situation? I would like to use uniformity style for the OVAL repository.

Below are statistics for OVAL variables ("namespace vs prefix"):

We have 578 variables (https://github.com/CISecurity/OVALRepo/tree/master/repository/variables) at this moment.

242 variables have the prefix "oval-def".

Example: https://github.com/CISecurity/OVALRepo/blob/master/repository/variables/oval_org.cisecurity_var_1.xml

Other 336 variables don't have the prefix.

Example: https://github.com/CISecurity/OVALRepo/blob/master/repository/variables/oval_org.cisecurity_var_10.xml

There is related issue: https://github.com/CISecurity/OVALRepo/issues/1150

Best Regards, Sergey

SergeyArtykhov commented 6 years ago

Below are statistics for OVAL definitions.

We have 30921 definitions (https://github.com/CISecurity/OVALRepo/tree/master/repository/definitions) at this moment.

6097 definitions have the prefix "oval-def". Other 24824 definitions don't have the prefix.

Best Regards, Sergey

SergeyArtykhov commented 6 years ago

I downloaded "All OVAL Definitions" file for v5.11.2 (https://oval.cisecurity.org/repository/download/5.11.2/all/oval.xml). It also contains mixed content (prefix "oval-def").

image

zport commented 6 years ago

Relates to OVALProject/Language#172