---
title: "Get the audit logging storage integration"
method: GET
path: "/v2/organizations/settings/storageIntegration/auditLogging"
tags: ["Organizations"]
---

# Get the audit logging storage integration

`GET /v2/organizations/settings/storageIntegration/auditLogging`

## Request

- Base URL: `https://api.sigmacomputing.com`
- URL: `https://api.sigmacomputing.com/v2/organizations/settings/storageIntegration/auditLogging`
- Auth: HTTP bearer

Get the cloud storage destination used for audit log exports for an organization. 
### Usage notes
- To perform this operation, you must use API credentials owned by a user assigned the Admin account type.
- To read or update this setting for a tenant organization, use [impersonation](/docs/impersonate-users) to obtain a token for that tenant, then call this endpoint with that token.

## Response `200`

The response body.

- OrganizationsGetAuditLoggingStorageIntegrationResponse200
  - `provider` 'aws' | 'azure' | 'gcp', required: Cloud storage provider for the audit log exports.
  - `allowedLocation` string, required: Cloud storage URI for the audit log exports.
  - `storageAwsRoleArn` string: AWS IAM role ARN Sigma assumes to write to the destination bucket.
  - `tenantId` string: Azure AD tenant ID that owns the destination storage account.

---

[API](https://skmtc.dev/sigmacomputing/apis/sigma-rest-api.md) - [All operations](https://skmtc.dev/sigmacomputing/apis/sigma-rest-api/llms.txt) - [OpenAPI document](https://skmtc.dev/sigmacomputing/apis/sigma-rest-api/revisions/fb6036208c49?raw)
