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

Added context output and indicator tagging to CreateIndicatorsFromStix #31140

Merged
merged 36 commits into from Dec 14, 2023
Merged

Added context output and indicator tagging to CreateIndicatorsFromStix #31140

merged 36 commits into from Dec 14, 2023

Conversation

mohlcyber
Copy link
Contributor

Status

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

Description

  • Added argument context argument for context output to !CreateIndicatorsFromSTIX
  • Added argument tags argument for indicator tagging to !CreateIndicatorsFromSTIX

Must have

  • Tests
  • Documentation

@content-bot content-bot added Community Contribution Form Filled Whether contribution form filled or not. Contribution Thank you! Contributions are always welcome! External PR Xsoar Support Level Indicates that the contribution is for XSOAR supported pack labels Nov 27, 2023
@content-bot content-bot changed the base branch from master to contrib/mohlcyber_contrib-mohlcyber-CreateIndicatorsFromSTIX November 27, 2023 14:29
@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 @adi88d will know the proposed changes are ready to be reviewed.
For your convenience, here is a link to the contributions SLAs document.

@content-bot
Copy link
Collaborator

Hi @mohlcyber, thanks for contributing to a Cortex XSOAR supported pack. To receive credit for your generous contribution please follow this link.

…mSTIX' into contrib-mohlcyber-CreateIndicatorsFromSTIX
Copy link
Contributor

@adi88d adi88d left a comment

Choose a reason for hiding this comment

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

Great Job!
Thanks a lot for this contribution, It is highly appreciated.
I added some review comments and suggestion:

  • Please fix the failed tests in CreateIndicatorsFromSTIX_test.py file.
  • Add to the file also tests for create_indicators_loop method to check the results with/ without context and tags arguments.
  • see my other comments below

@adi88d adi88d added the pending-contributor The PR is pending the response of its creator label Nov 28, 2023
@adi88d
Copy link
Contributor

adi88d commented Dec 3, 2023

Hi @mohlcyber , we haven’t heard from you in a while.
Do you need any help with the pull request?

Please feel free to reach out to me here or on Slack.
Thanks again for contributing to our repo, hope to hear from you soon.

@ShirleyDenkberg
Copy link
Contributor

@adi88d Doc review completed.

adi88d and others added 5 commits December 14, 2023 14:40
…icatorsFromSTIX.yml

Co-authored-by: ShirleyDenkberg <62508050+ShirleyDenkberg@users.noreply.github.com>
…icatorsFromSTIX.yml

Co-authored-by: ShirleyDenkberg <62508050+ShirleyDenkberg@users.noreply.github.com>
…icatorsFromSTIX.yml

Co-authored-by: ShirleyDenkberg <62508050+ShirleyDenkberg@users.noreply.github.com>
Co-authored-by: ShirleyDenkberg <62508050+ShirleyDenkberg@users.noreply.github.com>
Co-authored-by: ShirleyDenkberg <62508050+ShirleyDenkberg@users.noreply.github.com>
@adi88d adi88d self-requested a review December 14, 2023 12:41
Copy link
Contributor

@adi88d adi88d left a comment

Choose a reason for hiding this comment

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

Nice job!

@adi88d adi88d merged commit b37d60b into demisto:contrib/mohlcyber_contrib-mohlcyber-CreateIndicatorsFromSTIX Dec 14, 2023
12 of 14 checks passed
adi88d added a commit that referenced this pull request Dec 14, 2023
#31485)

