sva.sentinelone.agent_info module – Get info about the SentinelOne agent package
Note
This module is part of the sva.sentinelone collection (version 2.2.0).
It is not included in ansible-core.
To check whether it is installed, run ansible-galaxy collection list.
To install it, use: ansible-galaxy collection install sva.sentinelone.
You need further requirements to be able to use this module,
see Requirements for details.
To use it in a playbook, specify: sva.sentinelone.agent_info.
New in sva.sentinelone 2.0.0
Synopsis
This module is able to get info about the sentinelone agent package you requested
Aliases: sentinelone_agent_info
Requirements
The below requirements are needed on the host that executes this module.
deepdiff >= 5.6
Parameters
Parameter |
Comments |
|---|---|
Version of the agent to get info about latest (default) - Latest GA (stable) release for the specified parameters latest_ea - same as latest, but also includes EA packages custom - custom_version is required when agent_versioin is custom Choices:
|
|
Architecture of the packet Windows: Only 32_bit and 64_bit are allowed Linux: If not set infos about the 64 bit agent will be retrieved. If set to aarch64 infos about the ARM agent will be retrieved Choices:
|
|
Insert your management console URL |
|
Explicit version of the agent to get info about Has to be set when agent_version=custom Will be ignored if agent_version is not custom |
|
The type of the OS Choices:
|
|
The format of the agent package Choices:
|
|
Optional name of the site from where the agent package is located If omitted the scope will be on account level |
|
SentinelOne API auth token to authenticate at the management API |
Notes
Note
Python module deepdiff required. Tested with version >=5.6. Lower version may work too
Currently only supported in single-account management consoles
Examples
---
- name: Get info about specified package
sva.sentinelone.agent_info:
console_url: "https://XXXXX.sentinelone.net"
token: "XXXXXXXXXXXXXXXXXXXXXXXXXXX"
os_type: "Windows"
packet_format: "msi"
architecture: "64_bit"
agent_version: "latest"
Return Values
Common return values are documented here, the following are the fields unique to this module:
Key |
Description |
|---|---|
Get basic infos about the agent package Returned: on success Sample: |
|
Detailed infos about the requested agent package Returned: on success Sample: |