Check ID:
Provider: AWS
Service:
Severity: MEDIUM
Categories:
Resource type:
opensearch_service_domains_internal_user_database_enabledProvider: AWS
Service:
opensearchSeverity: MEDIUM
Categories:
identity-accessResource type:
AwsOpenSearchServiceDomainWhat this check verifies
Amazon OpenSearch Service domains are evaluated for the internal user database setting (InternalUserDatabaseEnabled). The finding identifies domains that rely on built-in HTTP basic users instead of external identity providers.
Risk
An enabled internal user database creates credential sprawl and weak account lifecycle. Missing centralized MFA, rotation, and revocation raises unauthorized access risk, impacting confidentiality and integrity. Basic auth on exposed endpoints eases brute force and reduces auditability.Recommendation
Prefer federated authentication (IAM, SAML, or Amazon Cognito) and disable the internal user database. Enforce least privilege roles, require MFA, centralize credential rotation and offboarding, and log access. Use VPC access and restrictive policies; avoid HTTP basic auth to minimize exposure.Remediation
- CLI
- Terraform
- Native IaC
- Dashboard steps
References
- https://docs.aws.amazon.com/elasticsearch-service/latest/developerguide/fgac.html
- https://docs.aws.amazon.com/opensearch-service/latest/developerguide/fgac.html
Where this check fires
This check runs on every scheduled scan against your AWS account. Findings appear at Cloud Security → Findings filterable byCheck ID = opensearch_service_domains_internal_user_database_enabled. To re-evaluate after a fix, hit Run now on the account’s schedule under Cloud Security → Schedules — the next scan re-checks this control and marks the finding fixed or keeps it persistent.
← Back to AWS checks