getHitCount

The getHitCount operation handles configuration related to /api/fmc_config/v1/domain/{domainUUID}/policy/accesspolicies/{containerUUID}/operational/hitcounts path. 

Description

Retrieves, refreshes and clears Hit Count

Path Parameters

Parameter Required Type Description
containerUUID True string The container id under which this specific resource is contained.
domainUUID True string Domain UUID

Query Parameters

Parameter Required Type Description
filter True string Value is of format (including quotes): "deviceId:{uuid};ids:{uuid1,uuid2,..};fetchZeroHitCount:{true false};name:{rule or policy name};lastHit:{number of days as per unit};lastHitUnit:{DAYS
offset False integer Index of first item to return.
limit False integer Number of items to return.
expanded False boolean If set to true, the GET response displays a list of objects with additional attributes.

Example

- name: Execute 'getHitCount' operation
  cisco.fmcansible.fmc_configuration:
    operation: "getHitCount"
    path_params:
        containerUUID: "{{ container_uuid }}"
        domainUUID: "{{ domain_uuid }}"
    query_params:
        filter: "{{ filter }}"
        offset: "{{ offset }}"
        limit: "{{ limit }}"
        expanded: "{{ expanded }}"