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,689
questions
0
votes
0
answers
10
views
Firestore rules strange behavior
I'm currently building a web app with Firebase Firestore and trying to create a permission system.
My data is structured as follows:
projects (collection)
[projectId] (document)
allowRead (value)
...
0
votes
0
answers
13
views
AWS Config Custom Rule to detect IAM MFA is not being triggered
I'm creating a custom Lambda AWS Config rule to detect when a user does not have MFA activated.
I'm setting up the rule trigger type to happen when configuration changes, within the scope of the "...
0
votes
0
answers
16
views
How can I filter data using Evrete Rule Engine
I want to use rule engine to filter out data.
For e.g. if there are 10 Account records, I would like to apply a rule like all accounts which are less than 1 year old.
I am exploring Evrete Rule engine ...
0
votes
0
answers
18
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
47
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
48
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
62
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
70
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
25
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
62
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
22
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
20
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
34
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
78
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 ...