Skip to content

Add a optional ttlSecondsAfterFinished field to scans to cleanup finished scans #2293#2631

Merged
J12934 merged 9 commits intosecureCodeBox:mainfrom
Reet00:development-branch
Aug 30, 2024
Merged

Add a optional ttlSecondsAfterFinished field to scans to cleanup finished scans #2293#2631
J12934 merged 9 commits intosecureCodeBox:mainfrom
Reet00:development-branch

Conversation

@Reet00
Copy link
Copy Markdown
Contributor

@Reet00 Reet00 commented Aug 23, 2024

Description

Adds ttlSecondsAfterFinished option to automatically delte finished and errored scans after a defined time in seconds. This will delete the specific scan and not just a scanner/parser job.
Also sets the finishedAt attribute to the timestamp a scan is marked as "Done" or "Errored".

Checklist

  • Test your changes as thoroughly as possible before you commit them. Preferably, automate your test by unit/integration tests.
  • Make sure that all your commits are signed-off and that you are added to the Contributors file.
  • Make sure that all CI finish successfully.
  • Optional (but appreciated): Make sure that all commits are Verified.

Loading
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

Archived in project

Development

Successfully merging this pull request may close these issues.

Add a optional ttlSecondsAfterFinished field to scans to cleanup finished scans

2 participants