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

Ensure that server VQL plugins only work on the server #3575

Merged
merged 2 commits into from
Jun 20, 2024
Merged

Conversation

scudette
Copy link
Contributor

This is used by VQL plugins that change server state to make sure the VQL query is running inside a valid frontend. Since VQL queries can run with the velociraptor query command it is possible they are just running on the same server as Velociraptor (and therefore the data store is still visible) but it is important to make sure the datastore is not modified outside the proper frontend process.

This is because many services are now caching data in memory and changing the underlying data stored will not be immediately visible to them causing confusion to users.

This is used by VQL plugins that change server state to make sure the
VQL query is running inside a valid frontend. Since VQL queries can
run with the `velociraptor query` command it is possible they are just
running on the same server as Velociraptor (and therefore the data
store is still visible) but it is important to make sure the datastore
is not modified outside the proper frontend process.

This is because many services are now caching data in memory and
changing the underlying data stored will not be immediately visible to
them causing confusion to users.
@scudette scudette merged commit 5f89b4c into master Jun 20, 2024
3 checks passed
@scudette scudette deleted the frontend_check branch June 20, 2024 02:46
scudette added a commit that referenced this pull request Jun 30, 2024
This is used by VQL plugins that change server state to make sure the
VQL query is running inside a valid frontend. Since VQL queries can run
with the `velociraptor query` command it is possible they are just
running on the same server as Velociraptor (and therefore the data store
is still visible) but it is important to make sure the datastore is not
modified outside the proper frontend process.

This is because many services are now caching data in memory and
changing the underlying data stored will not be immediately visible to
them causing confusion to users.
scudette added a commit that referenced this pull request Jun 30, 2024
This is used by VQL plugins that change server state to make sure the
VQL query is running inside a valid frontend. Since VQL queries can run
with the `velociraptor query` command it is possible they are just
running on the same server as Velociraptor (and therefore the data store
is still visible) but it is important to make sure the datastore is not
modified outside the proper frontend process.

This is because many services are now caching data in memory and
changing the underlying data stored will not be immediately visible to
them causing confusion to users.
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.

None yet

1 participant