latest 6.2.x 6.1.x 6.0.x 5.8.x 5.7.x 5.6.x 5.5.x 5.4.x 5.3.x 5.2.x 5.1.x 5.0.x 4.18.x 4.17.0 4.16.x 4.15.x 4.14.x 4.13.0 4.11.x 4.8.0 4.7.0 4.6.0 4.5.0 4.4.0 4.2.0 4.1.0 4.0.0 3.22.0 3.21.0 3.20.0 3.19.0 3.18.0 3.17.0 3.16.0 3.15.0 3.14.0 3.13.0 3.12.0 3.11.0 3.10.0 3.9.0 3.8.0 3.7.0 3.6.0 3.5.0 3.4.0 3.3.0 3.2.0
Auto Light Dark
Auto Light Dark
latest 6.2.x 6.1.x 6.0.x 5.8.x 5.7.x 5.6.x 5.5.x 5.4.x 5.3.x 5.2.x 5.1.x 5.0.x 4.18.x 4.17.0 4.16.x 4.15.x 4.14.x 4.13.0 4.11.x 4.8.0 4.7.0 4.6.0 4.5.0 4.4.0 4.2.0 4.1.0 4.0.0 3.22.0 3.21.0 3.20.0 3.19.0 3.18.0 3.17.0 3.16.0 3.15.0 3.14.0 3.13.0 3.12.0 3.11.0 3.10.0 3.9.0 3.8.0 3.7.0 3.6.0 3.5.0 3.4.0 3.3.0 3.2.0

How to bypass the pre-receive hook for a single commit?

Sometimes the synchronous scanning of pushes is not feasible due to the size or complexity of the commits pushed. In those cases, developers can include the string **skip-soteri-security-check** in the commit message of the commit which should not be scanned.

If a scan is subsequently triggered via the Repository Scan Report page or the Global Scan Dashboard, the contents of the commit will be scanned. The bypass directive applies to the pre-receive hook only.

When the pre-receive hook is enabled and a commit is bypassed, a warning message is displayed to the pusher:

image-20210708-221346.png