deckhouse / deckhouse/deckhouse
[operator-trivy] add the ability to run a check by Сron
Open
Nobody has claimed this yet.
area/security
priority/backlog
type/enhancement
- Dominant language
- Go
- Stars
- 1.3k
- Forks
- 162
- Avg merge
- 1d 5h
- Merged PRs (30d)
- 653
Description
Preflight Checklist
- I agree to follow the Code of Conduct that this project adheres to.
- I have searched the issue tracker for an issue that matches the one I want to file, without success.
Use case. Why is this important?
Choose between running every 24 hours or running on Cron. Thus, remove the ability to run at primetime when the load on the cluster is high
Proposed Solution
Add the ability to run trivy using cron
Additional Information
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the operator-trivy scheduling implementation and how its current 24-hour run is configured. Define how a Cron schedule should be supplied and whether it replaces or complements the existing interval, then verify that scheduled runs avoid the unwanted primetime execution and are covered by tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- security
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100