Back to Checks
iac

Neptune storage must be encrypted at rest

AWS-0076
Service: neptuneSeverity: high
OfficialBuilt-inVerified

Encryption of Neptune storage ensures that if their is compromise of the disks, the data is still protected.

Prowler logoProwlerprowler-provider-iac

Run this check with Prowler

Run in Prowler Cloud
Run
prowler iac --checks AWS-0076

Recommendation

Enable encryption of Neptune storage

Check Code

# METADATA
# title: Neptune storage must be encrypted at rest
# description: |
#   Encryption of Neptune storage ensures that if their is compromise of the disks, the data is still protected.
# scope: package
# schemas:
#   - input: schema["cloud"]
# related_resources:
#   - https://docs.aws.amazon.com/neptune/latest/userguide/encrypt.html
# custom:
#   id: AWS-0076
#   long_id: aws-neptune-enable-storage-encryption
#   aliases:
#     - AVD-AWS-0076
#     - enable-storage-encryption
#     - aws-neptune-enable-storage-encryption
#   provider: aws
#   service: neptune
#   severity: HIGH
#   recommended_action: Enable encryption of Neptune storage
#   input:
#     selector:
#       - type: cloud
#         subtypes:
#           - service: neptune
#             provider: aws
#   examples: checks/cloud/aws/neptune/enable_storage_encryption.yaml
package builtin.aws.neptune.aws0076

import rego.v1

deny contains res if {
	some cluster in input.aws.neptune.clusters
	not cluster.storageencrypted.value
	res := result.new(
		"Cluster does not have storage encryption enabled.",
		object.get(cluster, "storageencrypted", cluster),
	)
}