org.sonar.plugins.secrules.widget.html.erb Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sonar-security-rules-plugin Show documentation
Show all versions of sonar-security-rules-plugin Show documentation
Enables to monitor closely a defined set of security rules.
The newest version!
<%
security_violations=measure('security-violations')
if security_violations
security_index=measure('security-rci')
%>
<%= metric('security-violations').short_name -%>
<%= format_measure(security_violations, :url => url_for_drilldown(security_violations))%>
<%= dashboard_configuration.selected_period? ? format_variation(security_violations) : trend_icon(security_violations) -%>
<%= format_measure(security_index, :suffix => ' compliance', :url => url_for_drilldown(security_index)) %>
<%= dashboard_configuration.selected_period? ? format_variation(security_index) : trend_icon(security_index) -%>
<%= security_violations.description %> rules activated
<%= piechart(measure('security-violations-distribution'), { :size => "242x70"}) -%>
<% end %>