403 Forbidden Error When Using Falcon Discover API with FalconPy #1098
-
Hello FalconPy Community, I am encountering an issue with the Falcon Discover API when using FalconPy and was hoping for some guidance or suggestions on how to resolve it. Issue Description: Code Snippet:
Error Details:
Steps Taken:
Questions:
Any help or guidance would be greatly appreciated. Thank you in advance! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi @joseraeiro thanks for the question! Based on my understanding you're looking to understand the CID that a given Device resides in correct? If that's the case I'd be using the Hosts Service Collection over Discover and the Taking a look at the logs it looks like the API Client in use is imporperly scoped. Can you verify it has the Read permission on the Assets scope as seen here? |
Beta Was this translation helpful? Give feedback.
Hi @joseraeiro thanks for the question!
Based on my understanding you're looking to understand the CID that a given Device resides in correct? If that's the case I'd be using the Hosts Service Collection over Discover and the
get_device_details_v2
operation. Perhaps this is what you meant to use? While both can be used interchangeably for this use case, Discover assets do have a unique ID structure that needs to be met (CID is actually in the ID like <<CID_453909112320126947>). I just wanted to bring this up. Let me know with any questions.Taking a look at the logs it looks like the API Client in use is imporperly scoped. Can you verify it has the Read permission on the Assets scope as s…