Skip to content

Config Change

Configuration for config change hooks with source-based command execution.

Commands run when configuration changes. Exit code 2 blocks the change, except when source is policy_settings (cannot be blocked).

Map of source patterns to command configurations. Keys are glob patterns matching source names (e.g., “user_settings”, ”*”).

AttributeValue
Typeobject
Default{}

This section uses the following nested type definitions:

Configuration for individual config change commands with optional messages

Properties:

PropertyTypeDefaultDescription
maxOutputLines`integernull`null
message`stringnull`null
notifyPerCommand`booleannull`null
runstring-The shell command to execute
showCommand`booleannull`true
showStderr`booleannull`null
showStdout`booleannull`null
timeout`integernull`null