Skip to content

Commit d8095aa

Browse files
mbuechsegarloff
andauthored
Fix: give CSPs 2 weeks for providing k8s patch releases (#770)
* Fix: give CSPs 2 weeks for providing k8s patch releases * adapt tests Signed-off-by: Matthias Büchse <[email protected]> Co-authored-by: Kurt Garloff <[email protected]>
1 parent b968b28 commit d8095aa

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

Standards/scs-0210-v2-k8s-version-policy.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ In order to keep up-to-date with the latest Kubernetes features, bug fixes and s
5656
the provided Kubernetes versions should be kept up-to-date with new upstream releases:
5757

5858
- The latest minor version MUST be provided no later than 4 months after release.
59-
- The latest patch version MUST be provided no later than 1 week after release.
59+
- The latest patch version MUST be provided no later than 2 weeks after release.
6060
- This time period MUST be even shorter for patches that fix critical CVEs.
6161
In this context, a critical CVE is a CVE with a CVSS base score >= 8 according
6262
to the CVSS version used in the original CVE record (e.g., CVSSv3.1).

Tests/kaas/k8s-version-policy/k8s_version_policy.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545

4646

4747
MINOR_VERSION_CADENCE = timedelta(days=120)
48-
PATCH_VERSION_CADENCE = timedelta(weeks=1)
48+
PATCH_VERSION_CADENCE = timedelta(weeks=2)
4949
CVE_VERSION_CADENCE = timedelta(days=2)
5050
CVE_SEVERITY = 8 # CRITICAL
5151

Tests/kaas/k8s-version-policy/k8s_version_policy_test.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@ def release_data():
4444
K8S_VERSION = K8sVersion(1, 28, 5)
4545
EXPECTED_RECENCIES = {
4646
datetime(2024, 1, 17): True,
47-
datetime(2024, 1, 24): True,
48-
datetime(2024, 1, 25): False,
47+
datetime(2024, 1, 31): True,
48+
datetime(2024, 2, 1): False,
4949
}
5050

5151

0 commit comments

Comments
 (0)