refactor: drop the advisory policy-packs section and the findings cursor tooltip (#1369)

* refactor: drop the advisory policy-packs section and the findings cursor tooltip

Two Security-page cleanups from review.

- Remove the advisory policy-packs catalog from the Policies tab. It was
  information-only and disconnected from the scan_policies enforcement engine, so
  it read as duplicated. The tab now hosts only the enforcement manager, which is
  paid, so the Policies tab is hidden for Community (with a deep-link guard) and
  the Overview's enforcement hint is gated to match. The backend policy-packs
  catalog and route are kept as a dormant foundation. Delete the orphaned
  PolicyPacksTab component, its test, and the unused frontend pack types.
- Drop the cursor-follow tooltip from the findings severity badge (Secrets and
  Compose risks), matching the Images table.
- Clarify that Compose risks is a Trivy security-misconfig audit, distinct from
  Compose Doctor's deploy-readiness preflight, in the tab copy and the docs.

* chore: re-run CI
This commit is contained in:
Anso
2026-06-12 23:24:32 -04:00
committed by GitHub
parent 4610a433e6
commit 3c116466d9
9 changed files with 43 additions and 274 deletions
-20
View File
@@ -214,23 +214,3 @@ export interface SecurityRiskTrendPoint {
critical: number;
high: number;
}
export type PolicyRuleEnforcement = 'warning' | 'enforceable';
export interface PolicyPackRule {
id: string;
name: string;
severity: Exclude<VulnSeverity, 'UNKNOWN'>;
whatItChecks: string;
why: string;
howToFix: string;
enforcement: PolicyRuleEnforcement;
}
export interface PolicyPack {
id: string;
name: string;
tagline: string;
tierCopy: string;
rules: PolicyPackRule[];
}