> 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/aws-ssm-documents-are-public.md). Agents can also search and read this documentation through its [MCP server](https://cortex-docs.paloaltonetworks.com/~gitbook/mcp).

# AWS SSM documents are public

### Synopsis

| Field               | Value                                        |
| ------------------- | -------------------------------------------- |
| Rule Type           | Detection                                    |
| Finding Type        | AWS SSM documents are public                 |
| Finding ID          | 60000757                                     |
| Generates a Finding | This detection rule also generates a finding |
| Severity            | Low                                          |
| Category            | CONFIGURATION                                |
| Cloud Providers     | AWS                                          |
| Platform Module     | CSPM                                         |
| Asset Types         | AWS\_SSM\_DOCUMENT                           |
| ATT\&CK Tactic      | TA0001 (TA0001)                              |
| ATT\&CK Technique   | T1190 (T1190)                                |

### Description

Public AWS Systems Manager (SSM) documents expose sensitive information and processes, increasing the risk of unauthorized access and data breaches. These documents, accessible to any AWS account, can reveal internal configurations and operational details, potentially leading to lateral movement within your environment.

SSM documents store automation scripts and configurations. Making them public removes access controls, enabling any entity with an AWS account to download and execute these documents. Attackers could exploit publicly available documents to gain unauthorized access to resources, exfiltrate data, or disrupt operations.

The impact of this misconfiguration includes data exposure, unauthorized access to resources, and potential operational disruptions. Restricting access to SSM documents protects sensitive information and maintains the integrity and confidentiality of your AWS environment. Limiting access ensures only authorized accounts can interact with these documents.

Implement strong access controls on SSM documents. Ensure documents are shared only with specific, trusted AWS accounts based on a need-to-know basis. Regularly review the access permissions of your SSM documents and revoke access for accounts that no longer require it. Utilize AWS Identity and Access Management (IAM) roles and policies to enforce least privilege.

### Remediation

**Manual steps:**

AWS SSM Document - Manual remediation steps:

To make an SSM document private follow the steps mentioned in below URL:

1. Go to the AWS console Systems Manager Dashboard.
2. If the AWS Systems Manager home page opens first, choose the menu icon to open the navigation pane, and then choose Documents in the navigation pane.
3. In the documents list, choose the document you want to stop sharing, and then choose details. On the Permissions tab, verify that you're the document owner. Only a document owner can stop sharing a document.
4. Choose Edit.
5. Select Private option, and enter AWS accountId only with which this document can be shared(leave it blank if not willing to share now).
6. Choose Save


---

# 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/aws-ssm-documents-are-public.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.
