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

Cisco ASA Enhancement #27240

Conversation

LiorQM
Copy link
Contributor

@LiorQM LiorQM commented Jun 5, 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

fixes: link to the issue

Description

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

Screenshots

Paste here any images that will help the reviewer

Minimum version of Cortex XSOAR

  • 6.0.0
  • 6.1.0
  • 6.2.0
  • 6.5.0

Does it break backward compatibility?

  • Yes
    • Further details:
  • No

Must have

  • Tests
  • Documentation

@content-bot content-bot added Community Contribution Form Filled Whether contribution form filled or not. labels Jun 5, 2023
@content-bot content-bot added Contribution Thank you! Contributions are always welcome! Xsoar Support Level Indicates that the contribution is for XSOAR supported pack labels Jun 5, 2023
@content-bot content-bot changed the base branch from master to contrib/qmasters-ltd_cisco-asa-enhancement June 5, 2023 15:35
@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 @RotemAmit will know the proposed changes are ready to be reviewed.

@LiorQM LiorQM changed the title Added Updated readme Cisco ASA Enhancement Jun 6, 2023
@RotemAmit RotemAmit assigned eyalpalo and unassigned RotemAmit Jun 6, 2023
@RotemAmit RotemAmit requested review from eyalpalo and removed request for RotemAmit June 6, 2023 08:04
Copy link
Contributor

@eyalpalo eyalpalo left a comment

Choose a reason for hiding this comment

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

@LiorQM Nice work!
See my comments, and in general, for every comment, please fix the issue of appears in other places in the code.
If you have any questions please feel free to contact me

Packs/CiscoASA/Integrations/CiscoASA/CiscoASA.py Outdated Show resolved Hide resolved
Packs/CiscoASA/Integrations/CiscoASA/CiscoASA.py Outdated Show resolved Hide resolved
Packs/CiscoASA/Integrations/CiscoASA/CiscoASA.py Outdated Show resolved Hide resolved
Packs/CiscoASA/Integrations/CiscoASA/README.md Outdated Show resolved Hide resolved
Packs/CiscoASA/Integrations/CiscoASA/README.md Outdated Show resolved Hide resolved
@LiorQM LiorQM requested a review from eyalpalo June 15, 2023 13:43
Copy link
Contributor

@eyalpalo eyalpalo left a comment

Choose a reason for hiding this comment

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

Nice! Lets schedule a demo

if command == 'test-module':
return_results(test_command(client, isASAv))
elif command in commands:
client.login(isASAv)
Copy link
Contributor

Choose a reason for hiding this comment

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

can you paste the error when the login method is called in the test_command and when it isn't (called in the main)?

