Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
29a27919
Commit
29a27919
authored
Dec 15, 2021
by
Thiago Figueiró
Committed by
Nick Gaskill
Dec 15, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
More information about CS_DISABLE_LANGUAGE_VULNERABILITY_SCAN
parent
bb224023
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
30 additions
and
0 deletions
+30
-0
doc/user/application_security/container_scanning/index.md
doc/user/application_security/container_scanning/index.md
+30
-0
No files found.
doc/user/application_security/container_scanning/index.md
View file @
29a27919
...
...
@@ -168,6 +168,36 @@ container_scanning:
CS_DISABLE_DEPENDENCY_LIST
:
"
true"
```
#### Report language-specific findings
> [Introduced](https://gitlab.com/groups/gitlab-org/-/epics/7277) in GitLab 14.6.
The
`CS_DISABLE_LANGUAGE_VULNERABILITY_SCAN`
CI/CD variable controls whether the scan reports
findings related to programming languages. The languages supported depend on the
[
scanner used
](
#change-scanners
)
:
-
[
Trivy
](
https://aquasecurity.github.io/trivy/latest/vulnerability/detection/language/
)
.
-
[
Grype
](
https://github.com/anchore/grype#features
)
.
By default, the report only includes packages managed by the Operating System (OS) package manager
(for example,
`yum`
,
`apt`
,
`apk`
,
`tdnf`
). To report security findings in non-OS packages, set
`CS_DISABLE_LANGUAGE_VULNERABILITY_SCAN`
to
`"false"`
:
```
yaml
include
:
-
template
:
Security/Container-Scanning.gitlab-ci.yml
container_scanning
:
variables
:
CS_DISABLE_LANGUAGE_VULNERABILITY_SCAN
:
"
false"
```
When you enable this feature, you may see
[
duplicate findings
](
../terminology/#duplicate-finding
)
in the
[
Vulnerability Report
](
../vulnerability_report/
)
if
[
Dependency Scanning
](
../dependency_scanning/
)
is enabled for your project. This happens because GitLab can't automatically deduplicate the
findings reported by the two different analyzers.
#### Available CI/CD variables
You can
[
configure
](
#customizing-the-container-scanning-settings
)
analyzers by using the following CI/CD variables:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment