Scan for startup procs


Job details

Name: Scan for startup procs
Platform: Sqlserver
Category: Security
Premium package: Security and compliance package
Description: Check if MS SQL Server automatically scan and run all stored procedures that are set to execute upon service startup.
Long description: Check if MS SQL Server automatically scan and run all stored procedures that are set to execute upon service startup.
Version: 1.2
Default schedule: 26 1 1 *
Requires engine install: Yes
Compatibility tag: .[type=‘instance’ & databasetype=‘sqlserver’]/instance[maj_version > ‘2005′ & hasengine=‘YES’ & eng_inst_priv = 0 & (engine_edition = ‘Microsoft SQL Server’ engine_edition = ‘Azure SQL Managed Instance’)]

Parameters

Name Default value Description
return status 1 Return status value (ALARM – 2, WARNING – 1, or OK – 0) when the “scan for startup procs” parameter is enabled.
disable scan for startup procs NO If set to “YES“ the alert will disable “scan for startup procs” (if it is enabled) by running sp_configure stored procedure.
history threshold 365 The maximum number of days to keep statistics for in the historic tables.

Job Summary

SELECT value_in_use FROM sys.configurations WHERE name = 'scan for startup procs'

Job Design

Implementation Details

Parameter Configuration

The job handles several parameters:

Reporting

The task configuration outlines detailed reporting, which includes:

Tables and Filters

Tables include:

Configuration Parameter Current Value History Tracking
scan for startup procs Dynamic real-time fetching Maintained for a set threshold (default 365 days)

This job amplifies dbWatch Control Center’s ability to enforce security protocols and ensures that unintended or unauthorized changes to critical server configurations are both monitored and controlled, thereby bolstering system security and stability.