Skip to content

Updates to remediate CVE-2024-0056 and CVE-2023-36414 #6

Updates to remediate CVE-2024-0056 and CVE-2023-36414

Updates to remediate CVE-2024-0056 and CVE-2023-36414 #6

Workflow file for this run

name: sqlpackage test
on: [pull_request]
jobs:
build:
name: Module imports on all platforms
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macOS-latest]
steps:
- uses: actions/checkout@v3
- name: Install and cache PowerShell modules
uses: potatoqualitee/[email protected]
with:
modules-to-cache: dbatools.library:2023.1.29
- name: Execute sqlpackage
shell: pwsh
run: |
return
Import-Module ./dbatools.psd1 -ErrorAction Stop
(Get-DbaManagementObject).LoadTemplate -ne $null
$libpath = Split-Path -Path (Get-Module dbatools*library).Path
if ($IsWindows) {
$sqlpackage = Join-DbaPath -Path $libpath -ChildPath lib, win, sqlpackage.exe
}
if ($IsMacOS) {
$sqlpackage = Join-DbaPath -Path $libpath -ChildPath lib, mac, sqlpackage
}
if ($IsLinux) {
$sqlpackage = Join-DbaPath -Path $libpath -ChildPath lib, sqlpackage
}
. $sqlpackage | Select-String "Specifies a name value pair" | Should -Not -BeNullorEmpty