Skip to Content
SourcesMySQL

MySQL

Required
Fields required for a valid configuration.
PathTypeRequiredDescriptionDefaultConstraints
requiredobjectYesno extra properties
required.hoststringYesMySQL hostlocalhost
required.portintegerYesMySQL port3306min 1, max 65535
Masked
Sensitive fields under(secrets/credentials).
PathTypeRequiredDescriptionDefaultConstraints
maskedobjectYesno extra properties
masked.passwordstringYesDatabase password
masked.ssl_castringNoPEM-encoded CA certificate for SSL/TLS verification. Paste the full certificate content (-----BEGIN CERTIFICATE----- ... -----END CERTIFICATE-----). Required when ssl_mode is VERIFY_CA or VERIFY_IDENTITY.
masked.usernamestringYesDatabase username
Optional
Optional configuration fields.
PathTypeRequiredDescriptionDefaultConstraints
optionalobjectNono extra properties
optional.connectionobjectNoConnection tuning for MySQL.no extra properties
optional.connection.allow_public_key_retrievalbooleanNoAllow automatic RSA public key retrieval from the server for caching_sha2_password authentication (MySQL 8+). Only needed when not using SSL and connecting to MySQL 8 servers using the default authentication plugin.false
optional.connection.connect_timeout_secondsintegerNoConnection timeout in seconds10min 1, max 120
optional.connection.ssl_modeenumNoSSL/TLS connection mode. DISABLED: no TLS; PREFERRED: TLS when available (default); REQUIRED: mandate TLS without certificate verification; VERIFY_CA: mandate TLS and verify the CA certificate (requires ssl_ca); VERIFY_IDENTITY: mandate TLS, verify CA, and verify server hostname. Allowed values: DISABLED, PREFERRED, REQUIRED, VERIFY_CA, VERIFY_IDENTITYPREFERRED
optional.scopeobjectNoDatabase and table selection scope.no extra properties
optional.scope.databasestringNoSingle database to scan (optional when include_all_databases is true)
optional.scope.exclude_databasesarrayNoDatabase denylist (exact database names)["information_schema","mysql","performance_schema","sys"]
optional.scope.exclude_databases[]stringNo
optional.scope.include_all_databasesbooleanNoScan all visible databases except excluded system databasesfalse
optional.scope.include_tablesarrayNoOptional table allowlist. Accepted forms: table or database.table
optional.scope.include_tables[]stringNo
optional.scope.table_limitintegerNoOptional cap on number of table assets extracted per databasemin 1
Extracted Metadata

Table

FieldTypeRequiredDescription
databasestringYesDatabase or catalog name
table_namestringYesTable name
table_typestringYesObject type (TABLE/VIEW)
schemastringNoSchema name
columnsobject[]NoColumns as {name, type} objects
row_countintegerNoEstimated number of rows
Examples
Quick discovery scan
Discover all tables in the server with random row sampling — works on any MySQL instance

Config Payload

{
  "type": "MYSQL",
  "required": {
    "host": "your-host",
    "port": 3306
  },
  "masked": {
    "username": "your-username",
    "password": "your-password"
  },
  "optional": {
    "scope": {
      "include_all_databases": true
    }
  },
  "sampling": {
    "strategy": "AUTOMATIC",
    "rows_per_page": 50
  }
}

Schedule

{
  "enabled": true,
  "preset": "weekday_business",
  "cron": "11 11 * * 1-5",
  "timezone": "UTC"
}
All databases nightly governance scan
Scan all user databases (excluding system databases) with latest-row sampling for data governance

Config Payload

{
  "type": "MYSQL",
  "required": {
    "host": "your-host",
    "port": 3306
  },
  "masked": {
    "username": "your-username",
    "password": "your-password"
  },
  "optional": {
    "scope": {
      "include_all_databases": true
    }
  },
  "sampling": {
    "strategy": "AUTOMATIC",
    "fallback_to_random": true,
    "rows_per_page": 50
  }
}

Schedule

{
  "enabled": true,
  "preset": "nightly",
  "cron": "43 1 * * *",
  "timezone": "UTC"
}
PII and secrets detection
Run PII and secrets detectors on all tables — useful for GDPR or SOC 2 readiness

Config Payload

{
  "type": "MYSQL",
  "required": {
    "host": "your-host",
    "port": 3306
  },
  "masked": {
    "username": "your-username",
    "password": "your-password"
  },
  "optional": {
    "scope": {
      "include_all_databases": true
    }
  },
  "sampling": {
    "strategy": "AUTOMATIC",
    "rows_per_page": 30
  },
  "detectors": [
    {
      "type": "SECRETS",
      "enabled": true
    },
    {
      "type": "PII",
      "enabled": true
    }
  ]
}

Schedule

{
  "enabled": true,
  "preset": "weekday_morning",
  "cron": "37 8 * * 1-5",
  "timezone": "UTC"
}