> For the complete documentation index, see [llms.txt](https://cortex-docs.paloaltonetworks.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://cortex-docs.paloaltonetworks.com/posture-rules/cloud-saas-active-directory-posture-rules/cortex-posture-query-based-rules/detection-rules-by-name/azure-storage-account-storing-cognitive-service-diagnostic-logs-is-publicly-accessible.md). Agents can also search and read this documentation through its [MCP server](https://cortex-docs.paloaltonetworks.com/~gitbook/mcp).

# Azure Storage Account storing Cognitive service diagnostic logs is publicly accessible

### Synopsis

| Field               | Value                                                                                  |
| ------------------- | -------------------------------------------------------------------------------------- |
| Rule Type           | Detection                                                                              |
| Finding Type        | Azure Storage Account storing Cognitive service diagnostic logs is publicly accessible |
| Finding ID          | 60000921                                                                               |
| Generates a Finding | This detection rule also generates a finding                                           |
| Severity            | Medium                                                                                 |
| Category            | CONFIGURATION                                                                          |
| Cloud Providers     | AZURE                                                                                  |
| Platform Module     | CSPM                                                                                   |
| Asset Types         | AZURE\_STORAGE\_ACCOUNT                                                                |

### Description

Publicly accessible Azure Storage Accounts storing Cognitive service diagnostic logs present a significant security risk. These logs may contain sensitive information, including platform, resource, trace, and metric data, potentially providing attackers with details to carry out malicious activities.

Azure Storage Accounts are used to store Cognitive service diagnostic logs. If improperly configured with public access, attackers can easily retrieve this sensitive log data. This access could enable attackers to understand system architecture, identify vulnerabilities, and subsequently compromise the system.

Compromise of diagnostic logs could lead to data breaches, service disruptions, and significant reputational damage. Restricting access to only authorized services ensures that sensitive data remains protected and limits the potential impact of a breach.

Mitigate this risk by configuring your Azure Storage Accounts to only allow access from trusted IP addresses or specific services. Regularly review and update access control lists to maintain a strong security posture and minimize your attack surface.

### Remediation

1. Log in to the Azure portal
2. Navigate to 'Storage Accounts' dashboard
3. Select the reported storage account
4. Under 'Data storage' section, Select 'Containers'
5. Select the blob container you need to modify
6. Click on 'Change access level'
7. Set 'Public access level' to 'Private (no anonymous access)'
8. Click on 'OK'


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://cortex-docs.paloaltonetworks.com/posture-rules/cloud-saas-active-directory-posture-rules/cortex-posture-query-based-rules/detection-rules-by-name/azure-storage-account-storing-cognitive-service-diagnostic-logs-is-publicly-accessible.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
