From bf9d65ffbe80277b3471e3cf8d44a85da5b77b70 Mon Sep 17 00:00:00 2001 From: Matteo Corti Date: Thu, 11 Jul 2024 12:56:32 +0200 Subject: [PATCH] Fixed the date --- check_ssl_cert.1 | 2 +- test/integration_tests.sh | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/check_ssl_cert.1 b/check_ssl_cert.1 index 34d8f6e..95c9473 100644 --- a/check_ssl_cert.1 +++ b/check_ssl_cert.1 @@ -1,7 +1,7 @@ .\" Process this file with .\" groff -man -Tascii check_ssl_cert.1 .\" -.TH "check_ssl_cert" 1 "Jul, 2024" "2.82.0" "USER COMMANDS" +.TH "check_ssl_cert" 1 "July, 2024" "2.82.0" "USER COMMANDS" .SH NAME check_ssl_cert \- checks the validity of X.509 certificates .SH SYNOPSIS diff --git a/test/integration_tests.sh b/test/integration_tests.sh index 36943f6..cc09057 100755 --- a/test/integration_tests.sh +++ b/test/integration_tests.sh @@ -1593,6 +1593,12 @@ testXFrameOptionsFailed() { assertEquals "wrong exit code" "${NAGIOS_CRITICAL}" "${EXIT_CODE}" } +testHTTPHeaders() { + # shellcheck disable=SC2086 + ${SCRIPT} ${TEST_DEBUG} -H securityheaders.com --ignore-exp --debug-headers +} + + testHTTPHeadersOK() { # shellcheck disable=SC2086 ${SCRIPT} ${TEST_DEBUG} -H securityheaders.com --ignore-exp --require-security-headers