Nick Satterly
b7111d23ae
Bump version 9.0.3 -> 9.0.4
2024-09-04 20:08:56 +02:00
Esben Laursen
28cfa03ff7
feat: implement "post_action" for post processing actions. ( #1899 )
2024-04-12 17:46:02 +02:00
Nick Satterly
137e0052b0
Bump version 9.0.2 -> 9.0.3
2024-04-12 10:41:07 +02:00
Nick Satterly
299e66770a
Bump version 9.0.1 -> 9.0.2
2024-04-09 11:27:04 +02:00
Nick Satterly
d5a30d0af7
fix: lint errors on grafana webhook
2023-12-23 20:48:07 +01:00
Cody Stevens
1ad12aada8
Allow grafana webhook to set tags to tags or attributes ( #1606 )
...
* Do not require scope for metrics view
* Allow grafana webhook to make tags tags
* Set views.py back so this can be a separate PR
---------
Co-authored-by: Cody Stevens <costevens@datto.com>
Co-authored-by: Nick Satterly <nfsatterly@gmail.com>
2023-12-23 20:47:04 +01:00
Nick Satterly
5fc46c2186
fix(codescan): Sanitize username used in ldap filter ( #1904 )
...
* fix(codescan): Sanitize username used in ldap filter
* fix(codescan): Sanitize domain used in ldap filter
2023-12-22 18:12:21 +01:00
Nick Satterly
b6784b4985
fix(codescan): info exposure via exception #1 ( #1903 )
...
https://github.com/alerta/alerta/security/code-scanning/1
2023-12-22 15:48:16 +01:00
Nick Satterly
4d7d37dcc3
fix(codescan): info exposure via exception ( #1902 )
...
https://github.com/alerta/alerta/security/code-scanning/16
2023-12-22 15:32:33 +01:00
Nick Satterly
2c207740ea
Release/9.1 ( #1898 )
...
Python 3.9 - 3.12
Postgres 13 - 16
MongoDB 6.0 - 7.0
2023-12-22 14:03:45 +01:00
Nick Satterly
d50131b9e6
Revert "feat: Added pagination support to environments endpoint ( #1665 )" ( #1901 )
...
This reverts commit 4664cd2d88
.
2023-12-22 11:51:20 +01:00
nilver
4664cd2d88
feat: Added pagination support to environments endpoint ( #1665 )
...
Co-authored-by: Nilver Viera <nviera@itosupport.com>
Co-authored-by: Nick Satterly <nfsatterly@gmail.com>
2023-12-21 03:03:03 +01:00
Krzysztof Dąbrowski
b3be6b1dce
feat: Add query string for blackouts ( #1864 )
...
Co-authored-by: Nick Satterly <nfsatterly@gmail.com>
2023-12-21 02:53:41 +01:00
Evan Thompson
bdce8d6b20
fix: Address breaking change in Python 3.11 for Enums with str
mixins ( #1885 )
...
* Update requirements.txt
* Update blackout.py
* Update enums.py
* Update heartbeat.py
* Update key.py
* Update user.py
---------
Co-authored-by: Nick Satterly <nfsatterly@gmail.com>
2023-12-21 02:43:38 +01:00
Esben Laursen
282f6f3c3d
fix: issues if last plugin returns none or raises. ( #1890 )
2023-12-19 12:03:25 +01:00
Clif Houck
5b572c3aa9
feat: Reject alerts that do not regex.fullmatch any configured allowed envi… ( #1862 )
...
* Reject alerts that do not regex.fullmatch any configured allowed environments
2023-06-30 10:38:25 +02:00
Nick Satterly
731769df89
Bump version 9.0.0 -> 9.0.1
2023-06-22 22:14:53 +02:00
Nick Satterly
36709270ac
Fix whitespace lint error
2023-06-22 22:12:44 +02:00
Peter Šurda
591fed13aa
fix: token_endpoint_auth_methods_supported
is optional ( #1856 )
...
- the OIDC specification says `token_endpoint_auth_methods_supported` is
optional and defaults to `client_secret_basic`
- gitea's implementation for example doesn't have this key, so this patch
should make alerta compatible with authenticating against gitea
Co-authored-by: Nick Satterly <nfsatterly@gmail.com>
2023-06-22 22:12:15 +02:00
Nick Satterly
056df34863
Fix some minor linting errors
2023-06-22 22:02:14 +02:00
JuniorJPDJ
7cdeae4c50
Fix return value from db.set_status ( #1852 )
...
Previously returned the dict but reported to return Alert
2023-06-22 21:02:03 +02:00
Jan David Mol
f715940efb
feat: Add support for ACTION_UNACK to ISA 18.2 alarm model ( #1715 )
...
Co-authored-by: Nick Satterly <nfsatterly@gmail.com>
2023-06-22 20:58:12 +02:00
Pierre-Louis BOUTRUCHE
2fdea8fecf
feat: add db schema ( #1839 )
...
Added the query to look in the schemas and not in the database.
* Replace the default value of schema by public
2023-06-22 20:56:09 +02:00
Víctor M. García Muñoz
7631e96842
Allow locating alerta routing component in any python distribution package ( #1832 )
...
Currently, routing plugin must be located in a 'alerta-routing"
python distribution package.
With this modification, that limitation is removed, allowing
to use any distribution package name, configured with the property
'ROUTING_DIST'.
This way, plugins, routing, backend components,... may be located
in one python distribution package.
2023-03-27 21:26:54 +02:00
Nick Satterly
bbb806f34d
Enable google auth for demo site
2023-03-19 14:48:05 +01:00
Nick Satterly
8226c9f11b
Release 9.0.0
2023-03-17 21:16:27 +01:00
Nick Satterly
601479df74
feat: Add support for AuthProxy auth ( #1657 )
...
* Proxy auth config
* Refactor proxy auth and add some tests
2023-03-17 20:54:33 +01:00
Víctor M. García Muñoz
7cebc46a09
fix: Bulk operations did not work properly ( #1825 )
...
Must use Alerts queryBuilder and not generic one.
Flask login property is needed to create alert history. BG tasks
are run in a celery worker so no login property is available.
Main process must provide login when scheduling the task.
2023-03-09 21:51:56 +01:00
Víctor M. García Muñoz
c794a04f00
Support custom backends defined as entry point ( #1826 )
...
* Support custom backends defined as entry point
A custom backend may be needed to support a different database or
to extend or modify current backends functionality.
With this modification, a custom backend can be defined using an
entry point to provide its module location.
* Change entry point name for custom backends and include an example
2023-03-09 18:27:53 +01:00
Are Schjetne
6a932465f8
fix: Replace FLASK_ENV with FLASK_DEBUG ( #1824 )
...
* Fixes #1823 - Replace FLASK_ENV with FLASK_DEBUG
2023-03-08 12:29:31 +01:00
Nick Satterly
62dcb12805
feat: show/hide API server version info ( #1821 )
2023-03-08 00:59:33 +01:00
Emil Lengman
49ae9a7815
Add CLIPBOARD_TEMPLATE setting ( #1814 )
...
* Add CLIPBOARD_TEMPLATE setting
to allow for configuring this web console setting in the backend: https://github.com/alerta/alerta-webui/pull/555
* fix lintin errors
* Add test for CLIPBOARD_TEMPLATE setting
demonstrate that clipboard_template is returned by the api when
CLIPBOARD_TEMPLATE is set in the backend
---------
Co-authored-by: Kenneth Hardy <kenneth@hardy.se>
2023-03-07 14:31:15 +01:00
Nick Satterly
2dc1c75fdb
fix: Change ORDER BY no-op for Postgres 15 ( #1820 )
...
* Run unit test against Postgres 15
* Change ORDER BY no-op for Postgres 15
2023-03-07 09:07:25 +01:00
Are Schjetne
c42ff12b6e
Fixes #1794 - Change postgres metrics column count to BIGINT ( #1813 )
2023-03-03 12:14:37 +01:00
Are Schjetne
8e4262c5d6
Fix deprecation warning for flask json_encoder ( #1812 )
...
* Fix deprecation warning for flask json_encoder
* binary bitwise or operator not supported in type hints in 3.8
---------
Co-authored-by: Are Schjetne <are.schjetne@basefarm-orange.com>
2023-03-02 09:03:28 +01:00
Nick Satterly
09dc961885
fix(security): do not expose exception errors to end users ( #1811 )
2023-02-28 21:55:44 +01:00
Emil Lengman
db863627c5
fix(auth): auth bypass via registering when AUTH_PROVIDER != basic ( #1782 )
2023-02-27 20:26:12 +01:00
Jason
bb8550d4bf
Use group parameter of top10 API endpoints ( #1752 )
...
* Use group parameter for topn count and topn flapping.
* Use group for get_topn_standing.
2023-02-27 20:03:43 +01:00
Esben Laursen
09c2af526b
fix(plugin): fixes an issue if the last plugin in the order ( #1798 )
...
returns "None" the previous plugin data
are not commited to database.
2023-02-27 20:00:34 +01:00
Mika
29e07d73e1
feat(plugin): add alertname in labels when annotations.alertname ( #1801 )
...
Update labels dict when custom alertname exists in annotations
2023-02-27 19:41:32 +01:00
Nick Satterly
d11866a06e
fix: Do not 400 error if content type not application/json ( #1756 )
...
See https://github.com/pallets/werkzeug/pull/2355
Co-authored-by: Nick Satterly <nicholas.satterly@axfood.se>
2022-09-08 00:10:47 +02:00
Schueni1
1519182d00
fix customer group mapping in ldap ( #1713 )
...
* fix customer group mapping
* Make consistent with other auth providers
Co-authored-by: Aaron Duxler <aaron@duxler.at>
Co-authored-by: Nick Satterly <nfsatterly@gmail.com>
2022-07-04 19:23:51 +02:00
magnhas
aa26753cc0
fix: Keycloak url base ( #1683 )
...
Co-authored-by: Magnus Hård af Segerstad <magnus.hardafsegerstad@basalt.se>
2022-07-04 00:10:46 +02:00
Nick Satterly
84909bf9ab
Bump support versions for Python and MongoDB ( #1717 )
...
* Support python 3.10 and remove support for MongoDB 4.0, pin Werkzeug for Flask
* FIXME - terrible hack to fix race condition in test
2022-07-04 00:02:55 +02:00
Nick Satterly
eca06235a4
feat: Add userAgent to audit log ( #1656 )
...
Rename ipAddress to remoteIp
2021-12-11 20:23:20 +01:00
Nick Satterly
64b652dd6e
fix: Audit log should handle empty body on http delete ( #1655 )
2021-12-11 17:38:36 +01:00
Nick Satterly
91c9a332d8
refactor(db): Use Psql 9.6 syntax for ADD COLUMN ( #1653 )
2021-12-06 22:51:49 +01:00
Nick Satterly
5e6aa75b6f
Bump version 8.6.5 -> 8.7.0
2021-12-06 09:03:17 +01:00
Nick Satterly
ed1f9f73c8
Release/8.7 ( #1645 )
...
* Release 8.7 RC1
* Bump versions in test matrix
2021-12-06 08:16:20 +01:00
Nick Satterly
a834eb380b
Bump version 8.6.4 -> 8.6.5
2021-12-05 23:50:44 +01:00