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

protect file access if running #5

Open
GIC-de opened this issue Jul 8, 2022 · 0 comments
Open

protect file access if running #5

GIC-de opened this issue Jul 8, 2022 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@GIC-de
Copy link
Member

GIC-de commented Jul 8, 2022

The BNG Blaster Controller endpoint GET: /api/v1/instances/<instance-name>/<file-name> allows to download some files from test instances. Here it is recommended to download files only if test instance is not running to prevent downloading corrupted files. This can be checked by polling GET: /api/v1/instances/<instance-name>.

NOTE: The BNG Blaster Controller access those files read only, so they are not corrupted on the server but the loaded artefact might be corrupted.

As an enhancement, the controller should prevent access to at least the following files if the instance is still running:

  • run_report.json
  • run.pcap

Those files will be very likely corrupted if accessed while running.

@GIC-de GIC-de added the enhancement New feature or request label Jul 8, 2022
@GIC-de GIC-de self-assigned this Jul 8, 2022
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