Re: pgaudit - an auditing extension for PostgreSQL

Поиск
Список
Период
Сортировка
От Abhijit Menon-Sen
Тема Re: pgaudit - an auditing extension for PostgreSQL
Дата
Msg-id 20141218131615.GA26323@toroid.org
обсуждение исходный текст
Ответ на Re: pgaudit - an auditing extension for PostgreSQL  (Stephen Frost <sfrost@snowman.net>)
Ответы Re: pgaudit - an auditing extension for PostgreSQL
Re: pgaudit - an auditing extension for PostgreSQL
Список pgsql-hackers
At 2014-12-16 13:28:07 -0500, sfrost@snowman.net wrote:
>
> The magic "audit" role has SELECT rights on a given table.  When any
> user does a SELECT against that table, ExecCheckRTPerms is called and
> there's a hook there which the module can use to say "ok, does the
> audit role have any permissions here?" and, if the result is yes, then
> the command is audited.

You're right, I did not understand that this is what you were proposing,
and this is not what the code does. I went back and read your original
description, and it seems I implemented only the subset I understood.

I'll look into changing the code sometime next week.

-- Abhijit



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Torsten Zuehlsdorff
Дата:
Сообщение: Re: Commitfest problems
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: WIP patch for Oid formatting in printf/elog strings