Ejemplo n.º 1
0
    def get_distro_vers(self):
        if not self.anchore_analyzer_meta:
            self.anchore_analyzer_meta = anchore_utils.load_analysis_output(self.meta['imageId'], 'analyzer_meta', 'analyzer_meta')

        if not 'DISTROVERS' in self.anchore_analyzer_meta:
            return ("")

        return (self.anchore_analyzer_meta['DISTROVERS'])
Ejemplo n.º 2
0
    def get_allpkgs(self):
        if not self.anchore_allpkgs:
            self.anchore_allpkgs = anchore_utils.load_analysis_output(self.meta['imageId'], 'package_list', 'pkgs.all')

        return (self.anchore_allpkgs)
Ejemplo n.º 3
0
    def get_allfiles(self):
        if not self.anchore_allfiles:
            self.anchore_allfiles = anchore_utils.load_analysis_output(self.meta['imageId'], 'file_checksums', 'files.sha256sums')

        return (self.anchore_allfiles)