-
Notifications
You must be signed in to change notification settings - Fork 515
[cisco_secure_endpoint] fix template field indexing when next link is absent #16092
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
[cisco_secure_endpoint] fix template field indexing when next link is absent #16092
Conversation
…ctly match hit counts
|
Pinging @elastic/security-service-integrations (Team:Security-Service Integrations) |
🚀 Benchmarks reportTo see the full report comment with |
efd6
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.
Suggested commit message:
cisco_secure_endpoint: fix template field indexing when next link is absent
Don't updating fleet health status to degraded when HTTPJSON template
evaluation fails due to an absent metadata.links.next field.
efd6
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.
nit
Co-authored-by: Dan Kortschak <dan.kortschak@elastic.co>
💚 Build Succeeded
History
|
| offset: "1" | ||
| limit: "1" | ||
| start_date: "{start_date:\\d{4}(?:-\\d{2}){2}T(?:\\d{2})(?::\\d{2}){2}\\+00:00}" | ||
| start_date: "{start_date:.*}" |
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.
Is there any reason to remove the pattern here?
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.
The earlier pattern was not matching correctly; the rule itself wasn't matched while running the system test. By updating it, the pattern now matches correctly, resulting in assert.hit_count: 2.
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.
It looks like we are hiding some formatting issue in the input. But this may not be the scope of this PR.
|
Package cisco_secure_endpoint - 2.33.0 containing this change is available at https://epr.elastic.co/package/cisco_secure_endpoint/2.33.0/ |
Proposed commit message
Checklist
changelog.ymlfile.How to test this PR locally
Related issues