Skip to content

[Zerofox] Key Incidents Integration#39506

Merged
MosheEichler merged 16 commits intocontrib/riskive_zerofox_key_incidents_appfrom
unknown repository
May 6, 2025
Merged

[Zerofox] Key Incidents Integration#39506
MosheEichler merged 16 commits intocontrib/riskive_zerofox_key_incidents_appfrom
unknown repository

Conversation

@DNRRomero
Copy link
Copy Markdown
Contributor

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)

Description

Creates a new Pack for ingesting ZeroFox Key Incidents as Incident data

Must have

  • Tests
  • Documentation

@CLAassistant
Copy link
Copy Markdown

CLAassistant commented Apr 7, 2025

CLA assistant check
All committers have signed the CLA.

@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 Apr 7, 2025
@content-bot content-bot changed the base branch from master to contrib/riskive_zerofox_key_incidents_app April 7, 2025 18:45
@content-bot
Copy link
Copy Markdown
Contributor

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 @MosheEichler 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
Copy Markdown
Contributor

Hi @DNRRomero, thanks for contributing to the XSOAR marketplace. To receive credit for your generous contribution please follow this link.

@MosheEichler
Copy link
Copy Markdown
Contributor

Thank you very much for your contribution! Unfortunately, your PR review will be slightly delayed because of an Israeli holiday in the upcoming week (the 12th of April - the 19th of April). Thank you in advance for your patience and understanding.

@DNRRomero DNRRomero changed the title Zerofox key incidents app [Zerofox] Key Incidents Integration Apr 11, 2025
@DNRRomero
Copy link
Copy Markdown
Contributor Author

Hey @MosheEichler changes are ready for review
I spent a good amount of time correcting release notes for pre-commit hook to pass. However I keep running into errors with IncidentFields and the classifier name.
I would appreciate any help on this 🙏🏽

@MosheEichler
Copy link
Copy Markdown
Contributor

Hey @DNRRomero

Don't worry about the release notes I'll take care of it I just started the review will keep you updated with the next steps Thank you for the contribution

Copy link
Copy Markdown
Contributor

@MosheEichler MosheEichler left a comment

Choose a reason for hiding this comment

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

Hi @DNRRomero,
Thank you for your contribution!
Good work :)

Please see my comments

Feel free to reach out to me with any questions - I'm available here or on slack :)
Thanks again

Comment thread Packs/ZeroFox/Integrations/ZeroFoxKeyIncidents/ZeroFoxKeyIncidents.yml Outdated
Comment thread Packs/ZeroFox/Integrations/ZeroFoxKeyIncidents/ZeroFoxKeyIncidents.yml Outdated
Comment thread Packs/ZeroFox/Integrations/ZeroFoxKeyIncidents/ZeroFoxKeyIncidents.yml Outdated
Comment thread Packs/ZeroFox/Integrations/ZeroFoxKeyIncidents/ZeroFoxKeyIncidents.py Outdated
@MosheEichler MosheEichler added pending-contributor The PR is pending the response of its creator Pending-Partner labels Apr 21, 2025
Copy link
Copy Markdown
Collaborator

@Benimanela Benimanela left a comment

Choose a reason for hiding this comment

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

Hi @DNRRomero, Thanks for contributing!
Please find below some feedback to help align with content standards and best practices.


General:

  • Run the demisto-sdk format command on all files to ensure they follow the correct structure.

Mapper:

  • Update the id field to use the integration name (this should be handled automatically by the format command).

Incident Fields:

  • Prefix all incident field names with ZeroFox, e.g., AnalysisZeroFox Analysis.
  • Replace headline with the standard title common field, if applicable.

Incident Type:

  • Update the associated layout reference from layout ID to layout name.

Layout:

  • Update both layout id and layout name fields to reflect the actual layout name (should be handled by the format command).
  • Ensure headline and tags fields are properly mapped in the layout.

Let me know once the fixes are in place so I can take another look.

@DNRRomero
Copy link
Copy Markdown
Contributor Author

Hi @MosheEichler , @Benimanela Thank you so much for your help
I worked on both your comments, let me know anything else you may need

@Benimanela
Copy link
Copy Markdown
Collaborator

Hi @DNRRomero, I saw your changes. What about these points?

Incident Fields:

Prefix all incident field names with ZeroFox, e.g., Analysis → ZeroFox Analysis.
Replace headline with the standard title common field, if applicable.
Layout:

