Commit 8633453d authored by Achilleas Pipinellis's avatar Achilleas Pipinellis

Merge branch 'doc-update-secure-integration-with-orchestrator-exit-codes' into 'master'

Add orchestrator exit codes to Sec Scanner docs

See merge request gitlab-org/gitlab!26497
parents 3192a762 95c74e1a
...@@ -191,6 +191,15 @@ then `artifacts:reports:dependency_scanning` must be set to `depscan.json`. ...@@ -191,6 +191,15 @@ then `artifacts:reports:dependency_scanning` must be set to `depscan.json`.
Following the POSIX exit code standard, the scanner will exit with 0 for success and any number from 1 to 255 for anything else. Following the POSIX exit code standard, the scanner will exit with 0 for success and any number from 1 to 255 for anything else.
Success also includes the case when vulnerabilities are found. Success also includes the case when vulnerabilities are found.
When executing a scanning job using the [Docker-in-Docker privileged mode](../../user/application_security/sast/index.md#requirements),
we reserve the following standard exit codes.
| Orchestrator Exit Code | Description |
|------------------------|----------------------------------|
| 3 | No match, no compatible analyzer |
| 4 | Project directory empty |
| 5 | No compatible Docker image |
### Logging ### Logging
The scanner should log error messages and warnings so that users can easily investigate The scanner should log error messages and warnings so that users can easily investigate
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment