Skip to content
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

Devo bug fix v1.2.8 #29714

Conversation

tejashree-metron
Copy link
Contributor

@tejashree-metron tejashree-metron commented Sep 18, 2023

Contributing to Cortex XSOAR Content

Make sure to register your contribution by filling the contribution registration form

The Pull Request will be reviewed only after the contribution registration form is filled.

Status

  • In Progress
  • Ready
  • In Hold - (Reason for hold)

Related Issues

fixes: Unsupported formats for from (and to) parameters:

Description

  • Fixed the issue to support natural language (e.g., 2 day, 3 week), Unix timestamps, Python datetime objects, and string datetimes formats for from_time and to_time parameters.
  • Added the unit tests for formats of time.
  • Updated the Docker image to: demisto/devo:1.0.0.75198.

NOTE : As customer is waiting for this changes, please merge it on priority.

Must have

  • Tests
  • Documentation

@content-bot content-bot added Contribution Thank you! Contributions are always welcome! External PR Partner Support Level Indicates that the contribution is for Partner supported pack labels Sep 18, 2023
@content-bot content-bot changed the base branch from master to contrib/metron-labs_DevoBugFix-v1.2.8 September 18, 2023 12:56
@content-bot
Copy link
Collaborator

Thank you for your contribution. Your generosity and caring are unrivaled! Make sure to register your contribution by filling the Contribution Registration form, so our content wizard @RosenbergYehuda will know the proposed changes are ready to be reviewed.
For your convenience, here is a link to the contributions SLAs document.

Copy link
Contributor

@RosenbergYehuda RosenbergYehuda left a comment

Choose a reason for hiding this comment

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

Hello @tejashree-metron,

You did a great job on this contribution! I added some minor comments - please take a look and let me know if you have any questions. Once you've addressed those, we can move forward with scheduling a demo to see it in action.

Thank you for your work on this. I appreciate you making this contribution to improve our content. Please let me know if you need anything else from me at this stage!

Regards,
Yehuda

Packs/Devo/ReleaseNotes/1_2_8.md Outdated Show resolved Hide resolved
Packs/Devo/Integrations/Devo_v2/Devo_v2.py Show resolved Hide resolved
@RosenbergYehuda RosenbergYehuda added the pending-contributor The PR is pending the response of its creator label Sep 20, 2023
@tejashree-metron
Copy link
Contributor Author

@RosenbergYehuda Can you please take a look at few checks(Review Release Notes / release_notes_review (pull_request) and ci/circleci: Run Validations) which are failing.

@RosenbergYehuda
Copy link
Contributor

Hello @tejashree-metron,
I want to mention that due to the holiday season in Israel, our team will be out of the office until next Tuesday the 26th. I see you have already addressed my comments, and I will review again when I'm back.

Thank you again for your contribution. I look forward to getting it merged upon my return from the holiday break. Enjoy your weekend!

@kapil-metron
Copy link
Contributor

Hi @RosenbergYehuda , can you please check why a check is still failing for this PR. Thanks in advanced.

Copy link
Contributor

@RosenbergYehuda RosenbergYehuda left a comment

Choose a reason for hiding this comment

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

Hello @tejashree-metron,

Apologies for the delay, and thank you for your patience. I am approving this PR.

Regarding the errors in the build, you can ignore those - I will handle that in an internal PR.

I see the CLA was not filled out. This may be because someone else merged into this PR, so please go ahead and complete it.

Lastly, I would like to understand the bug fix better - could you please send a short video showing:

The version before your fix, demonstrating the bug
This fixed version, showing how the bug is now resolved
This will help me verify that the issue is fully addressed. Please let me know if you have any other questions!

@RosenbergYehuda
Copy link
Contributor

RosenbergYehuda commented Sep 28, 2023

Hello @tejashree-metron ,
I wanted to let you know that I will be on vacation next week due to the holidays here in Israel. I will return to work on October 8th.

Please accept my apologies for any delays this may cause.
Looking forward to catching up when I'm back in the office.

Regards,Yehuda

