Skip to content

Add Export Commands#44944

Open
socautomator wants to merge 4 commits into
demisto:contrib/socautomator_sentinelone-export-commandsfrom
socautomator:sentinelone-export-commands
Open

Add Export Commands#44944
socautomator wants to merge 4 commits into
demisto:contrib/socautomator_sentinelone-export-commandsfrom
socautomator:sentinelone-export-commands

Conversation

@socautomator

@socautomator socautomator commented Jul 3, 2026

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

This PR adds two new commands, that allows to export the threat Timeline and the Threat events from SentinelOne.
The exported timeline / events is stored as a File in XSOAR and can be accessed via the Context.

Must have

  • Tests
  • Documentation

relates: https://jira-dc.paloaltonetworks.com/browse/CIAC-17231

@socautomator socautomator requested a review from Shellyber as a code owner July 3, 2026 12:49
@content-bot content-bot added Community Contribution Form Filled Whether contribution form filled or not. Contribution Thank you! Contributions are always welcome! External PR Partner Support Level Indicates that the contribution is for Partner supported pack labels Jul 3, 2026
@content-bot content-bot changed the base branch from master to contrib/socautomator_sentinelone-export-commands July 3, 2026 12:51
@content-bot content-bot requested a review from kamalq97 July 3, 2026 12:52
@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 @kamalq97 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 @socautomator, thanks for contributing to the XSOAR marketplace. To receive credit for your generous contribution please follow this link.

@content-bot

Copy link
Copy Markdown
Contributor

🤖 AI-Powered Code Review Available

Hi @kamalq97, you can leverage AI-powered code review to assist with this PR!

Available Commands:

  • @marketplace-ai-reviewer start review - Initiate a full AI code review
  • @marketplace-ai-reviewer re-review - Incremental review for new commits

@noydavidi noydavidi self-requested a review July 5, 2026 11:47

@noydavidi noydavidi left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Hey @socautomator, thank you so much for your contribution! the PR looks great. I added some comments and I have two questions:

  1. Why do we need to return the output json as file and not as context as we usually do? what is the use case for it?
  2. Can you please share screenshots or a small demo for the commands?
    Please feel free to tag me again once all the changes are done :)
    Thank you.

Comment thread Packs/SentinelOne/Integrations/SentinelOne-V2/README.md Outdated
Comment thread Packs/SentinelOne/Integrations/SentinelOne-V2/SentinelOne-V2.py Outdated
Comment thread Packs/SentinelOne/Integrations/SentinelOne-V2/README.md Outdated
Comment thread Packs/SentinelOne/Integrations/SentinelOne-V2/SentinelOne-V2.py Outdated
Comment thread Packs/SentinelOne/Integrations/SentinelOne-V2/SentinelOne-V2.py Outdated
Comment thread Packs/SentinelOne/Integrations/SentinelOne-V2/SentinelOne-V2.py Outdated
Comment thread Packs/SentinelOne/Integrations/SentinelOne-V2/SentinelOne-V2.py Outdated
Comment thread Packs/SentinelOne/Integrations/SentinelOne-V2/SentinelOne-V2.py Outdated
Comment thread Packs/SentinelOne/Integrations/SentinelOne-V2/SentinelOne-V2.py
Comment thread Packs/SentinelOne/Integrations/SentinelOne-V2/SentinelOne-V2.py
Co-authored-by: noydavidi <77931201+noydavidi@users.noreply.github.com>
@socautomator

Copy link
Copy Markdown
Contributor Author

@noydavidi I'll have a look at your review today. To answer your first Question: Depending on the Threat, the Events / Timeline can become quite large (i had seen one case, where we had > 1 million characters). That would massively blow up the context, so i choose to write them to a file instead.

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! External PR Partner Support Level Indicates that the contribution is for Partner supported pack

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants