From 795609e03ac99cd21c643dbad7a0efbbf4d8b9e3 Mon Sep 17 00:00:00 2001
From: Thomas Kaul <4159106+dtslvr@users.noreply.github.com>
Date: Wed, 27 Aug 2025 13:24:08 +0200
Subject: [PATCH] Feature/move support to customize X-ray rules from
experimental to general availability (#5408)
* Move support to customize X-ray rules from experimental to general availability
* Update changelog
---
CHANGELOG.md | 1 +
.../access-table/access-table.component.html | 10 ++++--
.../access-table/access-table.component.ts | 8 +++--
.../app/components/rule/rule.component.html | 16 +++++++--
.../src/app/components/rule/rule.component.ts | 4 +++
.../portfolio/x-ray/x-ray-page.component.html | 36 +++++--------------
6 files changed, 41 insertions(+), 34 deletions(-)
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 918d4d82b..bb3bd6d3c 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -13,6 +13,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Changed
+- Moved the support to customize rules in the _X-ray_ section from experimental to general availability
- Improved the create or update activity dialog’s asset sub class selector for valuables to update the options dynamically based on the selected asset class
- Randomized the minutes of the hourly data gathering cron job
- Refactored the dialog footer component to standalone
diff --git a/apps/client/src/app/components/access-table/access-table.component.html b/apps/client/src/app/components/access-table/access-table.component.html
index 44aee1644..be374db9c 100644
--- a/apps/client/src/app/components/access-table/access-table.component.html
+++ b/apps/client/src/app/components/access-table/access-table.component.html
@@ -67,12 +67,18 @@
@if (element.type === 'PUBLIC') {
}
diff --git a/apps/client/src/app/components/access-table/access-table.component.ts b/apps/client/src/app/components/access-table/access-table.component.ts
index c94f86df1..9f32be650 100644
--- a/apps/client/src/app/components/access-table/access-table.component.ts
+++ b/apps/client/src/app/components/access-table/access-table.component.ts
@@ -22,10 +22,12 @@ import { RouterModule } from '@angular/router';
import { IonIcon } from '@ionic/angular/standalone';
import { addIcons } from 'ionicons';
import {
+ copyOutline,
ellipsisHorizontal,
linkOutline,
lockClosedOutline,
- lockOpenOutline
+ lockOpenOutline,
+ removeCircleOutline
} from 'ionicons/icons';
import ms from 'ms';
@@ -62,10 +64,12 @@ export class GfAccessTableComponent implements OnChanges {
private snackBar: MatSnackBar
) {
addIcons({
+ copyOutline,
ellipsisHorizontal,
linkOutline,
lockClosedOutline,
- lockOpenOutline
+ lockOpenOutline,
+ removeCircleOutline
});
}
diff --git a/apps/client/src/app/components/rule/rule.component.html b/apps/client/src/app/components/rule/rule.component.html
index 7cea512e3..239beb733 100644
--- a/apps/client/src/app/components/rule/rule.component.html
+++ b/apps/client/src/app/components/rule/rule.component.html
@@ -64,14 +64,24 @@
@if (rule?.isActive && rule?.configuration) {
+
}
diff --git a/apps/client/src/app/components/rule/rule.component.ts b/apps/client/src/app/components/rule/rule.component.ts
index 4ea7d0ec6..624338915 100644
--- a/apps/client/src/app/components/rule/rule.component.ts
+++ b/apps/client/src/app/components/rule/rule.component.ts
@@ -16,8 +16,10 @@ import {
import { MatDialog } from '@angular/material/dialog';
import { addIcons } from 'ionicons';
import {
+ addCircleOutline,
checkmarkCircleOutline,
ellipsisHorizontal,
+ optionsOutline,
removeCircleOutline,
warningOutline
} from 'ionicons/icons';
@@ -50,8 +52,10 @@ export class RuleComponent implements OnInit {
private dialog: MatDialog
) {
addIcons({
+ addCircleOutline,
checkmarkCircleOutline,
ellipsisHorizontal,
+ optionsOutline,
removeCircleOutline,
warningOutline
});
diff --git a/apps/client/src/app/pages/portfolio/x-ray/x-ray-page.component.html b/apps/client/src/app/pages/portfolio/x-ray/x-ray-page.component.html
index e309fbaea..ce55c4fff 100644
--- a/apps/client/src/app/pages/portfolio/x-ray/x-ray-page.component.html
+++ b/apps/client/src/app/pages/portfolio/x-ray/x-ray-page.component.html
@@ -73,9 +73,7 @@
Inactive