Load balancers must have access logging enabled

Medium Cross-cloud General appgw-diagnostics-2

Applies to

  • Microsoft.Network/applicationGateways
  • AWS::ElasticLoadBalancingV2::LoadBalancer

What CGPulse checks

A resource passes this rule when diagnosticSettings.hasLogs must equal true OR accessLogsEnabled must equal true. Anything else is reported as a finding with the evaluated property value attached as evidence.

How to fix it

Enable logging to capture audit and operational events for security investigation. In AWS Console: Resource > Settings > enable logging. See: https://docs.aws.amazon.com/prescriptive-guidance/latest/logging-monitoring-best-practices/welcome.html

Compliance frameworks

Is your environment compliant with this rule?

CGPulse checks it — and 621 others — against your Azure and AWS accounts with read-only access.

Run a free scan

Related Cross-cloud rules

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please reload the page.