Security

Why does radiusScripted.py wrap radclient and not use a module?

sdwilkerson
Contributor

Is there a reason why the bundled radiudScripted.py script to auth to radius calls "radclient" instead of leveraging a radius module?

Is this just because Splunk did not want to distribute a non-Splunk module as part of the bundle or is there a functional reason?

Thank you,

Sean

Tags (2)
1 Solution

Mick
Splunk Employee
Splunk Employee

From the Dev side of the house -

It's likely just how it was written that way because we didn't want to package an extra module, that stuff isn't native to python. The originator of these sample scripts has left the company so he's not around to clarify, but that's our best guess.

This is an example script so if you want to use a radius module, go for it.

View solution in original post

jrodman
Splunk Employee
Splunk Employee

The watchword for the example auth scripts was almost certainly expediency. Please do modify them as desired, but be mindful to use a different filename for upgrade overwrite purposes.

sdwilkerson
Contributor

Thanks Josh. Step 1 is to get it working as is. Step 2 is to use a more efficient radius module. I'll report what we find out.

0 Karma

Mick
Splunk Employee
Splunk Employee

From the Dev side of the house -

It's likely just how it was written that way because we didn't want to package an extra module, that stuff isn't native to python. The originator of these sample scripts has left the company so he's not around to clarify, but that's our best guess.

This is an example script so if you want to use a radius module, go for it.

sdwilkerson
Contributor

Thanks for your help Mick.

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Agent Mode Engaged! Enchaining Agentic Operations with Splunk AI Assistant 2.0

    Are you ready to transform how your team handles complex data requests? We invite you to our upcoming ...

Announcing Modern Navigation: A New Era of Splunk User Experience

We are excited to introduce the Modern Navigation feature in the Splunk Platform, available to both cloud and ...

Modernize your Splunk Apps – Introducing Python 3.13 in Splunk

We are excited to announce that the upcoming releases of Splunk Enterprise 10.2.x and Splunk Cloud Platform ...