Skip to content

Commit 3514e95

Browse files
author
jdv
committed
adjusting prmeium upgrade
1 parent 7ebc9c3 commit 3514e95

3 files changed

Lines changed: 39 additions & 27 deletions

File tree

crowdsec-docs/src/components/premium-upgrade/feature-card.tsx

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ import Link from "@docusaurus/Link";
22
import React from "react";
33

44
export interface FeatureCardProps {
5+
id?: string;
56
title: string;
67
metric?: string;
78
description: string;
@@ -35,6 +36,7 @@ const categoryColors = {
3536
};
3637

3738
export const FeatureCard = ({
39+
id,
3840
title,
3941
metric,
4042
description,
@@ -46,8 +48,12 @@ export const FeatureCard = ({
4648
}: FeatureCardProps): React.JSX.Element => {
4749
const colors = categoryColors[category];
4850

51+
// Generate ID from title if not explicitly provided
52+
const generatedId = id || title.toLowerCase().replace(/\s+/g, '-').replace(/[^\w-]/g, '');
53+
4954
const cardContent = (
5055
<div
56+
id={generatedId}
5157
className={`
5258
h-full border border-solid border-border rounded-lg p-5 bg-card
5359
hover:shadow-md hover:border-primary/30 transition-all duration-200
@@ -103,6 +109,7 @@ export const FeatureCard = ({
103109
};
104110

105111
export interface HighlightCardProps {
112+
id?: string;
106113
title: string;
107114
description: string;
108115
stats?: Array<{
@@ -113,9 +120,12 @@ export interface HighlightCardProps {
113120
category?: "protection" | "scale" | "monitoring" | "intelligence";
114121
}
115122

116-
export const HighlightCard = ({ title, description, stats, link, category = "protection" }: HighlightCardProps): React.JSX.Element => {
123+
export const HighlightCard = ({ id, title, description, stats, link, category = "protection" }: HighlightCardProps): React.JSX.Element => {
124+
// Generate ID from title if not explicitly provided
125+
const generatedId = id || title.toLowerCase().replace(/\s+/g, '-').replace(/[^\w-]/g, '');
126+
117127
const content = (
118-
<div className="border border-solid border-primary/30 rounded-lg p-6 bg-gradient-to-r from-primary/5 to-transparent hover:shadow-md transition-all">
128+
<div id={generatedId} className="border border-solid border-primary/30 rounded-lg p-6 bg-gradient-to-r from-primary/5 to-transparent hover:shadow-md transition-all">
119129
<h4 className="font-semibold text-lg mb-2 text-gray-900 dark:text-gray-900">{title}</h4>
120130
<p className="text-sm text-gray-600 dark:text-gray-700 mb-4 leading-relaxed">{description}</p>
121131
{stats && stats.length > 0 && (

crowdsec-docs/unversioned/console/premium_upgrade.mdx

Lines changed: 26 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ export const personaOptions = [
1616
value: "devops",
1717
icon: "⚙️",
1818
label: "DevOps / SRE",
19-
description: "Managing infrastructure solo or in small teams, focused on reducing noise and blocking more threats.",
20-
tag: "Solo · SME"
19+
description: "Managing solo-infra or in small teams, focused on reducing noise and blocking more threats.",
20+
tag: "Solo · SMB"
2121
},
2222
{
2323
value: "secops",
@@ -37,11 +37,13 @@ export const personaOptions = [
3737

3838
<div style={{marginBottom: '2rem'}}>
3939

40-
# Find Premium Features **Made for You**
40+
## Find Premium Features **Made for You**
4141

42-
CrowdSec Premium features are designed for users who have **commercial usage** of the Console or organizations that want to **enhance the security posture** of their infrastructure. Premium unlocks advanced capabilities based on your role.
42+
**Premium** is designed if you're seeking **enhanced protection** or want to unlock **commercial use** with advanced features.
43+
**Community** covers the basics, **Premium** scales with your projects' needs.
4344

44-
**Select your profile below** to see only the features that matter most to you.
45+
**Select your profile below** to see only the features that matter most to you.
46+
*Or directly browse all premium features in the [**Features Overview**](/u/console/premium_upgrade/features_overview).*
4547

4648
</div>
4749

@@ -53,26 +55,26 @@ CrowdSec Premium features are designed for users who have **commercial usage** o
5355
>
5456
<TabItem value="devops">
5557

56-
## Solo or Small Team Infrastructure Management
58+
### Solo or Small Team Infrastructure Management
5759

5860
**Best for:** Individual engineers or small teams managing infrastructure, focused on reducing noise and blocking more threats efficiently.
5961

6062
---
6163

62-
### 🛡️ Enhanced Protection
64+
#### 🛡️ Enhanced Protection
6365

6466
<div className="grid grid-cols-1 md:grid-cols-2 gap-4 mb-6">
6567

6668
<FeatureCard
6769
title="Extended Community Blocklist"
6870
metric="3k → 50k IPs"
6971
category="protection"
70-
description="Receive the top 50,000 most aggressive attackers targeting services like yours (up from 3,000 in Community). More attackers blocked before they reach your servers."
72+
description="Receive the top 50k most aggressive attackers targeting services like yours (up from 3,000 in Community). More attackers blocked before they reach your servers."
7173
comparison={{
7274
before: "Community: top 3k",
7375
after: "Premium: top 50k (×16)"
7476
}}
75-
link="/u/console/blocklists/intro"
77+
link="/docs/central_api/community_blocklist/#community-blocklist-premium"
7678
/>
7779

7880
<FeatureCard
@@ -115,7 +117,7 @@ CrowdSec Premium features are designed for users who have **commercial usage** o
115117

116118
---
117119

118-
### ⚡ Automation & Sync
120+
#### ⚡ Automation & Sync
119121

120122
<HighlightCard
121123
title="Remediation Sync"
@@ -143,7 +145,7 @@ CrowdSec Premium features are designed for users who have **commercial usage** o
143145

144146
---
145147

146-
### 📊 Monitoring
148+
#### 📊 Monitoring
147149

148150
<FeatureCard
149151
title="Am I Under Attack"
@@ -155,7 +157,7 @@ CrowdSec Premium features are designed for users who have **commercial usage** o
155157

156158
---
157159

158-
### 💡 Why Premium for DevOps/SRE?
160+
#### 💡 Why Premium for DevOps/SRE?
159161

160162
- **Less noise, more signal**: Filter out scanner noise and focus on real threats
161163
- **Automation-first**: Sync decisions automatically, enroll engines without manual steps
@@ -166,13 +168,13 @@ CrowdSec Premium features are designed for users who have **commercial usage** o
166168

167169
<TabItem value="secops" label="🛡️ SecOps / Blue Team">
168170

169-
## Team Collaboration & Investigation
171+
### Team Collaboration & Investigation
170172

171173
**Best for:** Security teams that need to collaborate, investigate incidents, and maintain data retention for compliance and audits.
172174

173175
---
174176

175-
### 👥 Team Collaboration
177+
#### 👥 Team Collaboration
176178

177179
<div className="grid grid-cols-1 md:grid-cols-2 gap-4 mb-6">
178180

@@ -204,7 +206,7 @@ CrowdSec Premium features are designed for users who have **commercial usage** o
204206

205207
---
206208

207-
### 🔍 Investigation & Forensics
209+
#### 🔍 Investigation & Forensics
208210

209211
<div className="grid grid-cols-1 md:grid-cols-2 gap-4 mb-6">
210212

@@ -255,7 +257,7 @@ CrowdSec Premium features are designed for users who have **commercial usage** o
255257

256258
---
257259

258-
### 🔔 Monitoring & Alerting
260+
#### 🔔 Monitoring & Alerting
259261

260262
<div className="grid grid-cols-1 md:grid-cols-2 gap-4 mb-6">
261263

@@ -283,7 +285,7 @@ CrowdSec Premium features are designed for users who have **commercial usage** o
283285

284286
---
285287

286-
### 🛡️ Enhanced Protection
288+
#### 🛡️ Enhanced Protection
287289

288290
<div className="grid grid-cols-1 md:grid-cols-2 gap-4 mb-6">
289291

@@ -315,7 +317,7 @@ CrowdSec Premium features are designed for users who have **commercial usage** o
315317

316318
---
317319

318-
### 💡 Why Premium for SecOps/Blue Team?
320+
#### 💡 Why Premium for SecOps/Blue Team?
319321

320322
- **Team collaboration**: Multiple seats with role-based access
321323
- **Long-term retention**: 1 year of alerts for compliance and forensics
@@ -326,13 +328,13 @@ CrowdSec Premium features are designed for users who have **commercial usage** o
326328

327329
<TabItem value="msp" label="🏢 MSP / Integrator">
328330

329-
## Multi-Tenant Management & Automation
331+
### Multi-Tenant Management & Automation
330332

331333
**Best for:** MSPs and integrators managing security for multiple clients, requiring isolation, automation, and API-driven workflows.
332334

333335
---
334336

335-
### 🏗️ Multi-Tenancy & Isolation
337+
#### 🏗️ Multi-Tenancy & Isolation
336338

337339
<HighlightCard
338340
title="Multi-Organization"
@@ -346,7 +348,7 @@ CrowdSec Premium features are designed for users who have **commercial usage** o
346348

347349
---
348350

349-
### 🤖 Automation & API
351+
#### 🤖 Automation & API
350352

351353
<div className="grid grid-cols-1 md:grid-cols-2 gap-4 mb-6">
352354

@@ -394,7 +396,7 @@ CrowdSec Premium features are designed for users who have **commercial usage** o
394396

395397
---
396398

397-
### 👥 Team & Client Management
399+
#### 👥 Team & Client Management
398400

399401
<div className="grid grid-cols-1 md:grid-cols-2 gap-4 mb-6">
400402

@@ -418,7 +420,7 @@ CrowdSec Premium features are designed for users who have **commercial usage** o
418420

419421
---
420422

421-
### 🛡️ Protection at Scale
423+
#### 🛡️ Protection at Scale
422424

423425
<div className="grid grid-cols-1 md:grid-cols-2 gap-4 mb-6">
424426

@@ -457,7 +459,7 @@ CrowdSec Premium features are designed for users who have **commercial usage** o
457459

458460
---
459461

460-
### 💡 Why Premium for MSPs?
462+
#### 💡 Why Premium for MSPs?
461463

462464
- **Multi-tenant architecture**: Complete client isolation with unlimited organizations
463465
- **API-first**: Full Service API for automation and integration

crowdsec-docs/unversioned/console/premium_upgrade/features_overview.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ Make the best use of the premium features for your needs in: **Scaling, Multi-te
122122
before: "Community: top 3k",
123123
after: "Premium: top 50k (×16)"
124124
}}
125-
link="/u/console/blocklists/intro"
125+
link="/docs/central_api/community_blocklist/#community-blocklist-lite"
126126
/>
127127

128128
<FeatureCard

0 commit comments

Comments
 (0)