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

Gatekeeper should be able to perform audit at a given specific time stamp #2699

Closed
ssheladiya opened this issue Apr 14, 2023 · 2 comments
Closed
Labels
enhancement New feature or request stale

Comments

@ssheladiya
Copy link
Contributor

Describe the solution you'd like
Currently gatekeeper performs audit after every audit_ts interval. For the teams using the gatekeeper events/logs to perform processing in the backend, there is no accurate way to estimate when the next audit will happen because a restart for the audit-controller pod could reset the counter and hence the backend processing might get affected. Can we have a feature where we can pass a specific time with a day as an argument and gatekeeper can perform audit only during that time. For ex. We can pass something like 13:00:00 PST and gatekeeper would perform audit every day at 1 PM PST. Thanks.

Anything else you would like to add:
[Miscellaneous information that will assist in solving the issue.]

Environment:

  • Gatekeeper version: v3.8.1
  • Kubernetes version: (use kubectl version): v1.22
@ssheladiya ssheladiya added the enhancement New feature or request label Apr 14, 2023
@acpana
Copy link
Contributor

acpana commented Apr 14, 2023

I think there's some ongoing discussion regarding audit modes -- when and how to configure running the audit schedules. Here's another issue chatting about it. There's some overlap with your ask:

#2587

@stale
Copy link

stale bot commented Jun 14, 2023

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 14 days if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Jun 14, 2023
@stale stale bot closed this as completed Jun 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request stale
Projects
None yet
Development

No branches or pull requests

2 participants