lasdf1234 opened a new issue, #12982:
URL: https://github.com/apache/gravitino/issues/12982

   ### Version
   
   main branch
   
   ### Describe what's wrong
   
   Catalog properties that a provider does not declare are accepted, persisted, 
and returned in cleartext. Redaction currently depends on properties metadata 
(`hidden`), so a mistyped credential property name (for example Glue expects 
`aws-secret-access-key` but an operator sets `s3-secret-access-key`) is 
returned verbatim on every read path, including catalog list with 
`details=true`.
   
   Related report: 
https://github.com/datastrato/gravitino-enterprise/issues/1758
   
   ### Error message and/or stacktrace
   
   N/A — silent plaintext disclosure rather than an exception.
   
   ### Other information
   
   Rejecting all unknown properties is not desirable (custom attributes are 
valid). Redaction should also key off the property **name** (case-insensitive; 
`_`/`-` equivalent) when it contains `secret`, `password`, `token`, 
`credential`, or `access`, masking API responses as `******`. Clients that 
merge `properties()` with `getSecrets()` need those inline plaintext values 
returned from `getSecrets` so Iceberg REST standalone / Spark / Flink keep 
working after masking.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to