Skip to content

Commit

Permalink
Merge pull request #128 from ZachChristensen28/development
Browse files Browse the repository at this point in the history
Version 1.5.5
  • Loading branch information
ZachChristensen28 committed May 30, 2024
2 parents 176316f + 2e39b8f commit b0dcc19
Show file tree
Hide file tree
Showing 11 changed files with 423 additions and 44 deletions.
414 changes: 393 additions & 21 deletions LICENSE

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
[![Splunkbase App](https://img.shields.io/badge/Splunkbase-TA--opnsense-blue)](https://splunkbase.splunk.com/app/4538/)
[![Splunk CIM Version](https://img.shields.io/badge/Splunk%20CIM%20Version-5.x%20-success)](https://docs.splunk.com/Documentation/CIM/latest/User/Overview)
![Splunk Cloud Compatibility](https://img.shields.io/badge/Splunk%20Cloud%20Ready-Victoria%20|%20Classic-informational?logo=splunk)
[![OPNsense Compatibility](https://img.shields.io/badge/OPNsense%20Compatibility-22,23-orange?logo=opnsense)](https://opnsense.org/)
[![OPNsense Compatibility](https://img.shields.io/badge/OPNsense%20Compatibility-23,24-orange?logo=opnsense)](https://opnsense.org/)

## Documentation

Expand All @@ -17,8 +17,8 @@ Full documentation can be found at [https://splunk-opnsense-ta.ztsplunker.com](h

Info | Description
------|----------
Version | 1.5.4 - See on [Splunkbase](https://splunkbase.splunk.com/app/4538/)
Vendor Product Version | [OPNsense® 22.x, 23.x](https://opnsense.org/)
Version | 1.5.5 - See on [Splunkbase](https://splunkbase.splunk.com/app/4538/)
Vendor Product Version | [OPNsense® 23.x, 24.x](https://opnsense.org/)
Add-on has a web UI | Yes, this add-on has a view to setup a modular input.

Try the [OPNsense App for Splunk](https://splunkbase.splunk.com/app/5372/).
Expand Down
2 changes: 1 addition & 1 deletion docs/landing-page.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ This documentation assumes the following:

Info | Description
------|----------
Version | 1.5.4 - [Splunkbase](https://splunkbase.splunk.com/app/4538/) \| [GitHub](https://github.com/ZachChristensen28/TA-opnsense)
Version | 1.5.5 - [Splunkbase](https://splunkbase.splunk.com/app/4538/) \| [GitHub](https://github.com/ZachChristensen28/TA-opnsense)
CIM | 5.x, 4.x
Vendor Product Version | [OPNsense® 22, 23](https://opnsense.org/)

Expand Down
6 changes: 3 additions & 3 deletions docs/reference/releases/index.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# Release notes for the OPNsense Add-on for Splunk

## v1.5.4 <small>October 5, 2023</small>
## v1.5.5 <small>May 29, 2024</small>

### What's changed

- Updated Splunk Add-on version to 4.1.3.
- Updated Splunk Python SDK to version 1.7.4
- Fixed logging for openvpn logs - [#127](https://github.com/ZachChristensen28/TA-opnsense/issues/127) by [ChrisSiedler](https://github.com/ChrisSiedler)
- Updated License to SGT

### Known issues

Expand Down
9 changes: 8 additions & 1 deletion docs/reference/releases/release-history.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
# Release history for the OPNsense addon for Splunk

The latest version of the OPNsense addon for Splunk is version 1.5.4. See [Release notes for the OPNsense addon for Splunk](../../releases/) of the latest version.
The latest version of the OPNsense addon for Splunk is version 1.5.5. See [Release notes for the OPNsense addon for Splunk](../../releases/) of the latest version.

## v1.5.4 <small>October 5, 2023</small>

### What's changed

- Updated Splunk Add-on version to 4.1.3.
- Updated Splunk Python SDK to version 1.7.4

## v1.5.3 <small>May 14, 2023</small>

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.5.3
mkdocs-git-revision-date-localized-plugin==1.2.0
mkdocs-material==9.1.21
mkdocs-minify-plugin==0.7.1
mkdocs-git-revision-date-localized-plugin==1.2.4
mkdocs-material==9.5.12
mkdocs-minify-plugin==0.8.0
4 changes: 2 additions & 2 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ markdown_extensions:
anchor_linenums: true
- pymdownx.inlinehilite
- pymdownx.emoji:
emoji_index: !!python/name:materialx.emoji.twemoji
emoji_generator: !!python/name:materialx.emoji.to_svg
emoji_index: !!python/name:material.extensions.emoji.twemoji
emoji_generator: !!python/name:material.extensions.emoji.to_svg
- def_list
- footnotes
- pymdownx.betterem:
Expand Down
6 changes: 3 additions & 3 deletions src/TA-opnsense/app.manifest
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"id": {
"group": null,
"name": "TA-opnsense",
"version": "1.5.4"
"version": "1.5.5"
},
"author": [
{
Expand All @@ -30,9 +30,9 @@
"Intrusion Detection": ">=4.18.0"
},
"license": {
"name": null,
"name": "SPLUNK GENERAL TERMS",
"text": null,
"uri": null
"uri": "https://www.splunk.com/en_us/legal/splunk-general-terms.html"
},
"privacyPolicy": {
"name": "Splunk Privacy Policy",
Expand Down
2 changes: 1 addition & 1 deletion src/TA-opnsense/default/addon_builder.conf
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# this file is generated by add-on builder automatically
# please do not edit it
[base]
builder_version = 4.1.3
builder_version = 4.2.0
builder_build = 0
is_edited = 1
6 changes: 3 additions & 3 deletions src/TA-opnsense/default/app.conf
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,16 @@
state_change_requires_restart = true
is_configured = false
state = enabled
build = 10
build = 11

[launcher]
author = ZachTheSplunker
version = 1.5.4
version = 1.5.5
description = This Technology Add-on provides CIM compliant field extractions, eventtypes and tags for the OPNsense Firewall

[id]
name = TA-opnsense
version = 1.5.4
version = 1.5.5

[ui]
is_visible = 1
Expand Down
6 changes: 3 additions & 3 deletions src/TA-opnsense/default/transforms.conf
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ FORMAT = sourcetype::opnsense:lighttpd

[opnsense_sourcetype_openvpn]
DEST_KEY = MetaData:Sourcetype
REGEX = openvpn(?:\[[^\]]+\]):*
REGEX = openvpn\w*(?:\[[^\]]+\]):*
FORMAT = sourcetype::opnsense:openvpn

[opnsense_sourcetype_squid]
Expand Down Expand Up @@ -200,10 +200,10 @@ FORMAT = user::$1 auth_method::$2
REGEX = ifconfig\s+(?<dest_ip>\S+)

[opnsense_openvpn_extract]
REGEX = openvpn\[(?<pid>[^\]]+)\]:\s+(?<user>[^\/]+)\/(?<src_ip>[^:]+):(?<src_port>\d+)
REGEX = openvpn(?:_(?<vpn_instance>[^\[\:]+))?(?:\[(?<pid>[^\]]+)\])?:\s+(?<user>[^\/]+)\/(?<src_ip>[^:]+):(?<src_port>\d+)

[opnsense_openvpn_src]
REGEX = openvpn(?:\[([^\]]+)\]):*\s(?<src_ip>\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3})\:(?<src_port>\d+)\s
REGEX = openvpn(?:_(?<vpn_instance>[^\[\:]+))?(?:\[(?<pid>[^\]]+)\])?:*\s(?<src_ip>\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3})\:(?<src_port>\d+)\s

#===========================================
# Search Time Field Extractions: SURICATA
Expand Down

0 comments on commit b0dcc19

Please sign in to comment.