Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 9 commits into from
Sep 14, 2022

Conversation

Niltak
Copy link

@Niltak Niltak commented Aug 25, 2022

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
Copy link
Author

Niltak commented Aug 25, 2022

Added unit tests

@Niltak Niltak marked this pull request as ready for review August 25, 2022 19:57
@marksull
Copy link
Owner

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

@marksull marksull merged commit bc939bb into marksull:master Sep 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants