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

Remove deprecated IBM finding plugin #157

Merged
merged 1 commit into from
Jul 29, 2024
Merged

Conversation

cletomartin
Copy link
Collaborator

What

  • BREAKING CHANGES: this notifier will be removed.
  • Update pre-commit plugins

Why

Seems like ibm_cloud_security_advisor is now deprecated. It is having issues compatibility issues with Python 3.12.

How

  • Remove ibm_cloud_security_advisor as a dependency.
  • Update the unit tests.
  • Update the pre-commit configuration

Test

Test passing locally.

@@ -861,7 +856,9 @@ def _send_message(self, message, channels):
retries = self._config.get("retries", 3)
retry = 0
while retry < retries:
response = requests.post(url, headers=headers, data=json.dumps(msg))
response = requests.post(
url, headers=headers, data=json.dumps(msg), timeout=180
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

This makes bandit happier.

drsm79
drsm79 previously approved these changes Jul 29, 2024
BREAKING CHANGES: this notifier will be removed.

Seems like ibm_cloud_security_advisor is [now deprecated](https://github.com/ibm-cloud-security/security-advisor-sdk-python/).
It is having issues compatibility issues with Python 3.12.
@cletomartin cletomartin merged commit b682473 into main Jul 29, 2024
2 checks passed
@cletomartin cletomartin deleted the remove-IBM-findings-notifier branch July 29, 2024 14:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants