Skip to content

Reset Rule Hit Counter with PAN-OS-PHP #669

@bethatasitmay

Description

@bethatasitmay

Is your feature request related to a problem?

Sometimes it would be nice to be able to programmatically reset the rule hit counter in rules.

Describe the solution you'd like

Rather than going to each rule, opening the rule usage dialog box, selecting the firewalls, and clicking on Reset Rule Hit Counter, it would be nice to be able to run an action to do it in an automated fashion. For example, if the timestamp is older than a certain date, reset it (for example, we have rules that have one or more hits that happened while migrating firewalls due to an issue during the migration but not hits since then - technically, they are unused).

Describe alternatives you've considered

Filter the rules (either manually or with a PAN-OS-PHP filtered exportToExcel) and manually reset the counters.

Additional context

I'd like to automate the hit count reset based. I suppose someone might want to do this unfiltered, but I would be doing this filtered.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions