-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Phishing Campaign - GetCampaignIncidentsInfo handling deleted incidents #27621
Conversation
Packs/Campaign/Scripts/GetCampaignIncidentsInfo/GetCampaignIncidentsInfo.py
Outdated
Show resolved
Hide resolved
Packs/Campaign/Scripts/GetCampaignIncidentsInfo/GetCampaignIncidentsInfo.py
Outdated
Show resolved
Hide resolved
Co-authored-by: dorschw <[email protected]>
…identsInfo.py Co-authored-by: dorschw <[email protected]>
This PR was automatically updated by a GitHub Action
To stop automatic version bumps, add the |
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
Packs/Campaign/Scripts/GetCampaignIncidentsInfo/GetCampaignIncidentsInfo.py
Outdated
Show resolved
Hide resolved
Packs/Campaign/Scripts/GetCampaignIncidentsInfo/GetCampaignIncidentsInfo.py
Outdated
Show resolved
Hide resolved
… phishing_campaign_incident
… phishing_campaign_incident
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.
Good job!
try: | ||
main() | ||
assert False, 'SystemExit should occurred' | ||
pytest.fail(msg='SystemExit should occurred') |
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.
If you feel like being a good scout, let's change this to with pytest.raises(SystemExit): main()
, it's the same but more explicit. Not urgent anyway.
|
||
##### GetCampaignIncidentsInfo | ||
|
||
- Fixed an issue causing the script to fail when incidents were deleted. |
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.
- Fixed an issue causing the script to fail when incidents were deleted. | |
- Fixed an issue causing the script to fail after incidents are deleted. |
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.
@ShirleyDenkberg Which of the options do you think is clearer?
…ts (#27621) * remove deleted incident * RN * DO * Update Packs/Campaign/ReleaseNotes/3_2_24.md Co-authored-by: dorschw <[email protected]> * Update Packs/Campaign/Scripts/GetCampaignIncidentsInfo/GetCampaignIncidentsInfo.py Co-authored-by: dorschw <[email protected]> * safe access * Bump pack from version Campaign to 3.3.1. * fix CR * add UT * fix pre-commit * fix UT * fix PT015 * add import --------- Co-authored-by: dorschw <[email protected]> Co-authored-by: Content Bot <[email protected]>
…ts (demisto#27621) * remove deleted incident * RN * DO * Update Packs/Campaign/ReleaseNotes/3_2_24.md Co-authored-by: dorschw <[email protected]> * Update Packs/Campaign/Scripts/GetCampaignIncidentsInfo/GetCampaignIncidentsInfo.py Co-authored-by: dorschw <[email protected]> * safe access * Bump pack from version Campaign to 3.3.1. * fix CR * add UT * fix pre-commit * fix UT * fix PT015 * add import --------- Co-authored-by: dorschw <[email protected]> Co-authored-by: Content Bot <[email protected]>
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