Skip to content

Comments

Add suspend functionality to Scan and ScheduledScan resources#3504

Merged
J12934 merged 1 commit intosecureCodeBox:mainfrom
J12934:feature/suspended-scans
Feb 17, 2026
Merged

Add suspend functionality to Scan and ScheduledScan resources#3504
J12934 merged 1 commit intosecureCodeBox:mainfrom
J12934:feature/suspended-scans

Conversation

@J12934
Copy link
Member

@J12934 J12934 commented Feb 9, 2026

Description

Add suspend functionality to Scan and ScheduledScan resources
Behaving similarly to kubernetes jobs and cronjobs which have the same functionality

My current use case for this is to create a Scan for which I also want to create a restricted NetworkPolicy.

This should then allow me to:

  • Create Scan with suspended: true
  • Create NetworkPolicy for the specific scan with a ownerReference for the scan (to ensure auto-cleanup)
  • Unsuspend the Scan

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.

Behaving similarly to kubernetes jobs and cronjobs which have the same functionality

Signed-off-by: Jannik Hollenbach <[email protected]>
@J12934 J12934 self-assigned this Feb 9, 2026
@J12934 J12934 added the enhancement New feature or request label Feb 9, 2026
@J12934 J12934 added the CRD Improvements or additions to CRDs label Feb 9, 2026
@netlify
Copy link

netlify bot commented Feb 9, 2026

Deploy Preview for docs-securecodebox ready!

Name Link
🔨 Latest commit 1815f0a
🔍 Latest deploy log https://app.netlify.com/projects/docs-securecodebox/deploys/6989de5b9df2130008ec8064
😎 Deploy Preview https://deploy-preview-3504--docs-securecodebox.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@sonarqubecloud
Copy link

sonarqubecloud bot commented Feb 9, 2026

Quality Gate Failed Quality Gate failed

Failed conditions
13.0% Duplication on New Code (required ≤ 3%)

See analysis details on SonarQube Cloud

@J12934 J12934 moved this from Triage to To Review in secureCodeBox Feb 9, 2026
@github-project-automation github-project-automation bot moved this from To Review to Reviewer Approved in secureCodeBox Feb 17, 2026
@J12934 J12934 merged commit 9936781 into secureCodeBox:main Feb 17, 2026
50 of 51 checks passed
@github-project-automation github-project-automation bot moved this from Reviewer Approved to Done in secureCodeBox Feb 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CRD Improvements or additions to CRDs enhancement New feature or request

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

2 participants