Skip to content

Pagination support for EKS requests #283

Description

@ofiriro3

Motivation
As a developer, I would like to support fetching a provider that uses paginated requests.

In-depth
Some of the EKS providers support paginated requests. I.e when cloudbeat calls the AWS provider's API, the API will return the first 100 results along with a pagination token.
This pagination token should be used to continue to get the rest of the results.

Currently, we only ship the first paginated results (100 results) but we would like to ship all the results to the evaluator.

This PR might result in a fetcher design change that will affect the entire fetcher interface.

Definition of done

  • Get all the relevant results from ECR+ELB using paginated requests.

Metadata

Metadata

Assignees

Labels

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions