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

[Pack][IdentityRecordedFuture][v2.0.3] #36305

Open
wants to merge 3 commits into
base: contrib/recordedfuture-dev_identityrecordedfuture_pack_update_2024_09
Choose a base branch
from

Conversation

recordedfuture-dev
Copy link
Contributor

Identity Recorded Future Pack v2.0.3

Contributing to Cortex XSOAR Content

Status

  • Ready

Description

Integrations

Recorded Future Identity
  • Added reopen arguments to the recordedfuture-identity-playbook-alerts-update command.
  • Updated the Docker image to: demisto/python3:3.11.10.111039.

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 12, 2024
@content-bot content-bot changed the base branch from master to contrib/recordedfuture-dev_identityrecordedfuture_pack_update_2024_09 September 12, 2024 18:40
@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 @rshunim 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 @recordedfuture-dev, thanks for contributing to the XSOAR marketplace. To receive credit for your generous contribution please follow this link.

@rshunim
Copy link
Contributor

rshunim commented Sep 15, 2024

Hi @recordedfuture-dev, thanks for your contribution.
Starting reviewing the pr

Copy link
Contributor

@rshunim rshunim left a comment

Choose a reason for hiding this comment

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

Hi @recordedfuture-dev, good job!

  1. I just wanted to clarify, the reopen argument is now added to the recordedfuture-identity-playbook-alerts-update command when you build a dictionary of json_data and put the arguments in line 40. Do I understand correctly?
    (Is this the only place?)

  2. Please change the value of "server_url" key in the test file line 1268
    "server_url": "https://mockurl"
    The secret is failed. (Using a clear url is not a secret)

  3. Please see my comment

Thanks


##### Recorded Future Identity

- Added **reopen** arguments to the **recordedfuture-identity-playbook-alerts-update** command.
Copy link
Contributor

@rshunim rshunim Sep 15, 2024

Choose a reason for hiding this comment

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

Suggested change
- Added **reopen** arguments to the **recordedfuture-identity-playbook-alerts-update** command.
- Added the *reopen* argument to the ***recordedfuture-identity-playbook-alerts-update*** command.

attachments = []
incident_json = json.loads(incident.get("rawJSON", "{}"))
if incident_json.get("panel_evidence_summary", {}).get("screenshots"):
for screenshot_data in incident_json["panel_evidence_summary"][
Copy link
Contributor

Choose a reason for hiding this comment

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

The code will throw here an exception if incident_json["panel_evidence_summary"]["screenshots"] does not exist. Is that ok for you?

@rshunim
Copy link
Contributor

rshunim commented Sep 15, 2024

@ShirleyDenkberg Please review this pr

@ShirleyDenkberg
Copy link
Contributor

@rshunim Doc review completed.

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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants