[Actions] There is no possibility to validate action connector secrets and config together. #112459
Labels
estimate:medium
Medium Estimated Level of Effort
Feature:Actions/Framework
Issues related to the Actions Framework
resilience
Issues related to Platform resilience in terms of scale, performance & backwards compatibility
Team:ResponseOps
Label for the ResponseOps team (formerly the Cases and Alerting teams)
On the Alerting framework level we can validate action connector
secrets
andconfig
properties only separately.This will lead to the complexity to validate some secrets params which depends on the config params. For example email connector:
if
config.hasAuth: true
we should validate
secrets.username !== null && secrets.password !== null
We have this validation only on the client side, but it is still possible to create email connector with
hasAuth = true
, but with no username/password.We need to provide API ability to validate actions
config
andsecrets
together.The text was updated successfully, but these errors were encountered: