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!

Splunk Observability as Code: From Zero to Dashboard

For the details on what Self-Service Observability and Observability as Code is, we have some awesome content ...

[Puzzles] Solve, Learn, Repeat: Character substitutions with Regular Expressions

This challenge was first posted on Slack #puzzles channelFor BORE at .conf23, we had a puzzle question which ...

Shape the Future of Splunk: Join the Product Research Lab!

Join the Splunk Product Research Lab and connect with us in the Slack channel #product-research-lab to get ...