PSFalcon 2.2.9
PowerShell 5.1
/cases/queries/cases/v1 has no entry in format/format.json, so Invoke-Falcon never maps the query parameters into the request.
They're silently discarded and no error is raised, and the API returns defaults.
This appears to be an omission rather than intended behaviour, since Get-FalconNgsCase defines all four parameters, and Sort has a ValidateSet of endpoint-specific values.
i.e. Get-FalconNgsCase -Limit 5 -Detailed
Suggested fix: add to format/format.json:
"/cases/queries/cases/v1": {
"get": { "query": ["filter", "sort", "limit", "offset", "q"] }
}
PSFalcon 2.2.9
PowerShell 5.1
/cases/queries/cases/v1has no entry informat/format.json, soInvoke-Falconnever maps the query parameters into the request.They're silently discarded and no error is raised, and the API returns defaults.
This appears to be an omission rather than intended behaviour, since
Get-FalconNgsCasedefines all four parameters, andSorthas aValidateSetof endpoint-specific values.i.e.
Get-FalconNgsCase -Limit 5 -DetailedSuggested fix: add to format/format.json: