Commit 947701c2 authored by Simon Knox's avatar Simon Knox

Merge branch '330651-update-api-fuzzing-labels' into 'master'

Update API fuzzing configuration form labels

See merge request gitlab-org/gitlab!61618
parents 1a0a2a8f d82c2930
...@@ -70,7 +70,7 @@ export default { ...@@ -70,7 +70,7 @@ export default {
scanMode: { scanMode: {
field: 'scanMode', field: 'scanMode',
label: s__('APIFuzzing|Scan mode'), label: s__('APIFuzzing|Scan mode'),
description: s__('APIFuzzing|There are two ways to perform scans.'), description: s__('APIFuzzing|There are three ways to perform scans.'),
value: '', value: '',
defaultText: s__('APIFuzzing|Choose a method'), defaultText: s__('APIFuzzing|Choose a method'),
options: this.apiFuzzingCiConfiguration.scanModes.map((value) => ({ options: this.apiFuzzingCiConfiguration.scanModes.map((value) => ({
......
...@@ -3,26 +3,26 @@ import { __, s__ } from '~/locale'; ...@@ -3,26 +3,26 @@ import { __, s__ } from '~/locale';
export const SCAN_MODES = { export const SCAN_MODES = {
HAR: { HAR: {
scanModeLabel: __('HAR (HTTP Archive)'), scanModeLabel: __('HAR (HTTP Archive)'),
label: __('HAR file path'), label: __('HAR file path or URL'),
placeholder: s__('APIFuzzing|/folder/example_file.har'), placeholder: s__('APIFuzzing|folder/example_fuzz.har'),
description: s__( description: s__(
"APIFuzzing|File path containing APIs to be tested. For example, /folder/example_file.har. HAR files may contain sensitive information such as authentication tokens, API keys, and session cookies. We recommend that you review the HAR files' contents before adding them to a repository.", "APIFuzzing|File path or URL to APIs to be tested. For example, folder/example_fuzz.har. HAR files may contain sensitive information such as authentication tokens, API keys, and session cookies. We recommend that you review the HAR files' contents before adding them to a repository.",
), ),
}, },
OPENAPI: { OPENAPI: {
scanModeLabel: __('OpenAPI'), scanModeLabel: __('OpenAPI'),
label: __('OpenAPI specification file path'), label: __('OpenAPI Specification file path or URL'),
placeholder: s__('APIFuzzing|/folder/example_file.json'), placeholder: s__('APIFuzzing|folder/openapi.json'),
description: s__( description: s__(
'APIFuzzing|File path containing APIs to be tested. For example, /folder/example_file.json.', 'APIFuzzing|File path or URL to OpenAPI specification. For example, folder/openapi.json or http://www.example.com/openapi.json.',
), ),
}, },
POSTMAN: { POSTMAN: {
scanModeLabel: __('Postman collection'), scanModeLabel: __('Postman collection'),
label: __('Postman collection'), label: __('Postman collection file path or URL'),
placeholder: s__('APIFuzzing|/folder/example_file.postman_collection.json'), placeholder: s__('APIFuzzing|folder/example.postman_collection.json'),
description: s__( description: s__(
'APIFuzzing|File path containing requests to be tested. For example, /folder/example_file.postman_collection.json.', 'APIFuzzing|File path or URL to requests to be tested. For example, folder/example.postman_collection.json.',
), ),
}, },
}; };
......
---
title: Update API fuzzing configuration form labels
merge_request: 61618
author:
type: changed
...@@ -1528,15 +1528,6 @@ msgstr "" ...@@ -1528,15 +1528,6 @@ msgstr ""
msgid "APIFuzzing|$VariableWithUsername" msgid "APIFuzzing|$VariableWithUsername"
msgstr "" msgstr ""
msgid "APIFuzzing|/folder/example_file.har"
msgstr ""
msgid "APIFuzzing|/folder/example_file.json"
msgstr ""
msgid "APIFuzzing|/folder/example_file.postman_collection.json"
msgstr ""
msgid "APIFuzzing|API Fuzzing Configuration" msgid "APIFuzzing|API Fuzzing Configuration"
msgstr "" msgstr ""
...@@ -1576,13 +1567,13 @@ msgstr "" ...@@ -1576,13 +1567,13 @@ msgstr ""
msgid "APIFuzzing|Enter the name of the variable containing the username. For example, $VariableWithUsername." msgid "APIFuzzing|Enter the name of the variable containing the username. For example, $VariableWithUsername."
msgstr "" msgstr ""
msgid "APIFuzzing|File path containing APIs to be tested. For example, /folder/example_file.har. HAR files may contain sensitive information such as authentication tokens, API keys, and session cookies. We recommend that you review the HAR files' contents before adding them to a repository." msgid "APIFuzzing|File path or URL to APIs to be tested. For example, folder/example_fuzz.har. HAR files may contain sensitive information such as authentication tokens, API keys, and session cookies. We recommend that you review the HAR files' contents before adding them to a repository."
msgstr "" msgstr ""
msgid "APIFuzzing|File path containing APIs to be tested. For example, /folder/example_file.json." msgid "APIFuzzing|File path or URL to OpenAPI specification. For example, folder/openapi.json or http://www.example.com/openapi.json."
msgstr "" msgstr ""
msgid "APIFuzzing|File path containing requests to be tested. For example, /folder/example_file.postman_collection.json." msgid "APIFuzzing|File path or URL to requests to be tested. For example, folder/example.postman_collection.json."
msgstr "" msgstr ""
msgid "APIFuzzing|Generate code snippet" msgid "APIFuzzing|Generate code snippet"
...@@ -1609,7 +1600,7 @@ msgstr "" ...@@ -1609,7 +1600,7 @@ msgstr ""
msgid "APIFuzzing|Target URL" msgid "APIFuzzing|Target URL"
msgstr "" msgstr ""
msgid "APIFuzzing|There are two ways to perform scans." msgid "APIFuzzing|There are three ways to perform scans."
msgstr "" msgstr ""
msgid "APIFuzzing|Tip: Insert the following variables anywhere below stages and include" msgid "APIFuzzing|Tip: Insert the following variables anywhere below stages and include"
...@@ -1636,6 +1627,15 @@ msgstr "" ...@@ -1636,6 +1627,15 @@ msgstr ""
msgid "APIFuzzing|You may need a maintainer's help to secure your credentials." msgid "APIFuzzing|You may need a maintainer's help to secure your credentials."
msgstr "" msgstr ""
msgid "APIFuzzing|folder/example.postman_collection.json"
msgstr ""
msgid "APIFuzzing|folder/example_fuzz.har"
msgstr ""
msgid "APIFuzzing|folder/openapi.json"
msgstr ""
msgid "AWS Access Key" msgid "AWS Access Key"
msgstr "" msgstr ""
...@@ -16220,7 +16220,7 @@ msgstr "" ...@@ -16220,7 +16220,7 @@ msgstr ""
msgid "HAR (HTTP Archive)" msgid "HAR (HTTP Archive)"
msgstr "" msgstr ""
msgid "HAR file path" msgid "HAR file path or URL"
msgstr "" msgstr ""
msgid "HTTP Basic: Access denied\\nYou must use a personal access token with 'api' scope for Git over HTTP.\\nYou can generate one at %{profile_personal_access_tokens_url}" msgid "HTTP Basic: Access denied\\nYou must use a personal access token with 'api' scope for Git over HTTP.\\nYou can generate one at %{profile_personal_access_tokens_url}"
...@@ -23139,7 +23139,7 @@ msgstr "" ...@@ -23139,7 +23139,7 @@ msgstr ""
msgid "OpenAPI" msgid "OpenAPI"
msgstr "" msgstr ""
msgid "OpenAPI specification file path" msgid "OpenAPI Specification file path or URL"
msgstr "" msgstr ""
msgid "Opened" msgid "Opened"
...@@ -24693,6 +24693,9 @@ msgstr "" ...@@ -24693,6 +24693,9 @@ msgstr ""
msgid "Postman collection" msgid "Postman collection"
msgstr "" msgstr ""
msgid "Postman collection file path or URL"
msgstr ""
msgid "Pre-defined push rules." msgid "Pre-defined push rules."
msgstr "" msgstr ""
......
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