Safety Net Plugin
The scc-safety-net plugin is the most important plugin for organizations.
What It Blocks
Section titled “What It Blocks”| Command | Why |
|---|---|
git push --force | Overwrites remote history |
git reset --hard | Discards uncommitted changes |
git branch -D | Force-deletes branches |
git clean -fd | Deletes untracked files |
Installation
Section titled “Installation”{ "defaults": { "enabled_plugins": [ "scc-safety-net@sandboxed-code-official" ] }}Configuration
Section titled “Configuration”Policy modes:
block- Commands blocked (default)warn- Commands allowed with warningallow- Protection disabled
See Safety Net Guide for details.