Remediation Steps
Follow the steps below to remediate this finding on Drupal.
Install and enable the Security Kit (SecKit) module:
composer require drupal/seckit drush en seckitNavigate to Admin > Configuration > System > Security Kit.
Under the "HTTP Strict Transport Security" section, enable HSTS and set max-age to 31536000.
Save the configuration.