Skip to content

Commit

Permalink
Elasticsearch -> OpenSearch
Browse files Browse the repository at this point in the history
  • Loading branch information
misterpantz committed Mar 6, 2024
1 parent f82f59d commit b058268
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
16 changes: 8 additions & 8 deletions providers/aws/resources/aws.lr
Original file line number Diff line number Diff line change
Expand Up @@ -954,33 +954,33 @@ private aws.sns.subscription @defaults("arn") {
protocol string
}

// AWS Elasticsearch service
// AWS OpenSearch (formerly Elasticsearch) service
aws.es {
// List of Elasticsearch domains
// List of OpenSearch (formerly Elasticsearch) domains
domains() []aws.es.domain
}

// Amazon Elasticsearch service domain
// Amazon OpenSearch (formerly Elasticsearch) service domain
private aws.es.domain @defaults("arn name") {
// ARN for the Elasticsearch domain
// ARN for the OpenSearch domain
arn string
// Whether encryption at rest is enabled
encryptionAtRestEnabled bool
// Denoted whether node to node encryption is enabled
nodeToNodeEncryptionEnabled bool
// Name of the Elasticsearch domain
// Name of the OpenSearch domain
name string
// Endpoint used to submit index and search requests
endpoint string
// Region where the domain exists
region string
// Tags for the domain
tags map[string]string
// The version of Elasticsearch running
// The version of OpenSearch running
elasticsearchVersion string
// The Elasticsearch domain ID
// The OpenSearch domain ID
domainId string
// The Elasticsearch domain name
// The OpenSearch domain name
domainName string
}

Expand Down
6 changes: 3 additions & 3 deletions providers/aws/resources/aws.lr.manifest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1602,20 +1602,20 @@ resources:
aws.es:
docs:
desc: |
Use the `aws.es` resource to assess the configuration of Amazon Elasticsearch domains. This resource provides a list of `aws.es.domain` resources representing Elasticsearch domains deployed across all enabled regions.
Use the `aws.es` resource to assess the configuration of Amazon OpenSearch (formerly Elasticsearch) domains. This resource provides a list of `aws.es.domain` resources representing OpenSearch domains deployed across all enabled regions.
fields:
domains: {}
min_mondoo_version: 5.15.0
platform:
name:
- aws
refs:
- title: Amazon Security Blog on Elasticsearch
- title: Amazon Security Blog posts on Elasticsearch
url: https://aws.amazon.com/blogs/security/tag/amazon-elasticsearch-service/
aws.es.domain:
docs:
desc: |
The `aws.es.domain` provides fields for assessing the configuration of individual Amazon Elasticsearch domains. For usage, read the `aws.es` resource documentation
The `aws.es.domain` provides fields for assessing the configuration of individual Amazon OpenSearch (formerly Elasticsearch) domains. For usage, read the `aws.es` resource documentation
fields:
arn: {}
domainId:
Expand Down

0 comments on commit b058268

Please sign in to comment.