Skip to content

fragtastic/sentinelone-api-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Usage

NOTE: All API calls automatically handle pagination.

import sentineloneapi

client = sentineloneapi.Client(
                    username='[email protected]',
                    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