Skip to content

Commit 2ab6925

Browse files
committed
Add view prompt logs
1 parent e39cddf commit 2ab6925

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

src/content/docs/cloudflare-one/policies/data-loss-prevention/dlp-policies/logging-options.mdx

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ To view DLP payload logs:
4848

4949
1. Go to **Logs** > **Gateway** > **HTTP**.
5050
2. Go to the DLP log you are interested in reviewing and expand the row.
51-
3. Select **Decrypt Payload Log**.
51+
3. Select **Decrypt payload log**.
5252
4. Enter your private key and select **Decrypt**.
5353

5454
You will see the [ID of the matched DLP Profile](/api/resources/zero_trust/subresources/dlp/subresources/profiles/methods/list/) followed by the decrypted payload.
@@ -92,6 +92,18 @@ You can enable payload logging for any Allow or Block HTTP policy that uses the
9292

9393
Data Loss Prevention will now store the user prompt and AI model response for requests that match this policy.
9494

95+
### View prompt logs
96+
97+
To view generative AI prompt log details:
98+
99+
1. Go to **Logs** > **Gateway** > **HTTP**.
100+
2. Go to the DLP log you are interested in reviewing and expand the row.
101+
3. Select **Decrypt payload log**.
102+
4. Enter your private key and select **Decrypt**.
103+
5. In **Summary** > **GenAI prompt captured**, select **View prompt**.
104+
105+
Gateway logs will provide a summary of the conversation, including the topic and AI model used, and the user prompt and AI model's raw response if available. A text prompt must be present for DLP to capture the prompt.
106+
95107
## Send DLP forensic copies to Logpush destination
96108

97109
:::note[Availability]

0 commit comments

Comments
 (0)