We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug Currently we are not able to calculate an WCU for a Firewall with an orstatement within andstatement.
How to reproduce it Statements: statement: { andStatement: { statements: [ { orStatement: { statements: [ { labelMatchStatement: { scope: "LABEL", key: "awswaf:managed:aws:core-rule-set:SizeRestrictions_Body" } }, { labelMatchStatement: { scope: "LABEL", key: "awswaf:managed:aws:core-rule-set:CrossSiteScripting_Body" } } ] } }, { orStatement: { statements: [ { notStatement: { statement: { regexMatchStatement: { regexString: "(/oauth2/callback/saml|/api/ce/submit|/api/qualityprofiles/restore)", fieldToMatch: { uriPath: {} }, textTransformations: [{ priority: 0, type: "LOWERCASE" }] } } } }, { notStatement: { statement: { regexMatchStatement: { regexString: "(POST)", fieldToMatch: { method: {} }, textTransformations: [{ priority: 0, type: "NONE" }] } } } } ] } } ] } },
statement: { andStatement: { statements: [ { orStatement: { statements: [ { labelMatchStatement: { scope: "LABEL", key: "awswaf:managed:aws:core-rule-set:SizeRestrictions_Body" } }, { labelMatchStatement: { scope: "LABEL", key: "awswaf:managed:aws:core-rule-set:CrossSiteScripting_Body" } } ] } }, { orStatement: { statements: [ { notStatement: { statement: { regexMatchStatement: { regexString: "(/oauth2/callback/saml|/api/ce/submit|/api/qualityprofiles/restore)", fieldToMatch: { uriPath: {} }, textTransformations: [{ priority: 0, type: "LOWERCASE" }] } } } }, { notStatement: { statement: { regexMatchStatement: { regexString: "(POST)", fieldToMatch: { method: {} }, textTransformations: [{ priority: 0, type: "NONE" }] } } } } ] } } ] } },
Expected behaviour Calculation is working Please fill in the following information about the solution:.
The text was updated successfully, but these errors were encountered:
daknhh
No branches or pull requests
Describe the bug
Currently we are not able to calculate an WCU for a Firewall with an orstatement within andstatement.
How to reproduce it
Statements:
statement: { andStatement: { statements: [ { orStatement: { statements: [ { labelMatchStatement: { scope: "LABEL", key: "awswaf:managed:aws:core-rule-set:SizeRestrictions_Body" } }, { labelMatchStatement: { scope: "LABEL", key: "awswaf:managed:aws:core-rule-set:CrossSiteScripting_Body" } } ] } }, { orStatement: { statements: [ { notStatement: { statement: { regexMatchStatement: { regexString: "(/oauth2/callback/saml|/api/ce/submit|/api/qualityprofiles/restore)", fieldToMatch: { uriPath: {} }, textTransformations: [{ priority: 0, type: "LOWERCASE" }] } } } }, { notStatement: { statement: { regexMatchStatement: { regexString: "(POST)", fieldToMatch: { method: {} }, textTransformations: [{ priority: 0, type: "NONE" }] } } } } ] } } ] } },
Expected behaviour
Calculation is working
Please fill in the following information about the solution:.
The text was updated successfully, but these errors were encountered: