Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Type JSON not working for MariaDB #675

Open
chmich opened this issue Jun 2, 2023 · 0 comments
Open

Type JSON not working for MariaDB #675

chmich opened this issue Jun 2, 2023 · 0 comments

Comments

@chmich
Copy link

chmich commented Jun 2, 2023

Hi

MariaDB 10.11.3, audited 5.3.3

I had the error Psych::DisallowedClass: Tried to load unspecified class: ActiveSupport::BigDecimal.

Regarding to issue 67912150 Psych::DisallowedClass i switched to to json.

But didnt change anything.

Problem:

MariaDB marks column type :json as :longtext, see Stackoverflow

Unlike mySql, MariaDB marks json types as longtext, see mariadb json or Stackoverflow.

Could it be that for this reason audited is not able to recognize json as a data type?

Would it be an idea to have a config to override the detection based on column type and tell audited to handle audits as json?

Thanks, Chris

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant