Reporting in Cortex XDR Pro on more pages

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements

Reporting in Cortex XDR Pro on more pages

L4 Transporter

Hello dear community, 

 

my supervisor needs a monthly report about still vulnerable agents. 

I got allready an XQL, which I used for the dashboard. 

 

config timeframe between "-1y" and "+5d"
|dataset = host_inventory
| arrayexpand kbs
| alter kbnr = json_extract(kbs , "$.name"), install_date = json_extract(kbs , "$.installation_date")
| fields host_name, kbnr , install_date, agent_domain
| alter install_date = parse_timestamp("\"%Y-%m-%d\"", install_date)
| dedup host_name, agent_domain by desc install_date
| sort asc install_date

 

I get more than 300 entries, and this is OK, because it needs to be flexible. The best case would be to send it *.XLSX format instead in PDF. But I would also live with the PDF format, because I can sort by the install date. 

 

What makes me confused is, I cannot extend the PDF to more than one A4 format page. How do I put in this report more pages?

 

BR

 

Rob

 

 

 

1 accepted solution

Accepted Solutions

Hi @RFeyertag,

 

If you have the query saved as a widget, you can configure the report to attach the raw data from the query as a CSV. To configure this, navigate to Dashboards & Reports > Report Templates, edit the desired report template, and progress to step 3. Here you can select the appropriate widget(s) which will be sent as CSV files alongside the PDF for the report:

 

timurphy_0-1687529975719.png

 

 

I hope this helps!

 

Regards,

Tim

View solution in original post

4 REPLIES 4

L4 Transporter

Hey @RFeyertag,

 

I just want to make sure i'm understanding correctly.  Did you save this query and are referencing exporting the results as a report?  XQL queries typically export as .TSV files.

Hello @anlynch , 

 

no, in my case I got a widget, which is send automaticly via mail to any mail I like to. 

If there is a possibility to send xql results on another way, else Reports, please let me know. 

 

I thought also on API to get this informations?

 

BR

 

Rob

 

BR


Rob

Hi @RFeyertag,

 

If you have the query saved as a widget, you can configure the report to attach the raw data from the query as a CSV. To configure this, navigate to Dashboards & Reports > Report Templates, edit the desired report template, and progress to step 3. Here you can select the appropriate widget(s) which will be sent as CSV files alongside the PDF for the report:

 

timurphy_0-1687529975719.png

 

 

I hope this helps!

 

Regards,

Tim

Thank you @timurphy

 

I would prefere a better appearance and more than 18 entries and more pages, when you send the pdf report. 

CSV is nice, but you need to format it and this takes some time. 

 

BR

 

Rob

 

 

  • 1 accepted solution
  • 1526 Views
  • 4 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!