Junior — Senior
Counting the total number of CVEs considering Basic Auth and pagination
livecode
Task condition
It is necessary to obtain the total number of all CVE vulnerabilities from a protected API endpoint, correctly handling Basic Authentication and passing through all result pages. Requests should be implemented considering authorization headers, extracting the number of records found on each page, and aggregating them into a total count.