Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

address reviews

x032205ed1a2101de7c
diff --git a/frontend/src/pages/pam/PamAccountByIDPage/PamAccountByIDPage.tsx b/frontend/src/pages/pam/PamAccountByIDPage/PamAccountByIDPage.tsx
index e0424959ec..9bf4db3950 100644
--- a/frontend/src/pages/pam/PamAccountByIDPage/PamAccountByIDPage.tsx
+++ b/frontend/src/pages/pam/PamAccountByIDPage/PamAccountByIDPage.tsx
@@ -300,7 +300,7 @@ const PageContent = () => {
</div>
{/* Right Column - Tabbed Content */}
- <div className="flex-1">
+ <div className="min-w-0 flex-1">
<Tabs value={selectedTab} onValueChange={handleTabChange}>
<TabList>
<Tab value="resources">Resources</Tab>
diff --git a/frontend/src/pages/pam/PamDiscoveryDetailPage/PamDiscoveryDetailPage.tsx b/frontend/src/pages/pam/PamDiscoveryDetailPage/PamDiscoveryDetailPage.tsx
index f2e8e98c49..4ef0ac4486 100644
--- a/frontend/src/pages/pam/PamDiscoveryDetailPage/PamDiscoveryDetailPage.tsx
+++ b/frontend/src/pages/pam/PamDiscoveryDetailPage/PamDiscoveryDetailPage.tsx
@@ -319,7 +319,7 @@ const RunExpandedContent = ({
{adEnum && (
<div className="flex flex-col gap-1.5">
<span className="text-xs font-medium tracking-wider text-label uppercase">
- AD Enumeration
+ Directory Scan
</span>
<Badge
variant={PROGRESS_BADGE_MAP[adEnum.status] || "info"}
@@ -335,7 +335,7 @@ const RunExpandedContent = ({
{depScan && (
<div className="flex flex-col gap-1.5">
<span className="text-xs font-medium tracking-wider text-label uppercase">
- Machine Enumeration
+ Host Scan
</span>
<Badge
variant={PROGRESS_BADGE_MAP[depScan.status] || "info"}
@@ -345,7 +345,7 @@ const RunExpandedContent = ({
</Badge>
{depScan.totalMachines !== undefined && (
<span className="text-xs text-muted">
- {depScan.scannedMachines ?? 0}/{depScan.totalMachines} machines
+ {depScan.scannedMachines ?? 0}/{depScan.totalMachines} hosts
{(depScan.failedMachines ?? 0) > 0 && (
<span className="ml-1 text-danger">({depScan.failedMachines} failed)</span>
)}
@@ -368,13 +368,13 @@ const RunExpandedContent = ({
{hasMachineErrors && (
<div className="flex flex-col gap-1.5">
<span className="text-xs font-medium tracking-wider text-label uppercase">
- Machine Errors
+ Host Errors
</span>
<div className="mb-0.5 flex items-center gap-2 rounded border border-yellow-500/30 bg-yellow-500/10 px-3 py-2 text-xs text-yellow-400">
<InfoIcon className="size-4 shrink-0" />
<span className="whitespace-pre-wrap">
- Machines without WinRM enabled will fail with &quot;socket hang up&quot;. This is
- expected for domain controllers and machines not configured for remote management.
+ Hosts without WinRM enabled will fail with &quot;socket hang up&quot;. This is
+ expected for domain controllers and hosts not configured for remote management.
</span>
</div>
<div className="flex flex-col gap-1">
@@ -1079,7 +1079,7 @@ const PageContent = () => {
</div>
{/* Right Column - Tabbed Content */}
- <div className="flex w-full min-w-0">
+ <div className="min-w-0 flex-1">
<Tabs value={selectedTab} onValueChange={handleTabChange} className="w-full">
<UnstableCard className="py-3">
<UnstableCardHeader>
diff --git a/frontend/src/pages/pam/PamResourceByIDPage/PamResourceByIDPage.tsx b/frontend/src/pages/pam/PamResourceByIDPage/PamResourceByIDPage.tsx
index 15aeff75d3..5793282c39 100644
--- a/frontend/src/pages/pam/PamResourceByIDPage/PamResourceByIDPage.tsx
+++ b/frontend/src/pages/pam/PamResourceByIDPage/PamResourceByIDPage.tsx
@@ -211,7 +211,7 @@ const PageContent = () => {
</div>
{/* Right Column - Tabbed Content */}
- <div className="flex-1">
+ <div className="min-w-0 flex-1">
<Tabs value={selectedTab} onValueChange={handleTabChange}>
<TabList>
<Tab value="accounts">Accounts</Tab>
diff --git a/frontend/src/pages/pam/PamResourceByIDPage/components/PamRotationPolicyModal.tsx b/frontend/src/pages/pam/PamResourceByIDPage/components/PamRotationPolicyModal.tsx
index 1df963b7e3..8516d7f231 100644
--- a/frontend/src/pages/pam/PamResourceByIDPage/components/PamRotationPolicyModal.tsx
+++ b/frontend/src/pages/pam/PamResourceByIDPage/components/PamRotationPolicyModal.tsx
@@ -1,7 +1,7 @@
import { useCallback, useEffect, useState } from "react";
import { Controller, useForm } from "react-hook-form";
import { zodResolver } from "@hookform/resolvers/zod";
-import { PlusIcon, TriangleAlertIcon, XIcon } from "lucide-react";
+import { InfoIcon, PlusIcon, TriangleAlertIcon, XIcon } from "lucide-react";
import { z } from "zod";
import { createNotification } from "@app/components/notifications";
@@ -311,6 +311,18 @@ export const PamRotationPolicyModal = ({ isOpen, onOpenChange, resource }: Props
</UnstableAlert>
)}
+ {/* Local account warning for Windows Server resources */}
+ {resource.resourceType === PamResourceType.Windows && (
+ <UnstableAlert variant="info">
+ <InfoIcon />
+ <UnstableAlertTitle>Local Accounts Only</UnstableAlertTitle>
+ <UnstableAlertDescription>
+ Rotation on Windows Server resources applies to local machine accounts only. To
+ rotate domain accounts, configure rotation on the Active Directory resource instead.
+ </UnstableAlertDescription>
+ </UnstableAlert>
+ )}
+
{/* Rotation Credentials */}
<div className="flex flex-col gap-3">
<div className="flex flex-col gap-1">
@@ -387,8 +399,11 @@ export const PamRotationPolicyModal = ({ isOpen, onOpenChange, resource }: Props
<div>
<div className="mb-3 flex items-center justify-between">
<div className="flex flex-col gap-1">
- <Label>Rotation Rules</Label>
- <p className="text-xs text-muted">Rules are evaluated top-to-bottom by priority</p>
+ <Label>Auto Rotation Rules</Label>
+ <p className="text-xs text-muted">
+ Rules are evaluated top-to-bottom by priority and define which accounts get their
+ credentials automatically rotated
+ </p>
</div>
<Button variant="neutral" size="xs" onClick={handleAddRule}>
diff --git a/frontend/src/pages/pam/PamResourcesPage/components/ResourceTypeSelect.tsx b/frontend/src/pages/pam/PamResourcesPage/components/ResourceTypeSelect.tsx
index d2d1ce2003..0a654a0502 100644
--- a/frontend/src/pages/pam/PamResourcesPage/components/ResourceTypeSelect.tsx
+++ b/frontend/src/pages/pam/PamResourcesPage/components/ResourceTypeSelect.tsx
@@ -66,7 +66,6 @@ export const ResourceTypeSelect = ({ onSelect }: Props) => {
<div className="flex h-fit w-full flex-col gap-2 p-4">
{allOptions.map((option) => {
const details = PAM_RESOURCE_TYPE_MAP[option.resource];
- const isComingSoon = COMING_SOON_SET.has(option.resource);
return (
<Button
@@ -82,7 +81,6 @@ export const ResourceTypeSelect = ({ onSelect }: Props) => {
alt={`${details.name} logo`}
/>
<Label className="pointer-events-none">{details.name}</Label>
- {isComingSoon && <span className="ml-auto text-xs text-muted">Coming Soon</span>}
</Button>
);
})}