This document is an attempt to map the SentinelOne API Documentation to the related PS-SentinelOne command syntax
This documentation is still in progress.
Accounts
Not Planned / Supported. Requires Global or Support permissions
Not Planned / Supported. Requires Global or Support permissions
Not Planned / Supported. Requires a ticket with Support to enable.
Get-S1Account -AccountID <id>
Get-S1Account -Name <string> -AccountID <string[]> -Count <int> -SortBy {accountType | activeAgents | createdAt | expiration | id | name | numberOfSites | state | updatedAt} -SortOrder {asc | desc} -CountOnly
Not Planned / Supported. Seems to require Global or Support Permissions. Documentation doesn't specify.
Not Planned / Supported. Seems to require Global or Support Permissions. Documentation doesn't specify.
Not Planned / Supported. Requires Global or Support permissions
Not Planned / Supported.
Not Planned / Supported.
Not Planned / Supported. Requires Global or Support permissions
Activities
Get-S1Activity
Get-S1ActivityType
Not currently supported. May be added in the future.
Agent Actions
Invoke-S1AgentAction -AgentID <String[]> -AbortScan
Invoke-S1AgentAction -AgentID <String[]> -ApproveUninstall
Invoke-S1AgentAction -AgentID <String[]> -SendMessage <String>
Invoke-S1AgentAction -AgentID <String[]> -CanRunRemoteShell
Invoke-S1AgentAction -AgentID <String[]> -ConnectToNetwork
Invoke-S1AgentAction -AgentID <String[]> -Decommission
Invoke-S1AgentAction -AgentID <String[]> -DisableAgent
Invoke-S1AgentAction -AgentID <String[]> -DisableRanger
Invoke-S1AgentAction -AgentID <String[]> -DisconnectFromNetwork
Invoke-S1AgentAction -AgentID <String[]> -EnableAgent
Invoke-S1AgentAction -AgentID <String[]> -EnableRanger
Invoke-S1FetchFile -AgentID <String> -FilePath <String[]> -Password <String>
Invoke-S1FetchFile -Agent <agent_id> -FilePath "/path/to/file", "C:\path\to\file" -Password "SuperSecretPassword"
Invoke-S1AgentAction -Agent <agent_id> -FetchFirewallLogs -ReportLocal <boolean> -ReportManagement <boolean>
Documentation currently only mentions the "native" format and "initial" states
Invoke-S1AgentAction -Agent <agent_id> -FetchFirewallRules -FirewallRuleFormat "native" -FirewallRuleState "initial"
Invoke-S1AgentAction -Agent <agent_id> -FetchLogs -PlatformLogs $true -AgentLogs $true -CustomerFacingLogs $true
Invoke-S1AgentAction -Agent <agent_id> -GetApplications
Invoke-S1AgentAction -Agent <agent_id> -Scan
Invoke-S1AgentAction -Agent <agent_id> -MarkAsUpToDate
Invoke-S1AgentAction -Agent <agent_id> -MoveToSite -SiteID <site_id>
Invoke-S1AgentAction -Agent <agent_id> -MoveToConsole -ConsoleSiteToken <console_site_token>
Invoke-S1AgentAction -Agent <agent_id> -RandomizeUUID
Invoke-S1AgentAction -Agent <agent_id> -RejectUninstall
Invoke-S1AgentAction -Agent <agent_id> -ResetLocalConfig
Invoke-S1AgentAction -Agent <agent_id> -Restart
Invoke-S1AgentAction -Agent <agent_id> -SetExternalID <external_id>
Not Planned / Supported. Requires Global or Support permissions
Invoke-S1AgentAction -Agent <agent_id> -Shutdown
Invoke-S1AgentAction -Agent <agent_id> -StartRemoteProfiling -TimeoutInSeconds 60
Not yet implemented
Invoke-S1AgentAction -Agent <agent_id> -StopRemoteProfiling
Not yet implemented
Invoke-S1AgentAction -Agent <agent_id> -Uninstall
Invoke-S1AgentAction -AgentID $Agent.id -UpdateSoftware -PackageID $Package.id -UpdateTiming immediately
Agents
Get-S1Application -AgentID <agent_id>
Not yet implemented
Not yet implemented
Not yet implemented
Get-S1Agent -Name <String> -ScanStatus <String[]> -MachineType <String[]> -OSType <String[]> -MitigationMode <String> -Infected <String> -AppVulnerabilityStatus <String[]> -IsPendingUninstall <String> -IsUninstalled <String> -IsDecommissioned <String> -ADQuery <String[]> -Domain <String[]> -LocalIP <String[]> -AgentID <String[]> -GroupID <String[]> -SiteID <String[]> -AccountID <String[]>
Get-S1Passphrase
Not implemented. Labeled as obsolete
Application Inventory
Not implemented. Labeled as deprecated.
Not implemented. Labeled as deprecated.
Application Risk
Not implemented
Get-S1Application -ApplicationName <String[]> -ApplicationID <String[]> -GroupID <String[]> -SiteID <String[]> -AccountID <String[]> -RiskLevel <String[]> -ApplicationType <String[]> -OS <String[]> -MachineType <String[]> -Decommissioned <String>
Not implemented
Config Overrides
Custom Detection Rule
Deep Visibility
Device Control
Exclusions and Blacklist
Filters
Firewall Control
Forensics
Gateways
Groups
Hashes
Locations
Network Quarantine Control
Policies
RBAC
Ranger
Reports
Rogues
Settings
Sites
System
Get-S1System -CacheStatus
Get-S1System -DatabaseStatus
Not implemented
Not implemented
Get-S1System -Info
Get-S1System -Status
Tags
Threat Notes
Threats
Updates
Not currently supported.
Not currently supported.
Not currently supported. Labeled as Deprecated.
Available options:
Get-S1Package -OSType <String[]> -Status <String[]> -PackageType <String> -FileExtension <String> -Query <String> -Version <String> -PackageID <String[]> -AccountID <String[]> -SiteID <String[]>
Specific example:
Get-S1Package -Status ga -OSType windows -FileExtension .exe -Version "4.6.12.241" -Query "64bit"
Not currently supported. Labeled as Deprecated.
Not currently supported.
Not currently supported.
Not currently supported.