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

Adapt the commands event generator to job-scheduler changes #577

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

QU3B1M
Copy link
Member

@QU3B1M QU3B1M commented Dec 4, 2024

Description

Update the commands' event_generator to work with the last changes for the job-scheduler plugin
Now it sends a commands array on the body for bulk indexing through API post request.

Add a new argument --protocol [https|http] to select the required protocol, defaults on https
Example usage:

python command/event-generator/event_generator.py --protocol=http

Related Issues

Resolves wazuh/wazuh-indexer-plugins#87

Check List

  • Functionality includes testing.
  • API changes companion pull request created, if applicable.
  • Public documentation issue/PR created, if applicable.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Use new commands array on the body for API bulks

Add tool argument to select http or https protocols
@QU3B1M QU3B1M self-assigned this Dec 4, 2024
@QU3B1M QU3B1M requested a review from a team as a code owner December 4, 2024 12:29
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.

Implement the job-scheduler logic
1 participant