Ensure headline and tags fields are properly mapped in the layout.

@DNRRomero
Copy link
Copy Markdown
Contributor Author

Hi @DNRRomero, I saw your changes. What about these points?

Incident Fields:

Prefix all incident field names with ZeroFox, e.g., Analysis → ZeroFox Analysis. Replace headline with the standard title common field, if applicable. Layout:

Ensure headline and tags fields are properly mapped in the layout.

Hey @Benimanela I already did those changes, pre -commit is failing due to something else

Copy link
Copy Markdown
Collaborator

@Benimanela Benimanela left a comment

Choose a reason for hiding this comment

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

Hi @DNRRomero, Thank you for your updates.
Please ensure you're using the demisto-sdk format for the incident fields, and update the IDs as I mentioned above.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Change the id to incident_zerofoxkeyincidentanalysis

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

done!

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Change the id to incident_zerofoxkeyincidentheadline

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

done!

@DNRRomero DNRRomero requested a review from Benimanela April 25, 2025 02:44
@DNRRomero
Copy link
Copy Markdown
Contributor Author

hey @Benimanela demisto-sdk format did not throw any corrections. I did add your comments though, thank you!

@MosheEichler
Copy link
Copy Markdown
Contributor

Hi @DNRRomero, the code looks good!

We're ready for a demo. Please check this page, and let me know when you're available for one over DFIR.
Feel free also to send me a recording of a demo.

@MosheEichler MosheEichler added pending-demo Demo pending docs-approved Security Approved If a contribution has been approved for merge by the security team, then this will allow a merge labels Apr 27, 2025
@MosheEichler MosheEichler merged commit ca124f4 into demisto:contrib/riskive_zerofox_key_incidents_app May 6, 2025
19 of 23 checks passed
@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 6, 2025

Thank you for your contribution. Your external PR has been merged and the changes are now included in an internal PR for further review. The internal PR will be merged to the master branch within 3 business days.

MosheEichler added a commit that referenced this pull request May 11, 2025
* [Zerofox] Key Incidents Integration (#39506)

* Add new base application (#142)

* Format applications (#144)

* add key incident client (#145)

* add key incident attachment method (#146)

* Add simple key mapper (#147)

* add incident type, incident type field and layout to ZeroFox Key Incident Pack (#149)

* Add Fetch Incidents (#148)

* add key incident attachment command (#150)

* fix classifier, layout and incident type formats (#152)

* update release notes

* move key incidents package to zerofox pack (#153)

* Move key incidents integration to zerofox pack

* correct pack readme to include zerofox ki integration

* improve unit tests in ki integration (#154)

* rename integration to ZeroFoxKeyIncidents

* update release notes

* correct incident field names

* format ZeroFox pack files

---------

Co-authored-by: Leonardo de Requeséns <[email protected]>

* post demo fixes

* fix incident name

* ignore

* fix incident name

---------

Co-authored-by: Diego Ramirez R <[email protected]>
Co-authored-by: Leonardo de Requeséns <[email protected]>
Co-authored-by: meichler <[email protected]>
TOUFIKIzakarya pushed a commit to TOUFIKIzakarya/content that referenced this pull request May 22, 2025
* [Zerofox] Key Incidents Integration (demisto#39506)

* Add new base application (demisto#142)

* Format applications (demisto#144)

* add key incident client (demisto#145)

* add key incident attachment method (demisto#146)

* Add simple key mapper (demisto#147)

* add incident type, incident type field and layout to ZeroFox Key Incident Pack (demisto#149)

* Add Fetch Incidents (demisto#148)

* add key incident attachment command (demisto#150)

* fix classifier, layout and incident type formats (demisto#152)

* update release notes

* move key incidents package to zerofox pack (demisto#153)

* Move key incidents integration to zerofox pack

* correct pack readme to include zerofox ki integration

* improve unit tests in ki integration (demisto#154)

* rename integration to ZeroFoxKeyIncidents

* update release notes

* correct incident field names

* format ZeroFox pack files

---------

Co-authored-by: Leonardo de Requeséns <[email protected]>

* post demo fixes

* fix incident name

* ignore

* fix incident name

---------

Co-authored-by: Diego Ramirez R <[email protected]>
Co-authored-by: Leonardo de Requeséns <[email protected]>
Co-authored-by: meichler <[email protected]>
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 pending-demo Demo pending Pending-Partner Security Approved If a contribution has been approved for merge by the security team, then this will allow a merge Security Review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants