File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -47,10 +47,10 @@ flow: |
4747 const expiry = new Date(certNotAfter);
4848 const daysUntilExpiry = Math.floor((expiry - now) / (24 * 60 * 60 * 1000));
4949 const expiresSoon = daysUntilExpiry < 30;
50-
50+
5151 set("cert_expires_soon", expiresSoon);
5252 set("days_until_expiry", daysUntilExpiry);
53-
53+
5454 if (expiresSoon && daysUntilExpiry > 0) {
5555 securityScore -= 20;
5656 findings.push("Certificate expires in " + daysUntilExpiry + " days");
@@ -80,7 +80,7 @@ flow: |
8080 const riskLevel = finalScore > 80 ? "Low" :
8181 finalScore > 60 ? "Medium" :
8282 finalScore > 40 ? "High" : "Critical";
83-
83+
8484 set("ssl_security_score", finalScore);
8585 set("ssl_risk_level", riskLevel);
8686 set("security_findings", findings.join("; "));
You can’t perform that action at this time.
0 commit comments