forked from jmpsec/osctrl
-
Notifications
You must be signed in to change notification settings - Fork 0
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
Second step for refactor distributed query #10
Closed
Closed
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Fixes for pkg builder script
Cleanup code in cache for logs
Specify expiration for tokens in osctrl-admin and osctrl-api
This reverts commit 234e42e.
@javuto Could you please take a look this PR, I have no idea why the pipeline is failing even though I reverted the last commit. |
Bumps the go_modules group with 1 update in the /users directory: [golang.org/x/crypto](https://github.com/golang/crypto). Updates `golang.org/x/crypto` from 0.28.0 to 0.31.0 - [Commits](golang/crypto@v0.28.0...v0.31.0) --- updated-dependencies: - dependency-name: golang.org/x/crypto dependency-type: direct:production dependency-group: go_modules ... Signed-off-by: dependabot[bot] <[email protected]>
This reverts commit b723458.
…/go_modules-5a9c29dde4 Bump golang.org/x/crypto from 0.28.0 to 0.31.0 in /users in the go_modules group across 1 directory
Refactor distributed query
Dependencies bump to prevent build errors
Bumps the go_modules group with 1 update in the /metrics directory: [golang.org/x/crypto](https://github.com/golang/crypto). Updates `golang.org/x/crypto` from 0.21.0 to 0.31.0 - [Commits](golang/crypto@v0.21.0...v0.31.0) --- updated-dependencies: - dependency-name: golang.org/x/crypto dependency-type: indirect dependency-group: go_modules ... Signed-off-by: dependabot[bot] <[email protected]>
…cs/go_modules-5a9c29dde4 Bump golang.org/x/crypto from 0.21.0 to 0.31.0 in /metrics in the go_modules group across 1 directory
Update to x/crypto to mitigate CVE-2024-45337
Add log level and format configuration options for services
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
In this step, we would like to refactor the way of completing a distributed query and minimize the write request to the database.
Changelog:
VerifyComplete
withCleanupCompletedQueries
. In this case, we don't need to check the complete status whenever we receive new data from Osquery. Instead, we check it periodically with the expired function. Since we changed how to fetch the list of target queries, keeping a distributed query in an active state does not affect performance.osctrl-admin. We use the intersection to get a list of targeted nodes. We can easily extend this part to support more tags and unions or other operations.TODO:
CreateTarget
function and relevant database table