Skip to content

Commit 5c86b8b

Browse files
committed
chg: update UI priority and add attributes for Sigma and YARA rules
1 parent 054ed13 commit 5c86b8b

File tree

2 files changed

+22
-22
lines changed

2 files changed

+22
-22
lines changed

objects/sigma/definition.json

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
11
{
22
"attributes": {
3+
"sigma-rule-name": {
4+
"description": "Sigma rule name.",
5+
"misp-attribute": "text",
6+
"ui-priority": 1
7+
},
8+
"sigma": {
9+
"description": "Sigma rule.",
10+
"misp-attribute": "sigma",
11+
"ui-priority": 0
12+
},
313
"comment": {
414
"description": "A description of the Sigma rule.",
515
"misp-attribute": "comment",
@@ -23,16 +33,6 @@
2333
"description": "Reference/origin of the Sigma rule.",
2434
"misp-attribute": "link",
2535
"ui-priority": 0
26-
},
27-
"sigma": {
28-
"description": "Sigma rule.",
29-
"misp-attribute": "sigma",
30-
"ui-priority": 0
31-
},
32-
"sigma-rule-name": {
33-
"description": "Sigma rule name.",
34-
"misp-attribute": "text",
35-
"ui-priority": 1
3636
}
3737
},
3838
"description": "An object describing a Sigma rule (or a Sigma rule name).",
@@ -43,5 +43,5 @@
4343
"sigma-rule-name"
4444
],
4545
"uuid": "aa21a3cd-ab2c-442a-9999-a5e6626591ec",
46-
"version": 2
46+
"version": 3
4747
}

objects/yara/definition.json

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
11
{
22
"attributes": {
3+
"yara-rule-name": {
4+
"description": "YARA rule name.",
5+
"misp-attribute": "text",
6+
"ui-priority": 1
7+
},
8+
"yara": {
9+
"description": "YARA rule.",
10+
"misp-attribute": "yara",
11+
"ui-priority": 0
12+
},
313
"comment": {
414
"description": "A description of the YARA rule.",
515
"misp-attribute": "comment",
@@ -30,16 +40,6 @@
3040
"3.7.1"
3141
],
3242
"ui-priority": 0
33-
},
34-
"yara": {
35-
"description": "YARA rule.",
36-
"misp-attribute": "yara",
37-
"ui-priority": 0
38-
},
39-
"yara-rule-name": {
40-
"description": "YARA rule name.",
41-
"misp-attribute": "text",
42-
"ui-priority": 1
4343
}
4444
},
4545
"description": "An object describing a YARA rule (or a YARA rule name) along with its version.",
@@ -50,5 +50,5 @@
5050
"yara-rule-name"
5151
],
5252
"uuid": "b5acf82e-ecca-4868-82fe-9dbdf4d808c3",
53-
"version": 7
53+
"version": 8
5454
}

0 commit comments

Comments
 (0)