# Can I redact sensitive message content in Slack?

In the Slack integration, you are able to use redaction as a remediation action for messages. Similarly to how you can notify, quarantine, or delete messages, you can also choose to redact the sensitive info out of messages, so that only the first two characters of the sensitive token are shown, and the rest of the message is then shown as a set of \*\*\* characters. (Note: Redaction is only available for messages, and cannot be used for images/files shared in Slack)\
\
This is available in the Slack Enterprise integration. Please find some screenshots below, for what this workflow may look like.

1. A potential sensitive message is posted in a channel that is being monitored by a Nightfall Slack policy:

![](/files/e1zoEmlAdcz7TAVFAdEE)

2\. The Nightfall Alert is Generated:

![](/files/WOCQ9FJ4SXhSHEktX4xH)

3\. Once the 'Redact message' option is chosen:

![](/files/4IBtVb0ktPkRWML5vz70)

4\. Once you confirm you would like to redact the message:

![An audit log is generated showing that a redaction action was taken on the message](/files/sPZvZtIapAJbk77GuldT)

![The original message has now been redacted](/files/DlkJhXKbELMEKuCZxkXi)

You can now see the redacted message in the original message location, as well as a small message that notifies the user their message has been redacted as it may contain sensitive information.

#### Automated Redaction

In the Slack Policy itself, it will be shown in the list of Automated actions, along with the other remediation actions as well:<br>

![You can use this option from the console to automatically redact sensitive messages within Slack](/files/BtTVJ6wK4flS4qF4K2ys)


---

# Agent Instructions: Querying This Documentation

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

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://help.nightfall.ai/slack/slack-faqs/redact_sensitive_data.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
