Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to use -Filter "Group:'Groupname'" to pull a list of Host IDs into a variable. #30

Closed
Sievers79 opened this issue Feb 23, 2021 · 1 comment
Assignees
Labels
question Further information is requested

Comments

@Sievers79
Copy link

Looking to utilize the same query as in the Falcon UI for Group Names or Group Tags to pull a list of host ids quickly, and run RTR commands. This does not seem to work or be functional.

Filter only seems to work with "groups:','"

@bk-cs bk-cs self-assigned this Feb 23, 2021
@bk-cs bk-cs added the question Further information is requested label Feb 23, 2021
@bk-cs
Copy link
Collaborator

bk-cs commented Feb 23, 2021

"Group" not being a valid filter is an API restriction and is not related to PSFalcon.

If you wanted to find hosts that exist within a certain group, here is another option besides using the "group" filter in a host search (note that "<groupname>" will only accept lowercase values):

Get-FalconHostGroupMember -Id (Get-FalconHostGroup -Filter "name:'<groupname>'") -All

You can search like this to find hosts matching specific tags (case sensitive):

Get-FalconHost -Filter "tags:'FalconGroupingTags/<tag>'" or Get-FalconHost -Filter "tags:'SensorGroupingTags/<tag>'".

See Filtering and the Falcon Query Language for more complex queries involving OR and AND conditions.

@bk-cs bk-cs closed this as completed Feb 23, 2021
@CrowdStrike CrowdStrike locked and limited conversation to collaborators Sep 24, 2021

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants