Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Daily Incidents pdf report - widgets time range fix #32864

Merged
merged 8 commits into from
Feb 13, 2024
6 changes: 6 additions & 0 deletions Packs/CommonReports/ReleaseNotes/1_0_7.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@

#### Reports

##### Daily incidents

- Fixed time range in the Daily widgets.
104 changes: 58 additions & 46 deletions Packs/CommonReports/Reports/report-dailyIncidentReport.json
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@
},
"data": "# Daily Incidents\n\n{date}\n\n---",
"type": "placeholder",
"title": "dailyIncidentRepor Headline"
"title": "dailyIncidentReport Headline"
},
{
"layout": {
Expand Down Expand Up @@ -199,7 +199,7 @@
},
"data": "# **Last day incidents: {0}**",
"type": "placeholder",
"title": "dailyIncidentRepor Headline2"
"title": "dailyIncidentReport Headline2"
},
{
"layout": {
Expand Down Expand Up @@ -255,7 +255,7 @@
"query": {
"type": "incident",
"filter": {
"query": "",
"query": "-status:closed",
"period": {
"byFrom": "days",
"fromValue": null,
Expand All @@ -265,9 +265,9 @@
"toDate": null
}
},
"data": "# **Total incidents: {0}**",
"data": "# **Total open incidents: {0}**",
"type": "placeholder",
"title": "dailyIncidentReport Severity"
"title": "dailyIncidentReport Total Open Incidents"
},
{
"layout": {
Expand Down Expand Up @@ -305,9 +305,12 @@
"filter": {
"query": "",
"period": {
"byFrom": "days",
"fromValue": null,
"by": "day"
"byTo": "days",
"byFrom": "hours",
"toValue": 0,
"fromValue": 24,
"field": "",
"by": "hour"
},
"fromDate": null,
"toDate": null
Expand Down Expand Up @@ -352,9 +355,12 @@
"filter": {
"query": "",
"period": {
"byFrom": "days",
"fromValue": null,
"by": "day"
"byTo": "days",
"byFrom": "hours",
"toValue": 0,
"fromValue": 24,
"field": "",
"by": "hour"
},
"fromDate": null,
"toDate": null
Expand Down Expand Up @@ -399,9 +405,12 @@
"filter": {
"query": "",
"period": {
"byFrom": "days",
"fromValue": null,
"by": "day"
"byTo": "days",
"byFrom": "hours",
"toValue": 0,
"fromValue": 24,
"field": "",
"by": "hour"
},
"fromDate": null,
"toDate": null
Expand Down Expand Up @@ -447,9 +456,12 @@
"filter": {
"query": "",
"period": {
"byFrom": "days",
"fromValue": null,
"by": "day"
"byTo": "days",
"byFrom": "hours",
"toValue": 0,
"fromValue": 24,
"field": "",
"by": "hour"
},
"fromDate": null,
"toDate": null
Expand Down Expand Up @@ -493,7 +505,7 @@
},
"query": "-status:closed",
"modified": "2018-01-24T08:53:22.141025642Z",
"name": "dailyIncidentRepor Headline",
"name": "dailyIncidentReport Headline",
"dateRange": {
"fromDate": "0001-01-01T00:00:00Z",
"toDate": "0001-01-01T00:00:00Z",
Expand Down Expand Up @@ -528,7 +540,7 @@
},
"query": "-status:closed",
"modified": "2018-01-24T08:57:30.006506045Z",
"name": "dailyIncidentRepor Headline2",
"name": "dailyIncidentReport Headline2",
"dateRange": {
"fromDate": "0001-01-01T00:00:00Z",
"toDate": "0001-01-01T00:00:00Z",
Expand Down Expand Up @@ -637,19 +649,19 @@
"size": 0,
"dataType": "incidents",
"params": {
"text": "# **Total incidents: {0}**"
"text": "# **Total open incidents: {0}**"
},
"query": "",
"query": "-status:closed",
"modified": "2018-01-25T10:00:07.077147676Z",
"name": "dailyIncidentReport Severity",
"name": "dailyIncidentReport Total Open Incidents",
"dateRange": {
"fromDate": "0001-01-01T00:00:00Z",
"toDate": "0001-01-01T00:00:00Z",
"period": {
"byTo": "",
"byFrom": "days",
"toValue": null,
"fromValue": null,
"byTo": "days",
"byFrom": "hours",
"toValue": 0,
"fromValue": 24,
"field": ""
},
"fromDateLicense": "0001-01-01T00:00:00Z"
Expand All @@ -662,7 +674,7 @@
},
{
"id": "5ae462c0-01b7-11e8-9918-2d303bb12520",
"forceRange": false,
"forceRange": true,
"x": 0,
"y": 2,
"i": "5ae462c0-01b7-11e8-9918-2d303bb12520",
Expand All @@ -683,10 +695,10 @@
"fromDate": "0001-01-01T00:00:00Z",
"toDate": "0001-01-01T00:00:00Z",
"period": {
"byTo": "",
"byFrom": "days",
"toValue": null,
"fromValue": null,
"byTo": "days",
"byFrom": "hours",
"toValue": 0,
"fromValue": 24,
"field": ""
},
"fromDateLicense": "0001-01-01T00:00:00Z"
Expand All @@ -699,7 +711,7 @@
},
{
"id": "5ba40940-01b7-11e8-9918-2d303bb12520",
"forceRange": false,
"forceRange": true,
"x": 6,
"y": 2,
"i": "5ba40940-01b7-11e8-9918-2d303bb12520",
Expand All @@ -720,10 +732,10 @@
"fromDate": "0001-01-01T00:00:00Z",
"toDate": "0001-01-01T00:00:00Z",
"period": {
"byTo": "",
"byFrom": "days",
"toValue": null,
"fromValue": null,
"byTo": "days",
"byFrom": "hours",
"toValue": 0,
"fromValue": 24,
"field": ""
},
"fromDateLicense": "0001-01-01T00:00:00Z"
Expand All @@ -736,7 +748,7 @@
},
{
"id": "665f6190-01b7-11e8-9918-2d303bb12520",
"forceRange": false,
"forceRange": true,
"x": 0,
"y": 4,
"i": "665f6190-01b7-11e8-9918-2d303bb12520",
Expand All @@ -757,10 +769,10 @@
"fromDate": "0001-01-01T00:00:00Z",
"toDate": "0001-01-01T00:00:00Z",
"period": {
"byTo": "",
"byFrom": "days",
"toValue": null,
"fromValue": null,
"byTo": "days",
"byFrom": "hours",
"toValue": 0,
"fromValue": 24,
"field": ""
},
"fromDateLicense": "0001-01-01T00:00:00Z"
Expand All @@ -773,7 +785,7 @@
},
{
"id": "66e840a0-01b7-11e8-9918-2d303bb12520",
"forceRange": false,
"forceRange": true,
"x": 6,
"y": 4,
"i": "66e840a0-01b7-11e8-9918-2d303bb12520",
Expand All @@ -794,10 +806,10 @@
"fromDate": "0001-01-01T00:00:00Z",
"toDate": "0001-01-01T00:00:00Z",
"period": {
"byTo": "",
"byFrom": "days",
"toValue": null,
"fromValue": null,
"byTo": "days",
"byFrom": "hours",
"toValue": 0,
"fromValue": 24,
"field": ""
},
"fromDateLicense": "0001-01-01T00:00:00Z"
Expand Down
2 changes: 1 addition & 1 deletion Packs/CommonReports/pack_metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "Common Reports",
"description": "Frequently used reports pack.",
"support": "xsoar",
"currentVersion": "1.0.6",
"currentVersion": "1.0.7",
"author": "Cortex XSOAR",
"url": "https://www.paloaltonetworks.com/cortex",
"email": "",
Expand Down