Skip to content

Commit 875644f

Browse files
committed
Added Dashboard Version to Dashboards
To address jquery version requirements for Splunk Cloud, added version numbers to the dashboards taht were missing them.
1 parent 6c91d18 commit 875644f

10 files changed

+29
-29
lines changed

github_app_for_splunk/default/data/ui/views/1_system_health_monitor.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<form>
1+
<form version="1.1">
22
<label>System Health Monitor</label>
33
<fieldset submitButton="false" autoRun="true">
44
<input type="time" token="timeTkn" searchWhenChanged="true">

github_app_for_splunk/default/data/ui/views/2_process_monitor.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<form>
1+
<form version="1.1">
22
<label>Process Monitor</label>
33
<fieldset submitButton="false" autoRun="true">
44
<input type="time" token="timeTkn" searchWhenChanged="true">

github_app_for_splunk/default/data/ui/views/3_authentication_monitor.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<form>
1+
<form version="1.1">
22
<label>Authentication Monitor</label>
33
<fieldset submitButton="false" autoRun="true">
44
<input type="time" token="timeTkn" searchWhenChanged="true">
@@ -311,4 +311,4 @@
311311
</chart>
312312
</panel>
313313
</row>
314-
</form>
314+
</form>

github_app_for_splunk/default/data/ui/views/8_storage_monitor.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<form>
1+
<form version="1.1">
22
<label>Storage Monitor</label>
33
<fieldset submitButton="false" autoRun="true">
44
<input type="time" token="timeTkn" searchWhenChanged="true">
@@ -125,4 +125,4 @@
125125
</chart>
126126
</panel>
127127
</row>
128-
</form>
128+
</form>

github_app_for_splunk/default/data/ui/views/code_scanning_overview.xml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<form theme="light">
1+
<form version="1.1" theme="dark">
22
<label>Code Scanning Alerts</label>
33
<search id="baseSearch">
44
<query>
@@ -86,10 +86,10 @@
8686
<title>Alert Found/Fixed Ratio</title>
8787
<search base="baseSearch">
8888
<query>| search tool=$tool_name$ repository=$repoTkn$ (action=created OR action=fixed)
89-
| timechart count(_raw) by action
89+
| timechart count(_raw) by action
9090
| accum created
91-
| accum fixed
92-
| rename created as "Found"
91+
| accum fixed
92+
| rename created as "Found"
9393
| rename fixed as "Fixed"</query>
9494
</search>
9595
<option name="charting.axisTitleX.visibility">collapsed</option>
@@ -142,7 +142,7 @@
142142
<search base="baseSearch">
143143
<query> | search (action=fixed OR action=closed_by_user) repository=$repoTkn$ tool=$tool_name$
144144
| table repository, tool, alert_url,duration_str
145-
| rename repository AS "Repository" duration_str AS "Time to Resolution",tool AS "Tool", alert_url AS "Alert URL"
145+
| rename repository AS "Repository" duration_str AS "Time to Resolution",tool AS "Tool", alert_url AS "Alert URL"
146146
| sort -"Time to Resolution"
147147
</query>
148148
</search>
@@ -189,4 +189,4 @@
189189
</table>
190190
</panel>
191191
</row>
192-
</form>
192+
</form>

github_app_for_splunk/default/data/ui/views/secret_scanning_overview.xml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<form>
1+
<form version="1.1">
22
<label>Secret Scanning Alerts</label>
33
<search id="baseSearch">
44
<query>
@@ -98,10 +98,10 @@
9898
<title>Secrets Found/Fixed Ratio</title>
9999
<search base="baseSearch">
100100
<query>| search repository=$repoTkn$ organization=$orgTkn$ secret_type=$secret_type$ (action=created OR action=resolved)
101-
| timechart count(_raw) by action
101+
| timechart count(_raw) by action
102102
| accum created
103-
| accum resolved
104-
| rename created as "Found"
103+
| accum resolved
104+
| rename created as "Found"
105105
| rename resolved as "Fixed"</query>
106106
</search>
107107
<option name="charting.axisTitleX.visibility">collapsed</option>
@@ -117,7 +117,7 @@
117117
<table>
118118
<title>Fixed Secrets</title>
119119
<search base="baseSearch">
120-
<query> | search action=resolved repository=$repoTkn$ organization=$orgTkn$ secret_type=$secret_type$ | table secret_type, organization, repository, resolution, resolved_by, _time
120+
<query> | search action=resolved repository=$repoTkn$ organization=$orgTkn$ secret_type=$secret_type$ | table secret_type, organization, repository, resolution, resolved_by, _time
121121
| rename secret_type as "Secret Type"
122122
| rename organization as "Organization"
123123
| rename repository as "Repository"
@@ -145,4 +145,4 @@
145145
</table>
146146
</panel>
147147
</row>
148-
</form>
148+
</form>

