2.2.2
New Commands
cloud-connect-azure
- Get-FalconDiscoverAzureCertificate
cloud-connect-cspm-azure
- Get-FalconHorizonAzureCertificate
mobile-enrollment
- Invoke-FalconMobileAction
psf-devices
- Find-FalconHostname
user-management
- Invoke-FalconUserAction
General Changes
-
Re-organized public functions into files named for their URL prefix rather than their respective Swagger
collection (which sometimes would match the prefix and sometimes wouldn't). Because of the number of endpoints
that fell under 'policy', it is segmented into specific files. -
The public
users.ps1
anduser-roles.ps1
files have been consolidated underuser-management.ps1
and merged
with new /user-management/ endpoints. -
Updated IPv4 regex used by
Test-RegexValue
private function. -
Streamlined looping functionality (used with
All
parameter). Updated all commands to output groups of
results as they are retrieved instead of the entire result set at the end of a loop. Also verified that
authorization tokens are properly refreshed during a long running loop.
Command Changes
-
Modified
Add-FalconSensorTag
andRemove-FalconSensorTag
to include the uninstall token of the target device
and while adding and removing sensor tags withCsSensorSettings.exe
on Windows sensor versions v6.42 and above. -
Modified
Get-FalconSensorTag
to return theFalconSensorTags
values listed in a devices API response if the
target device is Windows sensor version 6.42 or above. IfCsSensorSettings.exe
is updated to include a method
toget
sensor tags,Get-FalconSensorTag
will use that method in the future. -
Removed mandatory requirement for
TenantId
parameter within theGet-FalconDiscoverAzureAccount
command. -
Updated
Invoke-FalconAlertAction
to use the new v2 endpoint which includes formatting corrections. -
Based on code provided by @SleepySysadmin,
Invoke-FalconIdentityGraph
now has anAll
parameter when using
Query
!When used with a query that includes
pageInfo{endCursor hasNextPage}
, results will be paginated automatically
and only relevant data will be output (similar to the rest of the PSFalcon commands) instead of the entire
object.All
will automatically be added if a query begins with ($after: Cursor
) and hasafter
in the query
parameters, as it is assumed that all results are expected.If
pageInfo
is not provided in the query andAll
is specified, a warning message will be generated.A query without
All
will produce the same results as earlier versions of the module. -
Added
Mutation
parameter toInvoke-FalconIdentityGraph
. -
Updated
Add-FalconRole
,Edit-FalconUser
,Get-FalconUser
,New-FalconUser
,Remove-FalconRole
, and
Remove-FalconUser
, to use new/user-management/
endpoints where appropriate. These commands behave as they
did before, unless using additional parameters to signify that requests are being performed within a
multi-CID environment. -
Get-FalconRole
has been updated to produce results from new/user-management/
endpoints.
Resolved Issues
-
Issue 170:
Invoke-Loop
changes should eliminate token failures during retrieval of large result sets. -
Issue 222: Updated comparison process to ensure an imported policy would be properly added to the list of
items to be modified, whether or not it was going to be created. Removed existing copy policy operation from
creation process. -
Issue 223: Removed extraneous 'Endpoint' definition that was generating an error.
-
Issue 231: Corrected addition of
FirewallRule
when usingExport-FalconConfig -Item FirewallGroup
. This fix
should also resolve issues when exportingHostGroup
and a singular 'exclusion' item. -
Issue 232: Re-added 'Outfile' designation for
Path
parameter inReceive-FalconArtifact
. This should have
been present and was accidentally removed in an earlier module version.