ssg.oval module

ssg.oval.applicable_platforms(oval_file, oval_version_string=None)[source]

Returns the applicable platforms for a given oval file

ssg.oval.parse_affected(oval_contents)[source]

Returns the tuple (start_affected, end_affected, platform_indents) for the passed oval file contents. start_affected is the line number of starting tag of the <affected> element, end_affected is the line number of the closing tag of the </affected> element, and platform_indents is a string containing the indenting characters before the contents of the <affected> element.