Audit rules overview

PowerToolBox runs 20 audit rules in six categories. Each rule produces findings with a severity, a category, remediation guidance, and a confidence value. Findings feed the per-flow risk score.

The rules

IDNameCategoryDefault severity
SEC-01Hardcoded SecretSecurityCritical
CON-04Tenant Isolation BypassSecurityCritical
SEC-04Direct Connection UsageSecurityHigh
RPA-01PAD Not PatchedSecurityMedium
EXF-02Email ExfiltrationExfiltrationHigh
EXF-03HTTP Exfiltration RiskExfiltrationHigh
EXF-04Anonymous File SharingExfiltrationHigh
DLP-01Child Flow DLP BypassGovernanceHigh
OWN-01Orphaned FlowGovernanceMedium
OWN-03Admin Account OwnershipGovernanceMedium
HYG-02Default Environment UsageGovernanceLow
PERM-01Flow Over-SharingGovernanceMedium
CON-02Premium Connector UnlicensedGovernanceMedium
DLP-04Unclassified ConnectorGovernanceMedium
RES-01Missing Try-Catch PatternOperationalMedium
RES-03Missing Error NotificationOperationalMedium
PER-10Auto-Shutdown RiskOperationalMedium
LOG-03Run History RetentionComplianceLow
AI-03AI Connector UnclassifiedAIHigh
AI-04Copilot Excessive PrivilegeAIHigh

How rules inspect a flow

Rules work at four levels:

  • Flow definition rules parse the flow JSON itself: actions, inputs, connectors. Examples: SEC-01, EXF-03, RES-01.
  • Metadata rules check ownership, environment type, and similar properties. Examples: OWN-01, HYG-02.
  • Cross-reference rules compare the flow’s connectors against the tenant’s DLP policies. Examples: DLP-01, DLP-04, AI-03.
  • Run history rules evaluate past runs. Example: PER-10.

In 1.2.0 the scan collects flow definitions only — not owners, DLP policies, or run history. Cross-reference and run-history rules are affected: OWN-01, DLP-04, AI-03, and HYG-02 fire on every flow or connector, while OWN-03, DLP-01, PERM-01, PER-10, and LOG-03 cannot fire. Definition-based rules are unaffected. See Known limitations in 1.2.0.

Toggling categories

In appsettings.json next to the executable (or through PowerToolBox_ environment variables):

{
  "Rules": {
    "CategoryToggles": {
      "Security": true,
      "Governance": true,
      "Operational": true,
      "Compliance": true,
      "AI": true,
      "Exfiltration": true
    }
  }
}

Set a category to false to skip all of its rules. Restart the app to apply.

Overriding severity

Change the severity of individual rules by rule ID. Valid values: Critical, High, Medium, Low, Informational.

{
  "Rules": {
    "SeverityOverrides": {
      "EXF-03": "Critical",
      "SEC-01": "High"
    }
  }
}

An override changes the base points a finding contributes to the risk score.

Last updated: July 27, 2026