This is the unofficial SentinelOne Collection provided by SVA
This collection is a community project and is neither provided nor supported by SentinelOne itself.
It provides several modules which helps to configure and manage SentinelOne Management Consoles.
-
Modules:
-
Roles:
- ansible >= 8 or ansible-core >= 2.15 (Lower versions may work but they have not been tested)
- Python >= 3.9 (Ansible control node requirement)
This collection needs the following Python modules:
- deepdiff >= 5.6.0 (Lower versions may work but they have not been tested)
Tested Ansible versions:
- 2.15
- 2.16
- 2.17
Tested Python versions:
- 3.9
- 3.10
- 3.11
- 3.12
Before using this collection, you need to install it with the Ansible Galaxy command-line tool:
ansible-galaxy collection install sva.sentineloneYou can also include it in a requirements.yml file and install it with ansible-galaxy collection install -r requirements.yml, using the format:
---
collections:
- name: sva.sentineloneNote that if you install the collection from Ansible Galaxy, it will not be upgraded automatically when you upgrade the ansible package. To upgrade the collection to the latest available version, run the following command:
ansible-galaxy collection install sva.sentinelone --upgradeYou can also install a specific version of the collection, for example, if you need to downgrade when something is broken in the latest version (please report an issue in this repository). Use the following syntax to install version 1.0.0:
ansible-galaxy collection install sva.sentinelone:==1.0.0See Ansible Using collections for more details.
The module documentation can be found here.
The role documentation can be found here.
v2.0.3: Bugfix release. Fixed OpenSUSE compatibility
v2.0.2: Bugfix release. Fixed idempotency bug in install_agent role and reverted changes from v2.0.1
v2.0.1: Bugfix release. Fixed a bug where the install_agent role fails on local tasks if "ansible_connection" var is set in playbook.
v2.0.0:
- Added new sentinelone_agent_info module and @stdevels sentinelone_client role as sentinelone_client_legacy.
- install_agent role: Added configurable retries and delays in the step which checks if the agent appears in the management console.
- Breaking Changes: The download_agent modules
stateparameter is no longer available. If you usedstate: infoplease use the new agent_info module instead.stateparameter has been removed from download_agent module.
v1.1.1: Bugfix release. Changed privilege escalation behaviour
v1.1.0: Added new sentinelone_download_agent module and install_agent role
v1.0.3: Increased request timeout and implemented error handling for requests that timed out
v1.0.2: Added detailed error message to module output if an API call fails
v1.0.1: Bugfix release
v1.0.0: Initial release
Detailed Changelog can be found at CHANGELOG
- Make the modules usable on account scope
- Unit tests needs to be written
The SVA SentinelOne collection is licensed under the GNU General Public License v3.0+. See LICENSE for the full license text.