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

Define TTL for sensitive messages sent by Botkube #922

Open
mszostok opened this issue Jan 9, 2023 · 1 comment
Open

Define TTL for sensitive messages sent by Botkube #922

mszostok opened this issue Jan 9, 2023 · 1 comment
Labels
enhancement New feature or request needs-triage Relates to issues that should be refined

Comments

@mszostok
Copy link
Collaborator

mszostok commented Jan 9, 2023

Overview

Botkube sends messages to communication platforms that may contain sensitive data. For example, logs, K8s secrets, etc. Such messages cannot be easily deleted unless you have proper permissions.

To mitigate such problem, we can provide an option to define TTL for such messages. A given message can be deleted or replaced with a placeholder message informing why a given message was removed.

Acceptance Criteria

  • provide an option to associate a given TTL with a given message
    • for example, based on executed command prefix (kc logs = 1h TTL)
    • for example, based on message content - as we sent also a command header, matching against command would be also possible and at the same time it will be more generic.
  • make sure that Bot has proper permission to delete own messages
  • make sure that messages sent in thread are also deleted
  • update documentation
  • provide e2e tests
@mszostok mszostok added the enhancement New feature or request label Jan 9, 2023
@mszostok mszostok added this to Botkube Jan 9, 2023
@mszostok mszostok added the needs-triage Relates to issues that should be refined label Jan 18, 2023
@mszostok
Copy link
Collaborator Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request needs-triage Relates to issues that should be refined
Projects
Status: No status
Development

No branches or pull requests

1 participant