From 5b411bbd5d5bc6b9762747a556c11602489d749d Mon Sep 17 00:00:00 2001 From: bkioshn Date: Wed, 31 Jan 2024 04:49:23 +0700 Subject: [PATCH] fix: update spectral rules --- catalyst-gateway/.spectral.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/catalyst-gateway/.spectral.yml b/catalyst-gateway/.spectral.yml index 04468b5f8bd..d4dd90a3ca8 100644 --- a/catalyst-gateway/.spectral.yml +++ b/catalyst-gateway/.spectral.yml @@ -39,3 +39,15 @@ overrides: function: 'length' functionOptions: min: 20 + + # Severity + # warn: Should be implemented, but is blocked by a technical issue. + # info: Good to be implemented. + + # Rate limit + owasp:api4:2019-rate-limit: warn + owasp:api4:2019-rate-limit-responses-429: warn + # Public API + owasp:api2:2019-protection-global-unsafe: info + owasp:api2:2019-protection-global-unsafe-strict: info + owasp:api3:2019-define-error-responses-401: off