* Added context output and indicator tagging to CreateIndicatorsFromStix (#31140)

* Added context output and tagging to CreateIndicatorsFromSTIX.py

* Removed Spaces in CommandResults

* Added Release Note
Bumped Up Version to 1.12.50

* Update Packs/CommonScripts/Scripts/CreateIndicatorsFromSTIX/CreateIndicatorsFromSTIX.py

Co-authored-by: Adi Daud <46249224+adi88d@users.noreply.github.com>

* Update Packs/CommonScripts/Scripts/CreateIndicatorsFromSTIX/CreateIndicatorsFromSTIX.py

Co-authored-by: Adi Daud <46249224+adi88d@users.noreply.github.com>

* Update Packs/CommonScripts/Scripts/CreateIndicatorsFromSTIX/CreateIndicatorsFromSTIX.yml

Co-authored-by: Adi Daud <46249224+adi88d@users.noreply.github.com>

* Update Packs/CommonScripts/ReleaseNotes/1_12_50.md

Co-authored-by: Adi Daud <46249224+adi88d@users.noreply.github.com>

* Update Packs/CommonScripts/Scripts/CreateIndicatorsFromSTIX/CreateIndicatorsFromSTIX.py

Co-authored-by: Adi Daud <46249224+adi88d@users.noreply.github.com>

* fixes in CreateIndicatorsFromSTIX.py

* Updated YML

* Updated CreateIndicatorsFromSTIX_test.py

* Updated CreateIndicatorsFromSTIX_test.py

* Updated Docker Image Version

* Updated Release notes to align with docker version

* Added Tags to context output.

* Added outputs to CreateIndicatorsFromSTIX.yml

* Bumped up Docker Image version in Release Note and YML
Added additional asserts in test

* Adjusted Version

* Updated README.md

* Updated CreateIndicatorsFromSTIX.yml with description periods.

* Added CONTRIBUTORS.json

* Deleted CONTRIBUTORS.json

* Update 1_13_5.md

* Update CreateIndicatorsFromSTIX.yml

* Update README.md

* Update README.md

* Update Packs/CommonScripts/Scripts/CreateIndicatorsFromSTIX/CreateIndicatorsFromSTIX.yml

Co-authored-by: ShirleyDenkberg <62508050+ShirleyDenkberg@users.noreply.github.com>

* Update Packs/CommonScripts/Scripts/CreateIndicatorsFromSTIX/CreateIndicatorsFromSTIX.yml

Co-authored-by: ShirleyDenkberg <62508050+ShirleyDenkberg@users.noreply.github.com>

* Update Packs/CommonScripts/Scripts/CreateIndicatorsFromSTIX/CreateIndicatorsFromSTIX.yml

Co-authored-by: ShirleyDenkberg <62508050+ShirleyDenkberg@users.noreply.github.com>

* Update Packs/CommonScripts/Scripts/CreateIndicatorsFromSTIX/README.md

Co-authored-by: ShirleyDenkberg <62508050+ShirleyDenkberg@users.noreply.github.com>

* Update Packs/CommonScripts/Scripts/CreateIndicatorsFromSTIX/README.md

Co-authored-by: ShirleyDenkberg <62508050+ShirleyDenkberg@users.noreply.github.com>

---------

Co-authored-by: Adi Daud <46249224+adi88d@users.noreply.github.com>
Co-authored-by: ShirleyDenkberg <62508050+ShirleyDenkberg@users.noreply.github.com>

* merge from master

---------

Co-authored-by: Martin Ohl <Martin.Ohl@ohl-net.eu>
Co-authored-by: Adi Daud <46249224+adi88d@users.noreply.github.com>
Co-authored-by: ShirleyDenkberg <62508050+ShirleyDenkberg@users.noreply.github.com>
Co-authored-by: adi88d <adaud@paloaltonetworks.com>
sapirshuker pushed a commit that referenced this pull request Dec 21, 2023
#31485)

* Added context output and indicator tagging to CreateIndicatorsFromStix (#31140)

* Added context output and tagging to CreateIndicatorsFromSTIX.py

* Removed Spaces in CommandResults

* Added Release Note
Bumped Up Version to 1.12.50

* Update Packs/CommonScripts/Scripts/CreateIndicatorsFromSTIX/CreateIndicatorsFromSTIX.py

Co-authored-by: Adi Daud <46249224+adi88d@users.noreply.github.com>

* Update Packs/CommonScripts/Scripts/CreateIndicatorsFromSTIX/CreateIndicatorsFromSTIX.py

Co-authored-by: Adi Daud <46249224+adi88d@users.noreply.github.com>

* Update Packs/CommonScripts/Scripts/CreateIndicatorsFromSTIX/CreateIndicatorsFromSTIX.yml

Co-authored-by: Adi Daud <46249224+adi88d@users.noreply.github.com>

* Update Packs/CommonScripts/ReleaseNotes/1_12_50.md

Co-authored-by: Adi Daud <46249224+adi88d@users.noreply.github.com>

* Update Packs/CommonScripts/Scripts/CreateIndicatorsFromSTIX/CreateIndicatorsFromSTIX.py

Co-authored-by: Adi Daud <46249224+adi88d@users.noreply.github.com>

* fixes in CreateIndicatorsFromSTIX.py

* Updated YML

* Updated CreateIndicatorsFromSTIX_test.py

* Updated CreateIndicatorsFromSTIX_test.py

* Updated Docker Image Version

* Updated Release notes to align with docker version

* Added Tags to context output.

* Added outputs to CreateIndicatorsFromSTIX.yml

* Bumped up Docker Image version in Release Note and YML
Added additional asserts in test

* Adjusted Version

* Updated README.md

* Updated CreateIndicatorsFromSTIX.yml with description periods.

* Added CONTRIBUTORS.json

* Deleted CONTRIBUTORS.json

* Update 1_13_5.md

* Update CreateIndicatorsFromSTIX.yml

* Update README.md

* Update README.md

* Update Packs/CommonScripts/Scripts/CreateIndicatorsFromSTIX/CreateIndicatorsFromSTIX.yml

Co-authored-by: ShirleyDenkberg <62508050+ShirleyDenkberg@users.noreply.github.com>

* Update Packs/CommonScripts/Scripts/CreateIndicatorsFromSTIX/CreateIndicatorsFromSTIX.yml

Co-authored-by: ShirleyDenkberg <62508050+ShirleyDenkberg@users.noreply.github.com>

* Update Packs/CommonScripts/Scripts/CreateIndicatorsFromSTIX/CreateIndicatorsFromSTIX.yml

Co-authored-by: ShirleyDenkberg <62508050+ShirleyDenkberg@users.noreply.github.com>

* Update Packs/CommonScripts/Scripts/CreateIndicatorsFromSTIX/README.md

Co-authored-by: ShirleyDenkberg <62508050+ShirleyDenkberg@users.noreply.github.com>

* Update Packs/CommonScripts/Scripts/CreateIndicatorsFromSTIX/README.md

Co-authored-by: ShirleyDenkberg <62508050+ShirleyDenkberg@users.noreply.github.com>

---------

Co-authored-by: Adi Daud <46249224+adi88d@users.noreply.github.com>
Co-authored-by: ShirleyDenkberg <62508050+ShirleyDenkberg@users.noreply.github.com>

* merge from master

---------

Co-authored-by: Martin Ohl <Martin.Ohl@ohl-net.eu>
Co-authored-by: Adi Daud <46249224+adi88d@users.noreply.github.com>
Co-authored-by: ShirleyDenkberg <62508050+ShirleyDenkberg@users.noreply.github.com>
Co-authored-by: adi88d <adaud@paloaltonetworks.com>
maimorag pushed a commit that referenced this pull request Dec 31, 2023
#31485)

* Added context output and indicator tagging to CreateIndicatorsFromStix (#31140)

* Added context output and tagging to CreateIndicatorsFromSTIX.py

* Removed Spaces in CommandResults

* Added Release Note
Bumped Up Version to 1.12.50

* Update Packs/CommonScripts/Scripts/CreateIndicatorsFromSTIX/CreateIndicatorsFromSTIX.py

Co-authored-by: Adi Daud <46249224+adi88d@users.noreply.github.com>

* Update Packs/CommonScripts/Scripts/CreateIndicatorsFromSTIX/CreateIndicatorsFromSTIX.py

Co-authored-by: Adi Daud <46249224+adi88d@users.noreply.github.com>

* Update Packs/CommonScripts/Scripts/CreateIndicatorsFromSTIX/CreateIndicatorsFromSTIX.yml

Co-authored-by: Adi Daud <46249224+adi88d@users.noreply.github.com>

* Update Packs/CommonScripts/ReleaseNotes/1_12_50.md

Co-authored-by: Adi Daud <46249224+adi88d@users.noreply.github.com>

* Update Packs/CommonScripts/Scripts/CreateIndicatorsFromSTIX/CreateIndicatorsFromSTIX.py

Co-authored-by: Adi Daud <46249224+adi88d@users.noreply.github.com>

* fixes in CreateIndicatorsFromSTIX.py

* Updated YML

* Updated CreateIndicatorsFromSTIX_test.py

* Updated CreateIndicatorsFromSTIX_test.py

* Updated Docker Image Version

* Updated Release notes to align with docker version

* Added Tags to context output.

* Added outputs to CreateIndicatorsFromSTIX.yml

* Bumped up Docker Image version in Release Note and YML
Added additional asserts in test

* Adjusted Version

* Updated README.md

* Updated CreateIndicatorsFromSTIX.yml with description periods.

* Added CONTRIBUTORS.json

* Deleted CONTRIBUTORS.json

* Update 1_13_5.md

* Update CreateIndicatorsFromSTIX.yml

* Update README.md

* Update README.md

* Update Packs/CommonScripts/Scripts/CreateIndicatorsFromSTIX/CreateIndicatorsFromSTIX.yml

Co-authored-by: ShirleyDenkberg <62508050+ShirleyDenkberg@users.noreply.github.com>

* Update Packs/CommonScripts/Scripts/CreateIndicatorsFromSTIX/CreateIndicatorsFromSTIX.yml

Co-authored-by: ShirleyDenkberg <62508050+ShirleyDenkberg@users.noreply.github.com>

* Update Packs/CommonScripts/Scripts/CreateIndicatorsFromSTIX/CreateIndicatorsFromSTIX.yml

Co-authored-by: ShirleyDenkberg <62508050+ShirleyDenkberg@users.noreply.github.com>

* Update Packs/CommonScripts/Scripts/CreateIndicatorsFromSTIX/README.md

Co-authored-by: ShirleyDenkberg <62508050+ShirleyDenkberg@users.noreply.github.com>

* Update Packs/CommonScripts/Scripts/CreateIndicatorsFromSTIX/README.md

Co-authored-by: ShirleyDenkberg <62508050+ShirleyDenkberg@users.noreply.github.com>

---------

Co-authored-by: Adi Daud <46249224+adi88d@users.noreply.github.com>
Co-authored-by: ShirleyDenkberg <62508050+ShirleyDenkberg@users.noreply.github.com>

* merge from master

---------

Co-authored-by: Martin Ohl <Martin.Ohl@ohl-net.eu>
Co-authored-by: Adi Daud <46249224+adi88d@users.noreply.github.com>
Co-authored-by: ShirleyDenkberg <62508050+ShirleyDenkberg@users.noreply.github.com>
Co-authored-by: adi88d <adaud@paloaltonetworks.com>
@mohlcyber mohlcyber deleted the contrib-mohlcyber-CreateIndicatorsFromSTIX branch February 2, 2024 16:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Community Contribution Form Filled Whether contribution form filled or not. Contribution Thank you! Contributions are always welcome! docs-approved External PR pending-contributor The PR is pending the response of its creator Xsoar Support Level Indicates that the contribution is for XSOAR supported pack
Projects
None yet
4 participants