exportconstNO_RULE_MESSAGE=s__('SecurityOrchestration|No rules defined - policy will not run.');
exportconstINVALID_BRANCHES=s__(
'SecurityOrchestration|The following branches do not exist on this development project: %{branches}. Please review all branches to ensure the values are accurate before updating this policy.',
'Require 2 approvals from o.leticia.conner or user with id 5 or members of the group security_group/all_members or members of the group with id 10 if any of the following occur:',
);
});
describe('humanizeInvalidBranchesError',()=>{
it('returns message without any branch name for an empty array',()=>{
expect(humanizeInvalidBranchesError([])).toEqual(
'The following branches do not exist on this development project: . Please review all branches to ensure the values are accurate before updating this policy.',
);
});
it('returns message with a single branch name for an array with single element',()=>{
'The following branches do not exist on this development project: main. Please review all branches to ensure the values are accurate before updating this policy.',
);
});
it('returns message with multiple branch names for array with multiple elements',()=>{
'The following branches do not exist on this development project: main, protected and master. Please review all branches to ensure the values are accurate before updating this policy.',
${httpStatus.NOT_FOUND} | ${'The following branches do not exist on this development project: main. Please review all branches to ensure the values are accurate before updating this policy.'}
`(
'triggers error event with content: "$errorMessage" when http status is $status',
msgid "SecurityConfiguration|Vulnerability details and statistics in the merge request"
msgstr ""
msgid "SecurityOrchestration| and "
msgstr ""
msgid "SecurityOrchestration| or "
msgstr ""
...
...
@@ -33632,6 +33635,9 @@ msgstr ""
msgid "SecurityOrchestration|Summary"
msgstr ""
msgid "SecurityOrchestration|The following branches do not exist on this development project: %{branches}. Please review all branches to ensure the values are accurate before updating this policy."
msgstr ""
msgid "SecurityOrchestration|There was a problem creating the new security policy"