github_app_for_splunk/default/data/ui/views/security_alert_overview.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<form>
1+
<form version="1.1">
22
<label>Advanced Security Overview</label>
33
<search id="baseSearch">
44
<query>
@@ -240,4 +240,4 @@
240240
</table>
241241
</panel>
242242
</row>
243-
</form>
243+
</form>

github_app_for_splunk/default/data/ui/views/value_stream_analytics.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<form theme="dark">
1+
<form version="1.1" theme="dark">
22
<search id="baseSearch">
33
<query>
44
index=github_webhook (eventtype="GitHub::Issue" (action IN("opened","milestoned")) OR (action="labeled" AND label.name IN("in progress","to do"))) OR (eventtype="GitHub::Push" issueNumber=*) OR (eventtype="GitHub::PullRequest" action IN("opened","closed") issueNumber=*) repository.name IN("$repoTkn$") issueNumber!=9 | eval openTime=if(action=="opened",_time,NULL) | eval inProgressTime=if(action=="labeled",if('label.name'=="to do",_time,NULL),if(action=="milestoned",_time,NULL)) | eval workTime=if(action="labeled",if('label.name'="in progress",_time,NULL),if(eventtype=="GitHub::Push",_time,NULL)) | eval mergeTime=if(eventtype="GitHub::PullRequest",if(action=="opened",_time,NULL),if(eventtype="GitHub::Push",if(ref="refs/heads/main",_time,NULL),NULL)) | eval reviewTime=if(eventtype="GitHub::PullRequest",if('pull_request.merged'="true",_time,NULL),if(eventtype="GitHub::Push",if(ref="refs/heads/main",_time,NULL),NULL)) | eval sha=after | join type=left max=0 sha [ search index="github_webhook" eventtype="GitHub::Workflow" | eval sha='workflow_job.head_sha' | stats min(_time) as startTestTime, max(_time) as endTestTime by sha, workflow_job.id | eval testTimeDiff=endTestTime-startTestTime] | eval release='milestone.title' | join type=left release [search index=github_webhook eventtype="GitHub::Release" | eval release='release.tag_name' | stats max(_time) as releaseTime by release] | stats max(issue.title) as issue.title, latest(milestone.title) as release, min(openTime) as opened, min(inProgressTime) as in_progress, min(workTime) as working , max(mergeTime) as merge, max(reviewTime) as review, avg(testTimeDiff) as avgTestDuration, max(endTestTime) as endTestTime, max(releaseTime) as releaseTime by repository.name,issueNumber | search opened=*

github_app_for_splunk/default/data/ui/views/welcome_page.xml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<dashboard>
1+
<dashboard version="1.1">
22
<label>Welcome Page</label>
33
<row>
44
<panel>
@@ -16,7 +16,7 @@
1616
<p>
1717
This Splunk app is meant to be your single pane of glass for anything GitHub. Whether you're looking for audit log analytics, GitHub Enterprise Server monitoring, or other GitHub metrics, you're in the right place!
1818
</p>
19-
</div>
19+
</div>
2020
</html>
2121
</panel>
2222
</row>
@@ -44,7 +44,7 @@
4444
<li><a href="user_audit">User Change Audit</a> is the best place to review actions taken by or made to individual users.</li>
4545
</ol>
4646
</p>
47-
</div>
47+
</div>
4848
</html>
4949
</panel>
5050
<panel>
@@ -67,7 +67,7 @@
6767
<li>The <a href="secret_scanning_overview"> Secret Scanning Alerts</a> dashboard provides visibility into secrets like API keys and personal access tokens that have been checked into your repositories</li>
6868
</ol>
6969
</p>
70-
</div>
70+
</div>
7171
</html>
7272
</panel>
7373
</row>
@@ -91,8 +91,8 @@
9191
<li><a href="webhook_config">Rich commit, pull request, and Code Scanning</a> data is available through GitHub Webhooks</li>
9292
</ol>
9393
</p>
94-
</div>
94+
</div>
9595
</html>
9696
</panel>
9797
</row>
98-
</dashboard>
98+
</dashboard>

github_app_for_splunk/default/data/ui/views/workflow_analytics.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<form theme="dark">
1+
<form version="1.1" theme="dark">
22
<label>Workflow Analytics</label>
33
<fieldset submitButton="false" autoRun="true">
44
<input type="time" token="timeTkn">
@@ -102,4 +102,4 @@
102102
</table>
103103
</panel>
104104
</row>
105-
</form>
105+
</form>

0 commit comments

Comments
 (0)