[Terminal Output] Truncated process output msg#143304
[Terminal Output] Truncated process output msg#143304mitodrummer merged 20 commits intoelastic:mainfrom
Conversation
…curity policies page.
| const { globalFullScreen } = useGlobalFullScreen(); | ||
| const { timelineFullScreen } = useTimelineFullScreen(); | ||
|
|
||
| const { canAccessEndpointManagement } = useUserPrivileges().endpointPrivileges; |
There was a problem hiding this comment.
Didn't know about this one, nice!
There was a problem hiding this comment.
What does using the canAccessEndpointManagement accomplish?
There was a problem hiding this comment.
The ansi message will contain a link to /security/administration/policy which is a listing of the defend integration policies. Only users with this permission can access it. I'm passing it as a parameter since I can't import this hook into session_view as it would introduce a circular dependency.
...ins/session_view/public/components/tty_player_controls/tty_player_controls_markers/index.tsx
Outdated
Show resolved
Hide resolved
x-pack/plugins/session_view/public/components/tty_player/translations.ts
Outdated
Show resolved
Hide resolved
x-pack/plugins/session_view/public/components/tty_player/translations.ts
Outdated
Show resolved
Hide resolved
x-pack/plugins/session_view/public/components/tty_player/hooks.ts
Outdated
Show resolved
Hide resolved
…into truncated_output_msg
…into truncated_output_msg
💛 Build succeeded, but was flaky
Failed CI StepsTest Failures
Metrics [docs]Module Count
Async chunks
Page load bundle
History
To update your PR or re-run it, just comment with: |
💔 All backports failed
Manual backportTo create the backport manually run: Questions ?Please refer to the Backport tool documentation |
|
Friendly reminder: Looks like this PR hasn’t been backported yet. |
Summary
Ansi crafted message added to tty player when a process exceeds max_kilobytes_per_process advanced policy setting. [ VIEW POLICIES ] inline link will navigate to /security/administration/policy page. Permissions are checked to ensure only users who can access the management page see the link.
xterm updated to v5, which unlocks ansi hyperlink escape codes. Some breaking changes were fixed in the process.
#141179 <-- xterm renovate PR
Checklist
Delete any items that are not applicable to this PR.