π Azure Subscription Application Insights are not configured π’
- Contextual name: π Application Insights are not configured π’
- ID:
/ce/ca/azure/subscription/application-insights-configured
- Located in: π Azure Subscription
Flagsβ
- π’ Policy with categories
- π’ Policy with type
- π’ Production policy
Our Metadataβ
- Policy Type:
COMPLIANCE_POLICY
- Policy Category:
RELIABILITY
PERFORMANCE
Similar Policiesβ
- Cloud Conformity
Logicβ
- π§ prod.logic.yaml π π’
- π Azure Subscription
- π§ͺ test-data.json
Descriptionβ
Descriptionβ
Application Insights within Azure act as an Application Performance Monitoring solution providing valuable data into how well an application performs and additional information when performing incident response. The types of log data collected include application metrics, telemetry data, and application trace logging data providing organizations with detailed information about application activity and application transactions. Both data sets help organizations adopt a proactive and retroactive means to handle security and performance related metrics within their modern applications.
Rationaleβ
Configuring Application Insights provides additional data not found elsewhere within Azure as part of a much larger logging and monitoring program within an organization's Information Security practice. The types and contents of these logs will act as both a potential cost saving measure (application performance) and a means to potentially confirm the source of a potential incident (trace logging). Metrics and Telemetry data provide organizations with a proactive approach to cost savings by monitoring an application's performance, while the trace logging data provides necessary details in a reactive incident response scenario by helping organizations identify the potential source of an incident within their application.
... see more
Remediationβ
Remediationβ
From Azure Portalβ
- Navigate to
Application Insights
.- Under the
Basics
tab within thePROJECT DETAILS
section, select theSubscription
.- Select the
Resource group
.- Within the
INSTANCE DETAILS
, enter aName
.- Select a
Region
.- Next to
Resource Mode
, selectWorkspace-based
.- Within the
WORKSPACE DETAILS
, select theSubscription
for the log analytics workspace.- Select the appropriate
Log Analytics Workspace
.- Click
Next:Tags >
.- Enter the appropriate
Tags
asName
,Value
pairs.- Click
Next:Review+Create
.- Click
Create
.From Azure CLIβ
az monitor app-insights component create --app <app name> --resource-group <resource group name> --location <location> --kind "web" --retention-time <INT days to retain logs> --workspace <log analytics workspace ID> --subscription <subscription ID>
From PowerShellβ
New-AzApplicationInsights -Kind "web" -ResourceGroupName <resource group name> -Name <app insights name> -location <location> -RetentionInDays <INT days to retain logs> -SubscriptionID <subscription ID> -WorkspaceResourceId <log analytics workspace ID>
... [see more](remediation.md)
policy.yamlβ
Linked Framework Sectionsβ
Section | Sub Sections | Internal Rules | Policies | Flags |
---|---|---|---|---|
πΌ CIS Azure v2.1.0 β πΌ 5.3.1 Ensure Application Insights are Configured - Level 2 (Automated) | 1 | |||
πΌ CIS Azure v3.0.0 β πΌ 6.3.1 Ensure Application Insights are Configured (Automated) | 1 | |||
πΌ Cloudaware Framework β πΌ Logging and Monitoring Configuration | 49 |