");
+ Integer days = SecuredDataRuntime.current().config().getBackupRetentionDays();
+ html.append("
Physical backup retention: ").append(days == null ? "unknown" : days + " days").append(".
");
+ for(QRecord rule : rules)
+ {
+ String warning = RetentionRules.backupWarning(rule);
+ if(warning != null)
+ {
+ html.append("
").append(escape(warning)).append("
");
+ }
+ }
+ html.append("
CNPG physical backups and WAL cannot exclude audit keys. A backup and the KEK can recover wiped data until that backup expires.
");
+ return (new RenderWidgetOutput(new RawHTML(null, html.toString())));
+ }
+ }
+
+ /*******************************************************************************
+ ** Authorize the host record with an ID-only query before looking up markers.
+ *******************************************************************************/
+ public static class WipedFields extends AbstractWidgetRenderer
+ {
+ @Override
+ public RenderWidgetOutput render(RenderWidgetInput input) throws QException
+ {
+ String tableName = (String) input.getWidgetMetaData().getDefaultValues().get("hostTable");
+ var table = com.kingsrook.qqq.backend.core.context.QContext.getQInstance().getTable(tableName);
+ String id = input.getQueryParams().get("id");
+ List