-
Notifications
You must be signed in to change notification settings - Fork 0
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
ST2-385 Actions and class file added #1
base: master
Are you sure you want to change the base?
Conversation
@Greyjacket Before you request a review, what of the checklist in the PR can you complete? |
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.
One comment on something. I am not sure whether it needs to be changed. Let me know either way. The rest of the code looks good.
try: | ||
response_dict = response[1].json() | ||
except: | ||
return True, {'result': 'Policy successfully changed'} |
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.
Why would an exception here not mean failure?
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.
I believe I had some issues converting the returned json to a dictionary. We check for a 200 in the earlier call to response[0], so we can be certain that the policy has been changed by the time we arrive here.
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.
- Need version bump
- Remove codacy badge and fix circleci badge
- basic writeup of the purpose of this PR
Cylance Protect Pull Request:
Summary of Changes:
Cylance Protect Actions and Class file added
New Packs
Delete if not a new pack
Checklist:
Please complete the following for the PR to be reviewed.
is at and what the purpose of the PR is quickly
Fixes for Issue(s)/Ticket(s):
Reference the GitHub Issue(s) or open tickets this PR addresses (if any).