As an enhancement to the Audit Event feature, today on the community call we discussed have an environment variable AUDIT_EVENT_ACTIONS_CONFIG
that could be used to configure the type of audit information you want to capture at the audit event level - see - Valueset-audit-event-action - FHIR v4.0.1
This new variable would complement the existing AUDIT_EVENT_LOGGING_ENABLED
environment variable which takes a boolean value/flag. This one specifically enables or disabled the logging feature entirely.
It could also be argued that one environment variable/configuration could suffice to configure both.
If you have any ideas or feedback, feel free to add on to the ongoing conversation by leaving a comment on the Github ticket here - Add support for configuration by Audit Event type · Issue #430 · google/fhir-gateway · GitHub