fmcapi icon indicating copy to clipboard operation
fmcapi copied to clipboard

Added searches, updated natrules, and fixed minor issues with hitcounts and apiclasstemplate

Open Niltak opened this issue 2 years ago • 2 comments

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

Niltak avatar Aug 25 '22 18:08 Niltak

Added unit tests

Niltak avatar Aug 25 '22 19:08 Niltak

Wow, detailed pull request. Looks great. I'll give it a test on Monday...

marksull avatar Aug 26 '22 09:08 marksull