Skip to content

Cyberwatch integration 1.0.4 #40695

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

Merged
merged 3 commits into from
Aug 20, 2025
Merged

Conversation

tarraschk
Copy link
Contributor

Status

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

Related Issues

N/A

Description

Allows Cortex to fetch new data (metadata + compliance scans) from Cyberwatch.

Allows Cortex to send metadata to Cyberwatch.

Must have

  • Tests
  • Documentation

@content-bot content-bot added Partner-Approved Contribution Form Filled Whether contribution form filled or not. Partner Contribution Thank you! Contributions are always welcome! External PR Partner Support Level Indicates that the contribution is for Partner supported pack labels Jul 23, 2025
@content-bot content-bot changed the base branch from master to contrib/Galeax_master-1 July 23, 2025 07:18
@content-bot content-bot requested a review from merit-maita July 23, 2025 07:18
@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 @merit-maita 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 @tarraschk, thanks for contributing to the XSOAR marketplace. To receive credit for your generous contribution please follow this link.

Copy link
Contributor

@merit-maita merit-maita left a comment

Choose a reason for hiding this comment

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

Hello
thank you so much for your contribution, it looks great.
i added a couple of comments please go over them, and if any help is needed let me know, you can reach out to me via slack DFIR (merit maayta)
thanks!

@merit-maita merit-maita added the pending-contributor The PR is pending the response of its creator label Jul 27, 2025
@merit-maita
Copy link
Contributor

@tarraschk any update?

@tarraschk
Copy link
Contributor Author

@tarraschk any update?

Hello @merit-maita thank you for your message. @AmineHazi should be able to make a new push this week.

@merit-maita
Copy link
Contributor

@tarraschk any update?

@CLAassistant
Copy link

CLAassistant commented Aug 10, 2025

CLA assistant check
All committers have signed the CLA.

@AmineHazi
Copy link
Contributor

Hello @merit-maita, sorry for the late update, the issues should be all fixed in the new commits ! let me know if there are other changes that you would like me to do, have a nice day.

Copy link
Contributor

@merit-maita merit-maita left a comment

Choose a reason for hiding this comment

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

thanks for the update, i added just a couple of comments, more to that, let's set up a demo, feel free to contact me over slack DFIR (merit maayta) or by mail (mmaayta@paloaltonetworks.com) to set a call

assets = client.get_sysadmin_assets(args)

if len(assets) == 0:
return demisto.results("No Sysadmin assets found.")
Copy link
Contributor

Choose a reason for hiding this comment

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

we no longer use demisto.results() please use return_results

Suggested change
return demisto.results("No Sysadmin assets found.")
return_results("No Sysadmin assets found.")

asset = client.get_sysadmin_one_asset(args)

if len(asset) == 0:
return demisto.results(f"Sysadmin asset with {args.get('id')} not found.")
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
return demisto.results(f"Sysadmin asset with {args.get('id')} not found.")
return_results(f"Sysadmin asset with {args.get('id')} not found.")

asset = client.get_compliance_one_asset(args)

if len(asset) == 0:
return demisto.results(f"Compliance asset with {args.get('id')} not found.")
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
return demisto.results(f"Compliance asset with {args.get('id')} not found.")
return_results(f"Compliance asset with {args.get('id')} not found.")

assets = client.get_compliance_assets(args)

if len(assets) == 0:
return demisto.results("No Compliance assets found.")
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
return demisto.results("No Compliance assets found.")
return_results("No Compliance assets found.")

@merit-maita merit-maita added the pending-demo Demo pending label Aug 11, 2025
@AmineHazi
Copy link
Contributor

Hello @merit-maita, thank you for your feedback, i just handled the last comments that you've made everything is good now ! i will talk to @tarraschk so we can get back to you and setup the demo, have a nice afternoon !

@merit-maita
Copy link
Contributor

Hello @merit-maita, thank you for your feedback, i just handled the last comments that you've made everything is good now ! i will talk to @tarraschk so we can get back to you and setup the demo, have a nice afternoon !

that would be great, thanks!

@merit-maita merit-maita merged commit a44f668 into demisto:contrib/Galeax_master-1 Aug 20, 2025
18 of 19 checks passed
@content-bot content-bot mentioned this pull request Aug 20, 2025
5 tasks
Copy link

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.

merit-maita pushed a commit that referenced this pull request Aug 20, 2025
* Fixed Cyberwatch 1.0.4 integration

* Quick Fix ruff linter

* Quick Fix return_results cyberwatch

---------

Co-authored-by: Maxime Alay-Eddine <maxime.alayeddine@gmail.com>
Co-authored-by: Amine <amine@galeax.com>
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants