Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

trim search results

x032205be566fa37da0
diff --git a/frontend/src/pages/pam/PamSessionsPage/components/PamSessionRow.tsx b/frontend/src/pages/pam/PamSessionsPage/components/PamSessionRow.tsx
index b18e11ba39..f730e331da 100644
--- a/frontend/src/pages/pam/PamSessionsPage/components/PamSessionRow.tsx
+++ b/frontend/src/pages/pam/PamSessionsPage/components/PamSessionRow.tsx
@@ -167,10 +167,10 @@ export const PamSessionRow = ({ session, search, filteredCommandLogs }: Props) =
</div>
<div className="font-mono">
- <HighlightText text={log.input} highlight={search} />
+ <HighlightText text={log.input.trim()} highlight={search} />
</div>
<div className="font-mono text-bunker-300">
- <HighlightText text={log.output} highlight={search} />
+ <HighlightText text={log.output.trim()} highlight={search} />
</div>
</div>
))}