Skip to content

Commit

Permalink
appease checkov
Browse files Browse the repository at this point in the history
  • Loading branch information
coilysiren committed Oct 10, 2024
1 parent 885a74a commit e0b587d
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions infra/modules/search/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -69,24 +69,31 @@ resource "aws_opensearch_domain" "opensearch" {
log_publishing_options {
cloudwatch_log_group_arn = aws_cloudwatch_log_group.opensearch.arn
log_type = "AUDIT_LOGS"
enabled = true
}

log_publishing_options {
cloudwatch_log_group_arn = aws_cloudwatch_log_group.opensearch.arn
log_type = "ES_APPLICATION_LOGS"
enabled = true
}

log_publishing_options {
cloudwatch_log_group_arn = aws_cloudwatch_log_group.opensearch.arn
log_type = "INDEX_SLOW_LOGS"
enabled = true
}

log_publishing_options {
cloudwatch_log_group_arn = aws_cloudwatch_log_group.opensearch.arn
log_type = "SEARCH_SLOW_LOGS"
enabled = true
}

software_update_options {
auto_software_update_enabled = true
}

# checkov:skip=CKV_AWS_318: false positve, we use a high availability setup in prod
# checkov:skip=CKV2_AWS_59: false positve, we use a high availability setup in prod
}

0 comments on commit e0b587d

Please sign in to comment.