Skip to content

Commit 7190824

Browse files
Merge pull request #128305 from aditya-harit1/doc/sas-signature-mismatch-logging
Clarify logging for anonymous requests and refactor documentation
2 parents 97ec03a + 548e983 commit 7190824

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

articles/storage/common/storage-analytics-logging.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,9 @@ You can also enable Storage Analytics logs programmatically via the REST API or
5656
- Timeout errors for both client and server
5757
- Failed GET requests with error code 304 (Not Modified)
5858

59-
All other failed anonymous requests are not logged. A full list of the logged data is documented in the [Storage Analytics Logged Operations and Status Messages](/rest/api/storageservices/storage-analytics-logged-operations-and-status-messages) and [Storage Analytics Log Format](/rest/api/storageservices/storage-analytics-log-format) topics.
59+
All other failed anonymous requests are not logged. This can include requests that present a Shared Access Signature (SAS) but fail validation (for example, a SAS signature mismatch). In these cases, the service can't reliably identify the caller, so the request is treated as anonymous for logging purposes. Also, because Storage Analytics log data written to the `$logs` container is billed to the storage account, logging every invalid/unauthenticated request could enable cost-amplification/abuse scenarios (for example, a malicious client generating large volumes of invalid requests to increase logging volume).
60+
61+
A full list of the logged data is documented in the [Storage Analytics Logged Operations and Status Messages](/rest/api/storageservices/storage-analytics-logged-operations-and-status-messages) and [Storage Analytics Log Format](/rest/api/storageservices/storage-analytics-log-format) topics.
6062

6163
> [!NOTE]
6264
> Storage Analytics logs all internal calls to the data plane. Calls from the Azure Storage Resource Provider are also logged. To identify these requests, look for the query string `<sk=system-1>` in the request URL.

0 commit comments

Comments
 (0)