RpmPkgs - datasource rpm_pkgs

Parser for CVE-2021-35937, CVE-2021-35938, and CVE-2021-35939. For more information, see the rpm_pkgs datasource.

class insights.parsers.rpm_pkgs.RpmPkgs(context)[source]

Bases: Parser

Class for enabling the data from the rpm_pkgs datasource.

Sample output of this datasource is:

["httpd-core"]

Examples

>>> type(rpm_pkgs)
<class 'insights.parsers.rpm_pkgs.RpmPkgs'>
>>> rpm_pkgs.packages
['httpd-core']
parse_content(content)[source]

This method must be implemented by classes based on this class.