MEDIUM
Source
Trivy
ID
AVD-AWS-0075

Neptune logs export should be enabled

Neptune does not have auditing by default. To ensure that you are able to accurately audit the usage of your Neptune instance you should enable export logs.

Impact

Follow the appropriate remediation steps below to resolve the issue.

Enable export logs

1
2
3
4
5
6
Resources:
  GoodCluster:
    Type: AWS::Neptune::DBCluster
    Properties:
      EnableCloudwatchLogsExports:
        - audit

Enable export logs

1
2
3
resource "aws_neptune_cluster" "good_example" {
  enable_cloudwatch_logs_exports = ["audit"]
}