Open shikharj05 opened 5 years ago
APIs to be used: Get a list of domains - https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/es.html#ElasticsearchService.Client.list_domain_names Describe multiple domains - https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/es.html#ElasticsearchService.Client.describe_elasticsearch_domains
On Scenario 2 and 3, start with Given: At least one ElasticSearch Domain is present
On Scenario 2 and 3, start with
Given: At least one ElasticSearch Domain is present
Edited the original issue post to accommodate the change.
Updated, good to go :)
Blocked as lambda boto is returning the right info yet.
New rule on Amazon Elasticsearch Service (Amazon ES) domains to check if node to node encryption is enabled (ELASTICSEARCH_NODE_TO_NODE_ENCRYPTION_CHECK). Please provide comments on the gherkin if any.
Description: Checks whether Amazon Elasticsearch Service (Amazon ES) domains have node to node encryption configuration enabled. The rule is NON_COMPLIANT if node to node encryption is not enabled. Trigger: Periodic Reports on: AWS::Elasticsearch::Domain Rule Parameters: None