Control types for @turbot/azure-loganalytics

Azure > Log Analytics > Log Analytics Workspace > Active

Take an action when an Azure Log Analytics log analytics workspace is not active based on the
Azure > Log Analytics > Log Analytics Workspace > Active > * policies.

The Active control determines whether the resource is in active use, and if not, has
the ability to delete / cleanup the resource. When running an automated compliance
environment, it's common to end up with a wide range of alarms that are difficult
and time consuming to clear. The Active control brings automated, well-defined
control to this process.

The Active control checks the status of all defined Active policies for the
resource (Azure > Log Analytics > Log Analytics Workspace > Active > *),
raises an alarm, and takes the defined enforcement action. Each Active
sub-policy can calculate a status of active, inactive or skipped. Generally,
if the resource appears to be Active for any reason it will be considered Active.

Note: In contrast with Approved, where if the resource appears to be Unapproved
for any reason it will be considered Unapproved.

See Active for more information.

URI
tmod:@turbot/azure-loganalytics#/control/types/logAnalyticsWorkspaceActive

Azure > Log Analytics > Log Analytics Workspace > Approved

Take an action when an Azure Log Analytics log analytics workspace is not approved based on Azure > Log Analytics > Log Analytics Workspace > Approved > * policies.

The Approved control checks the status of the defined Approved sub-policies for the resource. If the resource is not approved according to any of these policies, this control raises an alarm and takes the defined enforcement action.

For any enforcement actions that specify if new, e.g., Enforce: Delete unapproved if new, this control will only take the enforcement actions for resources created within the last 60 minutes.

See Approved for more information.

URI
tmod:@turbot/azure-loganalytics#/control/types/logAnalyticsWorkspaceApproved

Azure > Log Analytics > Log Analytics Workspace > CMDB

Record and synchronize details for the Azure Log Analytics log analytics workspace into the CMDB.

The CMDB control is
responsible for populating and updating all the attributes for that
resource type in the Guardrails CMDB.

Note: If CMDB is set to Skip for a resource, then it will not be added
to the CMDB, and no controls that target it will run.

CMDB controls also use the Regions policy associated with the resource. If
region is not in Azure > Log Analytics > Log Analytics Workspace > Regions policy, the CMDB control will delete the
resource from the CMDB.

URI
tmod:@turbot/azure-loganalytics#/control/types/logAnalyticsWorkspaceCmdb
Category

Azure > Log Analytics > Log Analytics Workspace > Data Retention

Configure the Azure Log Analytics Workspace data retention. The retention days varies from 30 to 730 days where 30 is the default value.

URI
tmod:@turbot/azure-loganalytics#/control/types/logAnalyticsWorkspaceDataRetention
Category

Azure > Log Analytics > Log Analytics Workspace > Discovery

Discover all Azure Log Analytics log analytics workspace resources and add them to the CMDB.

The Discovery control is responsible for finding resources of a specific type. It periodically searches for new resources and saves them to the CMDB. Once discovered, resources are then responsible for tracking changes to themselves through the CMDB control.

Note: Discovery and CMDB controls also use the Regions policy associated with the resource. If the region is not in Azure > Log Analytics > Log Analytics Workspace > Regions policy, the CMDB control will delete the resource from the CMDB.

URI
tmod:@turbot/azure-loganalytics#/control/types/logAnalyticsWorkspaceDiscovery

Azure > Log Analytics > Log Analytics Workspace > Pricing Tier

This control checks the resource's pricing tier based on Azure > Log Analytics > Log Analytics Workspace > Pricing Tier policy and raises an alarm if the pricing tier is not set according to this policy.

URI
tmod:@turbot/azure-loganalytics#/control/types/logAnalyticsWorkspacePricingTier
Category

Azure > Log Analytics > Log Analytics Workspace > Tags

Take an action when an Azure Log Analytics log analytics workspace tags is not updated based on the Azure > Log Analytics > Log Analytics Workspace > Tags > * policies.

If the resource is not updated with the tags defined in Azure > Log Analytics > Log Analytics Workspace > Tags > Template, this control raises an alarm and takes the defined enforcement action.

See Tags for more information.

URI
tmod:@turbot/azure-loganalytics#/control/types/logAnalyticsWorkspaceTags