From 57145e7023e2c57c55f8ceb4673e139c891f61fd Mon Sep 17 00:00:00 2001 From: Ted Trask Date: Tue, 23 Sep 2008 18:56:53 +0000 Subject: Updated snort to use new libraries and lsp files. git-svn-id: svn://svn.alpinelinux.org/acf/snort/trunk@1484 ab2d0c66-481e-0410-8bed-d214d4d58bed --- snort-details-html.lsp | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 snort-details-html.lsp (limited to 'snort-details-html.lsp') diff --git a/snort-details-html.lsp b/snort-details-html.lsp new file mode 100644 index 0000000..b95298d --- /dev/null +++ b/snort-details-html.lsp @@ -0,0 +1,37 @@ +<% local data, viewlibrary = ... +require("viewfunctions") +%> +<% +--[[ DEBUG INFORMATION +io.write("

DEBUGGING

DEBUG INFO: CFE

") +io.write(html.cfe_unpack(form)) +io.write("
") +--]] +%> + +<% viewlibrary.dispatch_component("status") %> + +

<%= data.label %>

+ +<% for i,priority in ipairs(data.value) do %> +

<%= priority.name %>

+ <% for cls in pairs(priority.value) do %> +

<%= cls %>

+ <% for id,alert in pairs(priority.value[cls]) do %> +

<%= alert.value[1] %>
+ <% for j=2, table.maxn(alert.value) do %> + <%= alert.value[j] %>
+ <% end %> + (This alarm is repeated <%= alert.count %> times) + <% if (table.maxn(alert.url) ~= 0) then %> + ( URL's: + <% for k,url in ipairs(alert.url) do %> + <%= url %> + <% end %> + ) + <% end %> +

+ <% end %> + + <% end %> +<% end %> -- cgit v1.2.3