% slugged_id = control.id.tr(" ", "_") %> <% # Determine status of control status = "passed" if control.results.any? { |r| r.status == "failed" } status = "failed" elsif control.results.any? { |r| r.status == "skipped" } status = "skipped" end %>
<%= control.id %>
Status: | <%= status.capitalize %> | ||
---|---|---|---|
Title: | <%= control.title %> | ||
Description: | <%= control.desc %> | ||
Impact: | <%= control.impact %> | ||
Tags: |
|
||
References: |
|
||
Source Code: |