Ensure Serverless Framework API should have HTTP Access Logging is enabled

Risk Level: medium
Platform: AWS Serverless
Spectral Rule ID: SLFW001

REMEDIATION

In provider.logs.restAPI, set accessLogging to true

service: myservice
frameworkVersion: '2'
provider:
  name: aws
  logs:
    restApi:
-     accessLogging: false
+     accessLogging: true

Read more: