Skip to content
Discussion options

You must be logged in to vote

Hi @NSH531 -

The code posted above does not reference the performGroupAction operation anywhere within the source. Since this operation is not called, the host is not added to the host group.

You should also move your import of the Uber Class to the top of this file and outside of the hg method as you are referencing this object in other methods.

This code also still creates instances of objects, but then references the FalconPy module directly instead of using the created object. This code will not work as you are not authenticating to the API properly:

tr=[falconpy.HostGroup.query_host_groups(parameters=[res0]),falconpy.HostGroup.query_host_groups(parameters=[res1])]

Thank you for the q…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by jshcodes
Comment options

You must be logged in to vote
1 reply
@jshcodes
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
hosts Hosts or Host Groups issues and questions SDK usage General SDK usage issues and questions
2 participants