-
Notifications
You must be signed in to change notification settings - Fork 497
zeronetworks v0.1.0 #5736
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
zeronetworks v0.1.0 #5736
Conversation
💚 CLA has been signed |
/test |
/test |
/test |
Pinging @elastic/security-external-integrations (Team:Security-External Integrations) |
🌐 Coverage report
|
Can you please add pipeline and system tests. I saw you were having an issue with the pipeline tests. If you can push that commit up we can help troubleshoot the issue. The "system test" is a end-to-end test where you mock the API response. It allows testing the httpjson input configuration. There are lots of examples of this in other packages that use the httpjson input. |
Hey @andrewkroh I will work on the system test, but i just committed the two files for pipeline test that seems to break. I hadnt tried system test cause I figured this had to be fixed first.
|
/test |
@dicolanl In your script processor, you need to define Example: This does not work:
This works
You can take a look at other script processors for example: https://github.com/elastic/integrations/blob/main/packages/windows/data_stream/sysmon_operational/elasticsearch/ingest_pipeline/default.yml#L50 |
@kcreddy Amazing! thank you. that fixed pipeline testing! @andrewkroh added system testing and tested locally. both pipeline and system testing and pass now. |
/test |
CI is failing with error
Can you check other integrations about how the folder structure needs to be for system tests? |
@kcreddy apologies. just fixed it. I had them when i test locally, must have discarded them by accident. |
/test |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
System tests seem to fail with error:
one or more errors found in document: [0] field "event.type" is not normalized as expected: expected array, found "info" (string)
[1] field "event.category" is not normalized as expected: expected array, found "configuration" (string)
Can you run system tests once again and push sample_event.json
file that gets generated?
packages/zeronetworks/data_stream/audit/elasticsearch/ingest_pipeline/default.yml
Outdated
Show resolved
Hide resolved
packages/zeronetworks/data_stream/audit/elasticsearch/ingest_pipeline/default.yml
Outdated
Show resolved
Hide resolved
packages/zeronetworks/data_stream/audit/elasticsearch/ingest_pipeline/default.yml
Show resolved
Hide resolved
Generated Sample event. Tested locally
|
/test |
packages/zeronetworks/data_stream/audit/elasticsearch/ingest_pipeline/default.yml
Outdated
Show resolved
Hide resolved
@kcreddy
|
/test |
Hey @kcreddy let me know if you need anything else for this. thanks! |
Hey @jamiehynds This is a new package from the community. Can I go ahead with the merge? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍🏼
Package zeronetworks - 0.1.0 containing this change is available at https://epr.elastic.co/search?package=zeronetworks |
@dicolanl I just noticed the Zero Networks integration includes a screenshot of a dashboard, but a dashboard isn't included with the integration. Just wanted to flag, incase it's an oversight. |
@jamiehynds |
What does this PR do?
New integration for Zero Networks to pull audit logs into Elastic.
Checklist
changelog.yml
file.Author's Checklist
How to test this PR locally
Related issues
None
Screenshots