Hello! We are working on the audit log encryption and use local audit key file for testing.
Configuration File Options — MongoDB Manual
We are able to encrypt the audit log and export those logs to a JSON file, which is good.
{"ts":{"$date":{"$numberLong":"1713424552181"}},"log":"<redacted_encrypted_string>"}
However, how do we decrypt the string and read the log? We know there is an admin command (getLog) to check the logs. But according to the document, it is not an appropriate way to check the audit logs since there is a 1024 limit.
We have also tried to decrypt the string using openssl, but we are not able to do so, since we do not know the “IV”. It would be appreciated if someone can have a detailed guide to decrypt the audit logs. Thanks a lot!