↳ GitHub sourceAnalytics ruleHigh

PCI App with Open Findings Before Audit Window

Description

Detects PCI-scoped applications with open Critical/High findings when an upcoming PCI-DSS audit is within 30 days. Correlates PCIApplications and AuditCalendar watchlists to surface compliance risk before audit deadlines.
Rule type
Scheduled
Version
1.0.0
Declared status
Available
Query frequency
1d
Query period
1455m
Trigger
gt 0

Declared MITRE coverage

Declared sources

Metadata from the source file. No dependencies inferred from KQL.

Connectors

Data types

KQL query

Original query, unchanged.

let auditWindowDays = 30;
let PCIApps = _GetWatchlist("PCIApplications")
    | project WL_ApplicationId = column_ifexists("ApplicationId", ""),
        WL_AppName = column_ifexists("AppName", ""),
        WL_AuditDate = column_ifexists("AuditDate", ""),
        WL_Owner = column_ifexists("Owner", "");
let AuditCalendar = _GetWatchlist("AuditCalendar")
    | where column_ifexists("Framework", "") =~ "PCI-DSS"
    | extend UpcomingAudit = todatetime(column_ifexists("AuditDate", ""))
    | where UpcomingAudit between (now() .. now() + auditWindowDays * 1d)
    | project WL_Cal_ApplicationId = column_ifexists("ApplicationId", ""),
        Framework = column_ifexists("Framework", ""), UpcomingAudit;
StratoSecure_Findings_CL
    | where FixStatus =~ "open"
    | where Severity in ("Critical", "High")
    | join kind=inner PCIApps on $left.ApplicationId == $right.WL_ApplicationId
    | join kind=inner AuditCalendar on $left.ApplicationId == $right.WL_Cal_ApplicationId
    | summarize TotalOpenFindings = count(), MaxSeverityInt = max(SeverityInt),
        RuleIds = make_set(RuleId, 20), EndTime = max(TimeGenerated)
        by ApplicationId, WL_AppName, WL_Owner, Framework, UpcomingAudit, StraTenantId
    | extend MaxSeverity = case(
        MaxSeverityInt >= 9, "Critical",
        MaxSeverityInt >= 7, "High",
        MaxSeverityInt >= 4, "Medium",
        "Low")
    | project TimeGenerated = EndTime, ApplicationId, AppName = WL_AppName, Owner = WL_Owner,
        StraTenantId, Framework, UpcomingAudit, TotalOpenFindings, MaxSeverity, RuleIds

Declared entities

CloudApplication

Related content

Links established from declared identifiers and solution manifests.

Source provenance

GitHub

Displayed values come from files in Azure/Azure-Sentinel. They describe the published template, not your workspace configuration.

Source identifier
0457b577-3864-42c9-9779-1c9441d86429
Additional source files 2Solutions/StratoSecure/Analytic Rules/S11_PCI_AuditWindow.yamlsource ↗Solutions/StratoSecure/Data/Solution_StratoSecure.jsonsolution-membership ↗
GSTEP / CATALOG TRACKING

Added to catalog : 16 Sept 2026 · 05:49 UTC
Last change observed : 16 Sept 2026 · 05:49 UTC

GSTEP sync dates, separate from the source content’s publication dates.