An error occurred while fetching the assigned milestone of the selected merge_request.
Introduce a warning message for pipeline trigger token form
All threads resolved!
All threads resolved!
Compare changes
- Dmytro Biryukov authored
@@ -21,11 +21,12 @@
@@ -21,11 +21,12 @@
= render Pajamas::AlertComponent.new(variant: :danger, alert_options: { class: 'gl-mb-5 gl-pb-2' }, dismissible: false) do |c|
= _('It is a security risk to save tokens in plain text in public projects. Potential attackers could use a trigger token exposed in the .gitlab-ci.yml file to impersonate the user that created that token. Use masked CI/CD variables to improve the security of trigger tokens.')
= s_('PipelineTriggerTokens|It is a security risk to save tokens in plain text in your project, or store them in a way that malicious users could access them. A leaked trigger token could be used to force an unscheduled deployment, attempt to access CI/CD variables, or other malicious uses. %{keep_tokens_secure_link}').html_safe % { keep_tokens_secure_link: keep_tokens_secure_link }
= render 'projects/triggers/form', btn_text: _('Create pipeline trigger token'), show_cancel_button: true