Fixes an issue where skip parameter is not parsed from the /api/v2/audit endpoint, resulting in log output not starting at the specified offset
Currently, this endpoint only supports using offset to specify skip, as opposed to other endpoints which uses skip. This change enables the endpoint to support both offset and skip and uses whichever one is populated. If they are both populated, the endpoint uses the skip parameter value.
Motivation and Context
This PR addresses: BED-4128
How Has This Been Tested?
Unit tests have been updated
Screenshots (optional):
Types of changes
Bug fix (non-breaking change which fixes an issue)
Description
skip
parameter is not parsed from the/api/v2/audit
endpoint, resulting in log output not starting at the specified offsetCurrently, this endpoint only supports using
offset
to specify skip, as opposed to other endpoints which usesskip
. This change enables the endpoint to support bothoffset
andskip
and uses whichever one is populated. If they are both populated, the endpoint uses theskip
parameter value.Motivation and Context
This PR addresses: BED-4128
How Has This Been Tested?
Unit tests have been updated
Screenshots (optional):
Types of changes
Checklist: