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.

642 B
Raw Blame
import { RuleEditor } from '@/components/detections/RuleEditor';
import { ClientOnly } from '@/components/util/ClientOnly';
import { SkeletonCard } from '@/components/ui/Skeleton';

interface DetectionEditPageProps {
  params: Promise<{ id: string }>;
}

export const metadata = {
  title: 'Detection rule',
};

export default async function DetectionEditPage({
  params,
}: DetectionEditPageProps) {
  const { id } = await params;
  return (
    <ClientOnly
      fallback={
        <div className="space-y-4 p-6">
          <SkeletonCard />
        </div>
      }
    >
      <RuleEditor mode="edit" ruleId={id} />
    </ClientOnly>
  );
}