SQL 2008 Audit permission - Question

  • Hi, as per BOL:

    Principals with the VIEW AUDIT STATE permission have access to Audit catalog view. For example, sys.server_file_audits.

    Can some one help me how to assign VIEW AUDIT STATE permission to the user. I have a SQL job that connectes to db server with auditing ON and trying to read audit config information via same job using user with mimimum permission on db server.

    I tried to use like this but no success.

    GRANT VIEW AUDIT STATE TO [username].

    Any help pl?

    Thanks.

  • as far as i have it: the principal has the VIEW SERVER STATE permission to use the any AUDIT DMV

  • Thanks for reply.

    I have an AD user with READ on Master and VIEW SERVER STATE permission. When I select from sys.server_audit_files using that user, no records being returned. It works fine when I use sysadmin account. I think it requires something else too.

    BOL says VIEW AUDIT STATE is required to access catalog view but no success in using grant view audit state on [login].

    -jp

Viewing 3 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic. Login to reply