Skip to content

chore: ADDON-80802 Updated the search query for test_requirements_fields test of PSA #905

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

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

Conversation

spanchal-crest
Copy link
Collaborator

@spanchal-crest spanchal-crest commented May 15, 2025

Currently, PSA uses the raw event in the search query for the “test_requirements_fields” test. So, in order to run the test for SPL2 transformed events, the logs repo samples needs to be updated with the SPL2 transformed logs. To avoid updating the logs repo samples, we can update the search query in PSA to use a unique uuid instead of using the raw event.

Updated the unit testcases

JIRA: https://splunk.atlassian.net/browse/ADDON-80802

@spanchal-crest spanchal-crest marked this pull request as ready for review May 15, 2025 05:28
@spanchal-crest spanchal-crest requested a review from a team as a code owner May 15, 2025 05:28
@spanchal-crest spanchal-crest force-pushed the spanchal/ADDON-80802-psa-improvement branch from a3404c1 to 9c51720 Compare May 15, 2025 05:38
@spanchal-crest spanchal-crest force-pushed the spanchal/ADDON-80802-psa-improvement branch from 9c51720 to dc1ca8e Compare May 15, 2025 06:41
mgazda-splunk
mgazda-splunk previously approved these changes May 20, 2025
Copy link

@mgazda-splunk mgazda-splunk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For me proposed change looks OK. Wondering if we need to provide any more tests/confirm it works fine with few TAs?
Also wondering if this should be default and only option? Cannot imagine now why not, however, would consider if using _raw makes any benefit over UUID.

@spanchal-crest spanchal-crest force-pushed the spanchal/ADDON-80802-psa-improvement branch 4 times, most recently from 90c8c52 to 183d768 Compare May 27, 2025 16:49
@spanchal-crest spanchal-crest force-pushed the spanchal/ADDON-80802-psa-improvement branch from 183d768 to 26c0b36 Compare May 27, 2025 16:52
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.

2 participants