@eyalpalo eyalpalo merged commit a128ba4 into demisto:contrib/qmasters-ltd_cisco-asa-enhancement Jun 21, 2023
21 of 22 checks passed
@content-bot content-bot mentioned this pull request Jun 21, 2023
11 tasks
eyalpalo added a commit that referenced this pull request Jun 25, 2023
* Cisco ASA Enhancement (#27240)

* Added Updated readme

* Changed mocked IPs to 1.1.1.1 to prevent secret validation failure

* Added version of ASA in README

* Added manual release notes

* Updated releasenote to template prefixes

* Updated currentVersion

* Fixed type hint errors.

* Removed unused import

* Fixed type hint error

* Made changes according to Eyal's CR.

* Update docker image

* Removed commented lines

* Set default value 'True' for active in YML.

* Added exception chaining as suggested.

* Changed .format to f-string

* Fixed unit-test for default value in active.

* Cut down extra from pagination decorator

* Update bracket indexing to get method for dictionaries

* Fixed mypy type errors as a result of changing dictionary key indexing

* Fixed outputs prefix

* Added use-case for only inserting page_size in list command

* Fixed bug in old function that may use in some cases `get` method on a list.

* Updated docker image

---------

Co-authored-by: LiorQM <lior.sb18@gmail.com>

* tp

* tp

* Apply suggestions from code review

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

* Apply suggestions from code review

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

* doc review

* doc review

---------

Co-authored-by: LiorQM <106475467+LiorQM@users.noreply.github.com>
Co-authored-by: LiorQM <lior.sb18@gmail.com>
Co-authored-by: EyalPintzov <91007713+eyalpalo@users.noreply.github.com>
Co-authored-by: epintzov <epintzov@paloaltonetworks.com>
Co-authored-by: ShirleyDenkberg <62508050+ShirleyDenkberg@users.noreply.github.com>
MosheEichler pushed a commit that referenced this pull request Jul 2, 2023
* Cisco ASA Enhancement (#27240)

* Added Updated readme

* Changed mocked IPs to 1.1.1.1 to prevent secret validation failure

* Added version of ASA in README

* Added manual release notes

* Updated releasenote to template prefixes

* Updated currentVersion

* Fixed type hint errors.

* Removed unused import

* Fixed type hint error

* Made changes according to Eyal's CR.

* Update docker image

* Removed commented lines

* Set default value 'True' for active in YML.

* Added exception chaining as suggested.

* Changed .format to f-string

* Fixed unit-test for default value in active.

* Cut down extra from pagination decorator

* Update bracket indexing to get method for dictionaries

* Fixed mypy type errors as a result of changing dictionary key indexing

* Fixed outputs prefix

* Added use-case for only inserting page_size in list command

* Fixed bug in old function that may use in some cases `get` method on a list.

* Updated docker image

---------

Co-authored-by: LiorQM <lior.sb18@gmail.com>

* tp

* tp

* Apply suggestions from code review

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

* Apply suggestions from code review

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

* doc review

* doc review

---------

Co-authored-by: LiorQM <106475467+LiorQM@users.noreply.github.com>
Co-authored-by: LiorQM <lior.sb18@gmail.com>
Co-authored-by: EyalPintzov <91007713+eyalpalo@users.noreply.github.com>
Co-authored-by: epintzov <epintzov@paloaltonetworks.com>
Co-authored-by: ShirleyDenkberg <62508050+ShirleyDenkberg@users.noreply.github.com>
xsoar-bot pushed a commit to xsoar-contrib/content that referenced this pull request Jul 26, 2023
* Cisco ASA Enhancement (demisto#27240)

* Added Updated readme

* Changed mocked IPs to 1.1.1.1 to prevent secret validation failure

* Added version of ASA in README

* Added manual release notes

* Updated releasenote to template prefixes

* Updated currentVersion

* Fixed type hint errors.

* Removed unused import

* Fixed type hint error

* Made changes according to Eyal's CR.

* Update docker image

* Removed commented lines

* Set default value 'True' for active in YML.

* Added exception chaining as suggested.

* Changed .format to f-string

* Fixed unit-test for default value in active.

* Cut down extra from pagination decorator

* Update bracket indexing to get method for dictionaries

* Fixed mypy type errors as a result of changing dictionary key indexing

* Fixed outputs prefix

* Added use-case for only inserting page_size in list command

* Fixed bug in old function that may use in some cases `get` method on a list.

* Updated docker image

---------

Co-authored-by: LiorQM <lior.sb18@gmail.com>

* tp

* tp

* Apply suggestions from code review

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

* Apply suggestions from code review

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

* doc review

* doc review

---------

Co-authored-by: LiorQM <106475467+LiorQM@users.noreply.github.com>
Co-authored-by: LiorQM <lior.sb18@gmail.com>
Co-authored-by: EyalPintzov <91007713+eyalpalo@users.noreply.github.com>
Co-authored-by: epintzov <epintzov@paloaltonetworks.com>
Co-authored-by: ShirleyDenkberg <62508050+ShirleyDenkberg@users.noreply.github.com>
@LiorQM LiorQM deleted the cisco-asa-enhancement branch July 31, 2023 11:56
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 Xsoar Support Level Indicates that the contribution is for XSOAR supported pack
Projects
None yet
5 participants