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

[ASM] EXPANDR-1576 - Remediaiton guidance API changes #30374

Merged
merged 34 commits into from Oct 30, 2023

Conversation

capanw
Copy link
Contributor

@capanw capanw commented Oct 24, 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

https://jira-dc.paloaltonetworks.com/browse/EXPANDR-1576

Description

Makes changes to use Remediation Guidance API.

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 Oct 24, 2023
@content-bot content-bot changed the base branch from master to contrib/capanw_EXPANDR-1576 October 24, 2023 17:01
@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 @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
Collaborator

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

@capanw capanw changed the base branch from contrib/capanw_EXPANDR-1576 to master October 24, 2023 17:20
@capanw
Copy link
Contributor Author

capanw commented Oct 24, 2023

@johnnywilkes @BigEasyJ Please review when you guys get a chance

@capanw capanw marked this pull request as draft October 24, 2023 17:21
@melamedbn melamedbn removed their request for review October 25, 2023 10:49
@johnnywilkes
Copy link
Contributor

@ShirleyDenkberg , can you please review?

Copy link
Contributor

@johnnywilkes johnnywilkes left a comment

Choose a reason for hiding this comment

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

@capanw , some small things to fix

capanw and others added 16 commits October 26, 2023 14:27
…viceNow_Notification_README.md

Co-authored-by: ShirleyDenkberg <62508050+ShirleyDenkberg@users.noreply.github.com>
Co-authored-by: ShirleyDenkberg <62508050+ShirleyDenkberg@users.noreply.github.com>
…urfaceManagement/README.md

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

Co-authored-by: ShirleyDenkberg <62508050+ShirleyDenkberg@users.noreply.github.com>
…urfaceManagement/README.md

Co-authored-by: ShirleyDenkberg <62508050+ShirleyDenkberg@users.noreply.github.com>
…urfaceManagement/README.md

Co-authored-by: ShirleyDenkberg <62508050+ShirleyDenkberg@users.noreply.github.com>
…urfaceManagement/README.md

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

Co-authored-by: ShirleyDenkberg <62508050+ShirleyDenkberg@users.noreply.github.com>
…urfaceManagement/README.md

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

Co-authored-by: ShirleyDenkberg <62508050+ShirleyDenkberg@users.noreply.github.com>
…il_Notification.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>
@capanw capanw changed the base branch from master to contrib/capanw_EXPANDR-1576 October 27, 2023 00:25
Copy link
Contributor

@johnnywilkes johnnywilkes left a comment

Choose a reason for hiding this comment

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

@capanw , thanks for making the changes

@@ -306,7 +260,12 @@ inputs:
required: true
description: Body of the notification (email or ticket) sent to the potential service owner.
playbookInputQuery:
- key: RemediationGuidance
value: {}
required: true
Copy link
Contributor

Choose a reason for hiding this comment

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

Does this need to be required?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

In the "Cortex ASM - Remediation Guidance" playbook, we set the RemediationGuidance key regardless if the Remediation guidance is available or not. So, we will always have this key set. Hence, made this required for the Email/Jira/ServiceNow playbooks

@@ -283,7 +237,12 @@ inputs:
required: true
description: The Jira project key to associate with the issue.
playbookInputQuery:
- key: RemediationGuidance
value: {}
required: true
Copy link
Contributor

Choose a reason for hiding this comment

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

Does this need to be required?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Same as above

@@ -258,7 +213,12 @@ inputs:
required: true
description: Body of the notification (email or ticket) sent to the potential service owner.
playbookInputQuery:
- key: RemediationGuidance
value: {}
required: true
Copy link
Contributor

Choose a reason for hiding this comment

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

Does this need to be required?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Same as above

@capanw capanw marked this pull request as ready for review October 27, 2023 15:45
@MosheEichler MosheEichler merged commit dfed641 into demisto:contrib/capanw_EXPANDR-1576 Oct 30, 2023
11 of 14 checks passed
MosheEichler added a commit that referenced this pull request Oct 30, 2023
* Remediaiton guidance API changes

* Release notes updates

* Fixes

* Update readme

* Misc changes to release notes

* Misc changes

* Update docker tags

* Updated results and response files

* Reverting few changes

* Updated logic

* Updated wording on inputs

* Misc changes

* Updated release version

* Udpated if logic condition

* Description changes

* Update Packs/CortexAttackSurfaceManagement/Playbooks/Cortex_ASM_-_ServiceNow_Notification_README.md



* Update Packs/CortexAttackSurfaceManagement/ReleaseNotes/1_7_8.md



* Update Packs/CortexAttackSurfaceManagement/Integrations/CortexAttackSurfaceManagement/README.md



* Update Packs/CortexAttackSurfaceManagement/Playbooks/Cortex_ASM_-_Jira_Notification_README.md



* Update Packs/CortexAttackSurfaceManagement/Integrations/CortexAttackSurfaceManagement/README.md



* Update Packs/CortexAttackSurfaceManagement/Integrations/CortexAttackSurfaceManagement/README.md



* Update Packs/CortexAttackSurfaceManagement/Integrations/CortexAttackSurfaceManagement/README.md



* Update Packs/CortexAttackSurfaceManagement/Playbooks/Cortex_ASM_-_Jira_Notification.yml



* Update Packs/CortexAttackSurfaceManagement/Integrations/CortexAttackSurfaceManagement/README.md



* Update Packs/CortexAttackSurfaceManagement/Playbooks/Cortex_ASM_-_ASM_Alert.yml



