Skip to content
Lesson 1 of 70 completed · Sign in to track completionCourse overview →Glossary ↗
Course contents · Scope and source evidence
  1. 1. Bound a Microsoft Sentinel scheduled-analytics labFree
  2. 2. Prove the Azure Activity event reaches the intended workspaceFree
  3. 3. Build a query whose scope and time window you can explainFree account
  4. 4. Configure alert behavior before enabling the scheduled rulePremium
  5. 5. Trace the alert into the current incident before decidingPremium
  6. 6. Recover detection coverage without erasing later workPremium
  7. 7. Hand over a scheduled detection with its evidence gapsPremium

Bound a Microsoft Sentinel scheduled-analytics lab

Choose the supported detection workflow, bind customer and workspace authority, and define a harmless source event without granting automated response permissions.

23 MIN

By AISecurityInterviews · Updated

Keep a return link on this browser. No account needed.

TL;DR: Bind the detection to one customer workspace and one observable operation. Decide which rule engine you are maintaining, who may change it and who owns the resulting incident before enabling any query.

Where you are. Lesson 1 of seven. Establish the Juniper Ledger service boundary.

Reference and lab scope. Microsoft Sentinel scheduled analytics in the Microsoft Defender portal, documentation checked November 2026. The scenario maintains an existing scheduled-rule estate; Microsoft recommends custom detections for new rules. Product steps and KQL are documentation-checked, not tenant-executed. Use only an explicitly authorized lab with an existing diagnostic pipeline and approved access. Offline records are fictional.

Choose the workflow before following the console

Sara owns Juniper Ledger's cloud platform. Dev is the provider detection engineer, and Inez owns the customer SOC queue. These fictional roles separate permissions from acceptance: Dev can prepare a rule without being authorized to contain a workload or close a customer incident.

The customer already operates scheduled analytics rules and their health/audit checks. The exercise maintains that workflow. For new detections, Microsoft's feature comparison recommends custom detections. Those rules have different scheduling, enrichment and investigation behavior. A tutorial for one engine cannot be transferred by changing its title. Record “Scheduled analytics rule” in the change request, along with the reason for retaining that engine and an owner for future migration review.

Use the Microsoft Defender portal experience. The presence of a workspace in a portal does not establish which tenant it belongs to, which subscription supplies events or what the current operator may see. Check the tenant, workspace resource ID and workspace ID against Sara's approved record. Do not confuse a source subscription with the subscription containing the SOC workspace. In the AzureActivity schema, TenantId identifies the Log Analytics workspace; it must not be interpreted as the customer's Microsoft Entra tenant ID.

Name the operation and the claim

The asset is the integrity of a designated lab resource group's configuration. A principal with resource-group write access can change it. The detection observes successful control-plane writes; it does not prevent them, prove malicious intent or establish that the caller was a particular human. A stolen or misused administrative identity is a reason to investigate, not a conclusion derived from this one event.

BoundaryFictional lab contract
Workspacejl-soc-lab, already onboarded and approved for this customer
Source subscriptionRecorded full subscription ID, not a display-name match
Positive resourceExisting empty group jl-detection-canary
Scope controlExisting empty group jl-detection-control in the same approved subscription
Authorized stimulusCustomer changes one dedicated training tag through a resource-group update
DetectionSuccessful resource-group write for the exact positive resource ID
ResponseAnalyst review only; no new automated actions

Both groups are isolated training resources. Sara confirms that no policy, billing workflow or automation treats the training tag as an instruction. The control group is not a permission-denied test: its change should arrive in the same table but be excluded by this rule's resource scope. Do not exercise real administrative abuse to prove a benign event pipeline.

Separate read, rule and response permissions

Microsoft documents Reader, Responder and Contributor responsibilities. Data review, incident management, rule editing, diagnostic configuration and resource-group changes are separate jobs. Confirm effective scope, including inherited assignments and the portal's access model. A role's display name is insufficient evidence of least privilege.

Dev receives only the approved lab rule-editing and data-review authority. Sara owns the source change and any missing connector permissions; Inez owns triage. Creating a rule uses the documented Contributor or equivalent write permissions, but this does not justify granting the provider subscription Owner. Source policy deployment, role assignment and playbook execution are outside Dev's change. Record who will execute those tasks if prerequisites are missing.

Before any alert can be created, inspect existing automation rules and their conditions with Inez. A new rule with no attached playbook can still match workspace-wide automation. The lab must have a verified response boundary, including notifications and external integrations. Keep the rule disabled until that review is complete; an offline exercise remains useful when a safe tenant is unavailable.

Diagram
Each service owner controls a different decision
  1. 1

    1 · CUSTOMER PLATFORM OWNER

    • Approves subscription, resource and harmless change
    • Confirms diagnostic destination and source result
  2. 2

    2 · PROVIDER DETECTION ENGINEER

    • Reviews query, settings and current rule identity
    • Records execution and source-event evidence
  3. 3

    3 · CUSTOMER SOC LEAD

    • Checks existing automation and current incident membership
    • Owns classification, escalation and acceptance

Establish the baseline and stopping conditions

Record the existing rule identity and definition when maintaining one; use a disabled lab copy for the rehearsal. Preserve query text, frequency, lookback, threshold, mappings, incident settings, automation dependencies and last approved revision. An exported template is useful only when its scope and contents have been inspected; it is not proof of recovery.

Stop if the workspace identity differs, the source change has unreviewed side effects, the query's data is inaccessible, or an automation rule can perform an unapproved action. A successful rule save does not repair any of those conditions. Acceptance requires a source receipt, a matching table row, a rule-generated alert and a reviewed current incident relationship, plus a passing scope control.

Do this before moving on

Create a boundary record for Sara, Dev and Inez. Include tenant/workspace/source identifiers, both resource IDs, approved permissions, automation review, baseline revision and stop conditions. Worked check: a portal screenshot and a Contributor assignment are insufficient: neither identifies the event source nor proves that an alert cannot trigger a separate response rule.

Go deeper

Key takeaways

  • Choose the rule engine explicitly before reusing product instructions.
  • Bind source, workspace and customer identifiers independently.
  • Review existing automation before creating the first alert.

Check yourself

Say or write your answer first, then reveal. Explaining it from memory, in your own words, is the skill an interviewer is checking.

  1. 1Why is the control resource in the same source subscription?

  2. 2Does rule-editing access authorize a provider to isolate a customer workload?

Sign in to track which lessons you have finished.