- Notifications
You must be signed in to change notification settings - Fork 513
Adding Jamf Protect #9135
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
Adding Jamf Protect #9135
Conversation
| 💚 CLA has been signed |
| Pinging @elastic/security-service-integrations (Team:Security-Service Integrations) |
| CLA is internally reviewed at Jamf |
| Hi! We just realized that we haven't looked into this PR in a while. We're sorry! We're labeling this issue as |
| /test |
Co-authored-by: Eric Beahan <ebeahan@gmail.com>
| /test |
| CI is now failing from error Example: https://github.com/elastic/integrations/blob/main/packages/ti_cif3/manifest.yml#L42-L44 After that, can you run following command |
| /test |
| @kcreddy done - initially i've merged suggestions by @ebeahan. No errors after lint & format except. `Error: linting package failed: found 8 validation errors:
|
The issue seems to be coming from naming convention for package test files. The convention is |
| /test |
Ah sorry @txhaflaire! And thanks @kcreddy for the catch! |
| @kcreddy It seems it's failing, however i'm not able to review notes from buildkite - any tips? |
| I was running your tests locally with command This is the error I get: You should just be using name of the package |
| /test |
| /test |
🚀 Benchmarks reportTo see the full report comment with |
| @kcreddy hey! Anything needed from my side to complete and merge this pr? |
kcreddy left a comment
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.
I reviewed alerts datastream, but most of the review points are applicable to other datastreams as well. If you see the review comment could be related to other datastreams, please change them accordingly as well.
...data_stream/alerts/_dev/test/pipeline/test-jamf-protect-alerts-sample-logs.log-expected.json Outdated Show resolved Hide resolved
...data_stream/alerts/_dev/test/pipeline/test-jamf-protect-alerts-sample-logs.log-expected.json Outdated Show resolved Hide resolved
Co-authored-by: Krishna Chaitanya Reddy Burri <krish.reddy91@gmail.com>
Co-authored-by: Krishna Chaitanya Reddy Burri <krish.reddy91@gmail.com>
Co-authored-by: Krishna Chaitanya Reddy Burri <krish.reddy91@gmail.com>
| @kcreddy something odd is happening with local pipeline testing for related.ip in integrations/packages/jamf_protect/data_stream/alerts/elasticsearch/ingest_pipeline/default.yml Line 415 in 6a66d84
[2] parsing field value failed: the IP "{0=175.16.199.11}" is not one of the allowed test IPs (see: https://github.com/elastic/elastic-package/blob/main/internal/fields/_static/allowed_geo_ips.txt) host.ip is an array of IPs, and related.ips also expects an array, but somehow it's giving an error. |
I think issue is with array being appended to another array. |
packages/jamf_protect/data_stream/alerts/fields/base-fields.yml Outdated Show resolved Hide resolved
packages/jamf_protect/data_stream/telemetry/elasticsearch/ingest_pipeline/default.yml Outdated Show resolved Hide resolved
packages/jamf_protect/data_stream/telemetry/elasticsearch/ingest_pipeline/default.yml Outdated Show resolved Hide resolved
| /test |
| /test |
| @txhaflaire are the pipeline tests successful on your side? Looks like the CI is failing. |
No fails, on the geo ip stuff. the suggested fixes are not working in my case and it seems that way of using two processors is not working.
|
| Please also review these errors, and provide suggested fixes. Tried implementing your suggestions but causing errors and before not.
|
| /test |
| /test |
💚 Build Succeeded
History
|
|
kcreddy left a comment
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 jamf_protect - 0.1.0 containing this change is available at https://epr.elastic.co/search?package=jamf_protect |

45.1% Coverage on New Code
Adding an new integration for Jamf Protect