Closed kcreddy closed 6 hours ago
cisco_duo
:+1:(3) :green_heart:(2) :broken_heart:(3)To see the full report comment with /test benchmark fullreport
Pinging @elastic/security-service-integrations (Team:Security-Service Integrations)
It may be worthy to include the same options for the rest of the data streams using CEL
Agreed. Will do
Issues
0 New issues
0 Fixed issues
0 Accepted issues
Measures
0 Security Hotspots
100.0% Coverage on New Code
0.0% Duplication on New Code
cc @kcreddy
Package cisco_duo - 2.2.6 containing this change is available at https://epr.elastic.co/package/cisco_duo/2.2.6/
Proposed commit message
Cisco Duo Admin API has very low API request limit (Ex:
not more than 1 request per minute
for Authentication logs). Reaching this limit would lead to42901
from the API. The response also doesn't include aRetry-After
header, which leads to a default back-off retry attempts. This subsequently leads to further42901
as the limit is already reached.This PR allows users to set optional retry configuration allowed by CEL input for CEL-based data-streams. When number of retries are reduces, this helps in reducing the number retry requests being made when already reached
429
.Reference: https://help.duo.com/s/article/1338?language=en_US https://duo.com/docs/adminapi#authentication-logs https://www.elastic.co/guide/en/beats/filebeat/current/filebeat-input-cel.html#_resource_retry_max_attempts
Checklist
changelog.yml
file.Screenshots