Skip to content

Commit 269fef3

Browse files
authored
Merge pull request #482 from splunk/develop
Release/820
2 parents 040219e + da2e6cd commit 269fef3

File tree

9 files changed

+83
-12
lines changed

9 files changed

+83
-12
lines changed

.trivyignore

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,24 @@
22
# /usr/lib/python3.7/site-packages/ansible_collections/netbox/netbox/poetry.lock
33
CVE-2020-36242
44
CVE-2020-14343
5+
6+
# Downgraded to LOW severity by the Product Security team as the packages are not actually
7+
# shipped with the release.
8+
# SPL-203200
9+
CVE-2021-28092
10+
# SPL-203205
11+
CVE-2021-27290
12+
# SPL-196809
13+
CVE-2018-11777
14+
CVE-2016-3083
15+
CVE-2015-7521
16+
CVE-2016-3083
17+
18+
# Marked as fixed in the next Splunk release
19+
CVE-2021-23358
20+
CVE-2020-25649
21+
22+
# Fixed by Apache Spark in versions 3.0.3, 3.1.2, 3.2.0
23+
CVE-2020-27216
24+
CVE-2021-28165
25+
CVE-2020-27216

Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ SPLUNK_ANSIBLE_BRANCH ?= develop
77
SPLUNK_COMPOSE ?= cluster_absolute_unit.yaml
88
# Set Splunk version/build parameters here to define downstream URLs and file names
99
SPLUNK_PRODUCT := splunk
10-
SPLUNK_VERSION := 8.1.3
11-
SPLUNK_BUILD := 63079c59e632
10+
SPLUNK_VERSION := 8.2.0
11+
SPLUNK_BUILD := e053ef3c985f
1212
ifeq ($(shell arch), s390x)
1313
SPLUNK_ARCH = s390x
1414
else
@@ -26,7 +26,7 @@ SPLUNK_WIN_BUILD_URL ?= https://download.splunk.com/products/${SPLUNK_PRODUCT}/r
2626
UF_WIN_FILENAME ?= splunkforwarder-${SPLUNK_VERSION}-${SPLUNK_BUILD}-x64-release.msi
2727
UF_WIN_BUILD_URL ?= https://download.splunk.com/products/universalforwarder/releases/${SPLUNK_VERSION}/windows/${UF_WIN_FILENAME}
2828
# Splunk Cloud SDK binary
29-
SCLOUD_URL ?= https://github.com/splunk/splunk-cloud-sdk-go/releases/download/v1.7.0/scloud_v4.0.0_linux_amd64.tar.gz
29+
SCLOUD_URL ?= https://github.com/splunk/splunk-cloud-sdk-go/releases/download/v1.11.1/scloud_v7.1.0_linux_amd64.tar.gz
3030

3131
# Security Scanner Variables
3232
SCANNER_DATE := `date +%Y-%m-%d`

base/debian-10/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ ARG SCLOUD_URL
1919
ENV SCLOUD_URL=${SCLOUD_URL} \
2020
DEBIAN_FRONTEND=noninteractive \
2121
PYTHON_VERSION=3.7.10 \
22-
PYTHON_MD5=0b19e34a6dabc4bf15fdcdf9e77e9856
22+
PYTHON_GPG_KEY_ID=0D96DF4D4110E5C43FBFB17F2D347EA6AA65421D
2323

2424
COPY install.sh /install.sh
2525
RUN /install.sh && rm -rf /install.sh

base/debian-10/install.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,10 @@ apt-get install -y --no-install-recommends curl sudo libgssapi-krb5-2 busybox pr
3838
# Install Python and necessary packages
3939
PY_SHORT=${PYTHON_VERSION%.*}
4040
wget -O /tmp/python.tgz https://www.python.org/ftp/python/${PYTHON_VERSION}/Python-${PYTHON_VERSION}.tgz
41-
echo "$PYTHON_MD5 /tmp/python.tgz" | md5sum --check
41+
wget -O /tmp/Python-gpg-sig-${PYTHON_VERSION}.tgz.asc https://www.python.org/ftp/python/${PYTHON_VERSION}/Python-${PYTHON_VERSION}.tgz.asc
42+
gpg --recv-keys $PYTHON_GPG_KEY_ID
43+
gpg --verify /tmp/Python-gpg-sig-${PYTHON_VERSION}.tgz.asc /tmp/python.tgz
44+
rm /tmp/Python-gpg-sig-${PYTHON_VERSION}.tgz.asc
4245
mkdir -p /tmp/pyinstall
4346
tar -xzC /tmp/pyinstall/ --strip-components=1 -f /tmp/python.tgz
4447
rm /tmp/python.tgz

base/debian-9/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ ARG SCLOUD_URL
1919
ENV SCLOUD_URL=${SCLOUD_URL} \
2020
DEBIAN_FRONTEND=noninteractive \
2121
PYTHON_VERSION=3.7.10 \
22-
PYTHON_MD5=0b19e34a6dabc4bf15fdcdf9e77e9856
22+
PYTHON_GPG_KEY_ID=0D96DF4D4110E5C43FBFB17F2D347EA6AA65421D
2323

2424
COPY install.sh /install.sh
2525
RUN /install.sh && rm -rf /install.sh

base/debian-9/install.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,11 @@ apt-get install -y --no-install-recommends curl sudo libgssapi-krb5-2 busybox pr
3737
# Install Python and necessary packages
3838
PY_SHORT=${PYTHON_VERSION%.*}
3939
wget -O /tmp/python.tgz https://www.python.org/ftp/python/${PYTHON_VERSION}/Python-${PYTHON_VERSION}.tgz
40-
echo "$PYTHON_MD5 /tmp/python.tgz" | md5sum --check
40+
wget -O /tmp/Python-gpg-sig-${PYTHON_VERSION}.tgz.asc https://www.python.org/ftp/python/${PYTHON_VERSION}/Python-${PYTHON_VERSION}.tgz.asc
41+
apt-get install dirmngr -y
42+
gpg --keyserver pool.sks-keyservers.net --recv-keys $PYTHON_GPG_KEY_ID
43+
gpg --verify /tmp/Python-gpg-sig-${PYTHON_VERSION}.tgz.asc /tmp/python.tgz
44+
rm /tmp/Python-gpg-sig-${PYTHON_VERSION}.tgz.asc
4145
mkdir -p /tmp/pyinstall
4246
tar -xzC /tmp/pyinstall/ --strip-components=1 -f /tmp/python.tgz
4347
rm /tmp/python.tgz

base/redhat-8/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ LABEL name="splunk" \
2828
ARG SCLOUD_URL
2929
ENV SCLOUD_URL=${SCLOUD_URL} \
3030
PYTHON_VERSION=3.7.10 \
31-
PYTHON_MD5=0b19e34a6dabc4bf15fdcdf9e77e9856
31+
PYTHON_GPG_KEY_ID=0D96DF4D4110E5C43FBFB17F2D347EA6AA65421D
3232

3333
COPY install.sh /install.sh
3434

base/redhat-8/install.sh

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,15 @@ export LANG=en_US.utf8
2929
microdnf -y --nodocs install wget sudo shadow-utils procps tar tzdata make gcc \
3030
openssl-devel bzip2-devel libffi-devel findutils
3131
# Patch security updates
32-
microdnf -y --nodocs update gnutls kernel-headers librepo libnghttp2 tzdata
32+
microdnf -y --nodocs update gnutls kernel-headers librepo libnghttp2 tzdata nettle
3333

3434
# Install Python and necessary packages
3535
PY_SHORT=${PYTHON_VERSION%.*}
3636
wget -O /tmp/python.tgz https://www.python.org/ftp/python/${PYTHON_VERSION}/Python-${PYTHON_VERSION}.tgz
37-
echo "$PYTHON_MD5 /tmp/python.tgz" | md5sum --check
37+
wget -O /tmp/Python-gpg-sig-${PYTHON_VERSION}.tgz.asc https://www.python.org/ftp/python/${PYTHON_VERSION}/Python-${PYTHON_VERSION}.tgz.asc
38+
gpg --keyserver pool.sks-keyservers.net --recv-keys $PYTHON_GPG_KEY_ID
39+
gpg --verify /tmp/Python-gpg-sig-${PYTHON_VERSION}.tgz.asc /tmp/python.tgz
40+
rm /tmp/Python-gpg-sig-${PYTHON_VERSION}.tgz.asc
3841
mkdir -p /tmp/pyinstall
3942
tar -xzC /tmp/pyinstall/ --strip-components=1 -f /tmp/python.tgz
4043
rm /tmp/python.tgz

docs/CHANGELOG.md

Lines changed: 42 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,14 @@ We will no longer be releasing Debian images on Docker Hub after Spring of 2021.
99

1010
## Navigation
1111

12+
* [8.2.0](#820)
13+
* [8.1.4](#814)
1214
* [8.1.3](#813)
1315
* [8.1.2](#812)
1416
* [8.1.1](#811)
1517
* [8.1.0.1](#8101)
1618
* [8.1.0](#810)
19+
* [8.0.9](#809)
1720
* [8.0.8](#808)
1821
* [8.0.7](#807)
1922
* [8.0.6.1](#8061)
@@ -54,6 +57,33 @@ We will no longer be releasing Debian images on Docker Hub after Spring of 2021.
5457

5558
---
5659

60+
## 8.2.0
61+
62+
#### What's New?
63+
* Releasing new images to support Splunk Enterprise release.
64+
65+
#### docker-splunk changes:
66+
* Bumping Splunk version. For details, see [Release Notes for 8.2.0](https://docs.splunk.com/Documentation/Splunk/8.2.0/ReleaseNotes/)
67+
* Switched Python integrity check from MD5 checksum to GPG signature
68+
69+
#### splunk-ansible changes:
70+
* Added support for setting `clientName` in `deploymentclient.conf`
71+
* `splunk.deployment_client.name` in `default.yml`
72+
* `SPLUNK_DEPLOYMENT_CLIENT_NAME` environment variable
73+
74+
---
75+
76+
## 8.1.4
77+
78+
#### What's New?
79+
* New Splunk Enterprise maintenance patch. For details, see [Fixed issues for 8.1.4](https://docs.splunk.com/Documentation/Splunk/8.1.4/ReleaseNotes/Fixedissues)
80+
* Bundling in changes to be consistent with the release of [8.2.0](#820)
81+
82+
#### Changes
83+
* See [8.2.0](#820) changes
84+
85+
---
86+
5787
## 8.1.3
5888

5989
#### What's New?
@@ -64,7 +94,6 @@ We will no longer be releasing Debian images on Docker Hub after Spring of 2021.
6494
* Updated Python version to 3.7.10
6595
* Bugfixes
6696

67-
6897
#### splunk-ansible changes:
6998
* Bugfixes
7099
* Documentation and CI updates
@@ -123,7 +152,7 @@ We will no longer be releasing Debian images on Docker Hub after Spring of 2021.
123152
* Releasing new images to support Splunk Enterprise release.
124153

125154
#### docker-splunk changes:
126-
* Bumping Splunk version. For details, see [Fixed issues for 8.1.0](https://docs.splunk.com/Documentation/Splunk/8.1.0/ReleaseNotes/Fixedissues)
155+
* Bumping Splunk version. For details, see [Release Notes for 8.1.0](https://docs.splunk.com/Documentation/Splunk/8.1.0/ReleaseNotes/)
127156
* Set bash as the default shell
128157
* CI bugfixes
129158

@@ -137,6 +166,17 @@ We will no longer be releasing Debian images on Docker Hub after Spring of 2021.
137166

138167
---
139168

169+
## 8.0.9
170+
171+
#### What's New?
172+
* New Splunk Enterprise maintenance patch. For details, see [Fixed issues for 8.0.9](https://docs.splunk.com/Documentation/Splunk/8.0.9/ReleaseNotes/Fixedissues)
173+
* Bundling in changes to be consistent with the release of [8.2.0](#820)
174+
175+
#### Changes
176+
* See [8.2.0](#820) changes
177+
178+
---
179+
140180
## 8.0.8
141181

142182
#### What's New?

0 commit comments

Comments
 (0)