Changes
This commit is contained in:
parent
148ef4efdd
commit
2c521dc0e3
@ -3,6 +3,7 @@ class HomeController < ApplicationController
|
|||||||
if user_signed_in?
|
if user_signed_in?
|
||||||
if current_user.admin?
|
if current_user.admin?
|
||||||
@file = YAML.load_file(Rails.root.to_s + '/config/caf_text.yml')
|
@file = YAML.load_file(Rails.root.to_s + '/config/caf_text.yml')
|
||||||
|
@objectives = @file["objectives"]
|
||||||
else
|
else
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
@ -28,9 +28,17 @@ Not Signed in.
|
|||||||
<%= link_to "Add User" %>
|
<%= link_to "Add User" %>
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<% @file["objectives"].each do |key, value| %>
|
|
||||||
<p><%= key%>:<%=value%></p>
|
<% @objectives.each do |objective| %>
|
||||||
<% end %>
|
<% objective_info = objective["objective"] %>
|
||||||
|
<p><%= objective_info["name"] %> <br/> <%= objective_info["description"] %></p>
|
||||||
|
<% principles = objective_info["principles"] %>
|
||||||
|
<% principles.each do |principle| %>
|
||||||
|
<% principle_info = principle["principle"] %>
|
||||||
|
<p><%= principle_info["name"] %><br><%= principle_info["description"]%></p>
|
||||||
|
<% end %>
|
||||||
|
<% end %>
|
||||||
|
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
||||||
<% if current_user.user? %>
|
<% if current_user.user? %>
|
||||||
|
|||||||
@ -130,8 +130,11 @@ objectives:
|
|||||||
- Security deficiencies uncovered by assurance activities are assessed, prioritised and remedied when necessary in a timely and effective way.
|
- Security deficiencies uncovered by assurance activities are assessed, prioritised and remedied when necessary in a timely and effective way.
|
||||||
- The methods used for assurance are reviewed to ensure they are working as intended and remain the most appropriate method to use.
|
- The methods used for assurance are reviewed to ensure they are working as intended and remain the most appropriate method to use.
|
||||||
|
|
||||||
- objective: Objective B - Protecting against cyber attack
|
# - objective:
|
||||||
|
# name: Objective B - Protecting against cyber attack
|
||||||
- objective: Objective C - Detecting cyber security events
|
#
|
||||||
|
# - objective:
|
||||||
- objective: Objective D - Minimising the impact of cyber security incidents
|
# name: Objective C - Detecting cyber security events
|
||||||
|
#
|
||||||
|
# - objective:
|
||||||
|
# name: Objective D - Minimising the impact of cyber security incidents
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user