FortiSIEM Rules

SQL Server scheduled job failed

Rule ID

PH_Rule_DB_20

Default Status

Enabled

Description

Detects that an SQL Server scheduled job failed

Severity

7

Category

Performance

MITRE ATT&CK® Tactics

Database

MITRE ATT&CK® Techniques

No Technique Specified

Impacts

Application

Data Source

Windows App Log / Agent or OMI

Detection

Correlation

Remediation Guidance

Identify the root cause of the performance issue and allocate more resources if needed.

Time Window

If the following pattern or patterns match an ingested event within the given time window in seconds, trigger an incident.

600 seconds

Trigger Conditions

If the following defined pattern/s occur within a 600 second time window.

FailedJob

SubPattern Definitions

SubPattern Name: FailedJob

This is the named definition of the event query, this is important if multiple subpatterns are defined to distinguish them.

SubPattern Query

This is the query logic that matches incoming events

eventType = "Win-App-SQLSERVERAGENT-208"

Group by Attributes

This defines how matching events are aggregated, only events with the same matching attribute values are grouped into one unique incident ID

hostName,caller,jobName,lastStep,errorString

Aggregate Constraint

This is most typically a numerical constraint that defines when the rule should trigger an incident

COUNT(*) >= 1

Incident Attribute Mapping

This section defines which fields in matching raw events should be mapped to the incident attributes in the resulting incident.

The available raw event attributes to map are limited to the group by attributes and the aggregate event constraint fields for each subpattern

 hostName = FailedJob.hostName,
 caller = FailedJob.caller,
 jobName = FailedJob.jobName,
 lastStep = FailedJob.lastStep,
 errorString = FailedJob.errorString