Skip to content

Commit 601e636

Browse files
authored
Update flow-ssl-tls-profiler.yaml
1 parent 5f9db60 commit 601e636

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

flow-ssl-tls-profiler.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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("; "));

0 commit comments

Comments
 (0)