* Update Packs/CortexAttackSurfaceManagement/Playbooks/Cortex_ASM_-_Email_Notification.yml



* Update Packs/CortexAttackSurfaceManagement/ReleaseNotes/1_7_8.md



* Update Packs/CortexAttackSurfaceManagement/ReleaseNotes/1_7_8.md



* Read me updates

---------

Co-authored-by: Chait A <112722030+capanw@users.noreply.github.com>
Co-authored-by: John <40349459+BigEasyJ@users.noreply.github.com>
Co-authored-by: ShirleyDenkberg <62508050+ShirleyDenkberg@users.noreply.github.com>
Co-authored-by: Moshe Eichler <78307768+MosheEichler@users.noreply.github.com>
sharonfi99 pushed a commit that referenced this pull request Oct 31, 2023
* Remediaiton guidance API changes

* Release notes updates

* Fixes

* Update readme

* Misc changes to release notes

* Misc changes

* Update docker tags

* Updated results and response files

* Reverting few changes

* Updated logic

* Updated wording on inputs

* Misc changes

* Updated release version

* Udpated if logic condition

* Description changes

* Update Packs/CortexAttackSurfaceManagement/Playbooks/Cortex_ASM_-_ServiceNow_Notification_README.md



* Update Packs/CortexAttackSurfaceManagement/ReleaseNotes/1_7_8.md



* Update Packs/CortexAttackSurfaceManagement/Integrations/CortexAttackSurfaceManagement/README.md



* Update Packs/CortexAttackSurfaceManagement/Playbooks/Cortex_ASM_-_Jira_Notification_README.md



* Update Packs/CortexAttackSurfaceManagement/Integrations/CortexAttackSurfaceManagement/README.md



* Update Packs/CortexAttackSurfaceManagement/Integrations/CortexAttackSurfaceManagement/README.md



* Update Packs/CortexAttackSurfaceManagement/Integrations/CortexAttackSurfaceManagement/README.md



* Update Packs/CortexAttackSurfaceManagement/Playbooks/Cortex_ASM_-_Jira_Notification.yml



* Update Packs/CortexAttackSurfaceManagement/Integrations/CortexAttackSurfaceManagement/README.md



* Update Packs/CortexAttackSurfaceManagement/Playbooks/Cortex_ASM_-_ASM_Alert.yml



* Update Packs/CortexAttackSurfaceManagement/Playbooks/Cortex_ASM_-_Email_Notification.yml



* Update Packs/CortexAttackSurfaceManagement/ReleaseNotes/1_7_8.md



* Update Packs/CortexAttackSurfaceManagement/ReleaseNotes/1_7_8.md



* Read me updates

---------

Co-authored-by: Chait A <112722030+capanw@users.noreply.github.com>
Co-authored-by: John <40349459+BigEasyJ@users.noreply.github.com>
Co-authored-by: ShirleyDenkberg <62508050+ShirleyDenkberg@users.noreply.github.com>
Co-authored-by: Moshe Eichler <78307768+MosheEichler@users.noreply.github.com>
sapirshuker pushed a commit that referenced this pull request Dec 21, 2023
* Remediaiton guidance API changes

* Release notes updates

* Fixes

* Update readme

* Misc changes to release notes

* Misc changes

* Update docker tags

* Updated results and response files

* Reverting few changes

* Updated logic

* Updated wording on inputs

* Misc changes

* Updated release version

* Udpated if logic condition

* Description changes

* Update Packs/CortexAttackSurfaceManagement/Playbooks/Cortex_ASM_-_ServiceNow_Notification_README.md



* Update Packs/CortexAttackSurfaceManagement/ReleaseNotes/1_7_8.md



* Update Packs/CortexAttackSurfaceManagement/Integrations/CortexAttackSurfaceManagement/README.md



* Update Packs/CortexAttackSurfaceManagement/Playbooks/Cortex_ASM_-_Jira_Notification_README.md



* Update Packs/CortexAttackSurfaceManagement/Integrations/CortexAttackSurfaceManagement/README.md



* Update Packs/CortexAttackSurfaceManagement/Integrations/CortexAttackSurfaceManagement/README.md



* Update Packs/CortexAttackSurfaceManagement/Integrations/CortexAttackSurfaceManagement/README.md



* Update Packs/CortexAttackSurfaceManagement/Playbooks/Cortex_ASM_-_Jira_Notification.yml



* Update Packs/CortexAttackSurfaceManagement/Integrations/CortexAttackSurfaceManagement/README.md



* Update Packs/CortexAttackSurfaceManagement/Playbooks/Cortex_ASM_-_ASM_Alert.yml



* Update Packs/CortexAttackSurfaceManagement/Playbooks/Cortex_ASM_-_Email_Notification.yml



* Update Packs/CortexAttackSurfaceManagement/ReleaseNotes/1_7_8.md



* Update Packs/CortexAttackSurfaceManagement/ReleaseNotes/1_7_8.md



* Read me updates

---------

Co-authored-by: Chait A <112722030+capanw@users.noreply.github.com>
Co-authored-by: John <40349459+BigEasyJ@users.noreply.github.com>
Co-authored-by: ShirleyDenkberg <62508050+ShirleyDenkberg@users.noreply.github.com>
Co-authored-by: Moshe Eichler <78307768+MosheEichler@users.noreply.github.com>
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 ignore-auto-bump-version Not to run autobump release notes job on this pr. Security Review Xsoar Support Level Indicates that the contribution is for XSOAR supported pack
Projects
None yet
8 participants