Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FoD: Update fod xxx-scan wait-for output to include scan queue position and time #677

Open
kadraman opened this issue Feb 7, 2025 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@kadraman
Copy link
Collaborator

kadraman commented Feb 7, 2025

Enhancement Request

With the release of FoD 25.1 a few changes have been made to API endpoints to illustrate scan queue position and time:

A static scan’s queue time has been added to the following API endpoints:
 - GET /api/v3/scans
 - GET /api/v3/scans/{scanId}/summary
 - GET /api/v3/releases/{releaseId}/scans/{scanId}/polling-summary
Scan queue time is specified as a string (hours:minutes:seconds) in the scanQueueTime field.

A static scan’s position in the queue for an application has been added to the response from the
API endpoint GET /api/v3/releases/{releaseId}/scans/{scanId}/pollingsummary.
The position is specified as an integer in the QueuePositionWithinApplication
field. For example, a value of 0 represents a scan in progress. A value of 1 represents a scan in
queue position one.

We should update the output of fcli fod xxx-scan wait-for to include this information so it can be displayed in pipelines etc.

@kadraman kadraman added the enhancement New feature or request label Feb 7, 2025
@kadraman kadraman self-assigned this Feb 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant