Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Introduce group reporters for API Particulier #1614

Merged
merged 7 commits into from
Jul 30, 2024

Revert all reporters to one email

b9bc624
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Merged

Introduce group reporters for API Particulier #1614

Revert all reporters to one email
b9bc624
Select commit
Loading
Failed to load commit list.
GitHub Actions / brakeman succeeded Jul 30, 2024 in 0s

reviewdog [brakeman] report

reported by reviewdog 🐶

Findings (0)
Filtered Findings (8)

app/views/shared/authorization_requests/_header.html.erb|23| Cross Site Scripting Template Unescaped model attribute near line 23: t("shared.links.to_datapass", :external_id => MagicLink.find_by(:access_token => magic_token_show_params[:access_token]).token.decorate.authorization_request.external_id) Weak
app/views/shared/authorization_requests/index.html.erb|11| Cross Site Scripting Template Unescaped model attribute near line 11: t(".title", :api_label => t(".#{current_user.authorization_requests.where(:api => api).submitted_at_least_once.viewable_by_users.order(:first_submitted_at => :desc).includes(:active_token).first.api}"), :count => current_user.authorization_requests.where(:api => api).submitted_at_least_once.viewable_by_users.order(:first_submitted_at => :desc).includes(:active_token).count) Weak
app/views/shared/tokens/ask_for_prolongation.html.erb|9| Cross Site Scripting Template Unescaped model attribute near line 9: t(".description", :demandeur => current_user.tokens.find(params[:id]).decorate.demandeur.full_name, :token_id => current_user.tokens.find(params[:id]).decorate.id, :remaining_time => distance_of_time_in_words(Time.zone.now, current_user.tokens.find(params[:id]).decorate.end_timestamp)) Weak
app/views/shared/tokens/ask_for_prolongation.html.erb|15| Cross Site Scripting Template Unescaped model attribute near line 15: t(".demandeur", :demandeur => current_user.tokens.find(params[:id]).decorate.demandeur.full_name) Weak
app/views/shared/tokens/cannot_show.html.erb|9| Cross Site Scripting Template Unescaped model attribute near line 9: t(".description", :demandeur => current_user.tokens.find(params[:id]).decorate.demandeur.full_name, :token_id => current_user.tokens.find(params[:id]).decorate.id, :remaining_time => distance_of_time_in_words(Time.zone.now, current_user.tokens.find(params[:id]).decorate.end_timestamp)) Weak
app/views/shared/tokens/cannot_show.html.erb|15| Cross Site Scripting Template Unescaped model attribute near line 15: t(".demandeur", :demandeur => current_user.tokens.find(params[:id]).decorate.demandeur.full_name) Weak
app/views/shared/tokens/cannot_show.html.erb|22| Cross Site Scripting Template Unescaped model attribute near line 22: t(".contact_technique", :contact_technique => current_user.tokens.find(params[:id]).decorate.authorization_request.contact_technique.full_name) Weak
app/views/shared/tokens/prolong.html.erb|15| Cross Site Scripting Template Unescaped model attribute near line 15: t(".description", :link_to_datapass => link_to(t("shared.links.to_datapass", :external_id => current_user.tokens.find(params[:id]).decorate.authorization_request.external_id).html_safe, datapass_authorization_request_url(current_user.tokens.find(params[:id]).decorate.authorization_request), :id => :authorization_request_link, :class => (["fr-link"]), :target => "_blank"), :remaining_time => distance_of_time_in_words(Time.zone.now, current_user.tokens.find(params[:id]).decorate.end_timestamp)) Weak