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 user_known_write_monitored_dir_conditions #566

Merged
merged 1 commit into from
Mar 28, 2019
Merged

Add user_known_write_monitored_dir_conditions #566

merged 1 commit into from
Mar 28, 2019

Conversation

JPLachance
Copy link
Contributor

Add a user_known_write_monitored_dir_conditions macro to allow custom conditions in the "Write below monitored dir" rule.

For example, with this macro, we can allow the root user to connect to BitBucket using SSH:

# Some applications allowed to write below monitored dir
- macro: user_known_write_monitored_dir_conditions
  condition: >
    fd.name startswith /root/.ssh and proc.cmdline="ssh hg@bitbucket.org hg -R some/repo serve --stdio"

falco-CLA-1.0-contributing-entity: Coveo Solutions Inc.
falco-CLA-1.0-signed-off-by: Jean-Philippe Lachance jplachance@coveo.com

…om conditions in the "Write below monitored dir" rule

falco-CLA-1.0-contributing-entity: Coveo Solutions Inc.
falco-CLA-1.0-signed-off-by: Jean-Philippe Lachance <jplachance@coveo.com>
@mstemm
Copy link
Contributor

mstemm commented Mar 28, 2019

Thanks!

@mstemm mstemm merged commit 2fd90bf into falcosecurity:dev Mar 28, 2019
@JPLachance JPLachance deleted the feature/user-known-write-monitored-dir-conditions branch March 29, 2019 15:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants