fluidasserts.cloud.aws.cloudformation.elb module

AWS CloudFormation checks for ELB (Elastic Load Balancing).

fluidasserts.cloud.aws.cloudformation.elb.has_access_logging_disabled(path, exclude=None)

Check if any LoadBalancer has Access Logging disabled.

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 AccessLoggingPolicy/Enabled attribute is not set or set to false.

  • UNKNOWN on errors.

  • CLOSED otherwise.

Return type

fluidasserts.Result