fluidasserts.cloud.aws.cloudformation.fsx module

AWS CloudFormation checks for FSx (Amazon FSx file systems).

fluidasserts.cloud.aws.cloudformation.fsx.has_unencrypted_volumes(path, exclude=None)

Check if FileSystem entities are encrypted with a KmsKeyId.

Parameters
  • path (str) – Location of CloudFormation’s template file.

  • exclude (typing.Optional[typing.List[str]]) – Paths that contains any string from this list are ignored.

Returns

  • OPEN if KmsKeyId attribute is not present.

  • UNKNOWN on errors.

  • CLOSED otherwise.

Return type

fluidasserts.Result