@RosenbergYehuda
Copy link
Contributor

My mistake, I typed January instead of October, I am on vacation until the 8th of October.

@tejashree-metron
Copy link
Contributor Author

Hi @RosenbergYehuda ,
The demo video is ready, can you please let me know how I can share the video with you. Also about the CLA, where do we have to sign it and share, can you please guide on this.Thanks

@RosenbergYehuda
Copy link
Contributor

You can attach the video here as a comment, or share it via Google Drive with me at yrosenberg@paloaltonetworks.com.

Regarding the CLA, it's strange I don't see it on this PR, but this is the link to submit it: https://cla-assistant.io/demisto/content?pullRequest=29714

Please fill it out and see if the "license/cla" GitHub check turns green. If not, that likely means someone else contributed to this PR without filling out the form - it looks like that may be kapil-metron (https://github.com/kapil-metron).

Let me know if you have any trouble getting the CLA submitted. We need to have it from all contributors before we can merge.

@RosenbergYehuda
Copy link
Contributor

Great Demo @tejashree-metron!!
Did all contributors fill out the CLA?

@RosenbergYehuda
Copy link
Contributor

One more thing - there are merge conflicts with master that I don't have permissions to fix.

The conflicts are because our bot updated the Docker image and the latest version is now 1_2_8.

Could you please update the release notes version to the next one, and remove the line updating the docker image?

Also don't forget to update the metadata file with the new version.

This should resolve the conflicts so we can get your contribution merged. Let me know if you need any help with the version bump or resolving the merge conflicts.

@tejashree-metron
Copy link
Contributor Author

Hi @RosenbergYehuda , I have resolved the conflicts , can you please merge it.

@RosenbergYehuda RosenbergYehuda merged commit 18df65c into demisto:contrib/metron-labs_DevoBugFix-v1.2.8 Oct 1, 2023
19 of 20 checks passed
@content-bot content-bot mentioned this pull request Oct 1, 2023
5 tasks
RosenbergYehuda added a commit that referenced this pull request Oct 1, 2023
* Devo bug fix v1.2.8 (#29714)

* Modified the get_time_range function and updated the test cases for all formats of from time input.

* Updated the docker image and created the release notes and a small lint fix.

* Supported Python datetime object format

* Modified the test case for python datetime object.

* Small fix in to_to parameter to accept python datetime object.

* Updated the docker image.

* Updated the release notes.

* Updated the docker image.

* Updated the docker image tag.

* Updated the release notes.

---------

Co-authored-by: Kapil Bisen <kapil@metronlabs.com>
Co-authored-by: manas-metron <108781525+manas-metron@users.noreply.github.com>
Co-authored-by: Sahil Kakad <108385016+sahil-metron@users.noreply.github.com>
Co-authored-by: kapil-metron <58544320+kapil-metron@users.noreply.github.com>

* RN

---------

Co-authored-by: tejashree-metron <121784786+tejashree-metron@users.noreply.github.com>
Co-authored-by: Kapil Bisen <kapil@metronlabs.com>
Co-authored-by: manas-metron <108781525+manas-metron@users.noreply.github.com>
Co-authored-by: Sahil Kakad <108385016+sahil-metron@users.noreply.github.com>
Co-authored-by: kapil-metron <58544320+kapil-metron@users.noreply.github.com>
Co-authored-by: Yehuda <yrosenberg@paloaltonetworks.com>
wolyslager pushed a commit to wolyslager/content that referenced this pull request Oct 2, 2023
* Devo bug fix v1.2.8 (demisto#29714)

* Modified the get_time_range function and updated the test cases for all formats of from time input.

* Updated the docker image and created the release notes and a small lint fix.

* Supported Python datetime object format

* Modified the test case for python datetime object.

* Small fix in to_to parameter to accept python datetime object.

* Updated the docker image.

* Updated the release notes.

* Updated the docker image.

* Updated the docker image tag.

* Updated the release notes.

---------

Co-authored-by: Kapil Bisen <kapil@metronlabs.com>
Co-authored-by: manas-metron <108781525+manas-metron@users.noreply.github.com>
Co-authored-by: Sahil Kakad <108385016+sahil-metron@users.noreply.github.com>
Co-authored-by: kapil-metron <58544320+kapil-metron@users.noreply.github.com>

* RN

---------

Co-authored-by: tejashree-metron <121784786+tejashree-metron@users.noreply.github.com>
Co-authored-by: Kapil Bisen <kapil@metronlabs.com>
Co-authored-by: manas-metron <108781525+manas-metron@users.noreply.github.com>
Co-authored-by: Sahil Kakad <108385016+sahil-metron@users.noreply.github.com>
Co-authored-by: kapil-metron <58544320+kapil-metron@users.noreply.github.com>
Co-authored-by: Yehuda <yrosenberg@paloaltonetworks.com>
xsoar-bot pushed a commit to xsoar-contrib/content that referenced this pull request Oct 5, 2023
* Devo bug fix v1.2.8 (demisto#29714)

* Modified the get_time_range function and updated the test cases for all formats of from time input.

* Updated the docker image and created the release notes and a small lint fix.

* Supported Python datetime object format

* Modified the test case for python datetime object.

* Small fix in to_to parameter to accept python datetime object.

* Updated the docker image.

* Updated the release notes.

* Updated the docker image.

* Updated the docker image tag.

* Updated the release notes.

---------

Co-authored-by: Kapil Bisen <kapil@metronlabs.com>
Co-authored-by: manas-metron <108781525+manas-metron@users.noreply.github.com>
Co-authored-by: Sahil Kakad <108385016+sahil-metron@users.noreply.github.com>
Co-authored-by: kapil-metron <58544320+kapil-metron@users.noreply.github.com>

* RN

---------

Co-authored-by: tejashree-metron <121784786+tejashree-metron@users.noreply.github.com>
Co-authored-by: Kapil Bisen <kapil@metronlabs.com>
Co-authored-by: manas-metron <108781525+manas-metron@users.noreply.github.com>
Co-authored-by: Sahil Kakad <108385016+sahil-metron@users.noreply.github.com>
Co-authored-by: kapil-metron <58544320+kapil-metron@users.noreply.github.com>
Co-authored-by: Yehuda <yrosenberg@paloaltonetworks.com>
sapirshuker pushed a commit that referenced this pull request Dec 21, 2023
* Devo bug fix v1.2.8 (#29714)

* Modified the get_time_range function and updated the test cases for all formats of from time input.

* Updated the docker image and created the release notes and a small lint fix.

* Supported Python datetime object format

* Modified the test case for python datetime object.

* Small fix in to_to parameter to accept python datetime object.

* Updated the docker image.

* Updated the release notes.

* Updated the docker image.

* Updated the docker image tag.

* Updated the release notes.

---------

Co-authored-by: Kapil Bisen <kapil@metronlabs.com>
Co-authored-by: manas-metron <108781525+manas-metron@users.noreply.github.com>
Co-authored-by: Sahil Kakad <108385016+sahil-metron@users.noreply.github.com>
Co-authored-by: kapil-metron <58544320+kapil-metron@users.noreply.github.com>

* RN

---------

Co-authored-by: tejashree-metron <121784786+tejashree-metron@users.noreply.github.com>
Co-authored-by: Kapil Bisen <kapil@metronlabs.com>
Co-authored-by: manas-metron <108781525+manas-metron@users.noreply.github.com>
Co-authored-by: Sahil Kakad <108385016+sahil-metron@users.noreply.github.com>
Co-authored-by: kapil-metron <58544320+kapil-metron@users.noreply.github.com>
Co-authored-by: Yehuda <yrosenberg@paloaltonetworks.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Contribution Form Filled Whether contribution form filled or not. Contribution Thank you! Contributions are always welcome! docs-approved External PR Partner Support Level Indicates that the contribution is for Partner supported pack Partner Partner-Approved pending-contributor The PR is pending the response of its creator post-demo
Projects
None yet
7 participants