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
f8c411fd
Commit
f8c411fd
authored
May 20, 2020
by
Benjamin Zeigler
Committed by
Russell Dickenson
May 20, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update PHPCS env flags in analyzer settings
- Related to Issue #216507
parent
dddc9382
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
13 deletions
+14
-13
doc/user/application_security/sast/index.md
doc/user/application_security/sast/index.md
+14
-13
No files found.
doc/user/application_security/sast/index.md
View file @
f8c411fd
...
...
@@ -313,19 +313,20 @@ Some analyzers can be customized with environment variables.
| Environment variable | Analyzer | Description |
|-----------------------------|----------|-------------|
|
`SCAN_KUBERNETES_MANIFESTS`
| Kubesec | Set to
`"true"`
to scan Kubernetes manifests. |
|
`ANT_HOME`
| SpotBugs | The
`ANT_HOME`
environment variable. |
|
`ANT_PATH`
| SpotBugs | Path to the
`ant`
executable. |
|
`GRADLE_PATH`
| SpotBugs | Path to the
`gradle`
executable. |
|
`JAVA_OPTS`
| SpotBugs | Additional arguments for the
`java`
executable. |
|
`JAVA_PATH`
| SpotBugs | Path to the
`java`
executable. |
|
`SAST_JAVA_VERSION`
| SpotBugs | Which Java version to use. Supported versions are
`8`
and
`11`
. Defaults to
`8`
. |
|
`MAVEN_CLI_OPTS`
| SpotBugs | Additional arguments for the
`mvn`
or
`mvnw`
executable. |
|
`MAVEN_PATH`
| SpotBugs | Path to the
`mvn`
executable. |
|
`MAVEN_REPO_PATH`
| SpotBugs | Path to the Maven local repository (shortcut for the
`maven.repo.local`
property). |
|
`SBT_PATH`
| SpotBugs | Path to the
`sbt`
executable. |
|
`FAIL_NEVER`
| SpotBugs | Set to
`1`
to ignore compilation failure. |
|
`SAST_GOSEC_CONFIG`
| Gosec | Path to configuration for Gosec (optional). |
|
`SCAN_KUBERNETES_MANIFESTS`
| Kubesec | Set to
`"true"`
to scan Kubernetes manifests. |
|
`ANT_HOME`
| SpotBugs | The
`ANT_HOME`
environment variable. |
|
`ANT_PATH`
| SpotBugs | Path to the
`ant`
executable. |
|
`GRADLE_PATH`
| SpotBugs | Path to the
`gradle`
executable. |
|
`JAVA_OPTS`
| SpotBugs | Additional arguments for the
`java`
executable. |
|
`JAVA_PATH`
| SpotBugs | Path to the
`java`
executable. |
|
`SAST_JAVA_VERSION`
| SpotBugs | Which Java version to use. Supported versions are
`8`
and
`11`
. Defaults to
`8`
. |
|
`MAVEN_CLI_OPTS`
| SpotBugs | Additional arguments for the
`mvn`
or
`mvnw`
executable. |
|
`MAVEN_PATH`
| SpotBugs | Path to the
`mvn`
executable. |
|
`MAVEN_REPO_PATH`
| SpotBugs | Path to the Maven local repository (shortcut for the
`maven.repo.local`
property). |
|
`SBT_PATH`
| SpotBugs | Path to the
`sbt`
executable. |
|
`FAIL_NEVER`
| SpotBugs | Set to
`1`
to ignore compilation failure. |
|
`SAST_GOSEC_CONFIG`
| Gosec | Path to configuration for Gosec (optional). |
|
`PHPCS_SECURITY_AUDIT_PHP_EXTENSIONS`
| phpcs-security-audit | Comma separated list of additional PHP Extensions. |
#### Custom environment 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