def METHOD_NAME(self) -> None:
    for report in self.reports:
        for check in itertools.chain(report.passed_checks, report.skipped_checks):
            if report.check_type in SCA_CHECKTYPES and check.check_name != SCA_PACKAGE_SCAN_CHECK_NAME:
                continue
            package = self.create_package(check)
            self.add_new_package_to_list(package)
        for check in report.failed_checks:
            if report.check_type in SCA_CHECKTYPES and check.check_name != SCA_PACKAGE_SCAN_CHECK_NAME:
                continue
            package = self.create_package(check)
            self.add_new_package_to_list(package)
        for resource in sorted(report.extra_resources):
            package = self.create_package(resource)
            self.add_new_package_to_list(package)
    if self.packages:
        self.document.packages = self.packages