feat(alerting): Add RESULT_CONDITIONS in custom alert to have more information on an alert while using custom alerting module
Add testing of new feature
Co-authored-by: TwiN <twin@linux.com>
* feat(ssh): Add BODY placeholder support for SSH endpoints
- Modify ExecuteSSHCommand to capture stdout output
- Update SSH endpoint handling to use needsToReadBody() mechanism
- Add comprehensive test cases for SSH BODY functionality
- Support basic body content, pattern matching, JSONPath, and functions
- Maintain backward compatibility with existing SSH endpoints
* docs: Add SSH BODY placeholder examples to README
- Add [BODY] placeholder to supported SSH placeholders list
- Add comprehensive examples showing various SSH BODY conditions
- Include pattern matching, length checks, JSONPath expressions
- Demonstrate function wrappers (len, has, any) usage
* Revert "docs: Add SSH BODY placeholder examples to README"
This reverts commit ae93e38683.
* docs: Add [BODY] placeholder to SSH supported placeholders list
* test: remove SSH BODY placeholder test cases
* Update client/client.go
* Update client/client.go
* docs: Add minimal SSH BODY example
---------
Co-authored-by: TwiN <twin@linux.com>
* fix(incidentio): Implement deduplication key generation for alerts
* fix(incidentio): Merge metadata from config and endpoint extra labels in request body
* fix(incidentio): Update comments for clarity and consistency in deduplication key generation and metadata merging
* fix(incidentio): Update comments for clarity and consistency in metadata merging and deduplication key generation
* fix(incidentio): Remove duplicate Metadata assignment in request body construction
* refactor(incidentio): Reformat code for consistency and readability in request body construction
* fix(incidentio): Remove unnecessary newline in buildRequestBody function
* Initial plan
* Fix incidentio tests to handle dynamic deduplication_key field
Co-authored-by: NerdySoftPaw <7468547+NerdySoftPaw@users.noreply.github.com>
---------
Co-authored-by: TwiN <twin@linux.com>
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
* fix(suites): Invalid path in store parameter should return an error
* Refactor
* fix(suites): Update needsToReadBody to check store mappings for body placeholders
* fix(storage): resolve race condition in memory store
* fix: resolve variable shadowing in CopyEndpointStatus
* fix: update test files to use CopyEndpointStatus function
* Update README.md with information on escaping endpoint url in configuration
Clarify usage of environment variables in configuration file and provide guidance for escaping special characters.
* Update README.md
Move comment about escaping to the section with env variables.
* customize starttls dialup connection if dnsresolver has a value, mirroring http client
* add starttls connection test with a dns resolver
---------
Co-authored-by: eleith <online-github@eleith.com>
* feat(suite): Implement Suites
Fixes#1230
* Update docs
* Fix variable alignment
* Prevent always-run endpoint from running if a context placeholder fails to resolve in the URL
* Return errors when a context placeholder path fails to resolve
* Add a couple of unit tests
* Add a couple of unit tests
* fix(ui): Update group count properly
Fixes#1233
* refactor: Pass down entire config instead of several sub-configs
* fix: Change default suite interval and timeout
* fix: Deprecate disable-monitoring-lock in favor of concurrency
* fix: Make sure there are no duplicate keys
* Refactor some code
* Update watchdog/watchdog.go
* Update web/app/src/components/StepDetailsModal.vue
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* chore: Remove useless log
* fix: Set default concurrency to 3 instead of 5
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>