fmcapi
fmcapi copied to clipboard
Added searches, updated natrules, and fixed minor issues with hitcounts and apiclasstemplate
Added three searches: globalsearch object policy
Fixed issue with how searches work with the current 'get' in apiclasstemplate. Also fixed minor logging issue.
Updated natrules to take nat_id's as well as nat_name. Changed variable from name to nat_name similar to acp.
Added offset to hitcounts to be able to loop hitcounts to grab all rules. Removed pulling items out of the response to keep it consistent with the other classes. *If you want I can add a loop to collect all of the hit count records so that the user doesn't have to build out their own logic.
TODO: Build out unit_tests
Added unit tests
Wow, detailed pull request. Looks great. I'll give it a test on Monday...