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 {
scanMode: {
field: 'scanMode',
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: '',
defaultText: s__('APIFuzzing|Choose a method'),
options: this.apiFuzzingCiConfiguration.scanModes.map((value) => ({
......
......@@ -3,26 +3,26 @@ import { __, s__ } from '~/locale';
export const SCAN_MODES = {
HAR: {
scanModeLabel: __('HAR (HTTP Archive)'),
label: __('HAR file path'),
placeholder: s__('APIFuzzing|/folder/example_file.har'),
label: __('HAR file path or URL'),
placeholder: s__('APIFuzzing|folder/example_fuzz.har'),
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: {
scanModeLabel: __('OpenAPI'),
label: __('OpenAPI specification file path'),
placeholder: s__('APIFuzzing|/folder/example_file.json'),
label: __('OpenAPI Specification file path or URL'),
placeholder: s__('APIFuzzing|folder/openapi.json'),
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: {
scanModeLabel: __('Postman collection'),
label: __('Postman collection'),
placeholder: s__('APIFuzzing|/folder/example_file.postman_collection.json'),
label: __('Postman collection file path or URL'),
placeholder: s__('APIFuzzing|folder/example.postman_collection.json'),
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 ""
msgid "APIFuzzing|$VariableWithUsername"
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"
msgstr ""
......@@ -1576,13 +1567,13 @@ msgstr ""
msgid "APIFuzzing|Enter the name of the variable containing the username. For example, $VariableWithUsername."
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 ""
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 ""
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 ""
msgid "APIFuzzing|Generate code snippet"
......@@ -1609,7 +1600,7 @@ msgstr ""
msgid "APIFuzzing|Target URL"
msgstr ""
msgid "APIFuzzing|There are two ways to perform scans."
msgid "APIFuzzing|There are three ways to perform scans."
msgstr ""
msgid "APIFuzzing|Tip: Insert the following variables anywhere below stages and include"
......@@ -1636,6 +1627,15 @@ msgstr ""
msgid "APIFuzzing|You may need a maintainer's help to secure your credentials."
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"
msgstr ""
......@@ -16220,7 +16220,7 @@ msgstr ""
msgid "HAR (HTTP Archive)"
msgstr ""
msgid "HAR file path"
msgid "HAR file path or URL"
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}"
......@@ -23139,7 +23139,7 @@ msgstr ""
msgid "OpenAPI"
msgstr ""
msgid "OpenAPI specification file path"
msgid "OpenAPI Specification file path or URL"
msgstr ""
msgid "Opened"
......@@ -24693,6 +24693,9 @@ msgstr ""
msgid "Postman collection"
msgstr ""
msgid "Postman collection file path or URL"
msgstr ""
msgid "Pre-defined push rules."
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