Skip to content

Commit 41ad26b

Browse files
committed
CTI Doc: Move taxonomy to first level menu
1 parent 17219e1 commit 41ad26b

File tree

2 files changed

+21
-19
lines changed

2 files changed

+21
-19
lines changed

crowdsec-docs/sidebarsUnversioned.ts

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -49,27 +49,27 @@ const sidebarsUnversionedConfig: SidebarConfig = {
4949
label: "Getting Started",
5050
id: "cti_api/api_getting_started",
5151
},
52-
{
53-
type: "category",
54-
label: "Taxonomy",
55-
items: [
56-
"cti_api/taxonomy/intro",
57-
"cti_api/taxonomy/cti_object",
58-
"cti_api/taxonomy/scores",
59-
"cti_api/taxonomy/scenarios",
60-
"cti_api/taxonomy/behaviors",
61-
"cti_api/taxonomy/classifications",
62-
"cti_api/taxonomy/false_positives",
63-
"cti_api/taxonomy/benign",
64-
],
65-
},
6652
{
6753
type: "link",
6854
label: "Swagger",
6955
href: "https://crowdsecurity.github.io/cti-api/",
7056
},
7157
],
7258
},
59+
{
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+
],
72+
},
7373
{
7474
type: "category",
7575
label: "Integrations",

crowdsec-docs/unversioned/cti_api/taxonomy/cti_fields.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -504,11 +504,13 @@ Human-friendly description of the behavior.
504504
"description" : "False Positive description"
505505
}
506506
],
507-
"classifications" : {
508-
"name" : "classification",
509-
"label" : "Classification",
510-
"description" : "Classification description"
511-
}
507+
"classifications" : [
508+
{
509+
"name" : "classification",
510+
"label" : "Classification",
511+
"description" : "Classification description"
512+
}
513+
]
512514
}
513515
```
514516

0 commit comments

Comments
 (0)