Add nginx ingress SSL certificate crisis detection#100
Add nginx ingress SSL certificate crisis detection#100tonymeehan merged 3 commits intoprequel-dev:mainfrom elskow:main
Conversation
Add new rule CRE-2025-0120 to detect critical SSL certificate failures in NGINX Ingress Controllers
|
@elskow To appropriately associate this PR with the issue, you must use one of the github approved linking words. You used "solves", which is close - but unfortunately not recognized. I went ahead and added the appropriate tag "resolves". As a result, we didn't catch this submission in the review cycle. Since it was submitted on time, we will consider it for all award categories. Please give us until next wednesday to get back to you. |
tonymeehan
left a comment
There was a problem hiding this comment.
Please update the PR to change any use of the word "crisis" to "failure" or "problem"
|
The rule yaml looks identical to https://github.com/prequel-dev/cre/pull/102/files. Mistake in the PR? |
yup. I forgot to change branch while working on it. Do i have to close then opening a new pr? |
All good. You can just rebase and update this PR. |
Pull Request Description for NGINX Ingress SSL Crisis Detection
Details
solves #96
/claim #96
Reproducible test setup (Maintainers invited): nginx-ingress-ssl-crisis
A link to a working CRE in the CRE playground: CRE Playground Link
Video Demonstration
Full test execution
showing SSL certificate crisis simulation and CRE rule validation:
Screen.Recording.2025-07-01.at.16.37.33.mov
What This Detects
This rule identifies critical NGINX Ingress Controller SSL certificate failure patterns that cause complete service unavailability. The detection focuses on:
Crisis Simulation
The test reproduces an authentic SSL certificate crisis scenario:
Commands for Sample Data
The
test.logfile associated with CRE-2025-0120 was generated using thenginx-ingress-ssl-crisis/run-test.shscript (Maintainers invited until bounty closed). This script automates the setup of the NGINX Ingress environment, SSL certificate crisis simulation, and collection of crisis log patterns.The core process executed by the script to produce the crisis patterns in
test.log:Start NGINX Ingress with SSL configuration:
Simulate SSL certificate crisis:
Generate traffic to trigger SSL failures:
Extract crisis patterns from NGINX logs:
Sample Crisis Evidence
The test generates authentic SSL crisis patterns showing certificate validation failure cascade:
Rule Characteristics
ssl-certificate,tls-handshake,certificate-verification,service-unavailabilityThis implementation addresses the critical need for early detection of SSL certificate crises in NGINX Ingress Controller environments, preventing prolonged service outages and security exposure.
LB: resolves #98