{sentinel_one,m365_defender,ti_abusech,ti_anomali,trend_micro_vision_one}: Add script tests#17928
Open
kcreddy wants to merge 4 commits intoelastic:mainfrom
Open
{sentinel_one,m365_defender,ti_abusech,ti_anomali,trend_micro_vision_one}: Add script tests#17928kcreddy wants to merge 4 commits intoelastic:mainfrom
kcreddy wants to merge 4 commits intoelastic:mainfrom
Conversation
|
Pinging @elastic/security-service-integrations (Team:Security-Service Integrations) |
7 tasks
💔 Build Failed
Failed CI StepsHistorycc @kcreddy |
🚀 Benchmarks reportTo see the full report comment with |
efd6
reviewed
Mar 22, 2026
|
|
||
| -- test_config.yaml -- | ||
| input: cel | ||
| data_stream: |
Contributor
There was a problem hiding this comment.
Suggested change
| data_stream: | |
| vars: | |
| auth_key: test_auth_key | |
| data_stream: |
|
|
||
| -- test_config.yaml -- | ||
| input: cel | ||
| data_stream: |
Contributor
There was a problem hiding this comment.
Suggested change
| data_stream: | |
| vars: | |
| auth_key: test_auth_key | |
| data_stream: |
Comment on lines
+42
to
+44
| # Verify the error code matches the 401 response. | ||
| exec jq -r '.hits.hits[0]._source.error.code' got_docs.json | ||
| stdout '^401$' |
Contributor
There was a problem hiding this comment.
Suggested change
| # Verify the error code matches the 401 response. | |
| exec jq -r '.hits.hits[0]._source.error.code' got_docs.json | |
| stdout '^401$' | |
| # Verify the error message indicates the 401 response. | |
| exec jq -r '.hits.hits[0]._source.error.message' got_docs.json | |
| stdout 'Unauthorized' |
Comment on lines
+42
to
+44
| # Verify the error code matches the 401 response. | ||
| exec jq -r '.hits.hits[0]._source.error.code' got_docs.json | ||
| stdout '^401$' |
Contributor
There was a problem hiding this comment.
Suggested change
| # Verify the error code matches the 401 response. | |
| exec jq -r '.hits.hits[0]._source.error.code' got_docs.json | |
| stdout '^401$' | |
| # Verify the error message indicates the 401 response. | |
| exec jq -r '.hits.hits[0]._source.error.message' got_docs.json | |
| stdout 'Unauthorized' |
This file contains hidden or 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
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.
Proposed commit message
Note
No changelog is required as it doesn't have user impact.
Checklist
changelog.ymlfile.Author's Checklist
How to test this PR locally
Run
elastic-package test scripton each integration.Sample output
Related issues