From aa30a49796eaca04e4e56631cdfe01b403770da8 Mon Sep 17 00:00:00 2001
From: Alexandre Dulaunoy
Date: Mon, 26 Mar 2018 11:28:32 +0200
Subject: [PATCH 1/2] fix: attribute type fixed
---
objects/fail2ban/definition.json | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/objects/fail2ban/definition.json b/objects/fail2ban/definition.json
index cfd9757..751833c 100644
--- a/objects/fail2ban/definition.json
+++ b/objects/fail2ban/definition.json
@@ -8,7 +8,7 @@
"banned-ip": {
"description": "IP Address banned by fail2ban",
"ui-priority": 1,
- "misp-attribute": "ipsrc"
+ "misp-attribute": "ip-src"
},
"timestamp": {
"description": "Timestamp of the report",
@@ -36,7 +36,7 @@
"misp-attribute": "text"
}
},
- "version": 1,
+ "version": 2,
"description": "Fail2ban event",
"meta-category": "network",
"uuid": "8be2271-7326-41a5-a0dd-9b4bec88e1ba",
From b0755e3ca858027b6510e2330b9a38ccc1eae2d0 Mon Sep 17 00:00:00 2001
From: Alexandre Dulaunoy
Date: Mon, 26 Mar 2018 11:37:38 +0200
Subject: [PATCH 2/2] jq all
---
objects/fail2ban/definition.json | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/objects/fail2ban/definition.json b/objects/fail2ban/definition.json
index 751833c..dd4fc95 100644
--- a/objects/fail2ban/definition.json
+++ b/objects/fail2ban/definition.json
@@ -1,5 +1,5 @@
{
- "required":[
+ "required": [
"banned-ip",
"processing-timestamp",
"attack-type"