05-22-2018 03:05 PM - edited 02-21-2020 07:47 AM
Is it somehow possible (or what would be the best approach) to bulk-fetch multiple accessrules?
When I do a GET request on /api/fmc_config/v1/domain/DOMAIN_UUID/policy/accesspolicies/CONTAINER_UUID/accessrules I get a list of all of the accessrules, but only their name and ID.
And I would like to, for example, list all accessrules that have a specific source IP address.
(Or by other means work with the information given in all the access-rules)
But if I have 1500 access rules I can't loop through them individually due to the rate-limit on the API. (And it's impractical to create 1500 requests at a time.)
The only "bulk" information I've found relates to POST-ing multiple objects, not retrieving them.
Any thoughts?
Solved! Go to Solution.
05-22-2018 07:29 PM
I think you are correct. As of 6.2.3 we can POST bulk but not GET bulk.
Watch for release 6.3 later this year - we're told it will feature significant API enhancements.
05-22-2018 07:29 PM
I think you are correct. As of 6.2.3 we can POST bulk but not GET bulk.
Watch for release 6.3 later this year - we're told it will feature significant API enhancements.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide