Benjamin Cabanes 3b0c456bbe
docs(nx-dev): add enterprise security page (#30852)
Introduce a new enterprise security page highlighting key features like cache poisoning protection, CI access, and personal access control.
2025-04-25 15:22:02 -04:00

87 lines
2.9 KiB
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

'use client';
import {
ArrowPathIcon,
ArrowsUpDownIcon,
FingerPrintIcon,
IdentificationIcon,
LinkSlashIcon,
} from '@heroicons/react/24/outline';
import {
SectionDescription,
SectionHeading,
Strong,
} from '@nx/nx-dev/ui-common';
import { ReactElement } from 'react';
import { GitHubIcon } from '@nx/nx-dev/ui-icons';
import Link from 'next/link';
export function CiAccess(): ReactElement {
return (
<section
id="token-rotation-and-revocation-section"
className="scroll-mt-24 overflow-hidden"
>
<div className="mx-auto max-w-7xl px-6 lg:px-8">
<div className="grid grid-cols-1 gap-x-8 gap-y-16 sm:gap-20 lg:grid-cols-2 lg:items-end">
<div>
<SectionHeading
as="h2"
variant="title"
id="token-rotation-and-revocation"
>
CI Access: Token Rotation & Revocation
</SectionHeading>
<SectionHeading as="p" variant="subtitle" className="mt-6">
Secure today, safer tomorrow: automatic token rotation.
</SectionHeading>
<SectionDescription as="p" className="mt-6">
<Strong>
Compromised token? Those artifacts wont touch production.
</Strong>{' '}
All artifacts created with a revoked token are automatically
invalidated so leaked credentials cant poison your builds.
</SectionDescription>
</div>
<div>
<SectionDescription as="p" className="mt-6">
<Strong>Nx Cloud allows you to:</Strong>
</SectionDescription>
<ul className="mt-4 space-y-4 text-base leading-7">
<li className="relative pl-9">
<span className="inline font-semibold text-slate-950 dark:text-white">
<ArrowPathIcon
aria-hidden="true"
className="absolute left-1 top-1 h-5 w-5"
/>
Rotate tokens weekly (or as often as needed)
</span>
</li>
<li className="relative pl-9">
<span className="inline font-semibold text-slate-950 dark:text-white">
<ArrowsUpDownIcon
aria-hidden="true"
className="absolute left-1 top-1 h-5 w-5"
/>
Minimize long-term exposure with read-write token rotations
</span>
</li>
</ul>
<div className="mt-4">
<Link
href="/ci/recipes/security/access-tokens"
title="Learn more about CI Access Tokens"
className="text-sm/6 font-semibold"
>
Learn more about CI Access Tokens{' '}
<span aria-hidden="true"></span>
</Link>
</div>
</div>
</div>
</div>
</section>
);
}