Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
## 0.25.0 (August 20th, 2025)

ENHANCEMENTS:
* Adds support for new Alerts

## 0.24.0 (March 20th, 2025)

ENHANCEMENTS:
Expand Down
2 changes: 1 addition & 1 deletion ns1/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#
from .config import Config

version = "0.24.0"
version = "0.25.0"


class NS1:
Expand Down
18 changes: 18 additions & 0 deletions tests/unit/test_alerts.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,24 @@ def test_rest_alert_list(alerts_config):
"data": {"min": 20, "max": 80},
},
),
(
"sso_alert",
"account",
"saml_certificate_expired",
"../alerting/v1/alerts",
{
"notifier_list_ids": ["6707da567cd4f300012cd7e4"],
},
),
(
"redirect_alert",
"redirects",
"certificate_renewal_failed",
"../alerting/v1/alerts",
{
"notifier_list_ids": ["6707da567cd4f300012cd7e4"],
},
),
],
)
def test_rest_alert_create(
Expand Down