You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
description: This article provides an overview of how to set up Auditing and storing those audits to an Azure storage account, Log Analytics workspace, or Event Hubs destination.
5
5
author: sravanisaluru
6
6
ms.author: srsaluru
7
-
ms.reviewer: mathoma, vanto
8
-
ms.date: 09/17/2024
7
+
ms.reviewer: mathoma, vanto, randolphwest
8
+
ms.date: 04/01/2025
9
9
ms.service: azure-sql-database
10
10
ms.subservice: security
11
11
ms.topic: how-to
@@ -53,8 +53,10 @@ To configure writing audit logs to a storage account, select **Storage** when yo
53
53
54
54
:::image type="content" source="media/auditing-setup/auditing-select-storage.png" alt-text="Screenshot that shows storage account authentication types for Auditing." lightbox="media/auditing-setup/auditing-select-storage.png":::
55
55
56
-
> [!NOTE]
57
-
> If you are deploying from the Azure portal, make sure that the storage account is in the same region as your database and server. If you are deploying through other methods, the storage account can be in any region.
56
+
If you're deploying from the Azure portal, make sure that the storage account is in the same region as your database and server. If you're deploying through other methods, the storage account can be in any region.
57
+
58
+
> [!WARNING]
59
+
> For storage authentication, use Managed Identity. Storage Access Keys pose a security risk because if they are compromised, unauthorized individuals can gain access to your storage account, potentially reading, writing, or deleting your data. To mitigate these risks, it's essential to rotate your keys regularly and use Azure Key Vault to manage and rotate your keys securely.
58
60
59
61
- The default value for retention period is 0 (unlimited retention). You can change this value by moving the **Retention (Days)** slider in **Advanced properties** when configuring the storage account for auditing.
60
62
- If you change retention period from 0 (unlimited retention) to any other value, the retention will only apply to logs written after the retention value was changed. Logs written during the period when retention days were set to unlimited retention are preserved, even after retention is enabled.
@@ -72,15 +74,11 @@ To configure writing audit logs to an event hub, select **Event Hub**. Select th
72
74
:::image type="content" source="media/auditing-setup/auditing-select-event-hub.png" alt-text="Screenshot showing the Event hub." lightbox="media/auditing-setup/auditing-select-event-hub.png":::
73
75
74
76
> [!NOTE]
75
-
> If you are using multiple targets like storage account, log analytics, or event hub, make sure you have permissions for all the targets else saving audit configuration would fail as it will try to save the settings for all targets.
76
-
77
-
## Next steps
78
-
79
-
> [!div class="nextstepaction"]
80
-
> [Use Auditing to analyze audit logs and reports](auditing-analyze-audit-logs.md)
77
+
> If you're using multiple targets like storage account, log analytics, or event hub, make sure you have permissions for all the targets else saving audit configuration would fail as it will try to save the settings for all targets.
81
78
82
79
## Related content
83
80
81
+
-[Use Auditing to analyze audit logs and reports](auditing-analyze-audit-logs.md)
84
82
-[Auditing for Azure SQL Database and Azure Synapse Analytics](auditing-overview.md)
85
83
-[What's New in Azure SQL Auditing](/Shows/Data-Exposed/Whats-New-in-Azure-SQL-Auditing)
86
84
-[Get started with Azure SQL Managed Instance auditing](../managed-instance/auditing-configure.md)
Copy file name to clipboardExpand all lines: docs/relational-databases/security/encryption/sql-server-connector-maintenance-troubleshooting.md
+25-24Lines changed: 25 additions & 24 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -211,29 +211,30 @@ To learn more about Microsoft Entra ID, read [How Azure subscriptions are relate
211
211
`3019` | `ErrorHttpReadData` | `Cannot read response data due to network error.`
212
212
`3076` | `ErrorHttpResourceNotFound` | `The server responded 404, because the key name was not found. Make sure the key name exists in your vault.`
213
213
`3077` | `ErrorHttpOperationForbidden` | `The server responded 403, because the user doesn't have proper permission to perform the action. Make sure you have the permission for the specified operation. At minimum, the connector requires 'get, list, wrapKey, unwrapKey' permissions to function properly.`
214
-
`3100` | `ErrorHttpCreateHttpClientOutOfMemory ` | `Cannot create a HttpClient for AKV operation due to out of memory.`
215
-
`3101` | `ErrorHttpOpenSession ` | `Cannot open a Http session due to network error.`
216
-
`3102` | `ErrorHttpConnectSession ` | `Cannot connect a Http session due to network error.`
217
-
`3103` | `ErrorHttpAttemptConnect ` | `Cannot attempt a connect due to network error.`
218
-
`3104` | `ErrorHttpOpenRequest ` | `Cannot open a request due to network error.`
`3106` | `ErrorHttpSendRequest ` | `Cannot send a request due to network error.`
221
-
`3107` | `ErrorHttpGetResponseCode ` | `Cannot get a response code due to network error.`
222
-
`3108` | `ErrorHttpResponseCodeUnauthorized ` | `Server responded 401 for the request. Make sure the client Id and secret are correct, and the credential string is a concatenation of AAD client Id and secret without hyphens.`
223
-
`3109` | `ErrorHttpResponseCodeThrottled ` | `Server has throttled the request.`
224
-
`3110` | `ErrorHttpResponseCodeClientError ` | `The request is invalid. This usually means the key name is invalid or contains invalid characters.`
225
-
`3111` | `ErrorHttpResponseCodeServerError ` | `Server responded a response code between 500 and 600.`
226
-
`3112` | `ErrorHttpResourceNotFound ` | `The server responded 404, because the key name was not found. Please make sure the key name exists in your vault.`
227
-
`3113` | `ErrorHttpOperationForbidden ` | `The server responded 403, because the user does not have proper permission to perform the action. Please make sure you have the permission for the specified operation. At minimum,'get, wrapKey, unwrapKey' permissions are required.`
228
-
`3114` | `ErrorHttpQueryHeader ` | `Cannot query for response header.`
229
-
`3115` | `ErrorHttpQueryHeaderOutOfMemoryCopyHeader ` | `Cannot copy the response header due to out of memory.`
230
-
`3116` | `ErrorHttpQueryHeaderOutOfMemoryReallocBuffer ` | `Cannot query the response header due to out of memory when reallocating a buffer.`
231
-
`3117` | `ErrorHttpQueryHeaderNotFound ` | `Cannot find the query header in the response.`
232
-
`3118` | `ErrorHttpQueryHeaderUpdateBufferLength ` | `Cannot update the buffer length when querying the response header.`
233
-
`3119` | `ErrorHttpReadData ` | `Cannot read response data due to network error.`
234
-
`3120` | `ErrorHttpGetResponseOutOfMemoryCreateTempBuffer ` | `Cannot get response body due to out of memory when creating a temp buffer.`
235
-
`3121` | `ErrorHttpGetResponseOutOfMemoryGetResultString ` | `Cannot get response body due to out of memory when get result string.`
236
-
`3122` | `ErrorHttpGetResponseOutOfMemoryAppendResponse ` | `Cannot get response body due to out of memory when appending response.`
214
+
`3100` | `ErrorHttpCreateHttpClientOutOfMemory` | `Cannot create a HttpClient for AKV operation due to out of memory.`
215
+
`3101` | `ErrorHttpOpenSession` | `Cannot open a Http session due to network error.`
216
+
`3102` | `ErrorHttpConnectSession` | `Cannot connect a Http session due to network error.`
217
+
`3103` | `ErrorHttpAttemptConnect` | `Cannot attempt a connect due to network error.`
218
+
`3104` | `ErrorHttpOpenRequest` | `Cannot open a request due to network error.`
`3106` | `ErrorHttpSendRequest` | `Cannot send a request due to network error.`
221
+
`3107` | `ErrorHttpGetResponseCode` | `Cannot get a response code due to network error.`
222
+
`3108` | `ErrorHttpResponseCodeUnauthorized` | `Server responded 401 for the request. Make sure the client Id and secret are correct, and the credential string is a concatenation of AAD client Id and secret without hyphens.`
223
+
`3109` | `ErrorHttpResponseCodeThrottled` | `Server has throttled the request.`
224
+
`3110` | `ErrorHttpResponseCodeClientError` | `The request is invalid. This usually means the key name is invalid or contains invalid characters.`
225
+
`3111` | `ErrorHttpResponseCodeServerError` | `Server responded a response code between 500 and 600.`
226
+
`3112` | `ErrorHttpResourceNotFound` | `The server responded 404, because the key name was not found. Please make sure the key name exists in your vault.`
227
+
`3113` | `ErrorHttpOperationForbidden` | `The server responded 403, because the user does not have proper permission to perform the action. Please make sure you have the permission for the specified operation. At minimum,'get, wrapKey, unwrapKey' permissions are required.`
228
+
`3114` | `ErrorHttpQueryHeader` | `Cannot query for response header.`
229
+
`3115` | `ErrorHttpQueryHeaderOutOfMemoryCopyHeader` | `Cannot copy the response header due to out of memory.`
230
+
`3116` | `ErrorHttpQueryHeaderOutOfMemoryReallocBuffer` | `Cannot query the response header due to out of memory when reallocating a buffer.`
231
+
`3117` | `ErrorHttpQueryHeaderNotFound` | `Cannot find the query header in the response.`
232
+
`3118` | `ErrorHttpQueryHeaderUpdateBufferLength` | `Cannot update the buffer length when querying the response header.`
233
+
`3119` | `ErrorHttpReadData` | `Cannot read response data due to network error.`
234
+
`3120` | `ErrorHttpGetResponseOutOfMemoryCreateTempBuffer` | `Cannot get response body due to out of memory when creating a temp buffer.`
235
+
`3121` | `ErrorHttpGetResponseOutOfMemoryGetResultString` | `Cannot get response body due to out of memory when get result string.`
236
+
`3122` | `ErrorHttpGetResponseOutOfMemoryAppendResponse` | `Cannot get response body due to out of memory when appending response.`
237
+
`3128` | `ErrorHttpBadRequest` | `The secret and client id are correct but in the wrong format.`
237
238
`3200` | `ErrorGetAADValuesOutOfMemoryConcatPath` | `Cannot get Azure Active Directory challenge header values due to out of memory when concatenating the path.`
238
239
`3201` | `ErrorGetAADDomainUrlStartPosition` | `Cannot find the starting position for Azure Active Directory domain Url in malformatted response challenge header.`
239
240
`3202` | `ErrorGetAADDomainUrlStopPosition` | `Cannot find the ending position for Azure Active Directory domain Url in malformatted response challenge header.`
@@ -314,7 +315,7 @@ To learn more about Microsoft Entra ID, read [How Azure subscriptions are relate
314
315
`3819` | `ErrorPEMCertAuthParamsCreateRequestBody` | `Error creating request body from PEM private key for authentication with AAD.`
315
316
`3820` | `ErrorLegacyPrivateKeyAuthParamsSignAlg` | `Error getting RSA signing algorithm for Legacy private key authentication with AAD.`
316
317
`3821` | `ErrorLegacyPrivateKeyAuthParamsImportForSign` | `Error importing Legacy private key for RSA signing for authentication with AAD.`
317
-
`3822` | `ErrorLegacyPrivateKeyAuthParamsCreateRequestBody` | `Error creating request body from Legacy private key for authentication with AAD.`
318
+
`3822` | `ErrorLegacyPrivateKeyAuthParamsCreateRequestBody` | `Error creating request body from Legacy private key for authentication with AAD.`
318
319
`3900` | `ErrorAKVDoesNotExist` | `Error internet name not resolved. This typically indicates the Azure Key Vault is deleted.`
319
320
`4000` | `ErrorCreateKeyVaultRetryManagerOutOfMemory` | `Cannot create a RetryManager for AKV operation due to out of memory.`
Copy file name to clipboardExpand all lines: docs/reporting-services/tools/server-properties-advanced-page-reporting-services.md
+6-1Lines changed: 6 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -81,10 +81,15 @@ Sets header values for all URLs matching the specified regex pattern. Users can
81
81
```
82
82
83
83
> [!NOTE]
84
-
> Too many headers may impact performance.
84
+
> Too many headers may impact performance.
85
+
>
86
+
> The ```X-Frame-Options```default response header will block the ability to embed SSRS reports within an iframe html element. Removing this header from the ```<CustomHeaders />``` advanced server property will allow reports to be used within iframes.
87
+
> ** It is not recommended to make this change on any report servers that will be hosted on the public internet.**
85
88
86
89
We recommend validating the configuration of your topology to ensure the set of headers is compatible with your deployment of Reporting Services. It's possible to choose settings that cause errors in browsers if the browsers don't also have the appropriate settings. For example, you shouldn't add an HSTS configuration if your server isn't configured for https. Incompatible headers might result in browser rendering errors.
0 commit comments