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
Cisco ASA Enhancement #27240
Conversation
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. |
There was a problem hiding this 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
There was a problem hiding this 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) |
There was a problem hiding this comment.
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)?
a128ba4
into
demisto:contrib/qmasters-ltd_cisco-asa-enhancement
* 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>
* 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>
* 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>
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
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
Does it break backward compatibility?
Must have