Skip to content

Commit

Permalink
Merge pull request #70 from ZachChristensen28/develop/v2.2.3
Browse files Browse the repository at this point in the history
Version 2.2.3
  • Loading branch information
ZachChristensen28 committed Jun 3, 2023
2 parents 36211f2 + 1fa279f commit 122e436
Show file tree
Hide file tree
Showing 12 changed files with 149 additions and 72 deletions.
75 changes: 75 additions & 0 deletions .github/ISSUE_TEMPLATE/01-bug-report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
name: Report a bug
description: Something is not working? Report a bug
labels:
- "bug"
body:
- type: textarea
id: description
attributes:
label: Bug description
description: >-
Please give a detailed description of the issue. Be as specific as
possible. If you have found a workaround or a fix for the problem,
please let us know. Include screenshots (if applicable).
validations:
required: true

- type: textarea
id: related-links
attributes:
label: Related links
description: >-
Please list all links to the sections of
[the documentation](https://splunk-pihole.ztsplunker.com/) that
are relevant to the bug in order to show that you have consulted and
thoroughly read it. Additionally, list links to possibly related open
and closed [issues](https://github.com/ZachChristensen28/pihole_dns_app/issues).
value: |-
- [Example Issue](https://splunk-pihole.ztsplunker.com/)
-
validations:
required: true

- type: input
id: app-version
attributes:
label: Pi-hole DNS App for Splunk Version
description: >-
Which version of Pi-hole DNS App for Splunk (pihole_dns_app) are you using?
placeholder: |-
2.2.3
validations:
required: true

- type: input
id: splunk-version
attributes:
label: Splunk Version
description: >-
Which version of Splunk are you using?
placeholder: |-
9.0.1
validations:
required: true

- type: input
id: ta-version
attributes:
label: Pi-hole Add-on for Splunk - (TA-pihole_dns) Version
description: >-
Which version of [Pi-hole Add-on for Splunk - TA-pihole_dns](https://github.com/ZachChristensen28/TA-pihole_dns) are you using?
placeholder: |-
1.3.2
validations:
required: true

- type: input
id: pihole-version
attributes:
label: Pi-hole Version (if applicable)
description: >-
Which version of [Pi-hole](https://pi-hole.net/) are you using?
placeholder: |-
5.17.1
validations:
required: false
29 changes: 29 additions & 0 deletions .github/ISSUE_TEMPLATE/02-docs-issue.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Report an issue with the docs
description: Something wrong with the docs? Report a documentation issue
labels:
- documentation
body:
- type: textarea
id: description
attributes:
label: Description
description: >-
Please describe the issue found in the [documentation](https://splunk-pihole.ztsplunker.com/) or an improvement that can be made.
validations:
required: true

- type: textarea
id: related-links
attributes:
label: Related links
description: >-
Please list all links to the sections of [our documentation](https://splunk-pihole.ztsplunker.com/) that are impacted by the issue you described above.
validations:
required: true

- type: textarea
id: proposed-change
attributes:
label: Proposed change (optional)
description: >-
Optionally provide an improvement proposal by describing your suggestion or create a pull request after submitting this report. Be sure to reference this issue in your pull request.
26 changes: 26 additions & 0 deletions .github/ISSUE_TEMPLATE/03-feature-request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Feature Request
description: Want to submit an idea? Propose a change or feature request
labels:
- "feature request"
body:
- type: textarea
id: description
attributes:
label: Description
description: >-
Please provide a detailed description of your idea in 2-3 sentences so
we can fully understand what change, feature, or the
improvement you are proposing.
validations:
required: true

- type: textarea
id: related-links
attributes:
label: Related links
description: >-
(optional) Please list all links to open and closed [issues](https://github.com/ZachChristensen28/pihole_dns_app/issues) or to [documentation sections](https://splunk-pihole.ztsplunker.com/)
that are relevant to your idea.
value: |-
- [Feature Request](https://splunk-pihole.ztsplunker.com/)
-
32 changes: 0 additions & 32 deletions .github/ISSUE_TEMPLATE/bug_report.md

This file was deleted.

20 changes: 0 additions & 20 deletions .github/ISSUE_TEMPLATE/feature_request.md

This file was deleted.

11 changes: 1 addition & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,18 +16,9 @@ Full documentation can be found at https://splunk-pihole.ztsplunker.com/

Info | Description
------|----------
Version | 2.2.2 - See on [Splunkbase](https://splunkbase.splunk.com/app/4506/)
Version | 2.2.3 - See on [Splunkbase](https://splunkbase.splunk.com/app/4506/)
Vendor Product Version | [Pi-hole® v5.x, FTL 5.x](https://pi-hole.net/)

```TEXT
Version 2.2.2
- Updated search dasboard to allow filtering of pie charts based of query input.
- Deprecating all knowledge objects for blocklist activity. This feature will be brought back with v6 of Pi-hole.
- Added ability to search by host in dashbaords.
- Transaction search dashboard will now show if the CNAME was blocked.
```

__*Disclaimer*__

*This Splunk app is __not__ affiliated with* [**Pi-hole**®](https://pi-hole.net) *and is not sponsored or sanctioned by the Pi-hole® team. As such, the included documentation does not contain information on how to get started with the Pi-hole DNS server. Rather, this documentation serves as a guide to help visualize the data in Splunk. Please visit [https://pi-hole.net](https://pi-hole.net) for documentation on installing/configuring your own Pi-hole server.*
Expand Down
6 changes: 3 additions & 3 deletions docs/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
mkdocs==1.4.2
mkdocs-material==9.0.6
mkdocs-git-revision-date-localized-plugin==1.1.0
mkdocs-minify-plugin==0.6.2
mkdocs-git-revision-date-localized-plugin==1.2.0
mkdocs-material==9.1.7
mkdocs-minify-plugin==0.6.4
6 changes: 3 additions & 3 deletions src/pihole_dns_app/app.manifest
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@
"id": {
"group": null,
"name": "pihole_dns_app",
"version": "2.2.2"
"version": "2.2.3"
},
"author": [
{
"name": "Zach Christensen",
"name": "ZachTheSplunker",
"email": null,
"company": null
}
Expand Down Expand Up @@ -39,7 +39,7 @@
},
"dependencies": {
"TA-pihole_dns": {
"version": ">=1.3.0",
"version": ">=1.3.2",
"optional": false
},
"Splunk_SA_CIM": {
Expand Down
11 changes: 9 additions & 2 deletions src/pihole_dns_app/default/app.conf
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,16 @@ is_visible = 1
label = Pi-hole DNS App for Splunk

[launcher]
author = Zach Christensen
author = ZachTheSplunker
description = Dashboards for the Pi-hole DNS Server.
version = 2.2.2
version = 2.2.3

[package]
id = pihole_dns_app

[id]
name = pihole_dns_app
version = 2.2.3

[author=ZachTheSplunker]
email = zach@zachthesplunker.com
1 change: 1 addition & 0 deletions src/pihole_dns_app/default/collections.conf
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ field._time = time
field.dest_nt_host = string
field.dest_ip = string
field.dest_mac = string
field.dvc = string

#====================================
# KVStore Collection: BLOCKLISTS
Expand Down
2 changes: 1 addition & 1 deletion src/pihole_dns_app/default/savedsearches.conf
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ enableSched = 1
request.ui_dispatch_app = pihole_dns_app
request.ui_dispatch_view = search
schedule_window = auto
search = | tstats latest(All_Sessions.dest_nt_host) as "dest_nt_host", latest(All_Sessions.dest_mac) as "dest_mac" from datamodel=Network_Sessions where sourcetype=pihole:dhcp by All_Sessions.dest_ip \
search = | tstats `pihole_summariesonly` latest(All_Sessions.dest_nt_host) as "dest_nt_host", latest(All_Sessions.dest_mac) as "dest_mac", latest(host) as dvc from datamodel=Network_Sessions where sourcetype=pihole:dhcp by All_Sessions.dest_ip \
| `drop_dm_object_name(All_Sessions)` \
| eval _time=now()\
| fields - count\
Expand Down
2 changes: 1 addition & 1 deletion src/pihole_dns_app/default/transforms.conf
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
collection = pihole_dhcp_lease_collection
case_sensitive_match = false
external_type = kvstore
fields_list = _key, _time, dest_nt_host, dest_ip, dest_mac
fields_list = _key, _time, dest_nt_host, dest_ip, dest_mac, dvc

#====================================
# KVStore Collection: Blocklists
Expand Down

0 comments on commit 122e436

Please sign in to comment.