Other Articles
- IAM - Enable User MFA
- IAM - Enforce Key Rotation
- IAM - Enforce Active Key Limit
- IAM - Disable Unused User Credentials
- IAM - Enforce Group Permission
- IAM - Enforce Password Length
- IAM - Prohibit Password Reuse
- IAM - Check Root Access Keys Existence
- IAM - Enable Root MFA
- IAM - Establish Support Role
- IAM - Enable Key Rotation
- Purge Expired Certificates
- EC2 Volume – Enable EBS Volume Backup
- EC2 Volume – Enable EBS Encryption
- EFS – Enable EFS Storage Backup
- S3 Bucket – Enable S3 Bucket Versioning
- S3 Bucket – Enable S3 Bucket Encryption
- S3 Bucket – Block S3 Bucket Public Access
- RDS DB Instance – Encryption of Storage
- RDS DB Instance – Enable Deletion Protection
- RDS DB Instance – Enable Auto Minor Version Upgrade
- DynamoDB Table – Enable Table Encryption
- DynamoDB Table – Enable Table Point In Time Recovery
- DynamoDB Table – Enable Table Deletion Protection
- EKS Cluster – Enable Secrets Encryption
- OpenSearch Domain – Enable Encryption at Rest
- RDS DB Cluster – Retain Backups for 7 Days
- RDS DB Cluster – Encryption of Storage
- RDS DB Cluster – Enable Deletion Protection
- EC2 Instance – Monitor CPU Utilization
- ECS Service – Monitor CPU Utilization
- ECS Service – Monitor Memory Utilization
- RDS DB Instance – Monitor Free Storage Space
- RDS DB Instance – Monitor CPU Utilization
- SQS Queue – Monitor Message Age
- SQS Queue – Monitor Message Visibility
- DynamoDB Table – Monitor Table Read Capacity
- DynamoDB Table – Monitor Table Write Capacity
- DynamoDB Table – Monitor Table Latency
- Enable CloudTrail
- Encrypt CloudTrail Logs
- EC2 VPC – Ensure Flow Logs are Enabled
- EKS Cluster – Enable Control Plane Logging
- CloudWatch Log Group – Enable KMS Encryption
- CloudWatch Log Group – Configure Retention
- Load Balancer – Enable Access Logs
- RDS DB Instance – Block Public Access
- EC2 Security Group – Restrict Public SSH and RDP Access
- EC2 Security Group – Restrict Public Database Access
- EKS Cluster – Restrict Public Endpoint
- EC2 VPC – Restrict Default Security Group Traffic
- Load Balancer – Redirect HTTP Traffic to HTTPS
- Load Balancer – Use Strong TLS Policies
- OpenSearch Domain – Enable Node-to-Node Encryption
- OpenSearch Domain – Restrict Public Access
- RDS DB Cluster – Block Public Access
- EC2 Instance – Enable Deletion Protection
- ECS Service – Enable Auto Scaling
- Load Balancer – Enable Deletion Protection
- Enable AWS Security Hub
- Enable GuardDuty
- CloudFront Distribution – Enforce HTTPS for Viewers
- CloudFront Distribution – Require TLS 1.2 for Viewers
- CloudFront Distribution – Associate a WAF Web ACL
- CloudFront Distribution – Protect S3 Origin Access
- KMS Key – Avoid Pending Deletion
- SNS Topic – Enable Encryption
- SNS Topic – Restrict Topic Policy Access
OpenSearch Domain – Enforce HTTPS
Secure Configuration Checks > AWS
This check ensures that Amazon OpenSearch Service domains require HTTPS and use a TLS security policy of 1.2 or newer. If HTTPS is not enforced, clients can send requests and receive search results over plain HTTP. An older TLS policy still accepts TLS 1.0, which has known weaknesses.
Check Details
- Resource: OpenSearch Service Domain
- Check: Enforce HTTPS for OpenSearch domains (
EnforceHttps) - Risk: Credentials, queries and results can be read or changed by anyone who can observe the traffic
TLS security policies
- Compliant:
Policy-Min-TLS-1-2-2019-07requires TLS 1.2 or newer. - Compliant, stricter:
Policy-Min-TLS-1-2-PFS-2023-10requires TLS 1.2 or newer and limits the ciphers to those with perfect forward secrecy. Use it if all your clients support it. - Not compliant:
Policy-Min-TLS-1-0-2019-07also accepts TLS 1.0 and TLS 1.1.
Remediation via AWS Console
-
Log in to the AWS Management Console and open the Amazon OpenSearch Service console.
- In the left navigation pane, click Domains and select the affected domain.
-
Open the Security configuration tab and click Edit.
-
Select Require HTTPS for all traffic to the domain.
- Click Save changes. Wait until the domain status is Active and the change is complete.
- Repeat steps 2 to 5 for every domain that does not enforce HTTPS or that allows TLS 1.0.
Remediation via AWS CLI
-
Log in to the AWS Management Console and click the CloudShell icon (
>_) in the top-right corner.
-
List the domains that do not require HTTPS or that allow TLS 1.0. The output shows the domain name, the HTTPS setting and the TLS policy:
for d in $(aws opensearch list-domain-names \ --query 'DomainNames[].DomainName' --output text); do aws opensearch describe-domain --domain-name "$d" --output json | \ jq -r '.DomainStatus | select(.DomainEndpointOptions.EnforceHTTPS != true or .DomainEndpointOptions.TLSSecurityPolicy == "Policy-Min-TLS-1-0-2019-07") | [.DomainName, .DomainEndpointOptions.EnforceHTTPS, .DomainEndpointOptions.TLSSecurityPolicy] | @tsv' doneThe command covers one region. Add
--region <region>to eachawscommand to check another. -
Require HTTPS and set a TLS policy of 1.2 or newer:
aws opensearch update-domain-config \ --domain-name <domain-name> \ --domain-endpoint-options EnforceHTTPS=true,TLSSecurityPolicy=Policy-Min-TLS-1-2-2019-07
-
Check the progress. Wait until
ProcessingisFalse:aws opensearch describe-domain \ --domain-name <domain-name> \ --query 'DomainStatus.Processing'
-
Verify the setting:
aws opensearch describe-domain \ --domain-name <domain-name> \ --query 'DomainStatus.DomainEndpointOptions'
EnforceHTTPSmust betrueandTLSSecurityPolicymust be a policy that requires TLS 1.2 or newer.
Replace <domain-name> with the name of the domain, for example my-search-domain.
Replace Policy-Min-TLS-1-2-2019-07 with Policy-Min-TLS-1-2-PFS-2023-10 if you want the stricter policy.
Repeat steps 3 to 5 for each domain that step 2 lists.
Updated on 04 November, 2026