You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
case tls.certificates.first.expiresIn.days > 150: score(100);
The TLS Baseline policy specifes the following scores for ages:
case tls.certificates.first.expiresIn.days > 150: score(100);
case tls.certificates.first.expiresIn.days > 120: score(70);
case tls.certificates.first.expiresIn.days > 90: score(50);
case tls.certificates.first.expiresIn.days > 60: score(20);
case tls.certificates.first.expiresIn.days > 30: score(9);
default: score(0);
These expiration assume a traditional PKI with 1year or longer certificate lifecycles which aren't common any longer. Thanks to cloud certificate managers, such as Google Cert Manager and Lets Encrypt use a 90 day certificate which is renewed at the 30 day mark, see:
"Google Cloud provisions managed certificates valid for 90 days. About one month before expiry, the process to renew your certificate automatically begins."
Therefore I propose a new scheme:
case tls.certificates.first.expiresIn.days > 30: score(100);
case tls.certificates.first.expiresIn.days > 21: score(50);
case tls.certificates.first.expiresIn.days > 7: score(20);
case tls.certificates.first.expiresIn.days > 7: score(9);
default: score(0);
The text was updated successfully, but these errors were encountered:
cnspec-policies/core/mondoo-tls-security.mql.yaml
Line 88 in ce33e0b
The TLS Baseline policy specifes the following scores for ages:
These expiration assume a traditional PKI with 1year or longer certificate lifecycles which aren't common any longer. Thanks to cloud certificate managers, such as Google Cert Manager and Lets Encrypt use a 90 day certificate which is renewed at the 30 day mark, see:
"Google Cloud provisions managed certificates valid for 90 days. About one month before expiry, the process to renew your certificate automatically begins."
Therefore I propose a new scheme:
The text was updated successfully, but these errors were encountered: