-
Notifications
You must be signed in to change notification settings - Fork 179
How to add a suffix to output files #1137
Copy link
Copy link
Closed
Labels
enhancementNew feature or requestNew feature or request
Description
Your Question
I got two scheduled scans to two different sites which appear in the cluster as:
NAME TYPE INTERVAL FINDINGS
zap-scan-earnd-admin zap-full-scan 168h 19
zap-scan-egw-adminconsole zap-full-scan 168h 21
The scans generate pods like these ones.
scan-zap-scan-earnd-admin-1650962558-p77qz-dhn6x
scan-zap-scan-egw-adminconsole-1650962558-82c24-m6zks
However, when the scan results are written to the S3 bucket, we get folders like:
scan-202639fa-0083-42b0-a401-91b167c44370/
scan-da96b881-9b2f-4b9c-93da-afe3d315ce5c/
There is no way to identify which one is the result of a particular scan or even from a particular run.
What I would like to see is the folders in S3 like this:
zap-scan-earnd-admin-2022-04-03-12-35/
zap-scan-earnd-admin-2022-04-10-12-35/
zap-scan-egw-adminconsole-2022-04-03-12-35/
zap-scan-egw-adminconsole-2022-04-10-12-35/
That is, I would like to see the folder named relative to the scan name and the date/time when it was run.
Is there a way to do this?
Thanks for your help.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request
Type
Projects
Status
Done