Report Available: Schedulable Compliance by Computer or Content

Hi Lee,

Thanks for your updates, this report is very useful for us,

Thanks,
Nagaraj,

Hi Lee,

Do you think it is possible for the outstanding fixlets to be displayed in this report? They don’t need to be hyperlinks as these reports would just be sent to our customers who do not have access to the our Web Reports. Thoughts?

Also is there an easier way to report on a baseline from this report other than inputting the baseline ID? Our baseline IDs change every month.

Thanks in advance.

@ptholt79, sorry for the slow response.

How are you imagining the outstanding Fixlets to be displayed? Under each computer and perhaps with a toggle to show/hide?
I am not keen for the following reasons:

  • Making the report interactive will nullify its current purpose of being email-able.
  • Putting in the outstanding Fixlets in any form will also make the payload bigger for emailing around.
  • If we put in the Fixlet info, we are back to the reports we already have here: Interactive Compliance by Computer report.

For your second question.
Baselines are also Fixlets, so you can filter them under “Content” and use the names. You mentioned that the IDs are changing, are the names changing as well?

I see what you are getting at with the outstanding fixlets.

No, the names of our baselines do not change. What is the best way to filter on a baseline for this report? I seem to have discrepancies between the Interactive Compliance by Computer report and the Schedulable Fixlet Compliance by Computer report for the Applicable, Installed, and Outstanding fixlets.

@ptholt79 the way the report is written, if we were to filter on name of the baseline, it will be treated as one component. So the compliance is on the entire baseline, not individual components.
It is possible to change this in the report code itself.

Regarding differences between the reports, it is likely due to the filters being used. Since the “Fixlet Compliance by Computer Group” report has predefined filters, you kind of need to know exactly how I have defined them.

Please private message me and I will be happy to help you through these issues.

Lee Wei

BUG FOUND: Found a bug while working with someone yesterday.

The symptom is that the PDF file generated does not look right. It is missing some pages, and information is missing.

This might happen on slower systems, or if the output file is very large. The PDF generator needs to wait for the JavaScript to finish processing. The default was to wait for 3 seconds which might not be sufficient.

I have created a new version of the lwmailer.exe v1.2.3 with a param, -script_delay.
Right now this defaults to 5 seconds, or change that to any number delay.

This example parameter will wait for 10 seconds.
Again, only necessary if you generate very large output and the info does not look right.

-script_delay=10000 
1 Like

Hi,
Our observations when using the Patch Compliance Reports by Content or by Computers -

  1. Some systems are in a PENDING RESTART state due to recently deployed patches
  2. But the patch compliance report shows them in compliant state for those patches
  3. Ideally these patches should not be counted towards compliance as they have not yet been applied onto the system.

Can this be fixed ? The report should only show “installed patches that have been applied after completing the restart”

Thanks
Ravi

@ravik, the report gets its data from the Fixlets, and how the computers report their relevance.
If a computer shows that it is no longer relevant to a Fixlet, it will be considered fixed.

Hi all,

I am trying to schedule a compliance report in html format, it get scheduled properly but when I open the report few things are missing

1 Like

@leewei Please extend your support

Thanks in advance

Regards,
Divya

1 Like

You really should not be posting a picture containing the hostnames, OS, and IP addresses of your machines.

Hi @Divya.P, sorry to hear of the problem.

  • Does the report look right if you run it manually?
  • The HTML being delivered is a standalone file that does not need to refer to other external websites. Can you please turn on the browser debugging console (please search the net to find out how to do this if necessary) to see what errors might have been generated.

Lee Wei

Hi,

Report doesn’t look like this when run manually.

There are no error in debug

Please help

2 Likes

Has anyone modify the report template to use a specific baseline of patches instead of using the Patches for Windows site and if so how to change the filter to look at all the patches other than just the critical?

Wondering if anyone has got this report working (compliance by computer group) in large environments (10,000+ endpoints). I have a report server with 16GB RAM and 4vcpu’s but the report returns NaN%. It works fine if i use smaller groups of assets.

NaN means Not a Number, so there was likely some error in the source relevance results that returned an error string instead of a number, thus a compliance percentage couldn’t be calculated. There are a lot of checks in the report js that validate that everything is a number, so it’s possible that it’s just hitting a limit of how much data can be processed by js within this report.

To look at the source data in a basic table, create a custom report with this code. Make sure to apply the right filters so it doesn’t try to return data for all fixlets in your environment. The last 3 columns of each row should all be 0 or 1. If anything looks off, then it could prevent the compliance calculation.

<style>
table, th, td {
  border: 1px solid black;
  border-collapse: collapse;
}
</style>
<h2>Source relevance data</h2>
<table>
<tr><th>ComputerID&FixletID</th><th>ComputerID</th><th>Computer Name</th><th>OS</th><th>IP Address</th><th>Last Reported</th><th>Applicable</th><th>Fixed</th><th>Vulnerable</th></tr>
<?relevance 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 "<none>") & td of (if exists operating system of computer of it then operating system of computer of it else "<none>") & td of (if exists ip addresses of computer of it then concatenations (html "<br>") 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 ("<none>")) & 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) ?>
</table>

Hi,

I imported the report, but when I try to modify any of the criteria in any of the parameters and apply the filters I get this:

Error in the Session Relevance:

Any idea what the problem can be?

Here is a screenshot of what I am entering for the filters:

I also have a question, is it possible to enter “All” or perhaps (* = wildcard) to get a return of all?

I am asking specifically for the Content > Source Severity > is > (I would like all of the Source Severities applicable, not just Critical).

Any advice would be appreciated!

Thank you,

hsan30

1 Like

@hsan30, If we do not have a filter for Content > Source Severity, it would be equivalent to All. So just remove that line.
You should delete the first filter referencing Computer > Computer Group > with the red item. It is there as a reminder to create one specific to your deployment.

2 Likes

This report is great!!

What is the relevance query for being able to view the Computer Group column in the report? I edited the source but I keep getting an error.

Thank you,
Jennifer

You can able to generate report Computer Group