Commit 6b02c8d9 authored by Phil Hughes's avatar Phil Hughes

Merge branch 'aqualls-sast-mr-language' into 'master'

Update 'Merge Request' in SAST UI page

See merge request gitlab-org/gitlab!75152
parents 96f3f044 91c7aa20
...@@ -85,7 +85,7 @@ export default { ...@@ -85,7 +85,7 @@ export default {
); );
}, },
i18n: { i18n: {
buttonLabel: s__('SecurityConfiguration|Configure via Merge Request'), buttonLabel: s__('SecurityConfiguration|Configure with a merge request'),
noSuccessPathError: s__( noSuccessPathError: s__(
'SecurityConfiguration|%{featureName} merge request creation mutation failed', 'SecurityConfiguration|%{featureName} merge request creation mutation failed',
), ),
......
...@@ -46,14 +46,14 @@ You can configure the following security controls: ...@@ -46,14 +46,14 @@ You can configure the following security controls:
- Select **Manage scans** to manage the saved DAST scans, site profiles, and scanner profiles. - Select **Manage scans** to manage the saved DAST scans, site profiles, and scanner profiles.
For more details, read [DAST on-demand scans](../dast/index.md#on-demand-scans). For more details, read [DAST on-demand scans](../dast/index.md#on-demand-scans).
- [Dependency Scanning](../dependency_scanning/index.md) - [Dependency Scanning](../dependency_scanning/index.md)
- Select **Configure via Merge Request** to create a merge request with the changes required to - Select **Configure with a merge request** to create a merge request with the changes required to
enable Dependency Scanning. For more details, see [Enable Dependency Scanning via an automatic merge request](../dependency_scanning/index.md#enable-dependency-scanning-via-an-automatic-merge-request). enable Dependency Scanning. For more details, see [Enable Dependency Scanning via an automatic merge request](../dependency_scanning/index.md#enable-dependency-scanning-via-an-automatic-merge-request).
- [Container Scanning](../container_scanning/index.md) - [Container Scanning](../container_scanning/index.md)
- Can be configured with `.gitlab-ci.yml`. For more details, read [Container Scanning](../../../user/application_security/container_scanning/index.md#configuration). - Can be configured with `.gitlab-ci.yml`. For more details, read [Container Scanning](../../../user/application_security/container_scanning/index.md#configuration).
- [Cluster Image Scanning](../cluster_image_scanning/index.md) - [Cluster Image Scanning](../cluster_image_scanning/index.md)
- Can be configured with `.gitlab-ci.yml`. For more details, read [Cluster Image Scanning](../../../user/application_security/cluster_image_scanning/#configuration). - Can be configured with `.gitlab-ci.yml`. For more details, read [Cluster Image Scanning](../../../user/application_security/cluster_image_scanning/#configuration).
- [Secret Detection](../secret_detection/index.md) - [Secret Detection](../secret_detection/index.md)
- Select **Configure via Merge Request** to create a merge request with the changes required to - Select **Configure with a merge request** to create a merge request with the changes required to
enable Secret Detection. For more details, read [Enable Secret Detection via an automatic merge request](../secret_detection/index.md#enable-secret-detection-via-an-automatic-merge-request). enable Secret Detection. For more details, read [Enable Secret Detection via an automatic merge request](../secret_detection/index.md#enable-secret-detection-via-an-automatic-merge-request).
- [API Fuzzing](../api_fuzzing/index.md) - [API Fuzzing](../api_fuzzing/index.md)
- Select **Enable API Fuzzing** to use API Fuzzing for the current project. For more details, read [API Fuzzing](../../../user/application_security/api_fuzzing/index.md#enable-web-api-fuzzing). - Select **Enable API Fuzzing** to use API Fuzzing for the current project. For more details, read [API Fuzzing](../../../user/application_security/api_fuzzing/index.md#enable-web-api-fuzzing).
......
...@@ -444,7 +444,7 @@ from the Security Configuration page. ...@@ -444,7 +444,7 @@ from the Security Configuration page.
1. In the project where you want to enable Dependency Scanning, navigate to 1. In the project where you want to enable Dependency Scanning, navigate to
**Security & Compliance > Configuration**. **Security & Compliance > Configuration**.
1. In the **Dependency Scanning** row, select **Configure via Merge Request**. 1. In the **Dependency Scanning** row, select **Configure with a merge request**.
This automatically creates a merge request with the changes necessary to enable Dependency Scanning This automatically creates a merge request with the changes necessary to enable Dependency Scanning
that you can review and merge to complete the configuration. that you can review and merge to complete the configuration.
......
...@@ -84,7 +84,7 @@ from the Security Configuration page: ...@@ -84,7 +84,7 @@ from the Security Configuration page:
1. On the top bar, select **Menu > Projects** and find your project. 1. On the top bar, select **Menu > Projects** and find your project.
1. On the left sidebar, select **Security & Compliance > Configuration**. 1. On the left sidebar, select **Security & Compliance > Configuration**.
1. In the **Infrastructure as Code (IaC) Scanning** row, select **Configure via Merge Request**. 1. In the **Infrastructure as Code (IaC) Scanning** row, select **Configure with a merge request**.
This automatically creates a merge request with the changes necessary to enable IaC Scanning This automatically creates a merge request with the changes necessary to enable IaC Scanning
that you can review and merge to complete the configuration. that you can review and merge to complete the configuration.
......
...@@ -123,7 +123,7 @@ from the Security Configuration page. ...@@ -123,7 +123,7 @@ from the Security Configuration page.
1. In the project where you want to enable Secret Detection, go to 1. In the project where you want to enable Secret Detection, go to
**Security & Compliance > Configuration**. **Security & Compliance > Configuration**.
1. In the **Secret Detection** row, select **Configure via Merge Request**. 1. In the **Secret Detection** row, select **Configure with a merge request**.
This automatically creates a merge request with the changes necessary to enable Secret Detection This automatically creates a merge request with the changes necessary to enable Secret Detection
that you can review and merge to complete the configuration. that you can review and merge to complete the configuration.
......
...@@ -55,9 +55,9 @@ RSpec.describe 'User sees Security Configuration table', :js do ...@@ -55,9 +55,9 @@ RSpec.describe 'User sees Security Configuration table', :js do
within_sast_iac_card do within_sast_iac_card do
expect(page).to have_text('Infrastructure as Code (IaC) Scanning') expect(page).to have_text('Infrastructure as Code (IaC) Scanning')
expect(page).to have_text('Not enabled') expect(page).to have_text('Not enabled')
expect(page).to have_button('Configure via Merge Request') expect(page).to have_button('Configure with a merge request')
click_button 'Configure via Merge Request' click_button 'Configure with a merge request'
wait_for_requests wait_for_requests
expect(current_path).to eq(project_new_merge_request_path(project)) expect(current_path).to eq(project_new_merge_request_path(project))
......
...@@ -30776,7 +30776,7 @@ msgstr "" ...@@ -30776,7 +30776,7 @@ msgstr ""
msgid "SecurityConfiguration|Configure %{feature}" msgid "SecurityConfiguration|Configure %{feature}"
msgstr "" msgstr ""
msgid "SecurityConfiguration|Configure via Merge Request" msgid "SecurityConfiguration|Configure with a merge request"
msgstr "" msgstr ""
msgid "SecurityConfiguration|Copy code and open .gitlab-ci.yml file" msgid "SecurityConfiguration|Copy code and open .gitlab-ci.yml file"
......
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