I’m struggling with relevance again. This is the relevance used in Lee Wei’s compliance by computer report. I want to add filters (using relevance) for category, severity, and by group. I think i have category/severity sorted out but i always struggle with group.
Original
trs of htmls (unique values of (it as string) of (td of (id of computer of it as string & id of fixlet of it as string) & td of (id of computer of it as string) & td of (if exists name of computer of it then name of computer of it else “”) & td of (if exists operating system of computer of it then operating system of computer of it else “”) & td of (if exists ip addresses of computer of it then concatenations (html “
”) of (ip addresses of computer of it as string) else html “”) & td of (if exists last report time of computer of it then (((year of it as string & “/” & month of it as two digits & “/” & day_of_month of it as two digits) of date (local time zone) of it & " " & (two digit hour of it as string & “:” & two digit minute of it as string & “:” & two digit second of it as string) of time (local time zone) of it) of last report time of computer of it) else (“”)) & td of (if (exists first became relevant of it) then (“1”) else (“0”)) & td of (if (exists Last Became NonRelevant of it and not relevant flag of it) then “1” else “0”) & td of (if (exists Last Became Relevant of it and Relevant Flag of it) then “1” else “0”)) of results of bes fixlets)
Edited
trs of htmls (unique values of (it as string) of (
td of (id of computer of it as string & id of fixlet of it as string) &
td of (id of computer of it as string) & td of (if exists name of computer of it then name of computer of it else “”) &
td of (if exists operating system of computer of it then operating system of computer of it else “”) &
td of (if exists ip addresses of computer of it then concatenations (html “
”) of (ip addresses of computer of it as string) else html “”) &
td of (if exists last report time of computer of it then (((year of it as string & “/” & month of it as two digits & “/” & day_of_month of it as two digits) of date (local time zone) of it & " " & (two digit hour of it as string & “:” & two digit minute of it as string & “:” & two digit second of it as string) of time (local time zone) of it) of last report time of computer of it) else (“”)) &
td of (if (exists first became relevant of it) then (“1”) else (“0”)) &
td of (if (exists Last Became NonRelevant of it and not relevant flag of it) then “1” else “0”) &
td of (if (exists Last Became Relevant of it and Relevant Flag of it) then “1” else “0”))of results whose (
((Category of Fixlet of it as string as lowercase contains “security”) AND (Source Severity of Fixlet of it as string as lowercase contains “critical”) AND
(name of Fixlet of it as lowercase does not contain “superseded”))) of bes fixlets
whose (name of site of it = “Enterprise Security”)
)