Splunk Enterprise

Powershell and exception policy on UF

jariw
Path Finder

L.s.,

 

At our company we deploy the Windows UF on all the vdi machine's. For security reason we make use of the security policy where powershell is prohibited to run.

On a vdi machine with the command Get-ExecutionPolicy -List | Format-Table -AutoSize i get below:

Scope ExecutionPolicy
----- ---------------
MachinePolicy Undefined
UserPolicy Undefined
Process Undefined
CurrentUser Undefined
LocalMachine Restricted

The last part is where the problem is.. it restricts the local system account from executing the scripts in the universal forwarder bin folder.  It gives an error for the splunk-powershell.ps1 script and then consumes a lot of cpu.

jariw_0-1642753354362.png

 

What can we do to use the scripts and use the secutiry policy? The policy is a demand in our company, so we can't dump that one.

 

Thanx in advance..

Labels (2)
0 Karma

jariw
Path Finder

Hi SinghK

Thanx for the idea, i will look at that., could be the way to go.

 

But why is the UF calling the splunk-powershell.ps1 script in de bin foder, what is its purpose..

0 Karma

SinghK
Builder
0 Karma
Get Updates on the Splunk Community!

Preparing your Splunk Environment for OpenSSL3

The Splunk platform will transition to OpenSSL version 3 in a future release. Actions are required to prepare ...

Unleash Unified Security and Observability with Splunk Cloud Platform

     Now Available on Microsoft AzureThursday, March 27, 2025  |  11AM PST / 2PM EST | Register NowStep boldly ...

Splunk AppDynamics with Cisco Secure Application

Web applications unfortunately present a target rich environment for security vulnerabilities and attacks. ...