def METHOD_NAME(self, compact: bool = False, use_bc_ids: bool = False) -> str:
    processed_record = super().METHOD_NAME(compact=compact, use_bc_ids=use_bc_ids)
    validation_status_message = self._get_secret_validation_status_message()
    if validation_status_message and self.check_result["result"] == CheckResult.FAILED and os.getenv("CKV_VALIDATE_SECRETS"):
        # if needed insert validation status message
        splitted_record = processed_record.split("\n")
        splitted_record.insert(2, validation_status_message)
        processed_record = "\n".join(splitted_record)
    processed_record = self._add_commit_details(processed_record)
    return processed_record