qualifiedTable returns the table name to read for a descriptor, schema- qualifying runtime tables with the CP runtime schema.
(d modelDescriptor)
| 114 | |
| 115 | // autoKeyPrefix namespaces the keys of auto-discovered tables ("auto:<schema>.<table>"). |
| 116 | const autoKeyPrefix = "auto:" |
| 117 | |
| 118 | // sensitiveColumnRe redacts VALUES of auto-discovered columns whose name looks |
| 119 | // credential-shaped. The typed descriptors above redact precisely via json |
| 120 | // tags; auto-discovered tables have no type to consult, so err toward |
| 121 | // redaction — a bcrypt hash or ciphertext leaking is fatal, an over-redacted |
| 122 | // secret NAME is a shrug. (Matches e.g. password, password_aws_secret, |
| 123 | // ciphertext, token, nonce, credential.) |
| 124 | var sensitiveColumnRe = regexp.MustCompile(`(?i)(password|secret|ciphertext|token|nonce|credential)`) |
no test coverage detected