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
1,688
questions
0
votes
0
answers
12
views
How connecting all users (old & new) to maxscale proxy
I'm encountering an issue where I have set up maxscale as a database proxy.
After installing and configuration, when I connect using the maxscale user , data masking rules are applied successfully ...
1
vote
1
answer
37
views
Bazel make variables substitution
I read the following bazel manual about make variables (or custom variables):
https://bazel.build/reference/be/make-variables#custom_variables
"Attributes marked as "Subject to 'Make ...
0
votes
0
answers
38
views
Maatwebsite Rules Validation Failed on Import Data from Excel File on Laravel 10
Recently, I have been working on the project that needs to enable users to import data using the excel template file. I provided the excel file which contains the header like as the followings :
...
0
votes
1
answer
56
views
ModSecurity blocks after despite rule exclusions
I try to create a rule allowing any parameter value containing scrip%u0074 (Unicode value of t) to be passed. I create such a rule:
SecRule REQUEST_URI "@contains scrip%u0074" \
"id:...
1
vote
2
answers
51
views
How to use Eslint rule for JSX attribute value
I want to apply eslint rule for JSX attribute value.
like I have a component having some attribute for example
<Component
attribute1="abc-efg"
/>
In above example I want to place a ...
0
votes
0
answers
23
views
Automating Rule Creation for Kibana
I am trying to automate rule creation, updating and deletion via a Python script. I have tried both using curl and Python
I use curl to create the rule: curl -k -X POST "https://192.168.10.131:...
0
votes
1
answer
6
views
Can I use NOT or 'only if' in Exchange message rules?
With the phishing test tool we use it's very labour intensive to ensure the test mails don't include a specific sender address. That's usually fine, but some of our inboxes are used to report security ...
0
votes
1
answer
40
views
How can I filter AWS EventBridge events based on multiple conditions for the same field? [Event Pattern]
I'm trying to set up an event pattern in AWS EventBridge to filter events based on the tableName field. I want to exclude events where tableName starts with either database_1 or database_2. This ...
0
votes
1
answer
20
views
A codeql sensitive configuration detection problem
My company's development project uses yml files as configuration files. How can I use codeql to detect whether these yml files contain sensitive information such as plain text passwords?
When I ...
0
votes
0
answers
19
views
Event Bridge Pattern Matching Key
I am trying to integrate commercetools via event bridge, I receive events like this:
{
"version": "0",
"id": "...",
"detail-type": "...
0
votes
1
answer
33
views
Rules for Hooks in React Native
Are the same rules for hooks in React applicable to React Native:
There are 3 rules for hooks:
Hooks can only be called inside React function components. [Add React Native Components]
Hooks can only ...
0
votes
1
answer
63
views
How to get requests per second with starlette exporter
How can I get metrics on requests per seconds with the metrics exposed by the starlette exporter (link here). I have a Grafana instance, and have metrics like starlette_requests_total
and ...
0
votes
0
answers
18
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
48
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
79
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 ...