Fixes check policy copy issue where copied checks are all of type diskspace
This commit is contained in:
2
.vscode/extensions.json
vendored
2
.vscode/extensions.json
vendored
@@ -4,7 +4,7 @@
|
|||||||
"dbaeumer.vscode-eslint",
|
"dbaeumer.vscode-eslint",
|
||||||
"esbenp.prettier-vscode",
|
"esbenp.prettier-vscode",
|
||||||
"editorconfig.editorconfig",
|
"editorconfig.editorconfig",
|
||||||
"johnsoncodehk.volar",
|
"vue.volar",
|
||||||
"wayou.vscode-todo-highlight",
|
"wayou.vscode-todo-highlight",
|
||||||
|
|
||||||
// python
|
// python
|
||||||
|
@@ -229,6 +229,7 @@ CHECKS_NON_EDITABLE_FIELDS = [
|
|||||||
]
|
]
|
||||||
|
|
||||||
POLICY_CHECK_FIELDS_TO_COPY = [
|
POLICY_CHECK_FIELDS_TO_COPY = [
|
||||||
|
"check_type",
|
||||||
"warning_threshold",
|
"warning_threshold",
|
||||||
"error_threshold",
|
"error_threshold",
|
||||||
"alert_severity",
|
"alert_severity",
|
||||||
|
Reference in New Issue
Block a user