Skip to content

Create 13_edb_audit_nested_statements#7070

Merged
gvasquezvargas merged 2 commits intoEnterpriseDB:developfrom
yuki-tei:patch-15
Jan 21, 2026
Merged

Create 13_edb_audit_nested_statements#7070
gvasquezvargas merged 2 commits intoEnterpriseDB:developfrom
yuki-tei:patch-15

Conversation

@yuki-tei
Copy link
Contributor

Hi,
Greetings. Hope you are doing well and healthy.

What Changed?

Added the page for below enhancement in EPAS 18.1.
https://www.enterprisedb.com/docs/epas/latest/epas_rel_notes/epas18_1_rel_notes/

Enhancement | Added support to audit nested statements to edb_audit. We've enhanced database security by implementing nested statement audit logging. A new configuration parameter, edb_audit_nested_statements, allows administrators to capture statements executed within functions and procedures. This enhancement ensures complete audit trails, effectively preventing malicious users from bypassing security logs through hidden code execution. -- | --

The new page is described based on below:

edb=# SELECT * FROM pg_settings WHERE name = 'edb_audit_nested_statements';
-[ RECORD 1 ]---+-------------------------------------------------------------------------------------
name            | edb_audit_nested_statements
setting         | off
unit            |
category        | EnterpriseDB Auditing Settings
short_desc      | Enable audit logging for the nested statements.
extra_desc      | When enabled, nested statements are audit logged along with the top level statement.
context         | superuser
vartype         | bool
source          | default
min_val         |
max_val         |
enumvals        |
boot_val        | off
reset_val       | off
sourcefile      |
sourceline      |
pending_restart | f

Please take a look and see if it is correct.

Kind Regards,
Yuki Tei

@yuki-tei yuki-tei requested a review from a team as a code owner January 20, 2026 07:53
Copy link
Contributor

@gvasquezvargas gvasquezvargas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Left a few comments regarding mardown, will tag @tusharahuja for content validation. Thanks, Yuki!

Copy link
Contributor

@tusharahuja tusharahuja left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good. Thanks.

@gvasquezvargas
Copy link
Contributor

Hi @yuki-tei ! We have approval from SME, however, I left you some comments for a couple of things we should fix. Can you please take a look? TY!

@yuki-tei
Copy link
Contributor Author

Hi @gvasquezvargas, thanks for your correction. I agree to all your change.
Kind Regards,
Yuki Tei

Copy link
Contributor

@gvasquezvargas gvasquezvargas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@gvasquezvargas gvasquezvargas merged commit 1f43fd7 into EnterpriseDB:develop Jan 21, 2026
6 checks passed
@yuki-tei
Copy link
Contributor Author

yuki-tei commented Feb 4, 2026

Hi all,
Greetings. Hope you are doing well and healthy.
Could you please check if there is any update for this issue?

Kind Regards,
Yuki Tei

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants