Control: OpenSearch domains should have audit logging enabled.
Description
This control checks whether OpenSearch service domains have audit logging enabled. The rule is non-compliant if an OpenSearch service domain does not have audit logging enabled.
Usage
Run the control in your terminal:
powerpipe control run aws_compliance.control.opensearch_domain_audit_logging_enabled
Snapshot and share results via Turbot Pipes:
powerpipe loginpowerpipe control run aws_compliance.control.opensearch_domain_audit_logging_enabled --share
SQL
This control uses a named query:
opensearch_domain_audit_logging_enabled