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

ANYRUN Add Command line parameter #31802

Conversation

vasilydavydov
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

A few sentences describing the overall goals of the pull request's commits.

Must have

  • Tests
  • Documentation

Add command line parameter obj_ext_cmd
Add command line parameter
Add command line parameter
@CLAassistant
Copy link

CLAassistant commented Dec 27, 2023

CLA assistant check
All committers have signed the CLA.

@content-bot content-bot added Contribution Thank you! Contributions are always welcome! External PR Xsoar Support Level Indicates that the contribution is for XSOAR supported pack labels Dec 27, 2023
@content-bot content-bot changed the base branch from master to contrib/vasilydavydov_vasilydavydov-patch-1 December 27, 2023 09:52
@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 @adi88d 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 @vasilydavydov, thanks for contributing to a Cortex XSOAR supported pack. To receive credit for your generous contribution please follow this link.

@content-bot content-bot added Community Contribution Form Filled Whether contribution form filled or not. labels Dec 27, 2023
@adi88d
Copy link
Contributor

adi88d commented Dec 27, 2023

@vasilydavydov
Please sign our Contributor License Agreement

Copy link
Contributor

@adi88d adi88d left a comment

Choose a reason for hiding this comment

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

Hi @vasilydavydov ,
Thank you for your contribution!
Good work :)

  • Please bump the pack version in the pack_metadata.json file and add notes describing your changes to a new Release Notes file.
    To do that, please run the demisto-sdk update-release-notes command - for more information please see: https://xsoar.pan.dev/docs/concepts/demisto-sdk#update-release-notes.
  • Please attach screenshot or pdf file for this request API documentation

@@ -865,7 +865,7 @@ def run_analysis(args):
files = {
'file': (name, open(file_path, 'rb'))
}

Copy link
Contributor

Choose a reason for hiding this comment

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

revert this

Comment on lines 881 to 882
if obj_type == 'file' or obj_type == 'download' :
args['obj_ext_cmd'] = args.get('obj_ext_cmd')
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
if obj_type == 'file' or obj_type == 'download' :
args['obj_ext_cmd'] = args.get('obj_ext_cmd')
if obj_ext_cmd and (obj_type == 'file' or obj_type == 'download'):
args['obj_ext_cmd'] = args.get('obj_ext_cmd')

and add this :
obj_ext_cmd = args.get('obj_ext_cmd')
in line 854 under:
obj_type = args.get('obj_type')

@adi88d adi88d added the pending-contributor The PR is pending the response of its creator label Dec 27, 2023
Change minor version
Add command line parameter description to release noter
Update description command line paremeter
@vasilydavydov
Copy link
Contributor Author

vasilydavydov commented Dec 28, 2023 via email

@ShirleyDenkberg
Copy link
Contributor

@adi88d Doc review completed.

Co-authored-by: ShirleyDenkberg <62508050+ShirleyDenkberg@users.noreply.github.com>
@adi88d adi88d self-requested a review December 28, 2023 10:32
@adi88d adi88d merged commit ecc2c91 into demisto:contrib/vasilydavydov_vasilydavydov-patch-1 Dec 28, 2023
11 of 14 checks passed
adi88d added a commit that referenced this pull request Dec 28, 2023
* ANYRUN Add Command line parameter (#31802)

* update docker

---------

Co-authored-by: vasilydavydov <154880461+vasilydavydov@users.noreply.github.com>
Co-authored-by: adi88d <adaud@paloaltonetworks.com>
Co-authored-by: Adi Daud <46249224+adi88d@users.noreply.github.com>
maimorag pushed a commit that referenced this pull request Dec 28, 2023
* ANYRUN Add Command line parameter (#31802)

* update docker

---------

Co-authored-by: vasilydavydov <154880461+vasilydavydov@users.noreply.github.com>
Co-authored-by: adi88d <adaud@paloaltonetworks.com>
Co-authored-by: Adi Daud <46249224+adi88d@users.noreply.github.com>
maimorag pushed a commit that referenced this pull request Dec 31, 2023
* ANYRUN Add Command line parameter (#31802)

* update docker

---------

Co-authored-by: vasilydavydov <154880461+vasilydavydov@users.noreply.github.com>
Co-authored-by: adi88d <adaud@paloaltonetworks.com>
Co-authored-by: Adi Daud <46249224+adi88d@users.noreply.github.com>
maimorag pushed a commit that referenced this pull request Dec 31, 2023
* ANYRUN Add Command line parameter (#31802)

* update docker

---------

Co-authored-by: vasilydavydov <154880461+vasilydavydov@users.noreply.github.com>
Co-authored-by: adi88d <adaud@paloaltonetworks.com>
Co-authored-by: Adi Daud <46249224+adi88d@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 pending-contributor The PR is pending the response of its creator Xsoar Support Level Indicates that the contribution is for XSOAR supported pack
Projects
None yet
5 participants