include::../description.adoc[]

include::../ask-yourself.adoc[]

include::../recommended.adoc[]

== Sensitive Code Example

For https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-efs-filesystem.html[AWS::EFS::FileSystem]:

[source,yaml]
----
AWSTemplateFormatVersion: '2010-09-09'
Resources:
  Fs:  # Sensitive, encryption disabled by default
    Type: AWS::EFS::FileSystem
----

== Compliant Solution

For https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-efs-filesystem.html[AWS::EFS::FileSystem]:

[source,yaml]
----
AWSTemplateFormatVersion: '2010-09-09'
Resources:
  Fs:
    Type: AWS::EFS::FileSystem
    Properties:
      Encrypted: true
----

include::../see.adoc[]

ifdef::env-github,rspecator-view[]

'''

== Implementation Specification
(visible only on this page)

=== Message 

* Make sure that using unencrypted EFS file system is safe here.
* Omitting "Encrypted" disables EFS file system encryption. Make sure it is safe here.


endif::env-github,rspecator-view[]