Schema:

ORGANIZATION_USAGE

For guidance on query performance when using organization-wide usage views, see Performance (Organization Usage).

OBJECT_ACCESS_REQUEST_HISTORY view

Important

This view is only available in the organization account. For more information, see Premium views in the organization account.

Organization Usage performance

When you query a specific view in the SNOWFLAKE.ORGANIZATION_USAGE schema, follow the organization-wide guidance in Performance (Organization Usage): bound every scan on history views, list columns explicitly, and use the time filter column table plus worked SQL and anti-patterns there.

This Organization Usage view allows consumers to access audit logs that track the submission, rejection, and approval of object access requests through the Internal Marketplace to maintain security and compliance.

Columns

Organization-level columns

Column NameData TypeDescription
ORGANIZATION_NAMEVARCHARName of the organization.
ACCOUNT_LOCATORVARCHARSystem-generated identifier for the account.
ACCOUNT_NAMEVARCHARUser-defined identifier for the account.

Additional columns

Column NameData TypeDescription
TIMESTAMPTIMESTAMP_LTZThe state transition event.
USER_REGIONVARCHARThe region of the requester or approver.
USER_ACCOUNT_NAMEVARCHARThe account name of the requester or approver.
USER_NAMEVARCHARThe username of the requester or approver.
USER_EMAILVARCHARThe email of the requester or approver.
USER_COMMENTVARCHAR

For CREATE_REQUEST and CANCEL REQUEST, this shows the reason for access provided by the requester.

For APPROVE_REQUEST, DENY_REQUEST, and AUTO_APPROVE_REQUEST, this is the comment for approval/denial provided by the approver.

ACTIONVARCHAR

The requester or approver action. This can be one of the following:

  • CREATE_REQUEST
  • CANCEL_REQUEST
  • APPROVE_REQUEST
  • DENY_REQUEST
  • AUTO_APPROVE_REQUEST
REQUEST_IDVARCHARThe UUID of the request. This can be used to track the history of the request.
OBJECT_DOMAINVARCHARThe requested object domain. Currently, this can only be DATA_EXCHANGE_LISTING.
OBJECT_REGIONVARCHARThe snowflake region name where the requested object is located.
OBJECT_ACCOUNT_NAMEVARCHARThe account where the requested object is located.
OBJECT_NAMEVARCHARThe name of the requested object.
GRANTEE_TO_AUTHORIZEVARCHAR

For CREATE_REQUEST and CANCEL REQUEST, this shows the role provided by the requester.

For APPROVE_REQUEST, DENY_REQUEST, and AUTO_APPROVE_REQUEST, this is the role granted or denied by the approver.

GRANTEE_TYPEVARCHARThe type of the grantee. Currently, this can only be ROLE.

Usage notes

  • Latency for the view may be up to 5 hours.