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

Add more file access config options #1128

Merged
merged 2 commits into from
Jul 26, 2023
Merged

Conversation

mlw
Copy link
Contributor

@mlw mlw commented Jul 25, 2023

IMPORTANT: This PR is only a piece of the overall work to begin supporting user-facing messages when file access operations are denied in order to provide a better experience to users who violate policies. No actual user facing dialogs are presented yet, all deny operations are silent.

This PR adds support for 3 new keys for file access configurations:

  1. EnableSilentMode: When true, will not show dialogs to the user when the rule is violated (mimics EnableSilentMode of the main Santa daemon configuration)
  2. EnableSilentTTYMode: When true, will not print messages to the same TTY as that attached to the executing process when the rule is violated (mimics EnableSilentTTYMode of the main Santa daemon configuration)
  3. BlockMessage: When set, will control a custom message that will be displayed to the user (both GUI and TTY) when the rule is violated (mimics BannedBlockMessage of the main Santa daemon configuration)

@mlw mlw requested a review from a team as a code owner July 25, 2023 01:20
@mlw mlw added santad Work related to the Santa Daemon file access authorization labels Jul 25, 2023
@mlw mlw merged commit 03fcd0c into google:main Jul 26, 2023
9 checks passed
@mlw mlw added this to the 2023.7 Release milestone Jul 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
file access authorization santad Work related to the Santa Daemon
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants