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} -CountOnlyNot 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-S1ActivityGet-S1ActivityTypeNot currently supported. May be added in the future.
Agent Actions
Invoke-S1AgentAction -AgentID <String[]> -AbortScanInvoke-S1AgentAction -AgentID <String[]> -ApproveUninstallInvoke-S1AgentAction -AgentID <String[]> -SendMessage <String>Invoke-S1AgentAction -AgentID <String[]> -CanRunRemoteShellInvoke-S1AgentAction -AgentID <String[]> -ConnectToNetworkInvoke-S1AgentAction -AgentID <String[]> -DecommissionInvoke-S1AgentAction -AgentID <String[]> -DisableAgentInvoke-S1AgentAction -AgentID <String[]> -DisableRangerInvoke-S1AgentAction -AgentID <String[]> -DisconnectFromNetworkInvoke-S1AgentAction -AgentID <String[]> -EnableAgentInvoke-S1AgentAction -AgentID <String[]> -EnableRangerInvoke-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 $trueInvoke-S1AgentAction -Agent <agent_id> -GetApplicationsInvoke-S1AgentAction -Agent <agent_id> -ScanInvoke-S1AgentAction -Agent <agent_id> -MarkAsUpToDateInvoke-S1AgentAction -Agent <agent_id> -MoveToSite -SiteID <site_id>Invoke-S1AgentAction -Agent <agent_id> -MoveToConsole -ConsoleSiteToken <console_site_token>Invoke-S1AgentAction -Agent <agent_id> -RandomizeUUIDInvoke-S1AgentAction -Agent <agent_id> -RejectUninstallInvoke-S1AgentAction -Agent <agent_id> -ResetLocalConfigInvoke-S1AgentAction -Agent <agent_id> -RestartInvoke-S1AgentAction -Agent <agent_id> -SetExternalID <external_id>Not Planned / Supported. Requires Global or Support permissions
Invoke-S1AgentAction -Agent <agent_id> -ShutdownInvoke-S1AgentAction -Agent <agent_id> -StartRemoteProfiling -TimeoutInSeconds 60Not yet implemented
Invoke-S1AgentAction -Agent <agent_id> -StopRemoteProfilingNot yet implemented
Invoke-S1AgentAction -Agent <agent_id> -UninstallInvoke-S1AgentAction -AgentID $Agent.id -UpdateSoftware -PackageID $Package.id -UpdateTiming immediatelyAgents
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-S1PassphraseNot 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 -CacheStatusGet-S1System -DatabaseStatusNot implemented
Not implemented
Get-S1System -InfoGet-S1System -StatusTags
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.