diff --git a/src/EventsSubscriber.php b/src/EventsSubscriber.php index e2ce7d4..1d5db65 100644 --- a/src/EventsSubscriber.php +++ b/src/EventsSubscriber.php @@ -74,6 +74,10 @@ public function trackReport(Report $report):void { return; } + // Ignore batch audits triggered by report streaming in profile:run. + if ($report->profile->name == '_policy_audit_batch') { + return; + } $agent = sprintf('%s %s (%s)', $this->application->getName(), $this->application->getVersion(), $this->user->getIdentity()); $this->analytics->queueEvent('report.build', [