# SentinelOne Plugin - Service Accounts Don't Connect

**URL:** <https://discuss.rapid7.com/t/sentinelone-plugin-service-accounts-dont-connect/17609>\
**Category:** InsightConnect\
**Tags:** InsightConnect, plugin-requests\
**Created:** [December 1, 2022, 4:08pm UTC](https://discuss.rapid7.com/t/sentinelone-plugin-service-accounts-dont-connect/17609 "2022-12-01T16:08:14Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![jschlenker](https://discuss.rapid7.com/letter_avatar_proxy/v4/letter/j/6de8d8/32.png) [@jschlenker](https://discuss.rapid7.com/u/jschlenker)\
**Post date:** [December 1, 2022, 4:08pm UTC](https://discuss.rapid7.com/t/sentinelone-plugin-service-accounts-dont-connect/17609/1 "2022-12-01T16:08:14Z")

</div>

The current version of SentinelOne has implemented Service Users for the purpose of bypassing the 2FA and email requirement on an account.

Unfortunately, per my discussion with SentinelOne support, the Service Users do not “log in” to the console the way that a user account API token does.

Using Postman, I can perform the calls using the Service User, but the Iconn script fails when I attempt to use the Service User.

_My_ user API token worked, however. It should be relatively obvious why that isn’t an ideal solution.

Here is the error from the Connections panel when using the Service User’s API token:

Connect: Connecting…  
Trying to authenticate with API version 2.1  
API v2.1 failed… trying v2.0  
‘NoneType’ object has no attribute ‘get’  
Traceback (most recent call last):  
File “/usr/local/lib/python3.8/site-packages/insightconnect\_plugin\_runtime-4.7.4-py3.8.egg/insightconnect\_plugin\_runtime/plugin.py”, line 376, in handle\_step  
output = self.start\_step(  
File “/usr/local/lib/python3.8/site-packages/insightconnect\_plugin\_runtime-4.7.4-py3.8.egg/insightconnect\_plugin\_runtime/plugin.py”, line 461, in start\_step  
connection = self.connection\_cache.get(message\_body[“connection”], logger)  
File “/usr/local/lib/python3.8/site-packages/insightconnect\_plugin\_runtime-4.7.4-py3.8.egg/insightconnect\_plugin\_runtime/connection.py”, line 49, in get  
conn.connect(parameters)  
File “/usr/local/lib/python3.8/site-packages/sentinelone\_rapid7\_plugin-7.1.0-py3.8.egg/komand\_sentinelone/connection/connection.py”, line 61, in connect  
self.token, self.api\_version = self.get\_auth\_token()  
File “/usr/local/lib/python3.8/site-packages/sentinelone\_rapid7\_plugin-7.1.0-py3.8.egg/komand\_sentinelone/connection/connection.py”, line 87, in get\_auth\_token  
token = response.json().get(DATA\_FIELD).get(“token”)  
AttributeError: ‘NoneType’ object has no attribute ‘get’

---

<div class="post-metadata">

**Author:** ![darrick\_hall2](https://discuss.rapid7.com/letter_avatar_proxy/v4/letter/d/5f9b8f/32.png) [@darrick\_hall2](https://discuss.rapid7.com/u/darrick_hall2)\
**Post date:** [December 1, 2022, 4:38pm UTC](https://discuss.rapid7.com/t/sentinelone-plugin-service-accounts-dont-connect/17609/2 "2022-12-01T16:38:06Z")

</div>

Thank you for sharing this. The work to make this authentication method an option for the SentinelOne plugin is currently underway. When it is complete I will update this thread.

---

<div class="post-metadata">

**Author:** ![darrick\_hall2](https://discuss.rapid7.com/letter_avatar_proxy/v4/letter/d/5f9b8f/32.png) [@darrick\_hall2](https://discuss.rapid7.com/u/darrick_hall2)\
**Post date:** [December 19, 2022, 4:08pm UTC](https://discuss.rapid7.com/t/sentinelone-plugin-service-accounts-dont-connect/17609/3 "2022-12-19T16:08:15Z")

</div>

Wanted to provide a quick update:

SentinelOne Version 8.0 has been released today.

Authentication methods currently supported by the SentinelOne plugin:

- Service User Role Plugin (Supported on Plugin Version 8.0 & later) - This is the latest authentication role created within the SentinelOne platform. This role does not allow direct SentinelOne console login. To create this connection within InsightConnect you need an API key, and the SentinelOne Platform URL.

- API Authentication (Supported on Plugin Version 7.0 & later) - This replaced basic auth as the authentication method earlier this year. In order to utilize this method you will need an email address, API key, and SentinelOne Platform URL.

@jschlenker if you utilize the service role and have any feedback or run into any issues please don’t hesitate to reach out. Thank you again for bringing this to our attention.

---

<div class="post-metadata">

**Author:** ![jschlenker](https://discuss.rapid7.com/letter_avatar_proxy/v4/letter/j/6de8d8/32.png) [@jschlenker](https://discuss.rapid7.com/u/jschlenker)\
**Post date:** [December 19, 2022, 5:06pm UTC](https://discuss.rapid7.com/t/sentinelone-plugin-service-accounts-dont-connect/17609/4 "2022-12-19T17:06:24Z")

</div>

I have updated my two related workflows to use the 8.0 plugin, and tested them both. They are working with the new authentication method.

Thank you!
