From 85beac9e14b252ca06c8460a8e544d88c5413111 Mon Sep 17 00:00:00 2001 From: Zac Bergquist Date: Wed, 13 Nov 2024 10:48:34 -0700 Subject: [PATCH] TAG: improve description for access_graph.path.changed event (#48913) Also remove an incorrect statement in the related docs. --- .../admin-guides/teleport-policy/crown-jewels.mdx | 10 +++++----- web/packages/teleport/src/services/audit/makeEvent.ts | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/pages/admin-guides/teleport-policy/crown-jewels.mdx b/docs/pages/admin-guides/teleport-policy/crown-jewels.mdx index dced6eaa98040..bfb2684237c5a 100644 --- a/docs/pages/admin-guides/teleport-policy/crown-jewels.mdx +++ b/docs/pages/admin-guides/teleport-policy/crown-jewels.mdx @@ -3,12 +3,12 @@ title: See permission changes with Access Graph Crown Jewels description: Describes how to use Access Graph Crown Jewels to see permission changes in Teleport. --- -Access Graph's Crown Jewel feature allows you to track changes to access for your most sensitive users or resources. -When you mark a resource as a Crown Jewel, Teleport emits audit events any time access to that resource changes. -These audit events include snapshots of the permissions before and after the change, -which can alert you of unexpected access changes and allow you to verify the results. +Access Graph's Crown Jewel feature allows you to track changes to access for +your most sensitive users or resources. When you mark a resource as a Crown +Jewel, Teleport emits audit events any time access to that resource changes. -This guide shows you how to configure Crown Jewels, how to mark resources as Crown Jewels, and how to see permission changes for these resources. +This guide shows you how to configure Crown Jewels, how to mark resources as +Crown Jewels, and how to see permission changes for these resources. ## Prerequisites diff --git a/web/packages/teleport/src/services/audit/makeEvent.ts b/web/packages/teleport/src/services/audit/makeEvent.ts index 8babf183d6d4f..04cd64382b6ff 100644 --- a/web/packages/teleport/src/services/audit/makeEvent.ts +++ b/web/packages/teleport/src/services/audit/makeEvent.ts @@ -1831,7 +1831,7 @@ export const formatters: Formatters = { affected_resource_name, affected_resource_source, }) => - `${affected_resource_kind || 'Node'} [${affected_resource_name}/${affected_resource_source}] changed an access path`, + `Access path for ${affected_resource_kind || 'Node'} [${affected_resource_name}/${affected_resource_source}] changed`, }, [eventCodes.SPANNER_RPC]: { type: 'db.session.spanner.rpc',