Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.
TypeScript acmeagentsai-agentscertificate-managementdevsecopsenvironment-variableskubernetesopen-sourcepampkipostgresprivate-caprivileged-access-managementsecret-managementsecret-managersecretssecrets-managementsecuritysecurity-toolsvault
better layout for warning
Matheus Nogueira7b91a48cda2e
diff --git a/frontend/src/components/honey-tokens/HoneyTokenDetailsDrawer.tsx b/frontend/src/components/honey-tokens/HoneyTokenDetailsDrawer.tsxindex a25c58ba52..d700b4ad56 100644--- a/frontend/src/components/honey-tokens/HoneyTokenDetailsDrawer.tsx+++ b/frontend/src/components/honey-tokens/HoneyTokenDetailsDrawer.tsx@@ -18,6 +18,7 @@ import {AccordionContent,AccordionItem,AccordionTrigger,+ Alert,AlertDialog,AlertDialogAction,AlertDialogCancel,@@ -267,36 +268,40 @@ const DrawerContent = ({type="single"collapsiblevariant="ghost"- className="rounded-md border border-yellow-800/50 bg-yellow-900/20 px-4"+ className="border-t border-border pt-2">- <AccordionItem value="response-guidance" className="border-yellow-700/40">- <AccordionTrigger className="text-sm font-medium text-white hover:text-white/90">+ <AccordionItem value="response-guidance">+ <AccordionTrigger className="text-sm font-medium">How should I respond?</AccordionTrigger>- <AccordionContent className="flex flex-col gap-4">- <div>- <p className="text-xs font-medium">1. False alarm confirmed?</p>- <p className="text-xs text-muted">- You might want to <strong>reset the honey token</strong>. This will revert its- status to active and hide the past events, so that the honey token can be- triggered again.- </p>- </div>- <div>- <p className="text-xs font-medium">2. Malicious activity confirmed?</p>- <p className="text-xs text-muted">- 1. Take immediate steps as per your company Incident Response Plan.- <br />- 2. <strong>Rotate any real secrets</strong> that were stored alongside the honey- token, as they may also be compromised.- <br />- 3. <strong>Revoke the honey token</strong>. This will prevent any new- connections while we keep the compromised key in our records.- <br />- 4. Don't forget to recreate a new honey token to replace it in the same- location.- </p>- </div>+ <AccordionContent>+ <Alert variant="info" className="flex flex-col gap-4">+ <div>+ <p className="text-xs font-medium text-white">1. False alarm confirmed?</p>+ <p className="text-xs text-muted/80">+ You might want to <strong>reset the honey token</strong>. This will revert its+ status to active and hide the past events, so that the honey token can be+ triggered again.+ </p>+ </div>+ <div>+ <p className="text-xs font-medium text-white">+ 2. Malicious activity confirmed?+ </p>+ <p className="text-xs text-muted/80">+ 1. Take immediate steps as per your company Incident Response Plan.+ <br />+ 2. <strong>Rotate any real secrets</strong> that were stored alongside the+ honey token, as they may also be compromised.+ <br />+ 3. <strong>Revoke the honey token</strong>. This will prevent any new+ connections while we keep the compromised key in our records.+ <br />+ 4. Don't forget to recreate a new honey token to replace it in the same+ location.+ </p>+ </div>+ </Alert></AccordionContent></AccordionItem></Accordion>