Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/pester.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
os: [macos-latest, windows-latest]

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Install dependencies
run: Install-Module -Name 'Pester' -Force -SkipPublisherCheck
shell: pwsh
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publishtogallery.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Run publish script
env:
NuGetApiKey: ${{ secrets.NuGetApiKey }}
Expand Down
23 changes: 13 additions & 10 deletions .github/workflows/reminders.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,18 @@
name: PRs reviews reminder

on:
schedule:
# Every weekday every 2 hours during working hours, send notification
- cron: "0 14-23/2 * * 1-5"
# Every weekday at 8:30a CST / 14:30 UTC and 1:30p CST / 19:30 UTC
- cron: '30 14,19 * * 1-5'

jobs:
pr-reviews-reminder:
runs-on: ubuntu-latest
steps:
- uses: DavideViolante/pr-reviews-reminder-action@v1.3.0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
webhook-url: ${{ secrets.TEAMS_WEBHOOK }}
provider: 'msteams'
runs-on: ubuntu-latest
steps:
- uses: DavideViolante/pr-reviews-reminder-action@v2.8.0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
webhook-url: ${{ secrets.TEAMS_WEBHOOK }}
provider: 'msteams'
github-provider-map: ${{ vars.MAP_USERNAMES_TEAMS }}
2 changes: 1 addition & 1 deletion .github/workflows/scriptanalyzer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
os: [windows-latest]

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Install dependencies
run: Install-Module -Name 'PSScriptAnalyzer' -Force -SkipPublisherCheck
shell: pwsh
Expand Down
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Removed

## [1.1.5] - 2024-05-23

### Changed

- Removed a previous v1.1.1 fix in Send-SplunkHECEvent.ps1 to address a case where Splunk was treating unicode quotation characters as U+0022. PowerShell escapes U+0022 with ConvertTo-Json. This change removes the escapes of the unicode quote characters since this now causes an error. Splunk must have resolved this bug and therefore the pervious fix was preventing some events from being accepted by the HEC endpoint.
- Update GitHub actions for `checkout` and `pr-reviews-reminder-action` workflows.
- README.md - update the end of support to November 2026 to align with PowerShell 7.4

## [1.1.4] - 2024-11-06

### Changed
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,11 @@ Submit a PR on GitHub

# End-of-Life and End-of-Support Dates

As of the last update to this README, the expected End-of-Life and End-of-Support dates of this product are November 2024.
As of the last update to this README, the expected End-of-Life and End-of-Support dates of this product are November 2026.

End-of-Life was decided upon based on these dependencies and their End-of-Life dates:

- Powershell 7.2 (November 2024)
- Powershell 7.4 (November 2026)

# To Do

Expand Down
2 changes: 1 addition & 1 deletion src/UofISplunkCloud/UofISplunkCloud.psd1
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
RootModule = 'UofISplunkCloud.psm1'

# Version number of this module.
ModuleVersion = '1.1.4'
ModuleVersion = '1.1.5'

# Supported PSEditions
# CompatiblePSEditions = @()
Expand Down
6 changes: 0 additions & 6 deletions src/UofISplunkCloud/functions/public/Send-SplunkHECEvent.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -82,12 +82,6 @@ function Send-SplunkHECEvent {
'event' = $EventArray[$i]
} | ConvertTo-Json -Depth 5 -Compress

# ConvertTo-Json escapes unicode U+0022 quotes automatically
# https://www.ietf.org/rfc/rfc8259.txt
# Splunk HEC seems to interpret other unicode quotes as legitimate quotes
# Escape these quotes to prevent a HEC error of: text":"Invalid data format","code":6,"
$Body = $Body -replace "`u{201c}", "\`u{201c}" -replace "`u{201d}", "\`u{201d}" -replace "`u{201f}", "\`u{201f}"

$BulkEvent += $Body
$count++

Expand Down