Describe the bug
The validation set for possible repository param omits "third-party" which is a valid repository name.
To Reproduce
Create a lookup file in the third-party repository, connect psfalcon, attempt to retrieve with
Receive-FalconNgsLookupFile -Filename "TEST_thirdParty.csv" -Repository "third-party" Receive-FalconNgsLookupFile: Cannot validate argument on parameter 'Repository'. The argument "third-party" does not belong to the set "3pi_parsers,event_search_all,falcon_for_it_view,forensics_view,investigate_view,search-all" specified by the ValidateSet attribute. Supply an argument that is in the set and then try the command again.
Expected behavior
File is retrieved. Manually tested by correcting the validation set in humio.ps1
https://github.com/CrowdStrike/psfalcon/blob/master/public/humio.ps1
Line 23/24
[ValidateSet('3pi_parsers','event_search_all','falcon_for_it_view','forensics_view','investigate_view',
'search-all',IgnoreCase=$false)]
add ,'third-party'
[ValidateSet('3pi_parsers','event_search_all','falcon_for_it_view','forensics_view','investigate_view',
'search-all','third-party',IgnoreCase=$false)]
and the file can be downloaded
Receive-FalconNgsLookupFile -Filename "TEST_thirdParty.csv" -Repository "third-party"
FullName Length LastWriteTime
-------- ------ -------------
C:\redacted\TEST_thirdParty.csv 30 12/2/2025 3:45:52 PM
Environment (please complete the following information):
- OS: Windows 11
- PSVersion 7.5.4
- Version psfalcon 2.2.9
Additional context
Get-FalconNgsLookupFile uses -Domain to reference repository by friendly name (I think) and Receive-FalconNgsLookupFile uses the repository naming. Why are they different? Why are these event separate commandlets?
Describe the bug
The validation set for possible repository param omits "third-party" which is a valid repository name.
To Reproduce
Create a lookup file in the third-party repository, connect psfalcon, attempt to retrieve with
Receive-FalconNgsLookupFile -Filename "TEST_thirdParty.csv" -Repository "third-party" Receive-FalconNgsLookupFile: Cannot validate argument on parameter 'Repository'. The argument "third-party" does not belong to the set "3pi_parsers,event_search_all,falcon_for_it_view,forensics_view,investigate_view,search-all" specified by the ValidateSet attribute. Supply an argument that is in the set and then try the command again.Expected behavior
File is retrieved. Manually tested by correcting the validation set in humio.ps1
https://github.com/CrowdStrike/psfalcon/blob/master/public/humio.ps1
Line 23/24
add ,
'third-party'and the file can be downloaded
Environment (please complete the following information):
Additional context
Get-FalconNgsLookupFileuses -Domain to reference repository by friendly name (I think) andReceive-FalconNgsLookupFileuses the repository naming. Why are they different? Why are these event separate commandlets?