Skip to content

Global configuration blocks. Each CONFIGURE ( ... ) form sets the

Source: 24-config-settings.phisql

PhiSQL

-- Global configuration blocks. Each CONFIGURE <block> ( ... ) form sets the
-- matching `config` sub-object; keys are the Phileas schema property names and
-- the value type is inferred from the literal. Compiles to 24-config-settings.json.

POLICY config_settings;

REDACT SSN WITH MASK;

CONFIGURE SPLITTING (enabled = TRUE, threshold = 5000, method = 'newline');
CONFIGURE PDF (redactionColor = 'red', dpi = 300, showReplacement = TRUE);
CONFIGURE POSTFILTERS (removeTrailingPeriods = FALSE);
CONFIGURE ANALYSIS (identification = FALSE);

Compiles to

{
  "identifiers": {
    "ssn": {
      "ssnFilterStrategies": [
        { "strategy": "MASK" }
      ]
    }
  },
  "config": {
    "splitting": {
      "enabled": true,
      "threshold": 5000,
      "method": "newline"
    },
    "pdf": {
      "redactionColor": "red",
      "dpi": 300,
      "showReplacement": true
    },
    "postFilters": {
      "removeTrailingPeriods": false
    },
    "analysis": {
      "identification": false
    }
  }
}