2.2.3
New Commands
psf-policies
- Compare-FalconPreventionPhase
ti
- Get-FalconTailoredEvent
- Get-FalconTailoredRule
Issues resolved
-
Issue #241
UpdatedConfirm-Parameter
to eliminateCannot validate argument on parameter 'Array'. Key cannot be null. (Parameter 'key')
errors generated when usingImport-FalconConfig
. -
Issue #242
ModifiedEdit-FalconDetection
to check whether astatus
value is present with acomment
value during command execution rather than during parameter validation. This will prevent errors from occurring when parameters are specified in an unexpected order. -
Issue #246
CreatedConfirm-Property
function to properly filterRule
content for both[hashtable]
and[PSCustomObject]
rules. This will eliminate errors caused by[hashtable]
objects being improperly filtered in PowerShell 5.1. -
Issue #247
UpdatedWrite-Warning
to use a PSCmdlet method in order to properly supportWarningVariable
.
General Changes
-
Created
Confirm-Property
private function to filter[hashtable]
and[PSCustomObject]
into pre-defined properties containing values. -
Updated comment-based help to link directly to specific wiki pages for each command. Using
Get-Help <command> -Online
will launch the appropriate wiki page. These pages will be updated with current examples present within existing wiki pages, and those pages will be re-organized. -
Modified
Get-ParamSet
private function to look forids
andsamples
as potential body values to break into groups ofMax
values, instead of onlyids
. -
Updated Falcon X references to Falcon Intelligence due to product name change.
Command Changes
-
Updated
Invoke-FalconIdentityGraph
to no longer modify the GraphQL statement when attempting to useAll
for pagination. RenamedQuery
parameter toString
and made it work for both query and mutation statements but keptQuery
as an alias. Now, when your statement includes a 'Cursor' variable definition and the requiredpageInfo { hasNextPage endCursor }
properties,All
will automatically paginate results. If either of those requirements are missing, a warning message will be displayed and pagination will not occur. -
Modified
Get-FalconUser
to remove deprecated API when usingUsername
parameter.Username
now submits filtered searches for provideduid
values to the appropriate/user-management/
API. -
Added
Max
of 1,000 sha256 values forNew-FalconQuickScan
. -
Added
sha256
as a PipelineByPropertyName value forNew-FalconQuickScan
to support pipeline input fromSend-FalconSample
. -
Added pattern validation to
Remove-FalconUser
for theId
parameter. -
Modified
Status
parameter forEdit-FalconDetection
to support ValueFromPipelineByPropertyName and changed
parameter to position 3. -
Modified
Edit-FalconSensorUpdatePolicy
andNew-FalconSensorUpdatePolicy
to filter out properties with empty string values in order to prevent errors when creating and/or modifying Sensor Update policies. -
Modified
Import-FalconConfig
to prevent an attempt to modify a policy when the policy was not successfully created earlier in the import process. Also ensured that the precedence warnings when existing policies were found would only be displayed once.