Skip to content

Commit fd69565

Browse files
authored
V1.2.3 release (#10)
1 parent 14d141f commit fd69565

32 files changed

+1966
-1262
lines changed

CHANGELOG.md

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,17 @@ to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
1010
The [public API](https://semver.org/spec/v2.0.0.html#spec-item-1) of this library consists of all code related to the
1111
Splunk app: i.e., all files and folders except ones that are ignored by the `.slimignore` file.
1212

13-
1413
---
1514

15+
## [1.2.3](https://github.com/crowdsecurity/crowdsec-splunk-app/releases/tag/v1.2.3) - 2025-11-25
16+
17+
[_Compare with previous release_](https://github.com/crowdsecurity/crowdsec-splunk-app/compare/v1.2.2...v1.2.3)
18+
19+
### Changed
20+
21+
- Fix fields not being present in the records if the first match was an unknown IP or without an IP field
22+
- Force app to run on the search head.
23+
1624
## [1.2.2](https://github.com/crowdsecurity/crowdsec-splunk-app/releases/tag/v1.2.2) - 2025-11-17
1725

1826
[_Compare with previous release_](https://github.com/crowdsecurity/crowdsec-splunk-app/compare/v1.2.1...v1.2.2)
@@ -33,7 +41,6 @@ Splunk app: i.e., all files and folders except ones that are ignored by the `.sl
3341

3442
[_Compare with previous release_](https://github.com/crowdsecurity/crowdsec-splunk-app/compare/v1.2.0...v1.2.1)
3543

36-
3744
### Fixed
3845

3946
- Make API key editable in the UI
@@ -50,7 +57,7 @@ Splunk app: i.e., all files and folders except ones that are ignored by the `.sl
5057

5158
### Fixed
5259

53-
- Fix typo for `aggressiveness` fields
60+
- Fix typo for `aggressiveness` fields
5461

5562
---
5663

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
PYTHON=python3.9
2-
SDK_VERSION=2.1.0
2+
SDK_VERSION=2.1.1
33
TARGET_DIR=bin/splunklib
44
TMP_DIR=/tmp/splunk-sdk
55

app.manifest

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"id": {
66
"group": null,
77
"name": "crowdsec-splunk-app",
8-
"version": "1.2.2"
8+
"version": "1.2.3"
99
},
1010
"author": [
1111
{

appserver/static/javascript/setup_page.js

Lines changed: 11 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -3,21 +3,16 @@
33
var app_name = "./crowdsec-splunk-app";
44

55
require.config({
6-
paths: {
7-
myApp: "../app/" + app_name + "/javascript/views/app",
8-
react: "../app/" + app_name + "/javascript/vendor/react.production.min",
9-
ReactDOM: "../app/" + app_name + "/javascript/vendor/react-dom.production.min",
10-
},
11-
scriptType: "module",
12-
urlArgs: "v=v1.2.2"
6+
paths: {
7+
myApp: "../app/" + app_name + "/javascript/views/app",
8+
react: "../app/" + app_name + "/javascript/vendor/react.production.min",
9+
ReactDOM:
10+
"../app/" + app_name + "/javascript/vendor/react-dom.production.min",
11+
},
12+
scriptType: "module",
13+
urlArgs: "v=v1.2.3",
1314
});
1415

15-
require([
16-
"react",
17-
"ReactDOM",
18-
"myApp",
19-
], function (react, ReactDOM, myApp) {
20-
ReactDOM.render(myApp, document.getElementById('main_container'));
21-
})
22-
23-
;
16+
require(["react", "ReactDOM", "myApp"], function (react, ReactDOM, myApp) {
17+
ReactDOM.render(myApp, document.getElementById("main_container"));
18+
});

bin/cssmoke.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ def stream(self, records):
124124
headers = {
125125
"x-api-key": api_key,
126126
"Accept": "application/json",
127-
"User-Agent": "crowdSec-splunk-app/v1.0.0",
127+
"User-Agent": "crowdSec-splunk-app/v1.2.3",
128128
}
129129

130130
allowed_fields = None

bin/splunklib/__init__.py

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,19 +16,21 @@
1616

1717
import logging
1818

19-
DEFAULT_LOG_FORMAT = '%(asctime)s, Level=%(levelname)s, Pid=%(process)s, Logger=%(name)s, File=%(filename)s, ' \
20-
'Line=%(lineno)s, %(message)s'
21-
DEFAULT_DATE_FORMAT = '%Y-%m-%d %H:%M:%S %Z'
19+
DEFAULT_LOG_FORMAT = (
20+
"%(asctime)s, Level=%(levelname)s, Pid=%(process)s, Logger=%(name)s, File=%(filename)s, "
21+
"Line=%(lineno)s, %(message)s"
22+
)
23+
DEFAULT_DATE_FORMAT = "%Y-%m-%d %H:%M:%S %Z"
2224

2325

2426
# To set the logging level of splunklib
2527
# ex. To enable debug logs, call this method with parameter 'logging.DEBUG'
2628
# default logging level is set to 'WARNING'
27-
def setup_logging(level, log_format=DEFAULT_LOG_FORMAT, date_format=DEFAULT_DATE_FORMAT):
28-
logging.basicConfig(level=level,
29-
format=log_format,
30-
datefmt=date_format)
29+
def setup_logging(
30+
level, log_format=DEFAULT_LOG_FORMAT, date_format=DEFAULT_DATE_FORMAT
31+
):
32+
logging.basicConfig(level=level, format=log_format, datefmt=date_format)
3133

3234

33-
__version_info__ = (2, 1, 0)
35+
__version_info__ = (2, 1, 1)
3436
__version__ = ".".join(map(str, __version_info__))

0 commit comments

Comments
 (0)