Skip to content

Commit

Permalink
fix(kibana-security-health-check): improve "Dashboard" tracker view
Browse files Browse the repository at this point in the history
  • Loading branch information
azasypkin committed Dec 12, 2023
1 parent 5ddd8f2 commit 2295472
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion kibana-security-health-check/src/dashboard.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,9 @@ Status: ${
// HACK: Prepend the meta to the markdown content as part of the link to not clutter the markdown.
// NOTE: There should be a built-in way to specify metadata and user-facing content separately.
function prependMeta(markdownState: string, meta: Meta): string {
return `[:information:️️](https://meta.secutils.dev/${encodeURIComponent(JSON.stringify(meta))})${markdownState}`;
return `[:information_source:️️](https://meta.secutils.dev/${encodeURIComponent(
JSON.stringify(meta),
)})${markdownState}`;
}

function extractMeta(markdownState: string): Meta {
Expand Down

0 comments on commit 2295472

Please sign in to comment.