Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

conditions with multiple fields? #481

Open
aslom opened this issue Aug 31, 2023 · 1 comment
Open

conditions with multiple fields? #481

aslom opened this issue Aug 31, 2023 · 1 comment

Comments

@aslom
Copy link

aslom commented Aug 31, 2023

For input JSON:

I have input JSON with topic fields inside child customData:

{"id":"fb1a463c-8a27-4cc2-9f0c-bd991c3802d6",
"initiatorIp": "127.0.0.1",
"topic":"topic1"
}

How would I do addIf condition based on two fields?

    rules:
          - type: add_if
            input: topic initiatorIp
            parameters: 'topic == "topic1" && initiatorIp="127.0.0.1"'
            output: compliance_boundary
            assignee: high

@ronensc
@eranra

@aslom aslom changed the title conditions with mulriplr fields? conditions with mulriple fields? Aug 31, 2023
@aslom aslom changed the title conditions with mulriple fields? conditions with multiple fields? Aug 31, 2023
@ronensc
Copy link
Collaborator

ronensc commented Sep 5, 2023

Unfortunately, we don't support this feature currently.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants