regscale-cli 6.16.4.0__py3-none-any.whl → 6.16.4.1__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of regscale-cli might be problematic. Click here for more details.

regscale/__init__.py CHANGED
@@ -1 +1 @@
1
- __version__ = "6.16.4.0"
1
+ __version__ = "6.16.4.1"
@@ -2809,9 +2809,10 @@ class ScannerIntegration(ABC):
2809
2809
  :return: None
2810
2810
  :rtype: None
2811
2811
  """
2812
- logger.info(f"Updating scan history with scan_date {self.scan_date}")
2813
- scan_history.scanDate = datetime_str(self.scan_date)
2814
- scan_history.save()
2812
+ if scan_history.scanDate != datetime_str(self.scan_date):
2813
+ logger.debug("Updating scan history scan date to %s", datetime_str(self.scan_date))
2814
+ scan_history.scanDate = datetime_str(self.scan_date)
2815
+ scan_history.save()
2815
2816
 
2816
2817
  @staticmethod
2817
2818
  def get_date_completed(finding: IntegrationFinding, issue_status: regscale_models.IssueStatus) -> Optional[str]: