Skip to content

Commit ad503d2

Browse files
committed
fix
1 parent f7b9081 commit ad503d2

File tree

12 files changed

+1856
-2670
lines changed

12 files changed

+1856
-2670
lines changed

.azure.env

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
SENTRIUS_VERSION=1.1.52
1+
SENTRIUS_VERSION=1.1.54
22
SENTRIUS_SSH_VERSION=1.1.11
33
SENTRIUS_KEYCLOAK_VERSION=1.1.14
44
SENTRIUS_AGENT_VERSION=1.1.23
55
SENTRIUS_AI_AGENT_VERSION=1.1.4
66
LLMPROXY_VERSION=1.1.4
77
LAUNCHER_VERSION=1.1.4
8-
AGENTPROXY_VERSION=1.1.4
8+
AGENTPROXY_VERSION=1.1.5
99
SSHPROXY_VERSION=1.1.4
1010
RDPPROXY_VERSION=1.1.4
1111
GITHUB_MCP_VERSION=1.1.4

api/src/main/java/io/sentrius/sso/controllers/api/RuleApiController.java

Lines changed: 361 additions & 22 deletions
Large diffs are not rendered by default.

api/src/main/java/io/sentrius/sso/controllers/view/ZeroTrustRuleController.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,10 @@ public String openRuleDesigner() {
9494
return "sso/rules/rule_designer";
9595
}
9696

97+
@GetMapping("/custom-chat")
98+
public String customRuleChat() {
99+
return "sso/rules/custom_rule_chat";
100+
}
97101

98102

99103
}

api/src/main/resources/static/js/rules.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -191,6 +191,11 @@ $(document).ready(function () {
191191
url = "/sso/v1/zerotrust/rules/config/forbidden_commands_rule?ruleName=" + encodeURIComponent(ruleName);
192192
} else if (ruleClass.includes("AllowedCommandsRule")) {
193193
url = "/sso/v1/zerotrust/rules/config/allowed_commands_rule?ruleName=" + encodeURIComponent(ruleName);
194+
} else if (ruleClass.includes("PluggableRuleEvaluator")) {
195+
// Redirect to custom rule chat interface for PluggableRuleEvaluator
196+
url = "/sso/v1/zerotrust/rules/custom-chat";
197+
window.location.href = url;
198+
return;
194199
} else if (ruleClass.includes("DeletePrevention")) {
195200

196201

0 commit comments

Comments
 (0)