Questions tagged [rules]
This tag is very broad, try being more specific by using tags relevant to your problem. Examples are "rule-engine" for rules engines, "url-rewriting"/"mod-rewrite" for rewrite rules or "form-validation" for validation rules. See the full wiki article for a more complete list.
rules
2,246
questions
0
votes
0
answers
20
views
How to make the mapping rules in red hat 3Scale, if they are not sent automatically, they are loaded as empty and sent to the backend
Good morning, I am currently starting to work with Red Hat 3Scale and I am making an api that has the following GET request with QueryParam:
/UDB/v1/UDB?ISDN={ISDN}&IMSI={IMSI}&CONTENT={...
0
votes
1
answer
63
views
How to configure Prometheus Alertmanager for alerting when any container goes down?
I am using Prometheus Alertmanager to monitor dozens of hosts and hundreds of containers on these hosts. I need to receive notifications when any container goes down. I understand from the ...
1
vote
1
answer
102
views
Rules engine has slow down or takes longer to compile while firing rules [Drools]
I've a separate Java spring boot service as a rules engine. Which has controller and service to set focus on agenda groups as user or other service preferred. In my case i have 500 plus rules and 30 ...
0
votes
0
answers
11
views
How to propogate alarms up customer hierarchy
I am trying to set up alarms in our cloud professional edition of ThingsBoard.
Under our tenant user, we have a number of customers, and they in turn have customers, all set up in the customer ...
0
votes
0
answers
27
views
Invalid YaraSharp library in C#
When i run the code below that error appears.
using YaraSharp;
YSInstance YSInstance = new YSInstance();
System.BadImageFormatException: 'Could not load file or assembly
'YaraSharp, Version=1.3.0.0, ...
-2
votes
1
answer
69
views
Modification of an ossec rule to increase its level
I'am trying to modify a rule into 0015-ossec_rules.xml
<rule id="10550" level="10">
<if_sid>550</if_sid>
<regex>/home/.*/\.ssh/</regex>
<...
0
votes
0
answers
22
views
@typescript-eslint/no-unused-vars': 'warn' not working
module.exports = {
parser: '@typescript-eslint/parser',
extends: ['prettier', 'plugin:@typescript-eslint/recommended', 'plugin:prettier/recommended', 'plugin:promise/recommended'],
...
0
votes
1
answer
144
views
Gitlab CICD - compare_to previous commit
In GItlab-CI Im trying to start a job only if $APP is equal to "my-app" and the file file.txt was changed compared to the last commit.
Currently my .gitlab-ci.yml file looks like this:
...
2
votes
3
answers
89
views
Updating a table with a view and getting "infinite recursion detected in rules for relation "employees"
Below is the code I am using in a PostgreSQL 16 database. Every time I try to update the salary I get:
ERROR: infinite recursion detected in rules for relation "employees"
SQL state: 42P17&...
1
vote
2
answers
65
views
Runtime Error - Set olRule = olRules.Item(i) after Microsoft update, where rules setup as 'Through the Specified Account'
ERROR: 2020.05.26 - Since last Microsoft update, code fails on rules setup as 'Through the Specified Account'.
When it hits
Set olRule = olRules.Item(i)
it throws:
Run-time error '-2146664191 [...
0
votes
1
answer
28
views
Delete all files files in a folder three with two conditions: filename has only digits and a specific extension
thank you for your help. I look for a code to select all files in a folder three which have the filename similar to: ###.xlsx, where # is a digit. I am a newbie, and found a code that works for ...
0
votes
0
answers
42
views
Lua Scritp to detect Nmap scan
I was working with Lua scripts and trying to determine if there is any way to detect Nmap scanning using Lua scripts other than Suricata rules. What I've been able to deduce is to look for a ...
0
votes
0
answers
56
views
MITRE ATT&CK Framework with Suricata
I've recently started working with suricata and don't have much experience with it yet. What I'm looking for is, If there's a way to configure suricata to be able to detect various MITRE ATT&CK ...
0
votes
1
answer
44
views
How to fix validation rule for jira-maven-plugin
I use the jira-maven-plugin to create a plugin for JIRA
<build>
<plugins>
<plugin>
<groupId>com.atlassian.maven.plugins</groupId>
<...
0
votes
1
answer
42
views
Outlook VBA ItemAdd fails operation if executed after a rule that calls a script
I'm having trouble with the ItemAdd event routine when it runs after a rule that calls another script has been executed. Specifically the ItemAdd routine is only in charge of marking as read what is ...