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

Trend micro vision one #37276

Conversation

shaqnawe
Copy link
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)

Related Issues

fixes: link to the issue

Description

Added outputs to get endpoint info and get alert details.

Must have

  • Tests
  • Documentation

shaqnawe and others added 30 commits January 18, 2024 17:30
…rendMicroVisionOneV3.yml

Co-authored-by: Yuval Hayun <70104171+YuvHayun@users.noreply.github.com>
…rendMicroVisionOneV3.yml

Co-authored-by: Yuval Hayun <70104171+YuvHayun@users.noreply.github.com>
…rendMicroVisionOneV3.yml

Co-authored-by: Yuval Hayun <70104171+YuvHayun@users.noreply.github.com>
@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 Nov 18, 2024
@content-bot content-bot changed the base branch from master to contrib/shaqnawe_TrendMicroVisionOne-1 November 18, 2024 19:02
@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 @amshamah419 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 @shaqnawe, thanks for contributing to the XSOAR marketplace. To receive credit for your generous contribution please follow this link.

Copy link
Contributor

@amshamah419 amshamah419 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 your contribution @shaqnawe! Just a few comments, but otherwise it looks pretty straightforward. Can you add release notes to this PR? You can do so by running demisto-sdk update-release-notes -i Packs/TrendMicroVisionOne. This will do two things: Bump the pack version, and also generate a release note file. In the file, just write down what the changes are (we can help with the wording).

@@ -1372,7 +1431,7 @@ script:
type: string
description: Displays a list of Observed Attack Techniques events that match the specified criteria.
name: trendmicro-visionone-get-observed-attack-techniques
dockerimage: demisto/pytmv1:0.8.7.104820
dockerimage: devtesting/pytmv1:0.9.0.1730248273
Copy link
Contributor

Choose a reason for hiding this comment

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

Was there a change to the docker image which requires this change?

Copy link
Contributor

Choose a reason for hiding this comment

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

@amshamah419 FYI, this this is matching dockerfiles PR: demisto/dockerfiles#34200.

Copy link
Contributor Author

@shaqnawe shaqnawe Nov 19, 2024

Choose a reason for hiding this comment

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

I have closed the aforementioned dockerfiles PR and created a new one demisto/dockerfiles#34362.
Once the dockerfiles PR is merged and the new image is available, the docker image tag will have to be updated accordingly.

Copy link
Contributor

Choose a reason for hiding this comment

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

Hi @shaqnawe, I reviewed the dockerfiles pr and approved it. It looks like a required job isn't getting triggered so I will ping @kobymeir to take a quick look.

Copy link
Contributor

@amshamah419 amshamah419 Nov 20, 2024

Choose a reason for hiding this comment

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

Hi @shaqnawe I ran the testing on gitlab and it looks like the docker image is good to go. I approved and merged the PR so we can get a new docker tag for you. I'll edit this message when it's created.

As promised:
demisto/pytmv1:0.9.1.117354

@amshamah419
Copy link
Contributor

Once we get the dockerfiles pr merged, the pre-commit should run. Otherwise I think the PR is in good shape and good to merge.

Copy link
Contributor

@amshamah419 amshamah419 left a comment

Choose a reason for hiding this comment

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

Looks great!

@@ -1372,7 +1431,7 @@ script:
type: string
description: Displays a list of Observed Attack Techniques events that match the specified criteria.
name: trendmicro-visionone-get-observed-attack-techniques
dockerimage: demisto/pytmv1:0.8.7.104820
dockerimage: devtesting/pytmv1:0.9.1.1732053127
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
dockerimage: devtesting/pytmv1:0.9.1.1732053127
dockerimage: demisto/pytmv1:0.9.1.117354

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done!

@amshamah419 amshamah419 merged commit f5ef135 into demisto:contrib/shaqnawe_TrendMicroVisionOne-1 Nov 21, 2024
13 of 14 checks passed
@content-bot content-bot mentioned this pull request Nov 21, 2024
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.

Comment on lines +362 to +376
- contextPath: VisionOne.Endpoint_Info.componentUpdatePolicy
description: The update policy for the module/pattern of the agent installed on the endpoint.
type: string
- contextPath: VisionOne.Endpoint_Info.componentUpdateStatus
description: The status of the module/pattern updates of the agent installed on the endpoint.
type: string
- contextPath: VisionOne.Endpoint_Info.componentVersion
description: The agent component version.
type: string
- contextPath: VisionOne.Endpoint_Info.policyName
description: The name of a policy for an event.
type: string
- contextPath: VisionOne.Endpoint_Info.protectionManager
description: The name of your protection manager.
type: string
Copy link
Contributor

Choose a reason for hiding this comment

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

Hey @shaqnawe just one last thing I missed. Is this meant to be in camelcase, or is it supposed to be in snake case?

Copy link
Contributor Author

@shaqnawe shaqnawe Nov 21, 2024

Choose a reason for hiding this comment

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

Hey @amshamah419 It's supposed to be snake case, can I still make the change?

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.

8 participants