
Inline adoc files when they are included exactly once. Also fix language tags because this inlining gives us better information on what language the code is written in.
48 lines
1.0 KiB
Plaintext
48 lines
1.0 KiB
Plaintext
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[] |