Skip to content

uedvt359/sentinelone-api-python

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Usage

NOTE: All API calls automatically handle pagination.

import sentineloneapi

client = sentineloneapi.Client(
                    username='username@domain.tld',
                    password='PASSWORD_HERE',
                    url='example.sentinelone.net'
                )

# One or the other.
# Username/password and apitoken are mutually exclusive.

client = sentineloneapi.Client(
                    apitoken='TOKEN_HERE',
                    url='example.sentinelone.net'
                )

client.authenticate()

data, errors = client.CountAgents(payload={'computerName__like': 'test'})

data, errors = c.ListUsers(payload={
        'skipCount': True,
        'query': 'Test'
    })

About

API for SentinelOne in Python >=3.5

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 99.4%
  • Other 0.6%