def save_checkpoint_to_sentinel(self, checkpoint_key, checkpoint_value, table_name):
        """Save Checkpoint data into sentinel for backup purpose

        Args:
            checkpoint_key (str): unique key of the checkpoint value
            checkpoint_value (str): checkpoint value of the key to be stored
            table_name (str): Name of the Table in which data to be stored

        Raises:
            BitSightException: Raised for any exception during checkpoint data ingesting into sentinel.
        """
        try:
            json_data = self.convert_data_to_dict(checkpoint_key, checkpoint_value)
            body = json.dumps(json_data)
            ingestion_status_code = self.sentinel_obj.post_data(body, table_name)
            if ingestion_status_code >= 200 and ingestion_status_code <= 299:
                applogger.info(
                    "{} Checkpoint value: {} Stored to Sentinel Table Name: {} : Status code: {}".format(
                        LOGS_STARTS_WITH,
                        body,
                        table_name,
                        ingestion_status_code,
                    )
                )
            else:
                applogger.error(
                    "{} Error while storing Checkpoint value: {} into Sentinel Table Name: {} : Status code: {}".format(
                        LOGS_STARTS_WITH,
                        body,
                        table_name,
                        ingestion_status_code,
                    )
                )
                raise BitSightException()
        except BitSightException:
            raise BitSightException()
        except Exception as err:
            applogger.error("{} SAVE CHECKPOINT TO SENTINEL: {}".format(LOGS_STARTS_WITH, err))
            raise BitSightException()
Save Checkpoint data into sentinel for backup purpose

        Args:
            checkpoint_key (str): unique key of the checkpoint value
            checkpoint_value (str): checkpoint value of the key to be stored
            table_name (str): Name of the Table in which data to be stored

        Raises:
            BitSightException: Raised for any exception during checkpoint data ingesting into sentinel.
        
Solutions/BitSight/Data Connectors/BitSightDataConnector/SharedCode/utils.py