Skip to content

Commit 1e4c529

Browse files
authored
Merge branch 'main' into LET_revamp
2 parents 23737bb + 35ecdfb commit 1e4c529

46 files changed

Lines changed: 536 additions & 765 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

crowdsec-docs/docusaurus.config.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,8 +88,13 @@ const NAVBAR_ITEMS: NavbarItem[] = [
8888
position: "left",
8989
label: "Blocklists",
9090
},
91-
{ to: "/u/cti_api/intro", position: "left", label: "CTI" },
91+
{ to: "/u/cti_api/intro", position: "left", label: "IP Reputation & CTI" },
9292
{ to: "/u/console/intro", position: "left", label: "Console" },
93+
{
94+
type: "html",
95+
value: '<span class="navbar-separator" aria-hidden="true"></span>',
96+
position: "left",
97+
},
9398
{
9499
label: "Resources",
95100
position: "left",

crowdsec-docs/sidebarsUnversioned.ts

Lines changed: 171 additions & 118 deletions
Original file line numberDiff line numberDiff line change
@@ -10,65 +10,17 @@ const sidebarsUnversionedConfig: SidebarConfig = {
1010
id: "cti_api/intro",
1111
},
1212
{
13-
type: "category",
13+
type: "link",
1414
label: "Web UI",
15-
items: [
16-
{
17-
type: "doc",
18-
label: "Getting Started",
19-
id: "cti_api/getting_started",
20-
},
21-
{
22-
type: "doc",
23-
label: "IP Report",
24-
id: "cti_api/ip_report",
25-
},
26-
{
27-
type: "doc",
28-
label: "Advanced Search",
29-
id: "cti_api/advanced_search",
30-
},
31-
{
32-
type: "doc",
33-
label: "Search Queries",
34-
id: "cti_api/search_queries",
35-
},
36-
{
37-
type: "doc",
38-
label: "CVE Explorer",
39-
id: "cti_api/cve_explorer",
40-
},
41-
],
42-
},
43-
{
44-
type: "category",
45-
label: "API",
46-
items: [
47-
{
48-
type: "doc",
49-
label: "Getting Started",
50-
id: "cti_api/api_getting_started",
51-
},
52-
{
53-
type: "link",
54-
label: "Swagger",
55-
href: "https://crowdsecurity.github.io/cti-api/",
56-
},
57-
],
15+
href: "/u/console/ip_reputation/intro",
16+
customProps: {
17+
tag: "otherSection",
18+
},
5819
},
5920
{
60-
type: "category",
61-
label: "Taxonomy",
62-
items: [
63-
"cti_api/taxonomy/intro",
64-
"cti_api/taxonomy/cti_object",
65-
"cti_api/taxonomy/scores",
66-
"cti_api/taxonomy/scenarios",
67-
"cti_api/taxonomy/behaviors",
68-
"cti_api/taxonomy/classifications",
69-
"cti_api/taxonomy/false_positives",
70-
"cti_api/taxonomy/benign",
71-
],
21+
type: "doc",
22+
label: "API Access",
23+
id: "cti_api/api_introduction",
7224
},
7325
{
7426
type: "category",
@@ -96,6 +48,40 @@ const sidebarsUnversionedConfig: SidebarConfig = {
9648
"cti_api/api_integration/integration_thehive",
9749
],
9850
},
51+
{
52+
type: "html",
53+
value: "<hr style='margin: 0.75rem 0; opacity: 0.35;' />",
54+
defaultStyle: false,
55+
},
56+
{
57+
type: "doc",
58+
label: "Advanced Query Syntax",
59+
id: "cti_api/search_queries",
60+
},
61+
{
62+
type: "category",
63+
label: "Taxonomy",
64+
items: [
65+
"cti_api/taxonomy/intro",
66+
"cti_api/taxonomy/cti_object",
67+
"cti_api/taxonomy/scores",
68+
"cti_api/taxonomy/scenarios",
69+
"cti_api/taxonomy/behaviors",
70+
"cti_api/taxonomy/classifications",
71+
"cti_api/taxonomy/false_positives",
72+
"cti_api/taxonomy/benign",
73+
],
74+
},
75+
{
76+
type: "html",
77+
value: "<hr style='margin: 0.75rem 0; opacity: 0.35;' />",
78+
defaultStyle: false,
79+
},
80+
{
81+
type: "link",
82+
label: "Swagger",
83+
href: "https://crowdsecurity.github.io/cti-api/",
84+
},
9985
{
10086
type: "doc",
10187
label: "FAQ",
@@ -213,6 +199,11 @@ const sidebarsUnversionedConfig: SidebarConfig = {
213199
label: "Getting Started",
214200
id: "console/getting_started",
215201
},
202+
{
203+
type: "html",
204+
value: "<hr style='margin: 0.75rem 0; opacity: 0.35;' />",
205+
defaultStyle: false,
206+
},
216207
{
217208
type: "category",
218209
label: "Security Engine",
@@ -281,11 +272,6 @@ const sidebarsUnversionedConfig: SidebarConfig = {
281272
},
282273
],
283274
},
284-
{
285-
label: "Blocklists",
286-
type: "doc",
287-
id: "blocklists/intro",
288-
},
289275
{
290276
type: "category",
291277
label: "Alerts",
@@ -360,6 +346,16 @@ const sidebarsUnversionedConfig: SidebarConfig = {
360346
},
361347
],
362348
},
349+
{
350+
type: "html",
351+
value: "<hr style='margin: 0.75rem 0; opacity: 0.35;' />",
352+
defaultStyle: false,
353+
},
354+
{
355+
label: "Blocklists",
356+
type: "doc",
357+
id: "blocklists/intro",
358+
},
363359
{
364360
id: "console/allowlists",
365361
type: "doc",
@@ -368,44 +364,137 @@ const sidebarsUnversionedConfig: SidebarConfig = {
368364
tag: "premium",
369365
},
370366
},
367+
{
368+
id: "console/threat_forecast",
369+
type: "doc",
370+
label: "Threat Forecast",
371+
customProps: {
372+
tag: "premium",
373+
},
374+
},
375+
{
376+
type: "html",
377+
value: "<hr style='margin: 0.75rem 0; opacity: 0.35;' />",
378+
defaultStyle: false,
379+
},
371380
{
372381
type: "category",
373-
label: "Enterprise plan",
382+
label: "IP Reputation / CTI",
383+
link: {
384+
type: "doc",
385+
id: "console/ip_reputation/intro",
386+
},
387+
items: [
388+
{
389+
type: "category",
390+
label: "Search UI",
391+
link: {
392+
type: "doc",
393+
id: "console/ip_reputation/search_ui",
394+
},
395+
items: [
396+
{
397+
type: "doc",
398+
label: "Advanced Search",
399+
id: "console/ip_reputation/search_ui_advanced",
400+
},
401+
{
402+
type: "link",
403+
label: "Search Queries Syntax",
404+
href: "/u/cti_api/search_queries",
405+
customProps: {
406+
tag: "otherSection",
407+
},
408+
},
409+
],
410+
},
411+
{
412+
type: "doc",
413+
label: "IP Reputation Report",
414+
id: "console/ip_reputation/ip_report",
415+
},
416+
{
417+
type: "category",
418+
label: "API Keys",
419+
link: {
420+
type: "doc",
421+
id: "console/ip_reputation/api_keys",
422+
},
423+
items: [
424+
{
425+
type: "doc",
426+
label: "Premium API Keys",
427+
id: "console/ip_reputation/api_keys_premium",
428+
customProps: {
429+
tag: "premium",
430+
},
431+
},
432+
{
433+
type: "link",
434+
label: "CTI API Integrations",
435+
href: "/u/cti_api/api_integration/integration_intro",
436+
customProps: {
437+
tag: "otherSection",
438+
},
439+
},
440+
{
441+
type: "link",
442+
label: "Enrichment Fields Ref",
443+
href: "/u/cti_api/taxonomy/intro",
444+
customProps: {
445+
tag: "otherSection",
446+
},
447+
},
448+
],
449+
},
450+
],
451+
},
452+
{
453+
type: "html",
454+
value: "<hr style='margin: 0.75rem 0; opacity: 0.35;' />",
455+
defaultStyle: false,
456+
},
457+
{
458+
type: "category",
459+
label: "Notification integrations",
374460
customProps: {
375461
tag: "premium",
376462
},
377463
items: [
378464
{
379465
type: "doc",
380-
label: "Enterprise support",
381-
id: "console/enterprise_plan/enterprise_support",
466+
label: "Overview",
467+
id: "console/notification_integrations/overview",
382468
customProps: {
383469
tag: "premium",
384470
},
385471
},
386472
{
387473
type: "doc",
388-
label: "Invoices",
389-
id: "console/enterprise_plan/enterprise_invoices",
474+
label: "Notification Rule",
475+
id: "console/notification_integrations/rule",
390476
customProps: {
391477
tag: "premium",
392478
},
393479
},
480+
{
481+
type: "doc",
482+
label: "Discord",
483+
id: "console/notification_integrations/discord",
484+
},
485+
{
486+
type: "doc",
487+
label: "Slack",
488+
id: "console/notification_integrations/slack",
489+
},
490+
491+
{
492+
type: "doc",
493+
label: "Webhook",
494+
id: "console/notification_integrations/webhook",
495+
},
394496
],
395497
},
396-
{
397-
id: "console/threat_forecast",
398-
type: "doc",
399-
label: "Threat Forecast",
400-
customProps: {
401-
tag: "premium",
402-
},
403-
},
404-
{
405-
type: "link",
406-
label: "CTI",
407-
href: "/u/cti_api/intro",
408-
},
409498
{
410499
type: "category",
411500
label: "Service API",
@@ -483,45 +572,9 @@ const sidebarsUnversionedConfig: SidebarConfig = {
483572
],
484573
},
485574
{
486-
type: "category",
487-
label: "Notification integrations",
488-
customProps: {
489-
tag: "premium",
490-
},
491-
items: [
492-
{
493-
type: "doc",
494-
label: "Overview",
495-
id: "console/notification_integrations/overview",
496-
customProps: {
497-
tag: "premium",
498-
},
499-
},
500-
{
501-
type: "doc",
502-
label: "Notification Rule",
503-
id: "console/notification_integrations/rule",
504-
customProps: {
505-
tag: "premium",
506-
},
507-
},
508-
{
509-
type: "doc",
510-
label: "Discord",
511-
id: "console/notification_integrations/discord",
512-
},
513-
{
514-
type: "doc",
515-
label: "Slack",
516-
id: "console/notification_integrations/slack",
517-
},
518-
519-
{
520-
type: "doc",
521-
label: "Webhook",
522-
id: "console/notification_integrations/webhook",
523-
},
524-
],
575+
type: "html",
576+
value: "<hr style='margin: 0.75rem 0; opacity: 0.35;' />",
577+
defaultStyle: false,
525578
},
526579
{
527580
type: "doc",

crowdsec-docs/src/css/navbar.css

Lines changed: 9 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)