Add latest changes from gitlab-org/gitlab@master
This commit is contained in:
parent
71c16c702a
commit
8da8f050de
5 changed files with 28 additions and 1 deletions
|
@ -15,7 +15,7 @@
|
||||||
- if @user.deactivated?
|
- if @user.deactivated?
|
||||||
%span.cred
|
%span.cred
|
||||||
= s_('AdminUsers|(Deactivated)')
|
= s_('AdminUsers|(Deactivated)')
|
||||||
= render_if_exists 'admin/users/audtior_user_badge'
|
= render_if_exists 'admin/users/auditor_user_badge'
|
||||||
|
|
||||||
.float-right
|
.float-right
|
||||||
- if impersonation_enabled? && @user != current_user && @user.can?(:log_in)
|
- if impersonation_enabled? && @user != current_user && @user.can?(:log_in)
|
||||||
|
|
5
changelogs/unreleased/arty-fix-auditor-badge.yml
Normal file
5
changelogs/unreleased/arty-fix-auditor-badge.yml
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
---
|
||||||
|
title: Fix to show auditor badging in admin user view
|
||||||
|
merge_request: 52943
|
||||||
|
author:
|
||||||
|
type: fixed
|
|
@ -528,3 +528,7 @@ scanning job might be triggered even if the scanner doesn't support your project
|
||||||
|
|
||||||
[Python 2 was removed](https://www.python.org/doc/sunset-python-2/) from the `retire.js` analyzer in GitLab 13.7 (analyzer version 2.10.1). Projects using packages
|
[Python 2 was removed](https://www.python.org/doc/sunset-python-2/) from the `retire.js` analyzer in GitLab 13.7 (analyzer version 2.10.1). Projects using packages
|
||||||
with a dependency on this version of Python should use `retire.js` version 2.10.0 or lower (for example, `registry.gitlab.com/gitlab-org/security-products/analyzers/retire.js:2.10.0`).
|
with a dependency on this version of Python should use `retire.js` version 2.10.0 or lower (for example, `registry.gitlab.com/gitlab-org/security-products/analyzers/retire.js:2.10.0`).
|
||||||
|
|
||||||
|
### Error: `dependency_scanning is used for configuration only, and its script should not be executed`
|
||||||
|
|
||||||
|
For information on this, see the [GitLab Secure troubleshooting section](../index.md#error-job-is-used-for-configuration-only-and-its-script-should-not-be-executed).
|
||||||
|
|
|
@ -691,3 +691,17 @@ Feature.disable(:core_security_mr_widget)
|
||||||
# For a single project
|
# For a single project
|
||||||
Feature.disable(:core_security_mr_widget, Project.find(<project id>))
|
Feature.disable(:core_security_mr_widget, Project.find(<project id>))
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### Error: job `is used for configuration only, and its script should not be executed`
|
||||||
|
|
||||||
|
[Changes made in GitLab 13.4](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/41260)
|
||||||
|
to the `Security/Dependency-Scanning.gitlab-ci.yml` and `Security/SAST.gitlab-ci.yml`
|
||||||
|
templates mean that if you enable the `sast` or `dependency_scanning` jobs by setting the `rules` attribute,
|
||||||
|
they will fail with the error `(job) is used for configuration only, and its script should not be executed`.
|
||||||
|
|
||||||
|
The `sast` or `dependency_scanning` stanzas can be used to make changes to all SAST or Dependency Scanning,
|
||||||
|
such as changing `variables` or the `stage`, but they cannot be used to define shared `rules`.
|
||||||
|
|
||||||
|
There [is an issue open to improve extendability](https://gitlab.com/gitlab-org/gitlab/-/issues/218444).
|
||||||
|
Please upvote the issue to help with prioritization, and
|
||||||
|
[contributions are welcomed](https://about.gitlab.com/community/contribute/).
|
||||||
|
|
|
@ -720,6 +720,10 @@ affected. Read more in
|
||||||
|
|
||||||
For information on this, see the [general Application Security troubleshooting section](../../../ci/pipelines/job_artifacts.md#error-message-no-files-to-upload).
|
For information on this, see the [general Application Security troubleshooting section](../../../ci/pipelines/job_artifacts.md#error-message-no-files-to-upload).
|
||||||
|
|
||||||
|
### Error: `sast is used for configuration only, and its script should not be executed`
|
||||||
|
|
||||||
|
For information on this, see the [GitLab Secure troubleshooting section](../index.md#error-job-is-used-for-configuration-only-and-its-script-should-not-be-executed).
|
||||||
|
|
||||||
### Limitation when using rules:exists
|
### Limitation when using rules:exists
|
||||||
|
|
||||||
The [SAST CI template](https://gitlab.com/gitlab-org/gitlab/-/blob/master/lib/gitlab/ci/templates/Security/SAST.gitlab-ci.yml)
|
The [SAST CI template](https://gitlab.com/gitlab-org/gitlab/-/blob/master/lib/gitlab/ci/templates/Security/SAST.gitlab-ci.yml)
|
||||||
|
|
Loading…
Reference in a new issue