diff --git a/installer/runtime-run-ocsentinel-monitor.ps1 b/installer/runtime-run-ocsentinel-monitor.ps1 index 5b43b58..1db46ad 100644 --- a/installer/runtime-run-ocsentinel-monitor.ps1 +++ b/installer/runtime-run-ocsentinel-monitor.ps1 @@ -3,6 +3,10 @@ param( [int]$TopCount = 10, [string]$OutputPath = "..\reports\ocsentinel-summary.json", [string]$ConfigPath = "..\config\ocsentinel-settings.json", + [string]$ClientConfigPath = "..\config\ocsentinel-client.json", + [string]$SecretPath = "", + [ValidateSet("disabled", "auto", "required")] + [string]$UploadMode = "auto", [string]$VulnerabilityCsvPath = "", [string]$MirrorRoot = "", [ValidateSet("status", "attack-only", "cve-critical", "attack-plus-cve")] @@ -142,9 +146,15 @@ $runnerArgs = @( "-LookbackDays", $LookbackDays, "-TopCount", $TopCount, "-OutputPath", $OutputPath, - "-ConfigPath", $ConfigPath + "-ConfigPath", $ConfigPath, + "-ClientConfigPath", $ClientConfigPath, + "-UploadMode", $UploadMode ) +if (-not [string]::IsNullOrWhiteSpace($SecretPath)) { + $runnerArgs += @("-SecretPath", $SecretPath) +} + if (-not [string]::IsNullOrWhiteSpace($VulnerabilityCsvPath)) { $runnerArgs += @("-VulnerabilityCsvPath", $VulnerabilityCsvPath) } diff --git a/src/OCSentinelCli/OCSentinelCli.csproj b/src/OCSentinelCli/OCSentinelCli.csproj index dd94463..177f88f 100644 --- a/src/OCSentinelCli/OCSentinelCli.csproj +++ b/src/OCSentinelCli/OCSentinelCli.csproj @@ -9,7 +9,7 @@ OCSentinelCli OfficeCom Sentinel OfficeCom - 1.2.3 + 1.2.4 1.2.3.0 1.2.3.0 1.2.3