Skip to content

armgit / AiSOC

Public Imported from GitHub
0

Open-source AI Security Operations Center: alert fusion, LLM-agent triage, MITRE ATT&CK investigation, and a replayable decision ledger for every agent step. Self-hostable, runs with no API keys, MIT licensed. Ships an MCP server for Claude, Cursor and Continue.

570 B
Raw Blame
/**
 * Storybook shim for next/link. Renders an ordinary <a> so the
 * navigation contract works in the iframe. Click handlers still fire
 * but the iframe stays put.
 */
import React from 'react';

interface LinkLikeProps extends React.AnchorHTMLAttributes<HTMLAnchorElement> {
  href: string | { pathname: string };
  children?: React.ReactNode;
}

export default function Link({ href, children, ...rest }: LinkLikeProps) {
  const hrefStr = typeof href === 'string' ? href : href.pathname;
  return (
    <a href={hrefStr} {...rest}>
      {children}
    </a>
  );
}