Skip to main content

lacework-global-632

5.1.7 Ensure that logging for Azure AppService 'AppServiceHTTPLogs' is enabled. (Manual)

Profile Applicability

• Level 2

Description

Enable AppServiceHTTPLogs diagnostic log category for Azure App Service instances to ensure all http requests are captured and centrally logged.

Rationale

Capturing web requests can be important supporting information for security analysts performing monitoring and incident response activities. Once logging, these logs can be ingested into SIEM or other central aggregation point for the organization.

Impact

Log consumption and processing will incur additional cost.

Audit

From Azure Portal

  1. Go to App Services

For each App Service:

  1. Go to Diagnostic Settings
  2. Ensure that 'AppServiceHTTPLogs' is configured to log to a destination aligned to your environments approach to log consumption (event hub, storage account, etc. dependent on what is consuming the logs such as SIEM or other log aggregation utility).

Remediation

From Azure Portal

  1. Go to App Services

For each App Service:

  1. Go to Diagnostic Settings
  2. Click Add Diagnostic Setting
  3. Check the checkbox next to 'AppServiceHTTPLogs'
  4. Configure destination based on your specific logging consumption capability (for example Stream to an event hub and then consuming with SIEM integration for Event Hub logging).

References

https://docs.microsoft.com/en-us/azure/app-service/troubleshoot-diagnostic-logs
https://docs.microsoft.com/en-us/security/benchmark/azure/security-controls-v3-logging-threat-detection#lt-3-enable-logging-for-security-investigation